1import{o as e,t}from"./rolldown-runtime.DAXXjFlN.js";Promise.withResolvers===void 0&&(Promise.withResolvers=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return{resolve:e,reject:t,promise:n}});function n(e){return Array.isArray(e)&&e.length>0&&e.every(e=>typeof e==`string`&&e.trim().length>0)}function r(e){return typeof structuredClone==`function`?structuredClone(e):JSON.parse(JSON.stringify(e))}function i(e){return Object.freeze(e),Array.isArray(e)?e.forEach(e=>{typeof e==`object`&&e&&!Object.isFrozen(e)&&i(e)}):Object.values(e).forEach(e=>{typeof e==`object`&&e&&!Object.isFrozen(e)&&i(e)}),e}var a=(()=>{let e=window.__streamlit;if(e)return i(r(e))})(),o={get BACKEND_BASE_URL(){return a?.BACKEND_BASE_URL},get HOST_CONFIG_BASE_URL(){return a?.HOST_CONFIG_BASE_URL},get DOWNLOAD_ASSETS_BASE_URL(){return a?.DOWNLOAD_ASSETS_BASE_URL},get MAIN_PAGE_BASE_URL(){return a?.MAIN_PAGE_BASE_URL},get CUSTOM_COMPONENT_CLIENT_ID(){return a?.CUSTOM_COMPONENT_CLIENT_ID},get LIGHT_THEME(){return a?.LIGHT_THEME},get DARK_THEME(){return a?.DARK_THEME},get ENABLE_RELOAD_BASED_ON_HARDCODED_STREAMLIT_VERSION(){return a?.ENABLE_RELOAD_BASED_ON_HARDCODED_STREAMLIT_VERSION},get HOST_CONFIG(){return a?.HOST_CONFIG}},s=t(((e,t)=>{t.exports=n;function n(e,t){for(var n=Array(arguments.length-1),r=0,i=2,a=!0;i<arguments.length;)n[r++]=arguments[i++];return new Promise(function(i,o){n[r]=function(e){if(a)if(a=!1,e)o(e);else{for(var t=Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];i.apply(null,t)}};try{e.apply(t||null,n)}catch(e){a&&(a=!1,o(e))}})}})),c=t((e=>{var t=e;t.length=function(e){var t=e.length;if(!t)return 0;for(;t>0&&e.charAt(t-1)===`=`;)--t;return Math.floor(t*3/4)};for(var n=Array(64),r=Array(123),i=0;i<64;)r[n[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;r[45]=62,r[95]=63,t.encode=function(e,t,r){for(var i=null,a=[],o=0,s=0,c;t<r;){var l=e[t++];switch(s){case 0:a[o++]=n[l>>2],c=(l&3)<<4,s=1;break;case 1:a[o++]=n[c|l>>4],c=(l&15)<<2,s=2;break;case 2:a[o++]=n[c|l>>6],a[o++]=n[l&63],s=0;break}o>8191&&((i||=[]).push(String.fromCharCode.apply(String,a)),o=0)}return s&&(a[o++]=n[c],a[o++]=61,s===1&&(a[o++]=61)),i?(o&&i.push(String.fromCharCode.apply(String,a.slice(0,o))),i.join(``)):String.fromCharCode.apply(String,a.slice(0,o))};var a=`invalid encoding`;t.decode=function(e,t,n){for(var i=n,o=0,s,c=0;c<e.length;){var l=e.charCodeAt(c++);if(l===61&&o>1)break;if((l=r[l])===void 0)throw Error(a);switch(o){case 0:s=l,o=1;break;case 1:t[n++]=s<<2|(l&48)>>4,s=l,o=2;break;case 2:t[n++]=(s&15)<<4|(l&60)>>2,s=l,o=3;break;case 3:t[n++]=(s&3)<<6|l,o=0;break}}if(o===1)throw Error(a);return n-i};var o=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,s=/[-_]/,c=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2}(?:==)?|[A-Za-z0-9_-]{3}=?)?$/;t.test=function(e){return o.test(e)||s.test(e)&&c.test(e)}})),l=t(((e,t)=>{t.exports=n;function n(){this._listeners=Object.create(null)}n.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},n.prototype.off=function(e,t){if(e===void 0)this._listeners=Object.create(null);else if(t===void 0)this._listeners[e]=[];else{var n=this._listeners[e];if(!n)return this;for(var r=0;r<n.length;)n[r].fn===t?n.splice(r,1):++r}return this},n.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var n=[],r=1;r<arguments.length;)n.push(arguments[r++]);for(r=0;r<t.length;)t[r].fn.apply(t[r++].ctx,n)}return this}})),u=t(((e,t)=>{t.exports=n(n);function n(e){return typeof Float32Array<`u`?(function(){var t=new Float32Array([-0]),n=new Uint8Array(t.buffer),r=n[3]===128;function i(e,r,i){t[0]=e,r[i]=n[0],r[i+1]=n[1],r[i+2]=n[2],r[i+3]=n[3]}function a(e,r,i){t[0]=e,r[i]=n[3],r[i+1]=n[2],r[i+2]=n[1],r[i+3]=n[0]}e.writeFloatLE=r?i:a,e.writeFloatBE=r?a:i;function o(e,r){return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n[3]=e[r+3],t[0]}function s(e,r){return n[3]=e[r],n[2]=e[r+1],n[1]=e[r+2],n[0]=e[r+3],t[0]}e.readFloatLE=r?o:s,e.readFloatBE=r?s:o})():(function(){function t(e,t,n,r){var i=+(t<0);if(i&&(t=-t),t===0)e(1/t>0?0:2147483648,n,r);else if(isNaN(t))e(2143289344,n,r);else if(t>34028234663852886e22)e((i<<31|2139095040)>>>0,n,r);else if(t<11754943508222875e-54)e((i<<31|Math.round(t/1401298464324817e-60))>>>0,n,r);else{var a=Math.floor(Math.log(t)/Math.LN2),o=Math.round(t*2**-a*8388608)&8388607;e((i<<31|a+127<<23|o)>>>0,n,r)}}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,i);function n(e,t,n){var r=e(t,n),i=(r>>31)*2+1,a=r>>>23&255,o=r&8388607;return a===255?o?NaN:i*(1/0):a===0?i*1401298464324817e-60*o:i*2**(a-150)*(o+8388608)}e.readFloatLE=n.bind(null,a),e.readFloatBE=n.bind(null,o)})(),typeof Float64Array<`u`?(function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),r=n[7]===128;
1function i(e,r,i){t[0]=e,r[i]=n[0],r[i+1]=n[1],r[i+2]=n[2],r[i+3]=n[3],r[i+4]=n[4],r[i+5]=n[5],r[i+6]=n[6],r[i+7]=n[7]}function a(e,r,i){t[0]=e,r[i]=n[7],r[i+1]=n[6],r[i+2]=n[5],r[i+3]=n[4],r[i+4]=n[3],r[i+5]=n[2],r[i+6]=n[1],r[i+7]=n[0]}e.writeDoubleLE=r?i:a,e.writeDoubleBE=r?a:i;function o(e,r){return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n[3]=e[r+3],n[4]=e[r+4],n[5]=e[r+5],n[6]=e[r+6],n[7]=e[r+7],t[0]}function s(e,r){return n[7]=e[r],n[6]=e[r+1],n[5]=e[r+2],n[4]=e[r+3],n[3]=e[r+4],n[2]=e[r+5],n[1]=e[r+6],n[0]=e[r+7],t[0]}e.readDoubleLE=r?o:s,e.readDoubleBE=r?s:o})():(function(){function t(e,t,n,r,i,a){var o=+(r<0);if(o&&(r=-r),r===0)e(0,i,a+t),e(1/r>0?0:2147483648,i,a+n);else if(isNaN(r))e(0,i,a+t),e(2146959360,i,a+n);else if(r>17976931348623157e292)e(0,i,a+t),e((o<<31|2146435072)>>>0,i,a+n);else{var s;if(r<22250738585072014e-324)s=r/5e-324,e(s>>>0,i,a+t),e((o<<31|s/4294967296)>>>0,i,a+n);else{var c=Math.floor(Math.log(r)/Math.LN2);c===1024&&(c=1023),s=r*2**-c,e(s*4503599627370496>>>0,i,a+t),e((o<<31|c+1023<<20|s*1048576&1048575)>>>0,i,a+n)}}}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,i,4,0);function n(e,t,n,r,i){var a=e(r,i+t),o=e(r,i+n),s=(o>>31)*2+1,c=o>>>20&2047,l=4294967296*(o&1048575)+a;return c===2047?l?NaN:s*(1/0):c===0?s*5e-324*l:s*2**(c-1075)*(l+4503599627370496)}e.readDoubleLE=n.bind(null,a,0,4),e.readDoubleBE=n.bind(null,o,4,0)})(),e}function r(e,t,n){t[n]=e&255,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function i(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=e&255}function a(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function o(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}})),d=t((e=>{var t=e,n=`�`,r=new TextDecoder(`utf-8`,{ignoreBOM:!0}),i,a=64;try{i=new TextDecoder(`utf-8`,{fatal:!0,ignoreBOM:!0})}catch{i=r}t.length=function(e){for(var t=0,n=0,r=0;r<e.length;++r)n=e.charCodeAt(r),n<128?t+=1:n<2048?t+=2:(n&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320?(++r,t+=4):t+=3;return t};function o(e,t,r,i){for(var a=t;a<r;){var o=e[a++];if(o<=127)i+=String.fromCharCode(o);else if(o>=192&&o<224){var s=(o&31)<<6|e[a++]&63;i+=s>=128?String.fromCharCode(s):n}else if(o>=224&&o<240){var c=(o&15)<<12|(e[a++]&63)<<6|e[a++]&63;i+=c>=2048?String.fromCharCode(c):n}else if(o>=240){var l=(o&7)<<18|(e[a++]&63)<<12|(e[a++]&63)<<6|e[a++]&63;l<65536||l>1114111?i+=n:(l-=65536,i+=String.fromCharCode(55296+(l>>10)),i+=String.fromCharCode(56320+(l&1023)))}}return i}function s(e,t,n,r){var i=n===0&&r===t.length?t:t.subarray(n,r);return e.decode(i)}t.read=function(e,t,n){if(n-t<1)return``;if(n-t>=a)return s(r,e,t,n);for(var i=``,c=t,l,u,d,f,p,m,h,g;c+7<n;c+=8){if(l=e[c],u=e[c+1],d=e[c+2],f=e[c+3],p=e[c+4],m=e[c+5],h=e[c+6],g=e[c+7],(l|u|d|f|p|m|h|g)&128)return o(e,c,n,i);i+=String.fromCharCode(l,u,d,f,p,m,h,g)}for(;c<n;++c){if(l=e[c],l&128)return o(e,c,n,i);i+=String.fromCharCode(l)}return i},t.readStrict=function(e,t,n){if(n-t<1)return``;if(n-t>=a)return s(i,e,t,n);for(var r=``,o=t,c,l,u,d,f,p,m,h;o+7<n;o+=8){if(c=e[o],l=e[o+1],u=e[o+2],d=e[o+3],f=e[o+4],p=e[o+5],m=e[o+6],h=e[o+7],(c|l|u|d|f|p|m|h)&128)return r+s(i,e,o,n);r+=String.fromCharCode(c,l,u,d,f,p,m,h)}for(;o<n;++o){if(c=e[o],c&128)return r+s(i,e,o,n);r+=String.fromCharCode(c)}return r},t.write=function(e,t,n){for(var r=n,i,a,o=0;o<e.length;++o)i=e.charCodeAt(o),i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=i&63|128):(i&64512)==55296&&((a=e.charCodeAt(o+1))&64512)==56320?(i=65536+((i&1023)<<10)+(a&1023),++o,t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=i&63|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=i&63|128);return n-r}})),f=t(((e,t)=>{t.exports=n;function n(e,t,n){var r=n||8192,i=r>>>1,a=null,o=r;return function(n){if(n<1||n>i)return e(n);o+n>r&&(a=e(r),o=0);var s=t.call(a,o,o+=n);return o&7&&(o=(o|7)+1),s}}})),p=t(((e,t)=>{t.exports=r;var n;function r(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=r.zero=new r(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=r.zeroHash=`\0\0\0\0\0\0\0\0`;r.fromNumber=function(e){if(e===0)return i;var t=e<0;t&&(e=-e);var n=e>>>0,a=(e-n)/4294967296>>>0;return t&&(a=~a>>>0,n=~n>>>0,++n>4294967295&&(n=0,++a>4294967295&&(a=0))),new r(n,a)},r.from=function(e){if(typeof e==`number`)return r.fromNumber(e);if(typeof e==`string`||e instanceof String)if(n)e=n.fromString(e);else return r.fromNumber(parseInt(e,10));return e.low||e.high?new r(e.low>>>0,e.high>>>0):i},r.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+n*4294967296)}return this.lo+this.hi*4294967296},r.prototype.toLong=function(e){return n?new n(this.lo|0,this.hi|0,!!e):{low:this.lo|0,high:this.hi|0,unsigned:!!e}};var o=String.prototype.charCodeAt;
vendor: 4,561 bytes, line 1
1r.fromHash=function(e){return e===a?i:new r((o.call(e,0)|o.call(e,1)<<8|o.call(e,2)<<16|o.call(e,3)<<24)>>>0,(o.call(e,4)|o.call(e,5)<<8|o.call(e,6)<<16|o.call(e,7)<<24)>>>0)},r.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},r.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},r.prototype.zzDecode=function(){var e=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},r.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return n===0?t===0?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10},r._configure=function(e){n=e}})),m=t(((e,t)=>{(function(n,r){function i(e){return e.default||e}typeof define==`function`&&define.amd?define([],function(){var e={};return r(e),i(e)}):typeof e==`object`?(r(e),typeof t==`object`&&(t.exports=i(e))):(function(){var e={};r(e),n.Long=i(e)})()})(typeof globalThis<`u`?globalThis:typeof self<`u`?self:e,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function n(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0});function r(e){return(e&&e.__isLong__)===!0}function i(e){var t=Math.clz32(e&-e);return e?31-t:t}n.isLong=r;var a={},o={};function s(e,t){var n,r,i;return t?(e>>>=0,(i=0<=e&&e<256)&&(r=o[e],r)?r:(n=l(e,0,!0),i&&(o[e]=n),n)):(e|=0,(i=-128<=e&&e<128)&&(r=a[e],r)?r:(n=l(e,e<0?-1:0,!1),i&&(a[e]=n),n))}n.fromInt=s;function c(e,t){if(isNaN(e))return t?b:y;if(t){if(e<0)return b;if(e>=g)return T}else{if(e<=-_)return E;if(e+1>=_)return w}return e<0?c(-e,t).neg():l(e%h|0,e/h|0,t)}n.fromNumber=c;function l(e,t,r){return new n(e,t,r)}n.fromBits=l;var u=Math.pow;function d(e,t,n){if(e.length===0)throw Error(`empty string`);if(typeof t==`number`?(n=t,t=!1):t=!!t,e===`NaN`||e===`Infinity`||e===`+Infinity`||e===`-Infinity`)return t?b:y;if(n||=10,n<2||36<n)throw RangeError(`radix`);var r;if((r=e.indexOf(`-`))>0)throw Error(`interior hyphen`);if(r===0)return d(e.substring(1),t,n).neg();for(var i=c(u(n,8)),a=y,o=0;o<e.length;o+=8){var s=Math.min(8,e.length-o),l=parseInt(e.substring(o,o+s),n);if(s<8){var f=c(u(n,s));a=a.mul(f).add(c(l))}else a=a.mul(i),a=a.add(c(l))}return a.unsigned=t,a}n.fromString=d;function f(e,t){return typeof e==`number`?c(e,t):typeof e==`string`?d(e,t):l(e.low,e.high,typeof t==`boolean`?t:e.unsigned)}n.fromValue=f;var p=65536,m=1<<24,h=p*p,g=h*h,_=g/2,v=s(m),y=s(0);n.ZERO=y;var b=s(0,!0);n.UZERO=b;var x=s(1);n.ONE=x;var S=s(1,!0);n.UONE=S;var C=s(-1);n.NEG_ONE=C;var w=l(-1,2147483647,!1);n.MAX_VALUE=w;var T=l(-1,-1,!0);n.MAX_UNSIGNED_VALUE=T;var E=l(0,-2147483648,!1);n.MIN_VALUE=E;var D=n.prototype;D.toInt=function(){return this.unsigned?this.low>>>0:this.low},D.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},D.toString=function(e){if(e||=10,e<2||36<e)throw RangeError(`radix`);if(this.isZero())return`0`;if(this.isNegative())if(this.eq(E)){var t=c(e),n=this.div(t),r=n.mul(t).sub(this);return n.toString(e)+r.toInt().toString(e)}else return`-`+this.neg().toString(e);for(var i=c(u(e,6),this.unsigned),a=this,o=``;;){var s=a.div(i),l=(a.sub(s.mul(i)).toInt()>>>0).toString(e);if(a=s,a.isZero())return l+o;for(;l.length<6;)l=`0`+l;o=``+l+o}},D.getHighBits=function(){return this.high},D.getHighBitsUnsigned=function(){return this.high>>>0}
1,D.getLowBits=function(){return this.low},D.getLowBitsUnsigned=function(){return this.low>>>0},D.getNumBitsAbs=function(){if(this.isNegative())return this.eq(E)?64:this.neg().getNumBitsAbs();for(var e=this.high==0?this.low:this.high,t=31;t>0&&!(e&1<<t);t--);return this.high==0?t+1:t+33},D.isSafeInteger=function(){var e=this.high>>21;return!e||!this.unsigned&&e===-1&&!(this.low===0&&this.high===-2097152)},D.isZero=function(){return this.high===0&&this.low===0},D.eqz=D.isZero,D.isNegative=function(){return!this.unsigned&&this.high<0},D.isPositive=function(){return this.unsigned||this.high>=0},D.isOdd=function(){return(this.low&1)==1},D.isEven=function(){return(this.low&1)==0},D.equals=function(e){return r(e)||(e=f(e)),this.unsigned!==e.unsigned&&this.high>>>31==1&&e.high>>>31==1?!1:this.high===e.high&&this.low===e.low},D.eq=D.equals,D.notEquals=function(e){return!this.eq(e)},D.neq=D.notEquals,D.ne=D.notEquals,D.lessThan=function(e){return this.comp(e)<0},D.lt=D.lessThan,D.lessThanOrEqual=function(e){return this.comp(e)<=0},D.lte=D.lessThanOrEqual,D.le=D.lessThanOrEqual,D.greaterThan=function(e){return this.comp(e)>0},D.gt=D.greaterThan,D.greaterThanOrEqual=function(e){return this.comp(e)>=0},D.gte=D.greaterThanOrEqual,D.ge=D.greaterThanOrEqual,D.compare=function(e){if(r(e)||(e=f(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},D.comp=D.compare,D.negate=function(){return!this.unsigned&&this.eq(E)?E:this.not().add(x)},D.neg=D.negate,D.add=function(e){r(e)||(e=f(e));var t=this.high>>>16,n=this.high&65535,i=this.low>>>16,a=this.low&65535,o=e.high>>>16,s=e.high&65535,c=e.low>>>16,u=e.low&65535,d=0,p=0,m=0,h=0;return h+=a+u,m+=h>>>16,h&=65535,m+=i+c,p+=m>>>16,m&=65535,p+=n+s,d+=p>>>16,p&=65535,d+=t+o,d&=65535,l(m<<16|h,d<<16|p,this.unsigned)},D.subtract=function(e){return r(e)||(e=f(e)),this.add(e.neg())},D.sub=D.subtract,D.multiply=function(e){if(this.isZero())return this;if(r(e)||(e=f(e)),t)return l(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return this.unsigned?b:y;if(this.eq(E))return e.isOdd()?E:y;if(e.eq(E))return this.isOdd()?E:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(v)&&e.lt(v))return c(this.toNumber()*e.toNumber(),this.unsigned);var n=this.high>>>16,i=this.high&65535,a=this.low>>>16,o=this.low&65535,s=e.high>>>16,u=e.high&65535,d=e.low>>>16,p=e.low&65535,m=0,h=0,g=0,_=0;return _+=o*p,g+=_>>>16,_&=65535,g+=a*p,h+=g>>>16,g&=65535,g+=o*d,h+=g>>>16,g&=65535,h+=i*p,m+=h>>>16,h&=65535,h+=a*d,m+=h>>>16,h&=65535,h+=o*u,m+=h>>>16,h&=65535,m+=n*p+i*d+a*u+o*s,m&=65535,l(g<<16|_,m<<16|h,this.unsigned)},D.mul=D.multiply,D.divide=function(e){if(r(e)||(e=f(e)),e.isZero())throw Error(`division by zero`);if(t)return!this.unsigned&&this.high===-2147483648&&e.low===-1&&e.high===-1?this:l((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(this.isZero())return this.unsigned?b:y;var n,i,a;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return b;if(e.gt(this.shru(1)))return S;a=b}else{if(this.eq(E))return e.eq(x)||e.eq(C)?E:e.eq(E)?x:(n=this.shr(1).div(e).shl(1),n.eq(y)?e.isNegative()?x:C:(i=this.sub(e.mul(n)),a=n.add(i.div(e)),a));if(e.eq(E))return this.unsigned?b:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();a=y}for(i=this;i.gte(e);){n=Math.max(1,Math.floor(i.toNumber()/e.toNumber()));for(var o=Math.ceil(Math.log(n)/Math.LN2),s=o<=48?1:u(2,o-48),d=c(n),p=d.mul(e);p.isNegative()||p.gt(i);)n-=s,d=c(n,this.unsigned),p=d.mul(e);d.isZero()&&(d=x),a=a.add(d),i=i.sub(p)}return a},D.div=D.divide,D.modulo=function(e){return r(e)||(e=f(e)),t?l((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},D.mod=D.modulo,D.rem=D.modulo,D.not=function(){return l(~this.low,~this.high,this.unsigned)},D.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},D.clz=D.countLeadingZeros,D.countTrailingZeros=function(){return this.low?i(this.low):i(this.high)+32},D.ctz=D.countTrailingZeros,D.and=function(e){return r(e)||(e=f(e)),l(this.low&e.low,this.high&e.high,this.unsigned)},D.or=function(e){return r(e)||(e=f(e)),l(this.low|e.low,this.high|e.high,this.unsigned)},D.xor=function(e){return r(e)||(e=f(e)),l(this.low^e.low,this.high^e.high,this.unsigned)},D.shiftLeft=function(e){return r(e)&&(e=e.toInt()),(e&=63)==0?this:e<32?l(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):l(0,this.low<<e-32,this.unsigned)},D.shl=D.shiftLeft,D.shiftRight=function(e){return r(e)&&(e=e.toInt()),(e&=63)==0?this:e<32?l(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):l(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},D.shr=D.shiftRight,D.shiftRightUnsigned=function(e){return r(e)&&(e=e.toInt()),(e&=63)==0?this:e<32?l(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):l(e===32?this.high:this.high>>>e-32,0,this.unsigned)},D.shru=D.shiftRightUnsigned,D.shr_u=D.shiftRightUnsigned,D.rotateLeft=function(e){var t;return r(e)&&(e=e.toInt()),(e&=63)==0?this:e===32?l(this.high,this.low,this.unsigned):e<32?(t=32-e,l(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned)):(e-=32,t=32-e,l(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned))},D.rotl=D.rotateLeft,D.rotateRight=function(e){var t;return r(e)&&(e=e.toInt()),(e&=63)==0?this:e===32?l(this.high,this.low,this.unsigned):e<32?(t=32-e,l(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned)):(e-=32,t=32-e,l(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned))},D.rotr=D.rotateRight,D.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},D.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},D.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},D.toBytesLE=function(){var e=this.high,t=this.low;return[t&255,t>>>8&255,t>>>16&255,t>>>24,e&255,e>>
1>8&255,e>>>16&255,e>>>24]},D.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,e&255,t>>>24,t>>>16&255,t>>>8&255,t&255]},n.fromBytes=function(e,t,r){return r?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)},typeof BigInt==`function`&&(n.fromBigInt=function(e,t){return l(Number(BigInt.asIntN(32,e)),Number(BigInt.asIntN(32,e>>BigInt(32))),t)},n.fromValue=function(e,t){return typeof e==`bigint`?n.fromBigInt(e,t):f(e,t)},D.toBigInt=function(){var e=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|e}),e.default=n})})),h=t((e=>{var t=e;t.asPromise=s(),t.base64=c(),t.EventEmitter=l(),t.float=u(),t.utf8=d(),t.pool=f(),t.LongBits=p();function n(e){return e===`__proto__`||e===`prototype`||e===`constructor`}t.isUnsafeProperty=n,t.isNode=!!(typeof global<`u`&&global&&global.process&&global.process.versions&&global.process.versions.node),t.global=t.isNode&&global||typeof window<`u`&&window||typeof self<`u`&&self||typeof globalThis<`u`&&globalThis||e,t.emptyArray=Object.freeze?Object.freeze([]):[],t.emptyObject=Object.freeze?Object.freeze({}):{},t.isInteger=Number.isInteger||function(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e},t.isString=function(e){return typeof e==`string`||e instanceof String},t.isObject=function(e){return e&&typeof e==`object`},t.isset=t.isSet=function(e,t){var n=e[t];return n!=null&&Object.hasOwnProperty.call(e,t)?typeof n!=`object`||(Array.isArray(n)?n.length:Object.keys(n).length)>0:!1},t.Buffer=(function(){try{var e=t.global.Buffer;return e.prototype.utf8Write||t.isNode?e:null}catch{return null}})(),t.newBuffer=function(e){var n=t.Buffer;return typeof e==`number`?n?n.allocUnsafe(e):new Uint8Array(e):n?n.from(e):new Uint8Array(e)},t.rawField=function(e,n,r){var i=[],a=e<<3|n;for(a>>>=0;a>127;)i.push(a&127|128),a>>>=7;i.push(a);for(var o=0;o<r.length;++o)i.push(r[o]);return t.newBuffer(i)},t.Array=Uint8Array,t.Long=t.global.dcodeIO&&t.global.dcodeIO.Long||t.global.Long||(function(){try{var e=m();return e&&e.isLong?e:null}catch{return null}})(),t.key2Re=/^(?:true|false|0|1)$/,t.key32Re=/^-?(?:0|[1-9][0-9]*)$/,t.key64Re=/^(?:[\x00-\xff]{8}|-?(?:0|[1-9][0-9]*))$/,t.longToHash=function(e){return e?t.LongBits.from(e).toHash():t.LongBits.zeroHash},t.longFromHash=function(e,n){var r=t.LongBits.fromHash(e);return t.Long?t.Long.fromBits(r.lo,r.hi,n):r.toNumber(!!n)},t.longFromKey=function(e,n){return t.key64Re.test(e)&&!t.key32Re.test(e)?t.longFromHash(e,n):e},t.boolFromKey=function(e){return e===`true`||e===`1`};function r(e){var t=typeof arguments[arguments.length-1]==`boolean`,r=t?arguments.length-1:arguments.length;t&&=arguments[arguments.length-1];for(var i=1;i<r;++i){var a=arguments[i];if(a)for(var o=Object.keys(a),s=0;s<o.length;++s)!n(o[s])&&(!t||!Object.prototype.hasOwnProperty.call(e,o[s])||e[o[s]]===void 0)&&(e[o[s]]=a[o[s]])}return e}t.merge=r,t.nestingLimit=32,t.recursionLimit=100,t.makeProp=function(e,t,n){Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:n===void 0||n,configurable:!0,writable:!0})},t.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)};function i(e){function t(e,n){if(!(this instanceof t))return new t(e,n);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack||``}),n&&r(this,n)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return e},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+`: `+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}t.newError=i,t.ProtocolError=i(`ProtocolError`),t.oneOfGetter=function(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=1;return function(){for(var e=Object.keys(this),n=e.length-1;n>-1;--n)if(t[e[n]]===1&&this[e[n]]!==void 0&&this[e[n]]!==null)return e[n]}},t.oneOfSetter=function(e){return function(t){for(var n=0;n<e.length;++n)e[n]!==t&&delete this[e[n]]}},t.toJSONOptions={longs:String,enums:String,bytes:String,json:!0}})),g=t(((e,t)=>{t.exports=s;var n=h(),r,i=n.LongBits,a=n.base64,o=n.utf8;function s(){this.pos=0,this.buf=this.constructor.alloc(64),this.view=null,this.states=null}Object.defineProperty(s.prototype,"len",{configurable:!0,enumerable:!0,get:function(){return this.pos}});var c=function(){return n.Buffer?function(){return(s.create=function(){return new r})()}:function(){return new s}};s.create=c(),s.alloc=function(e){return new Uint8Array(e)},s.alloc=n.pool(s.alloc,Uint8Array.prototype.subarray);function l(e){return e<128?1:e<16384?2:e<2097152?3:e<268435456?4:5}s.prototype._reserve=function(e){var t=this.pos+e;if(t>this.buf.length){var n=this.buf.length<<1;n<t&&(n=t);var r=this.constructor.alloc(n);r.set(this.buf.subarray(0,this.pos),0),this.buf=r,this.view=null}};function u(e,t,n){for(var r=0;r<e.length;)t[n++]=e.charCodeAt(r++)}function d(e,t,n){for(;e>127;)t[n++]=e&127|128,e>>>=7;return t[n]=e,n+1}s.prototype.uint32=function(e){e>>>=0,this._reserve(5);var t=this.pos;return this.pos=d(e,this.buf,t),this},s.prototype.int32=function(e){return(e|=0)<0?(this._reserve(10),f(i.fromNumber(e),this.buf,this.pos),this.pos+=10,this):this.uint32(e)},s.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)};function f(e,t,n){for(var r=e.lo,i=e.hi;i;)t[n++]=r&127|128,r=(r>>>7|i<<25)>>>0,i>>>=7;for(;r>127;)t[n++]=r&127|128,r>>>=7;return t[n]=r,n+1}s.prototype.uint64=function(e){var t=i.from(e);this._reserve(10);var n=this.pos;return this.pos=f(t,this.buf,n),this},s.prototype.int64=s.prototype.uint64,s.prototype.sint64=function(e){var t=i.from(e).zzEncode();this._reserve(10);var n=this.pos;return this.pos=f(t,this.buf,n),this},s.prototype.bool=function(e){return this._reserve(1),this.buf[this.pos++]=+!!e,this};function p(e,t,n){t[n]=e&255,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}s.prototype.fixed32=function(e){return this._reserve(4),p(e>>>0,this.buf,this.pos),this.pos+=4,this},s.prototype.sfixed32=s.prototype.fixed32,s.prototype.fixed64=function(e){var t=i.from(e);return this._reserve(8),p(t.lo,this.buf,this.pos),p(t.hi,this.buf,this.pos+4),this.pos+=8,this},s.prototype.sfixed64=s.prototype.fixed64,s.prototype.float=function(e){return this._reserve(4),n.float.writeFloatLE(e,this.buf,this.pos),this.pos+=4,this},s.prototype.double=function(e){return this._reserve(8),n.float.writeDoubleLE(e,this.buf,this.pos),this.pos+=8,this},s.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._reserve(1),this.buf[this.pos++]=0,this;if(n.isString(e)){var r=s.alloc(t=a.length(e));a.decode(e,r,0),e=r}return this.uint32(t),this._reserve(t),this.buf.set(e,this.pos),this.pos+=t,this},s.prototype.raw=function(e){var t=e.length>>>0;return t?(this._reserve(t),this.buf.set(e,this.pos),this.pos+=t,this):this},s.prototype._delim=function(e,t){var n=l(t);return n>1&&this.buf.copyWithin(e+n,e+1,e+1+t),d(t,this.buf,e),this.pos=e+n+t,this},s.prototype.string=function(e){var t=e.length;if(!t)return this._reserve(1),this.buf[this.pos++]=0,this;if(t<128){this._reserve(t*3+5);var n=this.pos;return this._delim(n,o.write(e,this.buf,n+1))}var r=o.length(e);return this.uint32(r),this._reserve(r),r===e.length?u(e,this.buf,this.pos):o.write(e,this.buf,this.pos),this.pos+=r,this},s.prototype.uint32s=function(e){var t=e.length;this._reserve(t*5+5);for(var n=this.buf,r=this.pos,i=r+1,a=0;a<t;
1++a)i=d(e[a]>>>0,n,i);return this._delim(r,i-r-1)},s.prototype.int32s=function(e){var t=e.length;this._reserve(t*10+5);for(var n=this.buf,r=this.pos,a=r+1,o,s=0;s<t;++s)a=(o=e[s]|0)<0?f(i.fromNumber(o),n,a):d(o,n,a);return this._delim(r,a-r-1)},s.prototype.sint32s=function(e){var t=e.length;this._reserve(t*5+5);for(var n=this.buf,r=this.pos,i=r+1,a=0;a<t;++a)i=d((e[a]<<1^e[a]>>31)>>>0,n,i);return this._delim(r,i-r-1)},s.prototype.uint64s=function(e){var t=e.length;this._reserve(t*10+5);for(var n=this.buf,r=this.pos,a=r+1,o=0;o<t;++o)a=f(i.from(e[o]),n,a);return this._delim(r,a-r-1)},s.prototype.int64s=s.prototype.uint64s,s.prototype.sint64s=function(e){var t=e.length;this._reserve(t*10+5);for(var n=this.buf,r=this.pos,a=r+1,o=0;o<t;++o)a=f(i.from(e[o]).zzEncode(),n,a);return this._delim(r,a-r-1)},s.prototype.bools=function(e){var t=e.length;this.uint32(t),this._reserve(t);for(var n=this.buf,r=this.pos,i=0;i<t;++i)n[r++]=+!!e[i];return this.pos+=t,this};var m=16,g=128;function _(e,t,n){var r=e.view;if(r||t<n)return r;var i=e.buf;return e.view=new DataView(i.buffer,i.byteOffset,i.byteLength)}s.prototype.fixed32s=function(e){var t=e.length,n=t*4;this.uint32(n),this._reserve(n);var r=this.pos,i,a=_(this,t,g);if(a)for(i=0;i<t;++i)a.setUint32(r,e[i]>>>0,!0),r+=4;else{var o=this.buf;for(i=0;i<t;++i)p(e[i]>>>0,o,r),r+=4}return this.pos+=n,this},s.prototype.sfixed32s=s.prototype.fixed32s,s.prototype.fixed64s=function(e){var t=e.length,n=t*8;this.uint32(n),this._reserve(n);var r=this.pos,a,o,s=_(this,t,g);if(s)for(a=0;a<t;++a)o=i.from(e[a]),s.setUint32(r,o.lo,!0),s.setUint32(r+4,o.hi,!0),r+=8;else{var c=this.buf;for(a=0;a<t;++a)o=i.from(e[a]),p(o.lo,c,r),p(o.hi,c,r+4),r+=8}return this.pos+=n,this},s.prototype.sfixed64s=s.prototype.fixed64s,s.prototype.floats=function(e){var t=e.length,r=t*4;this.uint32(r),this._reserve(r);var i=this.pos,a,o=_(this,t,m);if(o)for(a=0;a<t;++a)o.setFloat32(i,e[a],!0),i+=4;else{var s=this.buf;for(a=0;a<t;++a)n.float.writeFloatLE(e[a],s,i),i+=4}return this.pos+=r,this},s.prototype.doubles=function(e){var t=e.length,r=t*8;this.uint32(r),this._reserve(r);var i=this.pos,a,o=_(this,t,m);if(o)for(a=0;a<t;++a)o.setFloat64(i,e[a],!0),i+=8;else{var s=this.buf;for(a=0;a<t;++a)n.float.writeDoubleLE(e[a],s,i),i+=8}return this.pos+=r,this},s.prototype.fork=function(){return this._reserve(1),(this.states||=[]).push(this.pos),this.pos+=1,this},s.prototype.reset=function(){var e=this.states;return e&&e.length?this.pos=e.pop():this.pos=0,this},s.prototype.ldelim=function(){var e=this.states,t,n;if(e&&e.length){var r=e.pop();t=this.pos-r-1,n=l(t),n>1?(this._reserve(n-1),this.buf.copyWithin(r+n,r+1,r+1+t),this.pos+=n-1,d(t,this.buf,r)):this.buf[r]=t}else t=this.pos,n=l(t),this._reserve(n),this.buf.copyWithin(n,0,t),d(t,this.buf,0),this.pos+=n;return this},s.prototype.finish=function(e){if(e)return this.buf.subarray(0,this.pos);var t=this.constructor.alloc(this.pos);return t.set(this.buf.subarray(0,this.pos),0),t},s.prototype.finishInto=function(e,t){return t===void 0&&(t=0),e.set(this.buf.subarray(0,this.pos),t),e},s._configure=function(e){r=e,s.create=c(),r._configure()}})),_=t(((e,t)=>{t.exports=i;var n=g();i.prototype=Object.create(n.prototype,{constructor:{value:i,writable:!0,enumerable:!1,configurable:!0}});var r=h();function i(){n.call(this)}var a;i._configure=function(){i.alloc=r.Buffer&&r.Buffer.allocUnsafe,a=r.Buffer&&r.Buffer.prototype.utf8Write?function(e,t,n){return t.utf8Write(e,n)}:function(e,t,n){return t.write(e,n)}},i.prototype.bytes=function(e){r.isString(e)&&(e=r.Buffer.from(e,`base64`));var t=e.length>>>0;return this.uint32(t),t&&(this._reserve(t),this.buf.set(e,this.pos),this.pos+=t),this},i.prototype.string=function(e){var t=e.length;if(!t)return this._reserve(1),this.buf[this.pos++]=0,this;if(t<128){this._reserve(t*3+5);var n=this.pos,i=this.buf;return this._delim(n,t<40?r.utf8.write(e,i,n+1):a(e,i,n+1))}var o=r.Buffer.byteLength(e);return this.uint32(o),this._reserve(o),a(e,this.buf,this.pos),this.pos+=o,this},i._configure()})),v=t(((e,t)=>{t.exports=s;var n=h(),r,i=n.LongBits,a=n.utf8;function o(e,t){return RangeError(`index out of range: `+e.pos+` + `+(t||1)+` > `+e.len)}function s(e){this.buf=e,this.pos=0,this.len=e.length,this.view=null,this.discardUnknown=s.discardUnknown}function c(e){if(Array.isArray(e)&&(e=new Uint8Array(e)),e instanceof Uint8Array)return new s(e);throw Error(`illegal buffer`)}var l=function(){return n.Buffer?function(e){return(s.create=function(e){return n.Buffer.isBuffer(e)?new r(e):c(e)})(e)}:c};s.create=l(),s.prototype.raw=function(e,t){return this.buf.subarray(e,t)}
1,s.prototype.uint32=function(){var e=this.buf,t=this.pos,n=(e[t]&127)>>>0;if(e[t++]<128||(n=(n|(e[t]&127)<<7)>>>0,e[t++]<128)||(n=(n|(e[t]&127)<<14)>>>0,e[t++]<128)||(n=(n|(e[t]&127)<<21)>>>0,e[t++]<128)||(n=(n|(e[t]&15)<<28)>>>0,e[t++]<128))return this.pos=t,n;for(var r=0;r<5;++r){if(t>=this.len)throw this.pos=t,o(this);if(e[t++]<128)return this.pos=t,n}throw this.pos=t,Error(`invalid varint encoding`)},s.prototype.tag=function(){var e=this.buf,t=this.pos,n=(e[t]&127)>>>0;if(e[t++]<128||(n=(n|(e[t]&127)<<7)>>>0,e[t++]<128)||(n=(n|(e[t]&127)<<14)>>>0,e[t++]<128)||(n=(n|(e[t]&127)<<21)>>>0,e[t++]<128))return this.pos=t,n;if(n=(n|(e[t]&15)<<28)>>>0,e[t]<128&&!(e[t]&112))return this.pos=t+1,n;throw this.pos=t+1,Error(`invalid tag encoding`)},s.prototype.int32=function(){return this.uint32()|0},s.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(e&1)|0};function u(){var e=new i(0,0),t=0;if(this.len-this.pos>4){for(;t<4;++t)if(e.lo=(e.lo|(this.buf[this.pos]&127)<<t*7)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(this.buf[this.pos]&127)<<28)>>>0,e.hi=(e.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return e;t=0}else{for(;t<4;++t){if(this.pos>=this.len)throw o(this);if(e.lo=(e.lo|(this.buf[this.pos]&127)<<t*7)>>>0,this.buf[this.pos++]<128)return e}throw o(this)}if(this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(this.buf[this.pos]&127)<<t*7+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw o(this);if(e.hi=(e.hi|(this.buf[this.pos]&127)<<t*7+3)>>>0,this.buf[this.pos++]<128)return e}throw Error(`invalid varint encoding`)}s.prototype.bool=function(){for(var e=!1,t,n=0;n<10;++n){if(this.pos>=this.len)throw o(this);if(t=this.buf[this.pos++],t&127&&(e=!0),t<128)return e}throw Error(`invalid varint encoding`)};function d(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}s.prototype.fixed32=function(){if(this.pos+4>this.len)throw o(this,4);return d(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return d(this.buf,this.pos+=4)|0};function f(){if(this.pos+8>this.len)throw o(this,8);return new i(d(this.buf,this.pos+=4),d(this.buf,this.pos+=4))}s.prototype.float=function(){if(this.pos+4>this.len)throw o(this,4);var e=n.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},s.prototype.double=function(){if(this.pos+8>this.len)throw o(this,4);var e=n.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},s.prototype.uint32s=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.uint32());return e},s.prototype.int32s=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.int32());return e},s.prototype.sint32s=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.sint32());return e},s.prototype.bools=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.bool());return e};var p=8,m=128;function g(e,t,n){var r=e.view;if(r||t<n)return r;var i=e.buf;return e.view=new DataView(i.buffer,i.byteOffset,i.byteLength)}s.prototype.fixed32s=function(e){e===void 0&&(e=[]);var t=this.uint32(),n=this.pos+t;if(n>this.len)throw o(this,t);var r=t>>>2,i=e.length,a=this.pos;e.length=i+r;var s=g(this,r,m);if(s)for(var c=0;c<r;++c,a+=4)e[i++]=s.getUint32(a,!0);else for(var l=this.buf,u=0;u<r;++u,a+=4)e[i++]=d(l,a+4);if(this.pos=a,a!==n)throw o(this,4);return e},s.prototype.sfixed32s=function(e){e===void 0&&(e=[]);var t=this.uint32(),n=this.pos+t;if(n>this.len)throw o(this,t);var r=t>>>2,i=e.length,a=this.pos;e.length=i+r;var s=g(this,r,m);if(s)for(var c=0;c<r;++c,a+=4)e[i++]=s.getInt32(a,!0);else for(var l=this.buf,u=0;u<r;++u,a+=4)e[i++]=d(l,a+4)|0;if(this.pos=a,a!==n)throw o(this,4);return e},s.prototype.floats=function(e){e===void 0&&(e=[]);var t=this.uint32(),r=this.pos+t;if(r>this.len)throw o(this,t);var i=t>>>2,a=e.length,s=this.pos;e.length=a+i;var c=g(this,i,p);if(c)for(var l=0;l<i;++l,s+=4)e[a++]=c.getFloat32(s,!0);else for(var u=this.buf,d=0;d<i;++d,s+=4)e[a++]=n.float.readFloatLE(u,s);if(this.pos=s,s!==r)throw o(this,4);return e},s.prototype.doubles=function(e){e===void 0&&(e=[]);var t=this.uint32(),r=this.pos+t;if(r>this.len)throw o(this,t);var i=t>>>3,a=e.length,s=this.pos;e.length=a+i;var c=g(this,i,p);if(c)for(var l=0;l<i;++l,s+=8)e[a++]=c.getFloat64(s,!0);else for(var u=this.buf,d=0;d<i;++d,s+=8)e[a++]=n.float.readDoubleLE(u,s);if(this.pos=s,s!==r)throw o(this,8);return e},s.prototype.uint64s=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.uint64());return e},s.prototype.int64s=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.int64());return e},s.prototype.sint64s=function(e){e===void 0&&(e=[]);for(var t=this.uint32()+this.pos;this.pos<t;)e.push(this.sint64());return e},s.prototype.fixed64s=function(e){e===void 0&&(e=[]);var t=this.uint32(),n=this.pos+t,r=e.length;if(n>this.len)throw o(this,t);var i=t>>>3;e.length=r+i;for(var a=0;a<i;++a)e[r++]=this.fixed64();if(this.pos!==n)throw o(this,8);return e},s.prototype.sfixed64s=function(e){e===void 0&&(e=[]);var t=this.uint32(),n=this.pos+t,r=e.length;if(n>this.len)throw o(this,t);var i=t>>>3;e.length=r+i;for(var a=0;a<i;++a)e[r++]=this.sfixed64();if(this.pos!==n)throw o(this,8);return e},s.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw o(this,e);return this.pos=n,this.raw(t,n)},s.prototype.string=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw o(this,e);return this.pos=n,a.read(this.buf,t,n)},s.prototype.stringVerify=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw o(this,e);return this.pos=n,a.readStrict(this.buf,t,n)},s.prototype.skip=function(e){if(typeof e==`number`){if(this.pos+e>this.len)throw o(this,e);this.pos+=e}else do if(this.pos>=this.len)throw o(this);while(this.buf[this.pos++]&128);return this},s.recursionLimit=n.recursionLimit,s.discardUnknown=!0,s.prototype.skipType=function(e,t,n){if(t===void 0&&(t=0),t>s.recursionLimit)throw Error(`max depth exceeded`);if(n===0)throw Error(`illegal tag: field number 0`);switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;;){var r=this.tag(),i=r>>>3;if(e=r&7,!i)throw Error(`illegal tag: field number 0`);if(e===4){if(n!==void 0&&i!==n)throw Error(`invalid end group tag`);break}this.skipType(e,t+1,i)}break;case 5:this.skip(4);break;default:throw Error(`invalid wire type `+e+` at offset `+this.pos)}return this},s._configure=function(e){r=e,s.create=l(),r._configure();var t=n.Long?`toLong`:`toNumber`;n.merge(s.prototype,{int64:function(){return u.call(this)[t](!1)},uint64:function(){return u.call(this)[t](!0)},sint64:function(){return u.call(this).zzDecode()[t](!1)},fixed64:function(){return f.call(this)[t](!0)},sfixed64:function(){return f.call(this)[t](!1)}})}})),y=t(((e,t)=>{t.exports=i;var n=v();i.prototype=Object.create(n.prototype,{constructor:{value:i,writable:!0,enumerable:!1,
1configurable:!0}});var r=h();function i(e){n.call(this,e)}i._configure=function(){r.Buffer&&(i.prototype._slice=r.Buffer.prototype.slice)},i.prototype.raw=function(e,t){return this._slice.call(this.buf,e,t)},i.prototype.string=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw RangeError(`index out of range: `+this.pos+` + `+e+` > `+this.len);return this.pos=n,this.buf.utf8Slice?this.buf.utf8Slice(t,n):this.buf.toString(`utf-8`,t,n)},i._configure()})),b=t(((e,t)=>{t.exports=r;var n=h();r.prototype=Object.create(n.EventEmitter.prototype,{constructor:{value:r,writable:!0,enumerable:!1,configurable:!0}});function r(e,t,r){if(typeof e!=`function`)throw TypeError(`rpcImpl must be a function`);n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=!!t,this.responseDelimited=!!r}r.prototype.rpcCall=function e(t,r,i,a,o){if(!a)throw TypeError(`request must be specified`);var s=this;if(!o)return n.asPromise(e,s,t,r,i,a);if(!s.rpcImpl){setTimeout(function(){o(Error(`already ended`))},0);return}try{return s.rpcImpl(t,r[s.requestDelimited?`encodeDelimited`:`encode`](a).finish(),function(e,n){if(e)return s.emit(`error`,e,t),o(e);if(n===null){s.end(!0);return}if(!(n instanceof i))try{n=i[s.responseDelimited?`decodeDelimited`:`decode`](n)}catch(e){return s.emit(`error`,e,t),o(e)}return s.emit(`data`,n,t),o(null,n)})}catch(e){s.emit(`error`,e,t),setTimeout(function(){o(e)},0);return}},r.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit(`end`).off()),this}})),x=t((e=>{var t=e;t.Service=b()})),S=t(((e,t)=>{t.exports=Object.create(null)})),C=t((e=>{e.build=`minimal`,e.Writer=g(),e.BufferWriter=_(),e.Reader=v(),e.BufferReader=y(),e.util=h(),e.rpc=x(),e.roots=S(),e.configure=t;function t(){e.util.LongBits._configure(e.util.Long),e.Writer._configure(e.BufferWriter),e.Reader._configure(e.BufferReader)}t()})),w=e(t(((e,t)=>{t.exports=C()}))(),1),T=w.Reader,E=w.Writer,D=w.util,O=D.global.Object,k=D.global.undefined,A=D.global.Error,j=D.global.TypeError,M=D.global.String,N=D.global.Boolean,P=D.global.Number,F=D.global.isFinite,I=D.global.Array,L=D.global.parseInt,R=D.global.BigInt,z=w.roots.default||(w.roots.default={}),ee=z.Alert=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.body=``,e.prototype.format=0,e.prototype.icon=``,e.prototype.widthConfig=null,e.prototype.title=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&e.format!==0&&t.uint32(16).int32(e.format),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&z.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(34).fork(),n+1).ldelim(),e.title!=null&&O.hasOwnProperty.call(e,`title`)&&e.title!==``&&t.uint32(42).string(e.title),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Alert,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 2:if(a!==0)break;(s=e.int32())?o.format=s:delete o.format;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 4:if(a!==2)break;o.widthConfig=z.streamlit.WidthConfig.decode(e,e.uint32(),k,r+1,o.widthConfig);continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.title=s:delete o.title;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Alert)return e;if(!D.isObject(e))throw j(`.Alert: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Alert;if(e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.format!==0&&(typeof e.format!=`string`||z.Alert.Format[e.format]!==0))switch(e.format){case`UNUSED`:case 0:n.format=0;break;case`ERROR`:case 1:n.format=1;break;case`WARNING`:case 2:n.format=2;break;case`INFO`:case 3:n.format=3;break;case`SUCCESS`:case 4:n.format=4;break;default:typeof e.format==`number`&&(e.format|0)===e.format&&(n.format=e.format)}if(e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.widthConfig!=null){if(!D.isObject(e.widthConfig))throw j(`.Alert.widthConfig: object expected`);n.widthConfig=z.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return e.title!=null&&(typeof e.title!=`string`||e.title.length)&&(n.title=M(e.title)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.format=t.enums===M?`UNUSED`:0,r.icon=``,r.widthConfig=null,r.title=``),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&(r.format=t.enums===M?z.Alert.Format[e.format]===k?e.format:z.Alert.Format[e.format]:e.format),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=z.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.title!=null&&O.hasOwnProperty.call(e,`title`)&&(r.title=e.title),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Alert`},e.Format=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`UNUSED`]=0,t[e[1]=`ERROR`]=1,t[e[2]=`WARNING`]=2,t[e[3]=`INFO`]=3,t[e[4]=`SUCCESS`]=4,t})(),e})(),te=z.streamlit=(()=>{let e={};return e.WidthConfig=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.useStretch=null,e.prototype.useContent=null,e.prototype.pixelWidth=null,e.prototype.remWidth=null;let t;return O.defineProperty(e.prototype,`widthSpec`,{get:D.oneOfGetter(t=[`useStretch`,`useContent`,`pixelWidth`,`remWidth`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.useStretch!=null&&O.hasOwnProperty.call(e,`useStretch`)&&t.uint32(8).bool(e.useStretch),e.useContent!=null&&O.hasOwnProperty.call(e,`useContent`)&&t.uint32(16).bool(e.useContent),e.pixelWidth!=null&&O.hasOwnProperty.call(e,`pixelWidth`)&&t.uint32(24).uint32(e.pixelWidth),e.remWidth!=null&&O.hasOwnProperty.call(e,`remWidth`)&&t.uint32(37).float(e.remWidth),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.streamlit.WidthConfig;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;o.useStretch=e.bool(),o.widthSpec=`useStretch`;continue;case 2:if(a!==0)break;o.useContent=e.bool(),o.widthSpec=`useContent`;continue;case 3:if(a!==0)break;o.pixelWidth=e.uint32(),o.widthSpec=`pixelWidth`;continue;case 4:if(a!==5)break;o.remWidth=e.float(),o.widthSpec=`remWidth`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.streamlit.WidthConfig)return e;if(!D.isObject(e))throw j(`.streamlit.WidthConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.streamlit.WidthConfig;return e.useStretch!=null&&(n.useStretch=N(e.useStretch)),e.useContent!=null&&(n.useContent=N(e.useContent)),e.pixelWidth!=null&&(n.pixelWidth=e.pixelWidth>>>0),e.remWidth!=null&&(n.remWidth=P(e.remWidth)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.useStretch!=null&&O.hasOwnProperty.call(e,`useStretch`)&&(r.useStretch=e.useStretch,t.oneofs&&(r.widthSpec=`useStretch`)),e.useContent!=null&&O.hasOwnProperty.call(e,`useContent`)&&(r.useContent=e.useContent,t.oneofs&&(r.widthSpec=`useContent`)),e.pixelWidth!=null&&O.hasOwnProperty.call(e,`pixelWidth`)&&(r.pixelWidth=e.pixelWidth,t.oneofs&&(r.widthSpec=`pixelWidth`)),e.remWidth!=null&&O.hasOwnProperty.call(e,`remWidth`)&&(r.remWidth=t.json&&!F(e.remWidth)?M(e.remWidth):e.remWidth,t.oneofs&&(r.widthSpec=`remWidth`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/streamlit.WidthConfig`},e})(),e.GapSize=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`GAP_UNDEFINED`]=0,t[e[1]=`SMALL`]=1,t[e[2]=`MEDIUM`]=2,t[e[3]=`LARGE`]=3,t[e[4]=`NONE`]=4,t[e[5]=`XXSMALL`]=5,t[e[6]=`XSMALL`]=6,t[e[7]=`XLARGE`]=7,t[e[8]=`XXLARGE`]=8,t})(),e.GapConfig=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.gapSize=null,e.prototype.pixelGap=null;let t;return O.defineProperty(e.prototype,`gapSpec`,{get:D.oneOfGetter(t=[`gapSize`,`pixelGap`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.gapSize!=null&&O.hasOwnProperty.call(e,`gapSize`)&&t.uint32(8).int32(e.gapSize),e.pixelGap!=null&&O.hasOwnProperty.call(e,`pixelGap`)&&t.uint32(16).uint32(e.pixelGap),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);
1let a=t===k?e.len:e.pos+t,o=i||new z.streamlit.GapConfig;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;o.gapSize=e.int32(),o.gapSpec=`gapSize`;continue;case 2:if(a!==0)break;o.pixelGap=e.uint32(),o.gapSpec=`pixelGap`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.streamlit.GapConfig)return e;if(!D.isObject(e))throw j(`.streamlit.GapConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.streamlit.GapConfig;switch(e.gapSize){case`GAP_UNDEFINED`:case 0:n.gapSize=0;break;case`SMALL`:case 1:n.gapSize=1;break;case`MEDIUM`:case 2:n.gapSize=2;break;case`LARGE`:case 3:n.gapSize=3;break;case`NONE`:case 4:n.gapSize=4;break;case`XXSMALL`:case 5:n.gapSize=5;break;case`XSMALL`:case 6:n.gapSize=6;break;case`XLARGE`:case 7:n.gapSize=7;break;case`XXLARGE`:case 8:n.gapSize=8;break;default:typeof e.gapSize==`number`&&(e.gapSize|0)===e.gapSize&&(n.gapSize=e.gapSize)}return e.pixelGap!=null&&(n.pixelGap=e.pixelGap>>>0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.gapSize!=null&&O.hasOwnProperty.call(e,`gapSize`)&&(r.gapSize=t.enums===M?z.streamlit.GapSize[e.gapSize]===k?e.gapSize:z.streamlit.GapSize[e.gapSize]:e.gapSize,t.oneofs&&(r.gapSpec=`gapSize`)),e.pixelGap!=null&&O.hasOwnProperty.call(e,`pixelGap`)&&(r.pixelGap=e.pixelGap,t.oneofs&&(r.gapSpec=`pixelGap`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/streamlit.GapConfig`},e})(),e.HeightConfig=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.useStretch=null,e.prototype.useContent=null,e.prototype.pixelHeight=null,e.prototype.remHeight=null;let t;return O.defineProperty(e.prototype,`heightSpec`,{get:D.oneOfGetter(t=[`useStretch`,`useContent`,`pixelHeight`,`remHeight`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.useStretch!=null&&O.hasOwnProperty.call(e,`useStretch`)&&t.uint32(8).bool(e.useStretch),e.useContent!=null&&O.hasOwnProperty.call(e,`useContent`)&&t.uint32(16).bool(e.useContent),e.pixelHeight!=null&&O.hasOwnProperty.call(e,`pixelHeight`)&&t.uint32(24).uint32(e.pixelHeight),e.remHeight!=null&&O.hasOwnProperty.call(e,`remHeight`)&&t.uint32(37).float(e.remHeight),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.streamlit.HeightConfig;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;o.useStretch=e.bool(),o.heightSpec=`useStretch`;continue;case 2:if(a!==0)break;o.useContent=e.bool(),o.heightSpec=`useContent`;continue;case 3:if(a!==0)break;o.pixelHeight=e.uint32(),o.heightSpec=`pixelHeight`;continue;case 4:if(a!==5)break;o.remHeight=e.float(),o.heightSpec=`remHeight`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.streamlit.HeightConfig)return e;if(!D.isObject(e))throw j(`.streamlit.HeightConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.streamlit.HeightConfig;return e.useStretch!=null&&(n.useStretch=N(e.useStretch)),e.useContent!=null&&(n.useContent=N(e.useContent)),e.pixelHeight!=null&&(n.pixelHeight=e.pixelHeight>>>0),e.remHeight!=null&&(n.remHeight=P(e.remHeight)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.useStretch!=null&&O.hasOwnProperty.call(e,`useStretch`)&&(r.useStretch=e.useStretch,t.oneofs&&(r.heightSpec=`useStretch`)),e.useContent!=null&&O.hasOwnProperty.call(e,`useContent`)&&(r.useContent=e.useContent,t.oneofs&&(r.heightSpec=`useContent`)),e.pixelHeight!=null&&O.hasOwnProperty.call(e,`pixelHeight`)&&(r.pixelHeight=e.pixelHeight,t.oneofs&&(r.heightSpec=`pixelHeight`)),e.remHeight!=null&&O.hasOwnProperty.call(e,`remHeight`)&&(r.remHeight=t.json&&!F(e.remHeight)?M(e.remHeight):e.remHeight,t.oneofs&&(r.heightSpec=`remHeight`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/streamlit.HeightConfig`},e})(),e.ButtonLikeIconPosition=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`LEFT`]=0,t[e[1]=`RIGHT`]=1,t})(),e.SelectWidgetFilterMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`FILTER_MODE_FUZZY`]=0,t[e[1]=`FILTER_MODE_CONTAINS`]=1,t[e[2]=`FILTER_MODE_PREFIX`]=2,t[e[3]=`FILTER_MODE_NONE`]=3,t})(),e.TextAlignmentConfig=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.alignment=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.alignment!=null&&O.hasOwnProperty.call(e,`alignment`)&&e.alignment!==0&&t.uint32(8).int32(e.alignment),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.streamlit.TextAlignmentConfig,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.int32())?o.alignment=s:delete o.alignment;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.streamlit.TextAlignmentConfig)return e;if(!D.isObject(e))throw j(`.streamlit.TextAlignmentConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.streamlit.TextAlignmentConfig;if(e.alignment!==0&&(typeof e.alignment!=`string`||z.streamlit.TextAlignmentConfig.Alignment[e.alignment]!==0))switch(e.alignment){case`UNSPECIFIED`:case 0:n.alignment=0;break;case`LEFT`:case 1:n.alignment=1;break;case`CENTER`:case 2:n.alignment=2;break;case`RIGHT`:case 3:n.alignment=3;break;case`JUSTIFY`:case 4:n.alignment=4;break;default:typeof e.alignment==`number`&&(e.alignment|0)===e.alignment&&(n.alignment=e.alignment)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.alignment=t.enums===M?`UNSPECIFIED`:0),e.alignment!=null&&O.hasOwnProperty.call(e,`alignment`)&&(r.alignment=t.enums===M?z.streamlit.TextAlignmentConfig.Alignment[e.alignment]===k?e.alignment:z.streamlit.TextAlignmentConfig.Alignment[e.alignment]:e.alignment),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/streamlit.TextAlignmentConfig`},e.Alignment=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`UNSPECIFIED`]=0,t[e[1]=`LEFT`]=1,t[e[2]=`CENTER`]=2,t[e[3]=`RIGHT`]=3,t[e[4]=`JUSTIFY`]=4,t})(),e})(),e})();z.AppPage=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.pageScriptHash=``,e.prototype.pageName=``,e.prototype.icon=``,e.prototype.isDefault=!1,e.prototype.sectionHeader=``,e.prototype.urlPathname=``,e.prototype.isHidden=!1,e.prototype.externalUrl=null;let t;return O.defineProperty(e.prototype,`_externalUrl`,{get:D.oneOfGetter(t=[`externalUrl`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(10).string(e.pageScriptHash),e.pageName!=null&&O.hasOwnProperty.call(e,`pageName`)&&e.pageName!==``&&t.uint32(18).string(e.pageName),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.isDefault!=null&&O.hasOwnProperty.call(e,`isDefault`)&&e.isDefault!==!1&&t.uint32(32).bool(e.isDefault),e.sectionHeader!=null&&O.hasOwnProperty.call(e,`sectionHeader`)&&e.sectionHeader!==``&&t.uint32(42).string(e.sectionHeader),e.urlPathname!=null&&O.hasOwnProperty.call(e,`urlPathname`)&&e.urlPathname!==``&&t.uint32(50).string(e.urlPathname),e.isHidden!=null&&O.hasOwnProperty.call(e,`isHidden`)&&e.isHidden!==!1&&t.uint32(56).bool(e.isHidden),e.externalUrl!=null&&O.hasOwnProperty.call(e,`externalUrl`)&&t.uint32(66).string(e.externalUrl),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.AppPage,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.pageScriptHash=s:delete o.pageScriptHash;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.pageName=s:delete o.pageName;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 4:if(a!==0)break;(s=e.bool())?o.isDefault=s:delete o.isDefault;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.sectionHeader=s:delete o.sectionHeader;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.urlPathname=s:delete o.urlPathname;continue;case 7:if(a!==0)break;(s=e.bool())?o.isHidden=s:delete o.isHidden;continue;case 8:if(a!==2)break;o.externalUrl=e.stringVerify(),o._externalUrl=`externalUrl`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.AppPage)return e;if(!D.isObject(e))throw j(`.AppPage: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.AppPage;return e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=M(e.pageScriptHash)),e.pageName!=null&&(typeof e.pageName!=`string`||e.pageName.length)&&(n.pageName=M(e.pageName)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.isDefault!=null&&e.isDefault&&(n.isDefault=N(e.isDefault)),e.sectionHeader!=null&&(typeof e.sectionHeader!=`string`||e.sectionHeader.length)&&(n.sectionHeader=M(e.sectionHeader)),e.urlPathname!=null&&(typeof e.urlPathname!=`string`||e.urlPathname.length)&&(n.urlPathname=M(e.urlPathname)),e.isHidden!=null&&e.isHidden&&(n.isHidden=N(e.isHidden)),e.externalUrl!=null&&(n.externalUrl=M(e.externalUrl)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.pageScriptHash=``,r.pageName=``,r.icon=``,r.isDefault=!1,r.sectionHeader=``,r.urlPathname=``,r.isHidden=!1),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.pageName!=null&&O.hasOwnProperty.call(e,`pageName`)&&(r.pageName=e.pageName),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.isDefault!=null&&O.hasOwnProperty.call(e,`isDefault`)&&(r.isDefault=e.isDefault),e.sectionHeader!=null&&O.hasOwnProperty.call(e,`sectionHeader`)&&(r.sectionHeader=e.sectionHeader),e.urlPathname!=null&&O.hasOwnProperty.call(e,`urlPathname`)&&(r.urlPathname=e.urlPathname),e.isHidden!=null&&O.hasOwnProperty.call(e,`isHidden`)&&(r.isHidden=e.isHidden),e.externalUrl!=null&&O.hasOwnProperty.call(e,`externalUrl`)&&(r.externalUrl=e.externalUrl),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/AppPage`},e})(),z.ArrowData=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.newBuffer([]),e.prototype.styler=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&O.hasOwnProperty.call(e,`data`)&&e.data.length&&t.uint32(10).bytes(e.data),e.styler!=null&&O.hasOwnProperty.call(e,`styler`)&&z.ArrowData.PandasStyler.encode(e.styler,t.uint32(18).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ArrowData,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.bytes()).length?o.data=s:delete o.data;continue;case 2:if(a!==2)break;o.styler=z.ArrowData.PandasStyler.decode(e,e.uint32(),k,r+1,o.styler);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ArrowData)return e;if(!D.isObject(e))throw j(`.ArrowData: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ArrowData;if(e.data!=null&&e.data.length&&(typeof e.data==`string`?D.base64.decode(e.data,n.data=D.newBuffer(D.base64.length(e.data)),0):e.data.length>=0&&(n.data=e.data)),e.styler!=null){if(!D.isObject(e.styler))throw j(`.ArrowData.styler: object expected`);n.styler=z.ArrowData.PandasStyler.fromObject(e.styler,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(t.bytes===M?r.data=``:(r.data=[],t.bytes!==I&&(r.data=D.newBuffer(r.data))),r.styler=null),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=t.bytes===M?D.base64.encode(e.data,
10,e.data.length):t.bytes===I?I.prototype.slice.call(e.data):e.data),e.styler!=null&&O.hasOwnProperty.call(e,`styler`)&&(r.styler=z.ArrowData.PandasStyler.toObject(e.styler,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ArrowData`},e.PandasStyler=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.uuid=``,e.prototype.caption=``,e.prototype.styles=``,e.prototype.displayValues=D.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.uuid!=null&&O.hasOwnProperty.call(e,`uuid`)&&e.uuid!==``&&t.uint32(10).string(e.uuid),e.caption!=null&&O.hasOwnProperty.call(e,`caption`)&&e.caption!==``&&t.uint32(18).string(e.caption),e.styles!=null&&O.hasOwnProperty.call(e,`styles`)&&e.styles!==``&&t.uint32(26).string(e.styles),e.displayValues!=null&&O.hasOwnProperty.call(e,`displayValues`)&&e.displayValues.length&&t.uint32(34).bytes(e.displayValues),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ArrowData.PandasStyler,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.uuid=s:delete o.uuid;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.caption=s:delete o.caption;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.styles=s:delete o.styles;continue;case 4:if(a!==2)break;(s=e.bytes()).length?o.displayValues=s:delete o.displayValues;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ArrowData.PandasStyler)return e;if(!D.isObject(e))throw j(`.ArrowData.PandasStyler: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ArrowData.PandasStyler;return e.uuid!=null&&(typeof e.uuid!=`string`||e.uuid.length)&&(n.uuid=M(e.uuid)),e.caption!=null&&(typeof e.caption!=`string`||e.caption.length)&&(n.caption=M(e.caption)),e.styles!=null&&(typeof e.styles!=`string`||e.styles.length)&&(n.styles=M(e.styles)),e.displayValues!=null&&e.displayValues.length&&(typeof e.displayValues==`string`?D.base64.decode(e.displayValues,n.displayValues=D.newBuffer(D.base64.length(e.displayValues)),0):e.displayValues.length>=0&&(n.displayValues=e.displayValues)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.uuid=``,r.caption=``,r.styles=``,t.bytes===M?r.displayValues=``:(r.displayValues=[],t.bytes!==I&&(r.displayValues=D.newBuffer(r.displayValues)))),e.uuid!=null&&O.hasOwnProperty.call(e,`uuid`)&&(r.uuid=e.uuid),e.caption!=null&&O.hasOwnProperty.call(e,`caption`)&&(r.caption=e.caption),e.styles!=null&&O.hasOwnProperty.call(e,`styles`)&&(r.styles=e.styles),e.displayValues!=null&&O.hasOwnProperty.call(e,`displayValues`)&&(r.displayValues=t.bytes===M?D.base64.encode(e.displayValues,0,e.displayValues.length):t.bytes===I?I.prototype.slice.call(e.displayValues):e.displayValues),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ArrowData.PandasStyler`},e})(),e})(),z.ArrowNamedDataSet=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.name=``,e.prototype.hasName=!1,e.prototype.data=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&z.ArrowData.encode(e.data,t.uint32(18).fork(),n+1).ldelim(),e.hasName!=null&&O.hasOwnProperty.call(e,`hasName`)&&e.hasName!==!1&&t.uint32(24).bool(e.hasName),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ArrowNamedDataSet,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 3:if(a!==0)break;(s=e.bool())?o.hasName=s:delete o.hasName;continue;case 2:if(a!==2)break;o.data=z.ArrowData.decode(e,e.uint32(),k,r+1,o.data);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ArrowNamedDataSet)return e;if(!D.isObject(e))throw j(`.ArrowNamedDataSet: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ArrowNamedDataSet;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.hasName!=null&&e.hasName&&(n.hasName=N(e.hasName)),e.data!=null){if(!D.isObject(e.data))throw j(`.ArrowNamedDataSet.data: object expected`);n.data=z.ArrowData.fromObject(e.data,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.data=null,r.hasName=!1),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=z.ArrowData.toObject(e.data,t,n+1)),e.hasName!=null&&O.hasOwnProperty.call(e,`hasName`)&&(r.hasName=e.hasName),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ArrowNamedDataSet`},e})(),z.Audio=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.url=``,e.prototype.startTime=0,e.prototype.endTime=0,e.prototype.loop=!1,e.prototype.autoplay=!1,e.prototype.id=``,e.prototype.widthConfig=null;let t;return O.defineProperty(e.prototype,`_widthConfig`,{get:D.oneOfGetter(t=[`widthConfig`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.startTime!=null&&O.hasOwnProperty.call(e,`startTime`)&&e.startTime!==0&&t.uint32(24).int32(e.startTime),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(42).string(e.url),e.endTime!=null&&O.hasOwnProperty.call(e,`endTime`)&&e.endTime!==0&&t.uint32(48).int32(e.endTime),e.loop!=null&&O.hasOwnProperty.call(e,`loop`)&&e.loop!==!1&&t.uint32(56).bool(e.loop),e.autoplay!=null&&O.hasOwnProperty.call(e,`autoplay`)&&e.autoplay!==!1&&t.uint32(64).bool(e.autoplay),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(74).string(e.id),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&z.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(82).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Audio,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 5:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 3:if(a!==0)break;(s=e.int32())?o.startTime=s:delete o.startTime;continue;case 6:if(a!==0)break;(s=e.int32())?o.endTime=s:delete o.endTime;continue;case 7:if(a!==0)break;(s=e.bool())?o.loop=s:delete o.loop;continue;case 8:if(a!==0)break;(s=e.bool())?o.autoplay=s:delete o.autoplay;continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 10:if(a!==2)break;o.widthConfig=z.streamlit.WidthConfig.decode(e,e.uint32(),k,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Audio)return e;if(!D.isObject(e))throw j(`.Audio: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Audio;if(e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.startTime!=null&&P(e.startTime)!==0&&(n.startTime=e.startTime|0),e.endTime!=null&&P(e.endTime)!==0&&(n.endTime=e.endTime|0),e.loop!=null&&e.loop&&(n.loop=N(e.loop)),e.autoplay!=null&&e.autoplay&&(n.autoplay=N(e.autoplay)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.widthConfig!=null){if(!D.isObject(e.widthConfig))throw j(`.Audio.widthConfig: object expected`);n.widthConfig=z.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.startTime=0,r.url=``,r.endTime=0,r.loop=!1,r.autoplay=!1,r.id=``),e.startTime!=null&&O.hasOwnProperty.call(e,`startTime`)&&(r.startTime=e.startTime),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.endTime!=null&&O.hasOwnProperty.call(e,`endTime`)&&(r.endTime=e.endTime),e.loop!=null&&O.hasOwnProperty.call(e,`loop`)&&(r.loop=e.loop),e.autoplay!=null&&O.hasOwnProperty.call(e,`autoplay`)&&(r.autoplay=e.autoplay),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=z.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Audio`},e})(),z.AudioInput=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.help=``,e.prototype.formId=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.sampleRate=null;let t;return O.defineProperty(e.prototype,`_sampleRate`,{get:D.oneOfGetter(t=[`sampleRate`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(26).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(34).string(e.formId),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(50).fork(),n+1).ldelim(),e.sampleRate!=null&&O.hasOwnProperty.call(e,`sampleRate`)&&t.uint32(56).int32(e.sampleRate),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.AudioInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 5:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 6:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 7:if(a!==0)break;o.sampleRate=e.int32(),o._sampleRate=`sampleRate`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.AudioInput)return e;if(!D.isObject(e))throw j(`.AudioInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.AudioInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.AudioInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.sampleRate!=null&&(n.sampleRate=e.sampleRate|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.help=``,r.formId=``,r.disabled=!1,r.labelVisibility=null),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.sampleRate!=null&&O.hasOwnProperty.call(e,`sampleRate`)&&(r.sampleRate=e.sampleRate),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/AudioInput`},e})();var B=z.LabelVisibility=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.value=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==0&&t.uint32(8).int32(e.value),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.LabelVisibility,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.int32())?o.value=s:delete o.value;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.LabelVisibility)return e;if(!D.isObject(e))throw j(`.LabelVisibility: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.LabelVisibility;if(e.value!==0&&(typeof e.value!=`string`||z.LabelVisibility.LabelVisibilityOptions[e.value]!==0))switch(e.value){case`VISIBLE`:case 0:n.value=0;break;case`HIDDEN`:case 1:n.value=1;break;case`COLLAPSED`:case 2:n.value=2;break;default:typeof e.value==`number`&&(e.value|0)===e.value&&(n.value=e.value)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.value=t.enums===M?`VISIBLE`:0),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=t.enums===M?z.LabelVisibility.LabelVisibilityOptions[e.value]===k?e.value:z.LabelVisibility.LabelVisibilityOptions[e.value]:e.value),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/LabelVisibility`},e.LabelVisibilityOptions=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`VISIBLE`]=0,t[e[1]=`HIDDEN`]=1,t[e[2]=`COLLAPSED`]=2,t})(),e})();z.AuthRedirect=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.url=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.AuthRedirect,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.AuthRedirect)return e;if(!D.isObject(e))throw j(`.AuthRedirect: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.AuthRedirect;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.url=``),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/AuthRedirect`},e})(),z.AutoRerun=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.interval=0,e.prototype.fragmentId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.interval!=null&&O.hasOwnProperty.call(e,`interval`)&&!O.is(e.interval,0)&&t.uint32(13).float(e.interval),e.fragmentId!=null&&O.hasOwnProperty.call(e,`fragmentId`)&&e.fragmentId!==``&&t.uint32(18).string(e.fragmentId),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.AutoRerun,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==5)break;O.is(s=e.float(),0)?delete o.interval:o.interval=s;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.fragmentId=s:delete o.fragmentId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.AutoRerun)return e;if(!D.isObject(e))throw j(`.AutoRerun: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.AutoRerun;return e.interval!=null&&(O.is(P(e.interval),0)||(n.interval=P(e.interval))),e.fragmentId!=null&&(typeof e.fragmentId!=`string`||e.fragmentId.length)&&(n.fragmentId=M(e.fragmentId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.interval=0,r.fragmentId=``),e.interval!=null&&O.hasOwnProperty.call(e,`interval`)&&(r.interval=t.json&&!F(e.interval)?M(e.interval):e.interval),e.fragmentId!=null&&O.hasOwnProperty.call(e,`fragmentId`)&&(r.fragmentId=e.fragmentId),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/AutoRerun`},e})(),z.StopAutoRerun=(()=>{let e=function(e){if(this.fragmentIds=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.fragmentIds=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.fragmentIds!=null&&e.fragmentIds.length)for(let n=0;n<e.fragmentIds.length;++n)t.uint32(10).string(e.fragmentIds[n]);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.StopAutoRerun;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.fragmentIds&&o.fragmentIds.length||(o.fragmentIds=[]),o.fragmentIds.push(e.stringVerify());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.StopAutoRerun)return e;if(!D.isObject(e))throw j(`.StopAutoRerun: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.StopAutoRerun;if(e.fragmentIds){if(!I.isArray(e.fragmentIds))throw j(`.StopAutoRerun.fragmentIds: array expected`);n.fragmentIds=I(e.fragmentIds.length);for(let t=0;t<e.fragmentIds.length;++t)n.fragmentIds[t]=M(e.fragmentIds[t])}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fragmentIds=[]),e.fragmentIds&&e.fragmentIds.length){r.fragmentIds=I(e.fragmentIds.length);for(let t=0;t<e.fragmentIds.length;++t)r.fragmentIds[t]=e.fragmentIds[t]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/StopAutoRerun`},e})();var V=z.BackMsg=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.clearCache=null,e.prototype.setRunOnSave=null,e.prototype.stopScript=null,e.prototype.rerunScript=null,e.prototype.loadGitInfo=null,e.prototype.debugDisconnectWebsocket=null,e.prototype.debugShutdownRuntime=null,e.prototype.fileUrlsRequest=null,e.prototype.appHeartbeat=null,e.prototype.backendOperationRequest=null,e.prototype.debugLastBackmsgId=``;let t;return O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=[`clearCache`,`setRunOnSave`,`stopScript`,`rerunScript`,`loadGitInfo`,`debugDisconnectWebsocket`,`debugShutdownRuntime`,`fileUrlsRequest`,`appHeartbeat`,`backendOperationRequest`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.clearCache!=null&&O.hasOwnProperty.call(e,`clearCache`)&&t.uint32(40).bool(e.clearCache),e.setRunOnSave!=null&&O.hasOwnProperty.call(e,`setRunOnSave`)&&t.uint32(48).bool(e.setRunOnSave),e.stopScript!=null&&O.hasOwnProperty.call(e,`stopScript`)&&t.uint32(56).bool(e.stopScript),e.rerunScript!=null&&O.hasOwnProperty.call(e,`rerunScript`)&&z.ClientState.encode(e.rerunScript,t.uint32(90).fork(),n+1).ldelim(),e.loadGitInfo!=null&&O.hasOwnProperty.call(e,`loadGitInfo`)&&t.uint32(96).bool(e.loadGitInfo),e.debugL
1astBackmsgId!=null&&O.hasOwnProperty.call(e,`debugLastBackmsgId`)&&e.debugLastBackmsgId!==``&&t.uint32(106).string(e.debugLastBackmsgId),e.debugDisconnectWebsocket!=null&&O.hasOwnProperty.call(e,`debugDisconnectWebsocket`)&&t.uint32(112).bool(e.debugDisconnectWebsocket),e.debugShutdownRuntime!=null&&O.hasOwnProperty.call(e,`debugShutdownRuntime`)&&t.uint32(120).bool(e.debugShutdownRuntime),e.fileUrlsRequest!=null&&O.hasOwnProperty.call(e,`fileUrlsRequest`)&&z.FileURLsRequest.encode(e.fileUrlsRequest,t.uint32(130).fork(),n+1).ldelim(),e.appHeartbeat!=null&&O.hasOwnProperty.call(e,`appHeartbeat`)&&t.uint32(136).bool(e.appHeartbeat),e.backendOperationRequest!=null&&O.hasOwnProperty.call(e,`backendOperationRequest`)&&z.BackendOperationRequest.encode(e.backendOperationRequest,t.uint32(154).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.BackMsg,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 5:if(a!==0)break;o.clearCache=e.bool(),o.type=`clearCache`;continue;case 6:if(a!==0)break;o.setRunOnSave=e.bool(),o.type=`setRunOnSave`;continue;case 7:if(a!==0)break;o.stopScript=e.bool(),o.type=`stopScript`;continue;case 11:if(a!==2)break;o.rerunScript=z.ClientState.decode(e,e.uint32(),k,r+1,o.rerunScript),o.type=`rerunScript`;continue;case 12:if(a!==0)break;o.loadGitInfo=e.bool(),o.type=`loadGitInfo`;continue;case 14:if(a!==0)break;o.debugDisconnectWebsocket=e.bool(),o.type=`debugDisconnectWebsocket`;continue;case 15:if(a!==0)break;o.debugShutdownRuntime=e.bool(),o.type=`debugShutdownRuntime`;continue;case 16:if(a!==2)break;o.fileUrlsRequest=z.FileURLsRequest.decode(e,e.uint32(),k,r+1,o.fileUrlsRequest),o.type=`fileUrlsRequest`;continue;case 17:if(a!==0)break;o.appHeartbeat=e.bool(),o.type=`appHeartbeat`;continue;case 19:if(a!==2)break;o.backendOperationRequest=z.BackendOperationRequest.decode(e,e.uint32(),k,r+1,o.backendOperationRequest),o.type=`backendOperationRequest`;continue;case 13:if(a!==2)break;(s=e.stringVerify()).length?o.debugLastBackmsgId=s:delete o.debugLastBackmsgId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.BackMsg)return e;if(!D.isObject(e))throw j(`.BackMsg: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.BackMsg;if(e.clearCache!=null&&(n.clearCache=N(e.clearCache)),e.setRunOnSave!=null&&(n.setRunOnSave=N(e.setRunOnSave)),e.stopScript!=null&&(n.stopScript=N(e.stopScript)),e.rerunScript!=null){if(!D.isObject(e.rerunScript))throw j(`.BackMsg.rerunScript: object expected`);n.rerunScript=z.ClientState.fromObject(e.rerunScript,t+1)}if(e.loadGitInfo!=null&&(n.loadGitInfo=N(e.loadGitInfo)),e.debugDisconnectWebsocket!=null&&(n.debugDisconnectWebsocket=N(e.debugDisconnectWebsocket)),e.debugShutdownRuntime!=null&&(n.debugShutdownRuntime=N(e.debugShutdownRuntime)),e.fileUrlsRequest!=null){if(!D.isObject(e.fileUrlsRequest))throw j(`.BackMsg.fileUrlsRequest: object expected`);n.fileUrlsRequest=z.FileURLsRequest.fromObject(e.fileUrlsRequest,t+1)}if(e.appHeartbeat!=null&&(n.appHeartbeat=N(e.appHeartbeat)),e.backendOperationRequest!=null){if(!D.isObject(e.backendOperationRequest))throw j(`.BackMsg.backendOperationRequest: object expected`);n.backendOperationRequest=z.BackendOperationRequest.fromObject(e.backendOperationRequest,t+1)}return e.debugLastBackmsgId!=null&&(typeof e.debugLastBackmsgId!=`string`||e.debugLastBackmsgId.length)&&(n.debugLastBackmsgId=M(e.debugLastBackmsgId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};
1return t.defaults&&(r.debugLastBackmsgId=``),e.clearCache!=null&&O.hasOwnProperty.call(e,`clearCache`)&&(r.clearCache=e.clearCache,t.oneofs&&(r.type=`clearCache`)),e.setRunOnSave!=null&&O.hasOwnProperty.call(e,`setRunOnSave`)&&(r.setRunOnSave=e.setRunOnSave,t.oneofs&&(r.type=`setRunOnSave`)),e.stopScript!=null&&O.hasOwnProperty.call(e,`stopScript`)&&(r.stopScript=e.stopScript,t.oneofs&&(r.type=`stopScript`)),e.rerunScript!=null&&O.hasOwnProperty.call(e,`rerunScript`)&&(r.rerunScript=z.ClientState.toObject(e.rerunScript,t,n+1),t.oneofs&&(r.type=`rerunScript`)),e.loadGitInfo!=null&&O.hasOwnProperty.call(e,`loadGitInfo`)&&(r.loadGitInfo=e.loadGitInfo,t.oneofs&&(r.type=`loadGitInfo`)),e.debugLastBackmsgId!=null&&O.hasOwnProperty.call(e,`debugLastBackmsgId`)&&(r.debugLastBackmsgId=e.debugLastBackmsgId),e.debugDisconnectWebsocket!=null&&O.hasOwnProperty.call(e,`debugDisconnectWebsocket`)&&(r.debugDisconnectWebsocket=e.debugDisconnectWebsocket,t.oneofs&&(r.type=`debugDisconnectWebsocket`)),e.debugShutdownRuntime!=null&&O.hasOwnProperty.call(e,`debugShutdownRuntime`)&&(r.debugShutdownRuntime=e.debugShutdownRuntime,t.oneofs&&(r.type=`debugShutdownRuntime`)),e.fileUrlsRequest!=null&&O.hasOwnProperty.call(e,`fileUrlsRequest`)&&(r.fileUrlsRequest=z.FileURLsRequest.toObject(e.fileUrlsRequest,t,n+1),t.oneofs&&(r.type=`fileUrlsRequest`)),e.appHeartbeat!=null&&O.hasOwnProperty.call(e,`appHeartbeat`)&&(r.appHeartbeat=e.appHeartbeat,t.oneofs&&(r.type=`appHeartbeat`)),e.backendOperationRequest!=null&&O.hasOwnProperty.call(e,`backendOperationRequest`)&&(r.backendOperationRequest=z.BackendOperationRequest.toObject(e.backendOperationRequest,t,n+1),t.oneofs&&(r.type=`backendOperationRequest`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/BackMsg`},e})(),H=z.BackendOperationRequest=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.requestId=``,e.prototype.sessionId=``,e.prototype.deferredFile=null,e.prototype.installSkills=null,e.prototype.dismissSkillsNudge=null;let t;return O.defineProperty(e.prototype,`payload`,{get:D.oneOfGetter(t=[`deferredFile`,`installSkills`,`dismissSkillsNudge`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.requestId!=null&&O.hasOwnProperty.call(e,`requestId`)&&e.requestId!==``&&t.uint32(10).string(e.requestId),e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(18).string(e.sessionId),e.deferredFile!=null&&O.hasOwnProperty.call(e,`deferredFile`)&&z.DeferredFileRequestPayload.encode(e.deferredFile,t.uint32(26).fork(),n+1).ldelim(),e.installSkills!=null&&O.hasOwnProperty.call(e,`installSkills`)&&z.InstallSkillsRequestPayload.encode(e.installSkills,t.uint32(34).fork(),n+1).ldelim(),e.dismissSkillsNudge!=null&&O.hasOwnProperty.call(e,`dismissSkillsNudge`)&&z.DismissSkillsNudgeRequestPayload.encode(e.dismissSkillsNudge,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.BackendOperationRequest,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.requestId=s:delete o.requestId;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.sessionId=s:delete o.sessionId;continue;case 3:if(a!==2)break;o.deferredFile=z.DeferredFileRequestPayload.decode(e,e.uint32(),k,r+1,o.deferredFile),o.payload=`deferredFile`;continue;case 4:if(a!==2)break;o.installSkills=z.InstallSkillsRequestPayload.decode(e,e.uint32(),k,r+1,o.installSkills),o.payload=`installSkills`;continue;case 5:if(a!==2)break;o.dismissSkillsNudge=z.DismissSkillsNudgeRequestPayload.decode(e,e.uint32(),k,r+1,o.dismissSkillsNudge),o.payload=`dismissSkillsNudge`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.BackendOperationRequest)return e;if(!D.isObject(e))throw j(`.BackendOperationRequest: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.BackendOperationRequest;if(e.requestId!=null&&(typeof e.requestId!=`string`||e.requestId.length)&&(n.requestId=M(e.requestId)),e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=M(e.sessionId)),e.deferredFile!=null){if(!D.isObject(e.deferredFile))throw j(`.BackendOperationRequest.deferredFile: object expected`);n.deferredFile=z.DeferredFileRequestPayload.fromObject(e.deferredFile,t+1)}if(e.installSkills!=null){if(!D.isObject(e.installSkills))throw j(`.BackendOperationRequest.installSkills: object expected`);n.installSkills=z.InstallSkillsRequestPayload.fromObject(e.installSkills,t+1)}if(e.dismissSkillsNudge!=null){if(!D.isObject(e.dismissSkillsNudge))throw j(`.BackendOperationRequest.dismissSkillsNudge: object expected`);
1n.dismissSkillsNudge=z.DismissSkillsNudgeRequestPayload.fromObject(e.dismissSkillsNudge,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.requestId=``,r.sessionId=``),e.requestId!=null&&O.hasOwnProperty.call(e,`requestId`)&&(r.requestId=e.requestId),e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),e.deferredFile!=null&&O.hasOwnProperty.call(e,`deferredFile`)&&(r.deferredFile=z.DeferredFileRequestPayload.toObject(e.deferredFile,t,n+1),t.oneofs&&(r.payload=`deferredFile`)),e.installSkills!=null&&O.hasOwnProperty.call(e,`installSkills`)&&(r.installSkills=z.InstallSkillsRequestPayload.toObject(e.installSkills,t,n+1),t.oneofs&&(r.payload=`installSkills`)),e.dismissSkillsNudge!=null&&O.hasOwnProperty.call(e,`dismissSkillsNudge`)&&(r.dismissSkillsNudge=z.DismissSkillsNudgeRequestPayload.toObject(e.dismissSkillsNudge,t,n+1),t.oneofs&&(r.payload=`dismissSkillsNudge`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/BackendOperationRequest`},e})();z.DeferredFileRequestPayload=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.fileId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.fileId!=null&&O.hasOwnProperty.call(e,`fileId`)&&e.fileId!==``&&t.uint32(10).string(e.fileId),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DeferredFileRequestPayload,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.fileId=s:delete o.fileId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DeferredFileRequestPayload)return e;if(!D.isObject(e))throw j(`.DeferredFileRequestPayload: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DeferredFileRequestPayload;return e.fileId!=null&&(typeof e.fileId!=`string`||e.fileId.length)&&(n.fileId=M(e.fileId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.fileId=``),e.fileId!=null&&O.hasOwnProperty.call(e,`fileId`)&&(r.fileId=e.fileId),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DeferredFileRequestPayload`},e})(),z.InstallSkillsRequestPayload=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.InstallSkillsRequestPayload;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}e.skipType(i&7,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.InstallSkillsRequestPayload)return e;if(!D.isObject(e))throw j(`.InstallSkillsRequestPayload: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);return new z.InstallSkillsRequestPayload},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/InstallSkillsRequestPayload`},e})(),z.DismissSkillsNudgeRequestPayload=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DismissSkillsNudgeRequestPayload;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}e.skipType(i&7,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DismissSkillsNudgeRequestPayload)return e;if(!D.isObject(e))throw j(`.DismissSkillsNudgeRequestPayload: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);return new z.DismissSkillsNudgeRequestPayload},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DismissSkillsNudgeRequestPayload`},e})(),z.ContextInfo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.timezone=null,e.prototype.timezoneOffset=null,e.prototype.locale=null,e.prototype.url=null,e.prototype.isEmbedded=null,e.prototype.colorScheme=null;let t;return O.defineProperty(e.prototype,`_timezone`,{get:D.oneOfGetter(t=[`timezone`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_timezoneOffset`,{get:D.oneOfGetter(t=[`timezoneOffset`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_locale`,{get:D.oneOfGetter(t=[`locale`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_url`,{get:D.oneOfGetter(t=[`url`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_isEmbedded`,{get:D.oneOfGetter(t=[`isEmbedded`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_colorScheme`,{get:D.oneOfGetter(t=[`colorScheme`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.timezone!=null&&O.hasOwnProperty.call(e,`timezone`)&&t.uint32(10).string(e.timezone),e.timezoneOffset!=null&&O.hasOwnProperty.call(e,`timezoneOffset`)&&t.uint32(16).int32(e.timezoneOffset),e.locale!=null&&O.hasOwnProperty.call(e,`locale`)&&t.uint32(26).string(e.locale),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&t.uint32(34).string(e.url),e.isEmbedded!=null&&O.hasOwnProperty.call(e,`isEmbedded`)&&t.uint32(40).bool(e.isEmbedded),e.colorScheme!=null&&O.hasOwnProperty.call(e,`colorScheme`)&&t.uint32(50).string(e.colorScheme),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ContextInfo;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.timezone=e.stringVerify(),o._timezone=`timezone`;continue;case 2:if(a!==0)break;o.timezoneOffset=e.int32(),o._timezoneOffset=`timezoneOffset`;
1continue;case 3:if(a!==2)break;o.locale=e.stringVerify(),o._locale=`locale`;continue;case 4:if(a!==2)break;o.url=e.stringVerify(),o._url=`url`;continue;case 5:if(a!==0)break;o.isEmbedded=e.bool(),o._isEmbedded=`isEmbedded`;continue;case 6:if(a!==2)break;o.colorScheme=e.stringVerify(),o._colorScheme=`colorScheme`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ContextInfo)return e;if(!D.isObject(e))throw j(`.ContextInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ContextInfo;return e.timezone!=null&&(n.timezone=M(e.timezone)),e.timezoneOffset!=null&&(n.timezoneOffset=e.timezoneOffset|0),e.locale!=null&&(n.locale=M(e.locale)),e.url!=null&&(n.url=M(e.url)),e.isEmbedded!=null&&(n.isEmbedded=N(e.isEmbedded)),e.colorScheme!=null&&(n.colorScheme=M(e.colorScheme)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.timezone!=null&&O.hasOwnProperty.call(e,`timezone`)&&(r.timezone=e.timezone),e.timezoneOffset!=null&&O.hasOwnProperty.call(e,`timezoneOffset`)&&(r.timezoneOffset=e.timezoneOffset),e.locale!=null&&O.hasOwnProperty.call(e,`locale`)&&(r.locale=e.locale),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.isEmbedded!=null&&O.hasOwnProperty.call(e,`isEmbedded`)&&(r.isEmbedded=e.isEmbedded),e.colorScheme!=null&&O.hasOwnProperty.call(e,`colorScheme`)&&(r.colorScheme=e.colorScheme),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ContextInfo`},e})(),z.ClientState=(()=>{let e=function(e){if(this.cachedMessageHashes=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.queryString=``,e.prototype.widgetStates=null,e.prototype.pageScriptHash=``,e.prototype.pageName=``,e.prototype.fragmentId=``,e.prototype.isAutoRerun=!1,e.prototype.cachedMessageHashes=D.emptyArray,e.prototype.contextInfo=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.queryString!=null&&O.hasOwnProperty.call(e,`queryString`)&&e.queryString!==``&&t.uint32(10).string(e.queryString),e.widgetStates!=null&&O.hasOwnProperty.call(e,`widgetStates`)&&z.WidgetStates.encode(e.widgetStates,t.uint32(18).fork(),n+1).ldelim(),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(26).string(e.pageScriptHash),e.pageName!=null&&O.hasOwnProperty.call(e,`pageName`)&&e.pageName!==``&&t.uint32(34).string(e.pageName),e.fragmentId!=null&&O.hasOwnProperty.call(e,`fragmentId`)&&e.fragmentId!==``&&t.uint32(42).string(e.fragmentId),e.isAutoRerun!=null&&O.hasOwnProperty.call(e,`isAutoRerun`)&&e.isAutoRerun!==!1&&t.uint32(48).bool(e.isAutoRerun),e.cachedMessageHashes!=null&&e.cachedMessageHashes.length)for(let n=0;n<e.cachedMessageHashes.length;++n)t.uint32(58).string(e.cachedMessageHashes[n]);if(e.contextInfo!=null&&O.hasOwnProperty.call(e,`contextInfo`)&&z.ContextInfo.encode(e.contextInfo,t.uint32(66).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ClientState,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.queryString=s:delete o.queryString;continue;case 2:if(a!==2)break;o.widgetStates=z.WidgetStates.decode(e,e.uint32(),k,r+1,o.widgetStates);continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.pageScriptHash=s:delete o.pageScriptHash;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.pageName=s:delete o.pageName;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.fragmentId=s:delete o.fragmentId;continue;case 6:if(a!==0)break;(s=e.bool())?o.isAutoRerun=s:delete o.isAutoRerun;continue;case 7:if(a!==2)break;o.cachedMessageHashes&&o.cachedMessageHashes.length||(o.cachedMessageHashes=[]),o.cachedMessageHashes.push(e.stringVerify());continue;case 8:if(a!==2)break;o.contextInfo=z.ContextInfo.decode(e,e.uint32(),k,r+1,o.contextInfo);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ClientState)return e;if(!D.isObject(e))throw j(`.ClientState: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ClientState;if(e.queryString!=null&&(typeof e.queryString!=`string`||e.queryString.length)&&(n.queryString=M(e.queryString)),e.widgetStates!=null){if(!D.isObject(e.widgetStates))throw j(`.ClientState.widgetStates: object expected`);n.widgetStates=z.WidgetStates.fromObject(e.widgetStates,t+1)}if(e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=M(e.pageScriptHash)),e.pageName!=null&&(typeof e.pageName!=`string`||e.pageName.length)&&(n.pageName=M(e.pageName)),e.fragmentId!=null&&(typeof e.fragmentId!=`string`||e.fragmentId.length)&&(n.fragmentId=M(e.fragmentId)),e.isAutoRerun!=null&&e.isAutoRerun&&(n.isAutoRerun=N(e.isAutoRerun)),e.cachedMessageHashes
1){if(!I.isArray(e.cachedMessageHashes))throw j(`.ClientState.cachedMessageHashes: array expected`);n.cachedMessageHashes=I(e.cachedMessageHashes.length);for(let t=0;t<e.cachedMessageHashes.length;++t)n.cachedMessageHashes[t]=M(e.cachedMessageHashes[t])}if(e.contextInfo!=null){if(!D.isObject(e.contextInfo))throw j(`.ClientState.contextInfo: object expected`);n.contextInfo=z.ContextInfo.fromObject(e.contextInfo,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.cachedMessageHashes=[]),t.defaults&&(r.queryString=``,r.widgetStates=null,r.pageScriptHash=``,r.pageName=``,r.fragmentId=``,r.isAutoRerun=!1,r.contextInfo=null),e.queryString!=null&&O.hasOwnProperty.call(e,`queryString`)&&(r.queryString=e.queryString),e.widgetStates!=null&&O.hasOwnProperty.call(e,`widgetStates`)&&(r.widgetStates=z.WidgetStates.toObject(e.widgetStates,t,n+1)),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.pageName!=null&&O.hasOwnProperty.call(e,`pageName`)&&(r.pageName=e.pageName),e.fragmentId!=null&&O.hasOwnProperty.call(e,`fragmentId`)&&(r.fragmentId=e.fragmentId),e.isAutoRerun!=null&&O.hasOwnProperty.call(e,`isAutoRerun`)&&(r.isAutoRerun=e.isAutoRerun),e.cachedMessageHashes&&e.cachedMessageHashes.length){r.cachedMessageHashes=I(e.cachedMessageHashes.length);for(let t=0;t<e.cachedMessageHashes.length;++t)r.cachedMessageHashes[t]=e.cachedMessageHashes[t]}return e.contextInfo!=null&&O.hasOwnProperty.call(e,`contextInfo`)&&(r.contextInfo=z.ContextInfo.toObject(e.contextInfo,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ClientState`},e})();var U=z.WidgetStates=(()=>{let e=function(e){if(this.widgets=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.widgets=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.widgets!=null&&e.widgets.length)for(let r=0;r<e.widgets.length;++r)z.WidgetState.encode(e.widgets[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.WidgetStates;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.widgets&&o.widgets.length||(o.widgets=[]),o.widgets.push(z.WidgetState.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.WidgetStates)return e;if(!D.isObject(e))throw j(`.WidgetStates: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.WidgetStates;if(e.widgets){if(!I.isArray(e.widgets))throw j(`.WidgetStates.widgets: array expected`);n.widgets=I(e.widgets.length);for(let r=0;r<e.widgets.length;++r){if(!D.isObject(e.widgets[r]))throw j(`.WidgetStates.widgets: object expected`);n.widgets[r]=z.WidgetState.fromObject(e.widgets[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.widgets=[]),e.widgets&&e.widgets.length){r.widgets=I(e.widgets.length);for(let i=0;i<e.widgets.length;++i)r.widgets[i]=z.WidgetState.toObject(e.widgets[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/WidgetStates`},e})(),W=z.WidgetState=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.triggerValue=null,e.prototype.boolValue=null,e.prototype.doubleValue=null,e.prototype.intValue=null,e.prototype.stringValue=null,e.prototype.doubleArrayValue=null,e.prototype.intArrayValue=null,e.prototype.stringArrayValue=null,e.prototype.jsonValue=null,e.prototype.arrowValue=null,e.prototype.bytesValue=null,e.prototype.fileUploaderStateValue=null,e.prototype.stringTriggerValue=null,e.prototype.chatInputValue=null,e.prototype.jsonTriggerValue=null;let t;return O.defineProperty(e.prototype,`value`,{get:D.oneOfGetter(t=[`triggerValue`,`boolValue`,`doubleValue`,`intValue`,`stringValue`,`doubleArrayValue`,`intArrayValue`,`stringArrayValue`,`jsonValue`,`arrowValue`,`bytesValue`,`fileUploaderStateValue`,`stringTriggerValue`,`chatInputValue`,`jsonTriggerValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.triggerValue!=null&&O.hasOwnProperty.call(e,`triggerValue`)&&t.uint32(16).bool(e.triggerValue),e.boolValue!=null&&O.hasOwnProperty.call(e,`boolValue`)&&t.uint32(24).bool(e.boolValue),e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(33).double(e.doubleValue),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&t.uint32(40).sint64(e.intValue),e.stringValue!=null&&O.hasOwnProperty.call(e,`stringValue`)&&t.uint32(50).string(e.stringValue),e.doubleArrayValue!=null&&O.hasOwnProperty.call(e,`doubleArrayValue`)&&z.DoubleArray.encode(e.doubleArrayValue,t.uint32(58).fork(),n+1).ldelim(),e.intArrayValue!=null&&O.hasOwnProperty.call(e,`intArrayValue`)&&z.SInt64Array.encode(e.intArrayValue,t.uint32(66).fork(),n+1).ldelim(),e.stringArrayValue!=null&&O.hasOwnProperty.call(e,`stringArrayValue`)&&z.StringArray.encode(e.stringArrayValue,t.uint32(74).fork(),n+1).ldelim(),e.jsonValue!=null&&O.hasOwnProperty.call(e,`jsonValue`)&&t.uint32(82).string(e.jsonValue),e.arrowValue!=null&&O.hasOwnProperty.call(e,`arrowValue`)&&z.ArrowTable.encode(e.arrowValue,t.uint32(90).fork(),n+1).ldelim(),e.bytesValue!=null&&O.hasOwnProperty.call(e,`bytesValue`)&&t.uint32(98).bytes(e.bytesValue),e.fileUploaderStateValue!=null&&O.hasOwnProperty.call(e,`fileUploaderStateValue`)&&z.FileUploaderState.encode(e.fileUploaderStateValue,t.uint32(106).fork(),n+1).ldelim(),e.stringTriggerValue!=null&&O.hasOwnProperty.call(e,`stringTriggerValue`)&&z.StringTriggerValue.encode(e.stringTriggerValue,t.uint32(114).fork(),n+1).ldelim(),e.chatInputValue!=null&&O.hasOwnProperty.call(e,`chatInputValue`)&&z.ChatInputValue.encode(e.chatInputValue,t.uint32(122).fork(),n+1).ldelim(),e.jsonTriggerValue!=null&&O.hasOwnProperty.call(e,`jsonTriggerValue`)&&t.uint32(130).string(e.jsonTriggerValue),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.WidgetState,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==0)break;o.triggerValue=e.bool(),o.value=`triggerValue`;continue;case 3:if(a!==0)break;o.boolValue=e.bool(),o.value=`boolValue`;continue;case 4:if(a!==1)break;o.doubleValue=e.double(),o.value=`doubleValue`;continue;case 5:if(a!==0)break;o.intValue=e.sint64(),o.value=`intValue`;continue;case 6:if(a!==2)break;o.stringValue=e.stringVerify(),o.value=`stringValue`;continue;case 7:if(a!==2)break;o.doubleArrayValue=z.DoubleArray.decode(e,e.uint32(),k,r+1,o.doubleArrayValue),o.value=`doubleArrayValue`;continue;case 8:if(a!==2)break;o.intArrayValue=z.SInt64Array.decode(e,e.uint32(),k,r+1,o.intArrayValue),o.value=`intArrayValue`;continue;
1case 9:if(a!==2)break;o.stringArrayValue=z.StringArray.decode(e,e.uint32(),k,r+1,o.stringArrayValue),o.value=`stringArrayValue`;continue;case 10:if(a!==2)break;o.jsonValue=e.stringVerify(),o.value=`jsonValue`;continue;case 11:if(a!==2)break;o.arrowValue=z.ArrowTable.decode(e,e.uint32(),k,r+1,o.arrowValue),o.value=`arrowValue`;continue;case 12:if(a!==2)break;o.bytesValue=e.bytes(),o.value=`bytesValue`;continue;case 13:if(a!==2)break;o.fileUploaderStateValue=z.FileUploaderState.decode(e,e.uint32(),k,r+1,o.fileUploaderStateValue),o.value=`fileUploaderStateValue`;continue;case 14:if(a!==2)break;o.stringTriggerValue=z.StringTriggerValue.decode(e,e.uint32(),k,r+1,o.stringTriggerValue),o.value=`stringTriggerValue`;continue;case 15:if(a!==2)break;o.chatInputValue=z.ChatInputValue.decode(e,e.uint32(),k,r+1,o.chatInputValue),o.value=`chatInputValue`;continue;case 16:if(a!==2)break;o.jsonTriggerValue=e.stringVerify(),o.value=`jsonTriggerValue`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.WidgetState)return e;if(!D.isObject(e))throw j(`.WidgetState: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.WidgetState;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.triggerValue!=null&&(n.triggerValue=N(e.triggerValue)),e.boolValue!=null&&(n.boolValue=N(e.boolValue)),e.doubleValue!=null&&(n.doubleValue=P(e.doubleValue)),e.intValue!=null&&(D.Long?n.intValue=D.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=L(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),e.stringValue!=null&&(n.stringValue=M(e.stringValue)),e.doubleArrayValue!=null){if(!D.isObject(e.doubleArrayValue))throw j(`.WidgetState.doubleArrayValue: object expected`);n.doubleArrayValue=z.DoubleArray.fromObject(e.doubleArrayValue,t+1)}if(e.intArrayValue!=null){if(!D.isObject(e.intArrayValue))throw j(`.WidgetState.intArrayValue: object expected`);n.intArrayValue=z.SInt64Array.fromObject(e.intArrayValue,t+1)}if(e.stringArrayValue!=null){if(!D.isObject(e.stringArrayValue))throw j(`.WidgetState.stringArrayValue: object expected`);n.stringArrayValue=z.StringArray.fromObject(e.stringArrayValue,t+1)}if(e.jsonValue!=null&&(n.jsonValue=M(e.jsonValue)),e.arrowValue!=null){if(!D.isObject(e.arrowValue))throw j(`.WidgetState.arrowValue: object expected`);n.arrowValue=z.ArrowTable.fromObject(e.arrowValue,t+1)}if(e.bytesValue!=null&&(typeof e.bytesValue==`string`?D.base64.decode(e.bytesValue,n.bytesValue=D.newBuffer(D.base64.length(e.bytesValue)),0):e.bytesValue.length>=0&&(n.bytesValue=e.bytesValue)),e.fileUploaderStateValue!=null){if(!D.isObject(e.fileUploaderStateValue))throw j(`.WidgetState.fileUploaderStateValue: object expected`);n.fileUploaderStateValue=z.FileUploaderState.fromObject(e.fileUploaderStateValue,t+1)}if(e.stringTriggerValue!=null){if(!D.isObject(e.stringTriggerValue))throw j(`.WidgetState.stringTriggerValue: object expected`);n.stringTriggerValue=z.StringTriggerValue.fromObject(e.stringTriggerValue,t+1)}if(e.chatInputValue!=null){if(!D.isObject(e.chatInputValue))throw j(`.WidgetState.chatInputValue: object expected`);n.chatInputValue=z.ChatInputValue.fromObject(e.chatInputValue,t+1)}return e.jsonTriggerValue!=null&&(n.jsonTriggerValue=M(e.jsonTriggerValue)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.triggerValue!=null&&O.hasOwnProperty.call(e,`triggerValue`)&&(r.triggerValue=e.triggerValue,t.oneofs&&(r.value=`triggerValue`)),e.boolValue!=null&&O.hasOwnProperty.call(e,`boolValue`)&&(r.boolValue=e.boolValue,t.oneofs&&(r.value=`boolValue`)),e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!F(e.doubleValue)?M(e.doubleValue):e.doubleValue,t.oneofs&&(r.value=`doubleValue`)),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&(R!==void 0&&t.longs===R?r.intValue=typeof e.intValue==`number`?R(e.intValue):D.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?r.intValue=t.longs===M?M(e.intValue):e.intValue:r.intValue=t.longs===M?D.Long.prototype.toString.call(e.intValue):t.longs===P?new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.value=`intValue`)),e.stringValue!=null&&O.hasOwnProperty.call(e,`stringValue`)&&(r.stringValue=e.stringValue,t.oneofs&&(r.value=`stringValue`)),e.doubleArrayValue!=null&&O.hasOwnProperty.call(e,`doubleArrayValue`)&&(r.doubleArrayValue=z.DoubleArray.toObject(e.doubleArrayValue,t,n+1),t.oneofs&&(r.value=`doubleArrayValue`)),e.intArrayValue!=null&&O.hasOwnProperty.call(e,`intArrayValue`)&&(r.intArrayValue=z.SInt64Array.toObject(e.intArrayValue,t,n+1),t.oneofs&&(r.value=`intArrayValue`)),e.stringArrayValue!=null&&O.hasOwnProperty.call(e,`stringArrayValue`)&&(r.stringArrayValue=z.StringArray.toObject(e.stringArrayValue,t,n+1),t.oneofs&&(r.value=`stringArrayValue`)),e.jsonValue!=null&&O.hasOwnProperty.call(e,`jsonValue`)&&(r.jsonValue=e.jsonValue,t.oneofs&&(r.value=`jsonValue`)),e.arrowValue!=null&&O.hasOwnProperty.call(e,`arrowValue`)&&(r.arrowValue=z.ArrowTable.toObject(e.arrowValue,t,n+1),t.oneofs&&(r.value=`arrowValue`)),e.bytesValue!=null&&O.hasOwnProperty.call(e,`bytesValue`)&&(r.bytesValue=t.bytes===M?D.base64.encode(e.bytesValue,0,e.bytesValue.length):t.bytes===I?I.prototype.slice.call(e.bytesValue):e.bytesValue,t.oneofs&&(r.value=`bytesValue`)),e.fileUploaderStateValue!=null&&O.hasOwnProperty.call(e,`fileUploaderStateValue`)&&(r.fileUploaderStateValue=z.FileUploaderState.toObject(e.fileUploaderStateValue,t,n+1),t.oneofs&&(r.value=`fileUploaderStateValue`)),e.stringTriggerValue!=null&&O.hasOwnProperty.call(e,`stringTriggerValue`)&&(r.stringTriggerValue=z.StringTriggerValue.toObject(e.stringTriggerValue,t,n+1),t.oneofs&&(r.value=`stringTriggerValue`)),e.chatInputValue!=null&&O.hasOwnProperty.call(e,`chatInputValue`)&&(r.chatInputValue=z.ChatInputValue.toObject(e.chatInputValue,t,n+1),t.oneofs&&(r.value=`chatInputValue`)),e.jsonTriggerValue!=null&&O.hasOwnProperty.call(e,`jsonTriggerValue`)&&(r.jsonTriggerValue=e.jsonTriggerValue,t.oneofs&&(r.value=`jsonTriggerValue`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/WidgetState`},e})(),G=z.StringArray=(()=>{let e=function(e){if(this.data=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&e.data.length)for(let n=0;n<e.data.length;++n)t.uint32(10).string(e.data[n]);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.StringArray;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.data&&o.data.length||(o.data=[]),o.data.push(e.stringVerify());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.StringArray)return e;if(!D.isObject(e))throw j(`.StringArray: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.StringArray;
1if(e.data){if(!I.isArray(e.data))throw j(`.StringArray.data: array expected`);n.data=I(e.data.length);for(let t=0;t<e.data.length;++t)n.data[t]=M(e.data[t])}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=I(e.data.length);for(let t=0;t<e.data.length;++t)r.data[t]=e.data[t]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/StringArray`},e})(),K=z.DoubleArray=(()=>{let e=function(e){if(this.data=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).doubles(e.data),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DoubleArray;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a===2){o.data&&o.data.length||(o.data=[]),e.doubles(o.data);continue}if(a!==1)break;o.data&&o.data.length||(o.data=[]),o.data.push(e.double());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DoubleArray)return e;if(!D.isObject(e))throw j(`.DoubleArray: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DoubleArray;
1if(e.data){if(!I.isArray(e.data))throw j(`.DoubleArray.data: array expected`);n.data=I(e.data.length);for(let t=0;t<e.data.length;++t)n.data[t]=P(e.data[t])}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=I(e.data.length);for(let n=0;n<e.data.length;++n)r.data[n]=t.json&&!F(e.data[n])?M(e.data[n]):e.data[n]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DoubleArray`},e})();z.Int32Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).int32s(e.data),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Int32Array;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a===2){o.data&&o.data.length||(o.data=[]),e.int32s(o.data);continue}if(a!==0)break;o.data&&o.data.length||(o.data=[]),o.data.push(e.int32());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Int32Array)return e;if(!D.isObject(e))throw j(`.Int32Array: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Int32Array;if(e.data){if(!I.isArray(e.data))throw j(`.Int32Array.data: array expected`);n.data=I(e.data.length);for(let t=0;t<e.data.length;++t)n.data[t]=e.data[t]|0}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=I(e.data.length);for(let t=0;t<e.data.length;++t)r.data[t]=e.data[t]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Int32Array`},e})(),z.Int64Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).int64s(e.data),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Int64Array;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a===2){o.data&&o.data.length||(o.data=[]),e.int64s(o.data);continue}if(a!==0)break;o.data&&o.data.length||(o.data=[]),o.data.push(e.int64());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Int64Array)return e;if(!D.isObject(e))throw j(`.Int64Array: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Int64Array;if(e.data){if(!I.isArray(e.data))throw j(`.Int64Array.data: array expected`);n.data=I(e.data.length);for(let t=0;t<e.data.length;++t)D.Long?n.data[t]=D.Long.fromValue(e.data[t],!1):typeof e.data[t]==`string`?n.data[t]=L(e.data[t],10):typeof e.data[t]==`number`?n.data[t]=e.data[t]:typeof e.data[t]==`object`&&(n.data[t]=new D.LongBits(e.data[t].low>>>0,e.data[t].high>>>0).toNumber())}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=I(e.data.length);for(let n=0;n<e.data.length;++n)R!==void 0&&t.longs===R?r.data[n]=typeof e.data[n]==`number`?R(e.data[n]):D.Long.fromBits(e.data[n].low>>>0,e.data[n].high>>>0,!1).toBigInt():typeof e.data[n]==`number`?r.data[n]=t.longs===M?M(e.data[n]):e.data[n]:r.data[n]=t.longs===M?D.Long.prototype.toString.call(e.data[n]):t.longs===P?new D.LongBits(e.data[n].low>>>0,e.data[n].high>>>0).toNumber():e.data[n]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Int64Array`},e})();var q=z.SInt64Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).sint64s(e.data),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.SInt64Array;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a===2){o.data&&o.data.length||(o.data=[]),e.sint64s(o.data);continue}if(a!==0)break;o.data&&o.data.length||(o.data=[]),o.data.push(e.sint64());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.SInt64Array)return e;if(!D.isObject(e))throw j(`.SInt64Array: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.SInt64Array;
1if(e.data){if(!I.isArray(e.data))throw j(`.SInt64Array.data: array expected`);n.data=I(e.data.length);for(let t=0;t<e.data.length;++t)D.Long?n.data[t]=D.Long.fromValue(e.data[t],!1):typeof e.data[t]==`string`?n.data[t]=L(e.data[t],10):typeof e.data[t]==`number`?n.data[t]=e.data[t]:typeof e.data[t]==`object`&&(n.data[t]=new D.LongBits(e.data[t].low>>>0,e.data[t].high>>>0).toNumber())}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=I(e.data.length);for(let n=0;n<e.data.length;++n)R!==void 0&&t.longs===R?r.data[n]=typeof e.data[n]==`number`?R(e.data[n]):D.Long.fromBits(e.data[n].low>>>0,e.data[n].high>>>0,!1).toBigInt():typeof e.data[n]==`number`?r.data[n]=t.longs===M?M(e.data[n]):e.data[n]:r.data[n]=t.longs===M?D.Long.prototype.toString.call(e.data[n]):t.longs===P?new D.LongBits(e.data[n].low>>>0,e.data[n].high>>>0).toNumber():e.data[n]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/SInt64Array`},e})();z.UInt32Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).uint32s(e.data),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.UInt32Array;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a===2){o.data&&o.data.length||(o.data=[]),e.uint32s(o.data);continue}if(a!==0)break;o.data&&o.data.length||(o.data=[]),o.data.push(e.uint32());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.UInt32Array)return e;if(!D.isObject(e))throw j(`.UInt32Array: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.UInt32Array;if(e.data){if(!I.isArray(e.data))throw j(`.UInt32Array.data: array expected`);n.data=I(e.data.length);for(let t=0;t<e.data.length;++t)n.data[t]=e.data[t]>>>0}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=I(e.data.length);for(let t=0;t<e.data.length;++t)r.data[t]=e.data[t]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/UInt32Array`},e})();var J=z.StringTriggerValue=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.data=null;let t;return O.defineProperty(e.prototype,`_data`,{get:D.oneOfGetter(t=[`data`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&O.hasOwnProperty.call(e,`data`)&&t.uint32(10).string(e.data),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.StringTriggerValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.data=e.stringVerify(),o._data=`data`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.StringTriggerValue)return e;if(!D.isObject(e))throw j(`.StringTriggerValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.StringTriggerValue;return e.data!=null&&(n.data=M(e.data)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=e.data),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/StringTriggerValue`},e})();z.FileURLsRequest=(()=>{let e=function(e){if(this.fileNames=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.requestId=``,e.prototype.fileNames=D.emptyArray,e.prototype.sessionId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.requestId!=null&&O.hasOwnProperty.call(e,`requestId`)&&e.requestId!==``&&t.uint32(10).string(e.requestId),e.fileNames!=null&&e.fileNames.length)for(let n=0;n<e.fileNames.length;++n)t.uint32(18).string(e.fileNames[n]);if(e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(26).string(e.sessionId),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FileURLsRequest,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.requestId=s:delete o.requestId;continue;case 2:if(a!==2)break;o.fileNames&&o.fileNames.length||(o.fileNames=[]),o.fileNames.push(e.stringVerify());continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.sessionId=s:delete o.sessionId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FileURLsRequest)return e;if(!D.isObject(e))throw j(`.FileURLsRequest: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FileURLsRequest;if(e.requestId!=null&&(typeof e.requestId!=`string`||e.requestId.length)&&(n.requestId=M(e.requestId)),e.fileNames){if
1(!I.isArray(e.fileNames))throw j(`.FileURLsRequest.fileNames: array expected`);n.fileNames=I(e.fileNames.length);for(let t=0;t<e.fileNames.length;++t)n.fileNames[t]=M(e.fileNames[t])}return e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=M(e.sessionId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fileNames=[]),t.defaults&&(r.requestId=``,r.sessionId=``),e.requestId!=null&&O.hasOwnProperty.call(e,`requestId`)&&(r.requestId=e.requestId),e.fileNames&&e.fileNames.length){r.fileNames=I(e.fileNames.length);for(let t=0;t<e.fileNames.length;++t)r.fileNames[t]=e.fileNames[t]}return e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FileURLsRequest`},e})(),z.FileURLs=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.fileId=``,e.prototype.uploadUrl=``,e.prototype.deleteUrl=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.fileId!=null&&O.hasOwnProperty.call(e,`fileId`)&&e.fileId!==``&&t.uint32(10).string(e.fileId),e.uploadUrl!=null&&O.hasOwnProperty.call(e,`uploadUrl`)&&e.uploadUrl!==``&&t.uint32(18).string(e.uploadUrl),e.deleteUrl!=null&&O.hasOwnProperty.call(e,`deleteUrl`)&&e.deleteUrl!==``&&t.uint32(26).string(e.deleteUrl),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FileURLs,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.fileId=s:delete o.fileId;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.uploadUrl=s:delete o.uploadUrl;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.deleteUrl=s:delete o.deleteUrl;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FileURLs)return e;if(!D.isObject(e))throw j(`.FileURLs: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FileURLs;return e.fileId!=null&&(typeof e.fileId!=`string`||e.fileId.length)&&(n.fileId=M(e.fileId)),e.uploadUrl!=null&&(typeof e.uploadUrl!=`string`||e.uploadUrl.length)&&(n.uploadUrl=M(e.uploadUrl)),e.deleteUrl!=null&&(typeof e.deleteUrl!=`string`||e.deleteUrl.length)&&(n.deleteUrl=M(e.deleteUrl)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.fileId=``,r.uploadUrl=``,r.deleteUrl=``),e.fileId!=null&&O.hasOwnProperty.call(e,`fileId`)&&(r.fileId=e.fileId),e.uploadUrl!=null&&O.hasOwnProperty.call(e,`uploadUrl`)&&(r.uploadUrl=e.uploadUrl),e.deleteUrl!=null&&O.hasOwnProperty.call(e,`deleteUrl`)&&(r.deleteUrl=e.deleteUrl),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FileURLs`},e})(),z.FileURLsResponse=(()=>{let e=function(e){if(this.fileUrls=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.responseId=``,e.prototype.fileUrls=D.emptyArray,e.prototype.errorMsg=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.responseId!=null&&O.hasOwnProperty.call(e,`responseId`)&&e.responseId!==``&&t.uint32(10).string(e.responseId),e.fileUrls!=null&&e.fileUrls.length)for(let r=0;r<e.fileUrls.length;++r)z.FileURLs.encode(e.fileUrls[r],t.uint32(18).fork(),n+1).ldelim();if(e.errorMsg!=null&&O.hasOwnProperty.call(e,`errorMsg`)&&e.errorMsg!==``&&t.uint32(26).string(e.errorMsg),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FileURLsResponse,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.responseId=s:delete o.responseId;continue;case 2:if(a!==2)break;o.fileUrls&&o.fileUrls.length||(o.fileUrls=[]),o.fileUrls.push(z.FileURLs.decode(e,e.uint32(),k,r+1));continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.errorMsg=s:delete o.errorMsg;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FileURLsResponse)return e;if(!D.isObject(e))throw j(`.FileURLsResponse: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FileURLsResponse;if(e.responseId!=null&&(typeof e.responseId!=`string`||e.responseId.length)&&(n.responseId=M(e.responseId)),e.fileUrls){if(!I.isArray(e.fileUrls))throw j(`.FileURLsResponse.fileUrls: array expected`);n.fileUrls=I(e.fileUrls.length);for(let r=0;r<e.fileUrls.length;++r){if(!D.isObject(e.fileUrls[r]))throw j(`.FileURLsResponse.fileUrls: object expected`);n.fileUrls[r]=z.FileURLs.fromObject(e.fileUrls[r],t+1)}}return e.errorMsg!=null&&(typeof e.errorMsg!=`string`||e.errorMsg.length)&&(n.errorMsg=M(e.errorMsg)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fileUrls=[]),t.defaults&&(r.responseId=``,r.errorMsg=``),e.responseId!=null&&O.hasOwnProperty.call(e,`responseId`)&&(r.responseId=e.responseId),e.fileUrls&&e.fileUrls.length){r.fileUrls=I(e.fileUrls.length);for(let i=0;i<e.fileUrls.length;++i)r.fileUrls[i]=z.FileURLs.toObject(e.fileUrls[i],t,n+1)}return e.errorMsg!=null&&O.hasOwnProperty.call(e,`errorMsg`)&&(r.errorMsg=e.errorMsg),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FileURLsResponse`},e})();var Y=z.UploadedFileInfo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.name=``,e.prototype.size=D.Long?D.Long.fromBits(0,0,!0):0,e.prototype.fileId=``,e.prototype.fileUrls=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(18).string(e.name),e.size!=null&&O.hasOwnProperty.call(e,`size`)&&(typeof e.size==`object`?e.size.low||e.size.high:e.size!==0)&&t.uint32(24).uint64(e.size),e.fileId!=null&&O.hasOwnProperty.call(e,`fileId`)&&e.fileId!==``&&t.uint32(34).string(e.fileId),e.fileUrls!=null&&O.hasOwnProperty.call(e,`fileUrls`)&&z.FileURLs.encode(e.fileUrls,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.UploadedFileInfo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 2:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 3:if(a!==0)break;(typeof(s=e.uint64())==`object`?s.low||s.high:s!==0)?o.size=s:delete o.size;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.fileId=s:delete o.fileId;continue;case 5:if(a!==2)break;o.fileUrls=z.FileURLs.decode(e,e.uint32(),k,r+1,o.fileUrls);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.UploadedFileInfo)return e;if(!D.isObject(e))throw j(`.UploadedFileInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.UploadedFileInfo;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.size!=null&&(typeof e.size==`object`?e.size.low||e.size.high:P(e.size)!==0)&&(D.Long?n.size=D.Long.fromValue(e.size,!0):typeof e.size==`string`?n.size=L(e.size,10):typeof e.size==`number`?n.size=e.size:typeof e.size==`object`&&(n.size=new D.LongBits(e.size.low>>>0,e.size.high>>>0).toNumber(!0))),e.fileId!=null&&(typeof e.fileId!=`string`||e.fileId.length)&&(n.fileId=M(e.fileId)),e.fileUrls!=null){if(!D.isObject(e.fileUrls))throw j(`.UploadedFileInfo.fileUrls: object expected`);n.fileUrls=z.FileURLs.fromObject(e.fileUrls,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if(t.defaults){if(r.name=``,D.Long){let e=new D.Long(0,0,!0);r.size=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.size=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.fileId=``,r.fileUrls=null}return e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.size!=null&&O.hasOwnProperty.call(e,`size`)&&(R!==void 0&&t.longs===R?r.size=typeof e.size==`number`?R(e.size):D.Long.fromBits(e.size.low>>>0,e.size.high>>>0,!0).toBigInt():typeof e.size==`number`?r.size=t.longs===M?M(e.size):e.size:r.size=t.longs===M?D.Long.prototype.toString.call(e.size):t.longs===P?new D.LongBits(e.size.low>>>0,e.size.high>>>0).toNumber(!0):e.size),e.fileId!=null&&O.hasOwnProperty.call(e,`fileId`)&&(r.fileId=e.fileId),e.fileUrls!=null&&O.hasOwnProperty.call(e,`fileUrls`)&&(r.fileUrls=z.FileURLs.toObject(e.fileUrls,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/UploadedFileInfo`},e})(),X=z.FileUploaderState=(()=>{let e=function(e){if(this.uploadedFileInfo=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.uploadedFileInfo=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.uploadedFileInfo!=null&&e.uploadedFileInfo.length)for(let r=0;r<e.uploadedFileInfo.length;++r)z.UploadedFileInfo.encode(e.uploadedFileInfo[r],t.uint32(18).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FileUploaderState;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 2:if(a!==2)break;o.uploadedFileInfo&&o.uploadedFileInfo.length||(o.uploadedFileInfo=[]),o.uploadedFileInfo.push(z.UploadedFileInfo.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FileUploaderState)return e;if(!D.isObject(e))throw j(`.FileUploaderState: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FileUploaderState;if(e.uploadedFileInfo){if(!I.isArray(e.uploadedFileInfo))throw j(`.FileUploaderState.uploadedFileInfo: array expected`);n.uploadedFileInfo=I(e.uploadedFileInfo.length);for(let r=0;r<e.uploadedFileInfo.length;++r){if(!D.isObject(e.uploadedFileInfo[r]))throw j(`.FileUploaderState.uploadedFileInfo: object expected`);n.uploadedFileInfo[r]=z.UploadedFileInfo.fromObject(e.uploadedFileInfo[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.uploadedFileInfo=[]),e.uploadedFileInfo&&e.uploadedFileInfo.length){r.uploadedFileInfo=I(e.uploadedFileInfo.length);for(let i=0;i<e.uploadedFileInfo.length;++i)r.uploadedFileInfo[i]=z.UploadedFileInfo.toObject(e.uploadedFileInfo[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FileUploaderState`},e})(),Z=z.ChatInputValue=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.data=null,e.prototype.fileUploaderState=null,e.prototype.audioFileInfo=null;let t;return O.defineProperty(e.prototype,`_data`,{get:D.oneOfGetter(t=[`data`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_fileUploaderState`,{get:D.oneOfGetter(t=[`fileUploaderState`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_audioFileInfo`,{get:D.oneOfGetter(t=[`audioFileInfo`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&O.hasOwnProperty.call(e,`data`)&&t.uint32(10).string(e.data),e.fileUploaderState!=null&&O.hasOwnProperty.call(e,`fileUploaderState`)&&z.FileUploaderState.encode(e.fileUploaderState,t.uint32(18).fork(),n+1).ldelim(),e.audioFileInfo!=null&&O.hasOwnProperty.call(e,`audioFileInfo`)&&z.UploadedFileInfo.encode(e.audioFileInfo,t.uint32(26).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ChatInputValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.data=e.stringVerify(),o._data=`data`;continue;case 2:if(a!==2)break;o.fileUploaderState=z.FileUploaderState.decode(e,e.uint32(),k,r+1,o.fileUploaderState),o._fileUploaderState=`fileUploaderState`;continue;case 3:if(a!==2)break;o.audioFileInfo=z.UploadedFileInfo.decode(e,e.uint32(),k,r+1,o.audioFileInfo),o._audioFileInfo=`audioFileInfo`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ChatInputValue)return e;if(!D.isObject(e))throw j(`.ChatInputValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ChatInputValue;if(e.data!=null&&(n.data=M(e.data)),e.fileUploaderState!=null){if(!D.isObject(e.fileUploaderState))throw j(`.ChatInputValue.fileUploaderState: object expected`);n.fileUploaderState=z.FileUploaderState.fromObject(e.fileUploaderState,t+1)}if(e.audioFileInfo!=null){if(!D.isObject(e.audioFileInfo))throw j(`.ChatInputValue.audioFileInfo: object expected`);n.audioFileInfo=z.UploadedFileInfo.fromObject(e.audioFileInfo,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=e.data),e.fileUploaderState!=null&&O.hasOwnProperty.call(e,`fileUploaderState`)&&(r.fileUploaderState=z.FileUploaderState.toObject(e.fileUploaderState,t,n+1)),e.audioFileInfo!=null&&O.hasOwnProperty.call(e,`audioFileInfo`)&&(r.audioFileInfo=z.UploadedFileInfo.toObject(e.audioFileInfo,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ChatInputValue`},e})();z.ComponentInstance=(()=>{let e=function(e){if(this.specialArgs=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.jsonArgs=``,e.prototype.specialArgs=D.emptyArray,e.prototype.componentName=``,e.prototype.url=``,e.prototype.for
1mId=``,e.prototype.tabIndex=null;let t;return O.defineProperty(e.prototype,`_tabIndex`,{get:D.oneOfGetter(t=[`tabIndex`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.jsonArgs!=null&&O.hasOwnProperty.call(e,`jsonArgs`)&&e.jsonArgs!==``&&t.uint32(18).string(e.jsonArgs),e.specialArgs!=null&&e.specialArgs.length)for(let r=0;r<e.specialArgs.length;++r)z.SpecialArg.encode(e.specialArgs[r],t.uint32(26).fork(),n+1).ldelim();if(e.componentName!=null&&O.hasOwnProperty.call(e,`componentName`)&&e.componentName!==``&&t.uint32(34).string(e.componentName),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(42).string(e.url),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.tabIndex!=null&&O.hasOwnProperty.call(e,`tabIndex`)&&t.uint32(56).int32(e.tabIndex),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ComponentInstance,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.jsonArgs=s:delete o.jsonArgs;continue;case 3:if(a!==2)break;o.specialArgs&&o.specialArgs.length||(o.specialArgs=[]),o.specialArgs.push(z.SpecialArg.decode(e,e.uint32(),k,r+1));continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.componentName=s:delete o.componentName;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 7:if(a!==0)break;o.tabIndex=e.int32(),o._tabIndex=`tabIndex`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ComponentInstance)return e;if(!D.isObject(e))throw j(`.ComponentInstance: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ComponentInstance;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.jsonArgs!=null&&(typeof e.jsonArgs!=`string`||e.jsonArgs.length)&&(n.jsonArgs=M(e.jsonArgs)),e.specialArgs){if(!I.isArray(e.specialArgs))throw j(`.ComponentInstance.specialArgs: array expected`);n.specialArgs=I(e.specialArgs.length);for(let r=0;r<e.specialArgs.length;++r){if(!D.isObject(e.specialArgs[r]))throw j(`.ComponentInstance.specialArgs: object expected`);n.specialArgs[r]=z.SpecialArg.fromObject(e.specialArgs[r],t+1)}}return e.componentName!=null&&(typeof e.componentName!=`string`||e.componentName.length)&&(n.componentName=M(e.componentName)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.tabIndex!=null&&(n.tabIndex=e.tabIndex|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.specialArgs=[]),t.defaults&&(r.id=``,r.jsonArgs=``,r.componentName=``,r.url=``,r.formId=``),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.jsonArgs!=null&&O.hasOwnProperty.call(e,`jsonArgs`)&&(r.jsonArgs=e.jsonArgs),e.specialArgs&&e.specialArgs.length){r.specialArgs=I(e.specialArgs.length);for(let i=0;i<e.specialArgs.length;++i)r.specialArgs[i]=z.SpecialArg.toObject(e.specialArgs[i],t,n+1)}return e.componentName!=null&&O.hasOwnProperty.call(e,`componentName`)&&(r.componentName=e.componentName),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.tabIndex!=null&&O.hasOwnProperty.call(e,`tabIndex`)&&(r.tabIndex=e.tabIndex),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ComponentInstance`},e})(),z.SpecialArg=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.key=``,e.prototype.arrowDataframe=null,e.prototype.bytes=null;let t;return O.defineProperty(e.prototype,`value`,{get:D.oneOfGetter(t=[`arrowDataframe`,`bytes`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.key!=null&&O.hasOwnProperty.call(e,`key`)&&e.key!==``&&t.uint32(10).string(e.key),e.arrowDataframe!=null&&O.hasOwnProperty.call(e,`arrowDataframe`)&&z.ArrowDataframe.encode(e.arrowDataframe,t.uint32(18).fork(),n+1).ldelim(),e.bytes!=null&&O.hasOwnProperty.call(e,`bytes`)&&t.uint32(26).bytes(e.bytes),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.SpecialArg,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.key=s:delete o.key;continue;case 2:if(a!==2)break;o.arrowDataframe=z.ArrowDataframe.decode(e,e.uint32(),k,r+1,o.arrowDataframe),o.value=`arrowDataframe`;continue;case 3:if(a!==2)break;o.bytes=e.bytes(),o.value=`bytes`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.SpecialArg)return e;if(!D.isObject(e))throw j(`.SpecialArg: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.SpecialArg;if(e.key!=null&&(typeof e.key!=`string`||e.key.length)&&(n.key=M(e.key)),e.arrowDataframe!=null){if(!D.isObject(e.arrowDataframe))throw j(`.SpecialArg.arrowDataframe: object expected`);n.arrowDataframe=z.ArrowDataframe.fromObject(e.arrowDataframe,t+1)}return e.bytes!=null&&(typeof e.bytes==`string`?D.base64.decode(e.bytes,n.bytes=D.newBuffer(D.base64.length(e.bytes)),0):e.bytes.length>=0&&(n.bytes=e.bytes)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.key=``),e.key!=null&&O.hasOwnProperty.call(e,`key`)&&(r.key=e.key),e.arrowDataframe!=null&&O.hasOwnProperty.call(e,`arrowDataframe`)&&(r.arrowDataframe=z.ArrowDataframe.toObject(e.arrowDataframe,t,n+1),t.oneofs&&(r.value=`arrowDataframe`)),e.bytes!=null&&O.hasOwnProperty.call(e,`bytes`)&&(r.bytes=t.bytes===M?D.base64.encode(e.bytes,0,e.bytes.length):t.bytes===I?I.prototype.slice.call(e.bytes):e.bytes,t.oneofs&&(r.value=`bytes`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/SpecialArg`},e})();var Q=z.ArrowDataframe=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=null,e.prototype.height=0,e.prototype.width=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&O.hasOwnProperty.call(e,`data`)&&z.ArrowTable.encode(e.data,t.uint32(10).fork(),n+1).ldelim(),e.height!=null&&O.hasOwnProperty.call(e,`height`)&&e.height!==0&&t.uint32(16).uint32(e.height),e.width!=null&&O.hasOwnProperty.call(e,`width`)&&e.width!==0&&t.uint32(24).uint32(e.width),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ArrowDataframe,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.data=z.ArrowTable.decode(e,e.uint32(),k,r+1,o.data);continue;case 2:if(a!==0)break;(s=e.uint32())?o.height=s:delete o.height;continue;case 3:if(a!==0)break;(s=e.uint32())?o.width=s:delete o.width;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ArrowDataframe)return e;if(!D.isObject(e))throw j(`.ArrowDataframe: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ArrowDataframe;if(e.data!=null){if(!D.isObject(e.data))throw j(`.ArrowDataframe.data: object expected`);n.data=z.ArrowTable.fromObject(e.data,t+1)}return e.height!=null&&P(e.height)!==0&&(n.height=e.height>>>0),e.width!=null&&P(e.width)!==0&&(n.width=e.width>>>0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.data=null,r.height=0,r.width=0),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=z.ArrowTable.toObject(e.data,t,n+1)),e.height!=null&&O.hasOwnProperty.call(e,`height`)&&(r.height=e.height),e.width!=null&&O.hasOwnProperty.call(e,`width`)&&(r.width=e.width),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ArrowDataframe`},e})();z.ArrowTable=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.data=D.newBuffer([]),e.prototype.index=D.newBuffer([]),e.prototype.columns=D.newBuffer([]),e.prototype.styler=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.data!=null&&O.hasOwnProperty.call(e,`data`)&&e.data.length&&t.uint32(10).bytes(e.data),e.index!=null&&O.hasOwnProperty.call(e,`index`)&&e.index.length&&t.uint32(18).bytes(e.index),e.columns!=null&&O.hasOwnProperty.call(e,`columns`)&&e.columns.length&&t.uint32(26).bytes(e.columns),e.styler!=null&&O.hasOwnProperty.call(e,`styler`)&&z.ArrowTableStyler.encode(e.styler,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ArrowTable,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.bytes()).length?o.data=s:delete o.data;continue;case 2:if(a!==2)break;(s=e.bytes()).length?o.index=s:delete o.index;continue;case 3:if(a!==2)break;(s=e.bytes()).length?o.columns=s:delete o.columns;continue;case 5:if(a!==2)break;o.styler=z.ArrowTableStyler.decode(e,e.uint32(),k,r+1,o.styler);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ArrowTable)return e;if(!D.isObject(e))throw j(`.ArrowTable: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ArrowTable;if(e.data!=null&&e.data.length&&(typeof e.data==`string`?D.base64.decode(e.data,n.data=D.newBuffer(D.base64.length(e.data)),0):e.data.length>=0&&(n.data=e.data)),e.index!=null&&e.index.length&&(typeof e.index==`string`?D.base64.decode(e.index,n.index=D.newBuffer(D.base64.length(e.index)),0):e.index.length>=0&&(n.index=e.index)),e.columns!=null&&e.columns.length&&(typeof e.columns==`string`?D.base64.decode(e.columns,n.columns=D.newBuffer(D.base64.length(e.columns)),0):e.columns.length>=0&&(n.columns=e.columns)),e.styler!=null){if(!D.isObject(e.styler))throw j(`.ArrowTable.styler: object expected`);n.styler=z.ArrowTableStyler.fromObject(e.styler,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(t.bytes===M?r.data=``:(r.data=[],t.bytes!==I&&(r.data=D.newBuffer(r.data))),t.bytes===M?r.index=``:(r.index=[],t.bytes!==I&&(r.index=D.newBuffer(r.
1index))),t.bytes===M?r.columns=``:(r.columns=[],t.bytes!==I&&(r.columns=D.newBuffer(r.columns))),r.styler=null),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=t.bytes===M?D.base64.encode(e.data,0,e.data.length):t.bytes===I?I.prototype.slice.call(e.data):e.data),e.index!=null&&O.hasOwnProperty.call(e,`index`)&&(r.index=t.bytes===M?D.base64.encode(e.index,0,e.index.length):t.bytes===I?I.prototype.slice.call(e.index):e.index),e.columns!=null&&O.hasOwnProperty.call(e,`columns`)&&(r.columns=t.bytes===M?D.base64.encode(e.columns,0,e.columns.length):t.bytes===I?I.prototype.slice.call(e.columns):e.columns),e.styler!=null&&O.hasOwnProperty.call(e,`styler`)&&(r.styler=z.ArrowTableStyler.toObject(e.styler,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ArrowTable`},e})(),z.ArrowTableStyler=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.uuid=``,e.prototype.caption=``,e.prototype.styles=``,e.prototype.displayValues=D.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.uuid!=null&&O.hasOwnProperty.call(e,`uuid`)&&e.uuid!==``&&t.uint32(10).string(e.uuid),e.caption!=null&&O.hasOwnProperty.call(e,`caption`)&&e.caption!==``&&t.uint32(18).string(e.caption),e.styles!=null&&O.hasOwnProperty.call(e,`styles`)&&e.styles!==``&&t.uint32(26).string(e.styles),e.displayValues!=null&&O.hasOwnProperty.call(e,`displayValues`)&&e.displayValues.length&&t.uint32(34).bytes(e.displayValues),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ArrowTableStyler,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.uuid=s:delete o.uuid;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.caption=s:delete o.caption;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.styles=s:delete o.styles;continue;case 4:if(a!==2)break;(s=e.bytes()).length?o.displayValues=s:delete o.displayValues;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ArrowTableStyler)return e;if(!D.isObject(e))throw j(`.ArrowTableStyler: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ArrowTableStyler;return e.uuid!=null&&(typeof e.uuid!=`string`||e.uuid.length)&&(n.uuid=M(e.uuid)),e.caption!=null&&(typeof e.caption!=`string`||e.caption.length)&&(n.caption=M(e.caption)),e.styles!=null&&(typeof e.styles!=`string`||e.styles.length)&&(n.styles=M(e.styles)),e.displayValues!=null&&e.displayValues.length&&(typeof e.displayValues==`string`?D.base64.decode(e.displayValues,n.displayValues=D.newBuffer(D.base64.length(e.displayValues)),0):e.displayValues.length>=0&&(n.displayValues=e.displayValues)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.uuid=``,r.caption=``,r.styles=``,t.bytes===M?r.displayValues=``:(r.displayValues=[],t.bytes!==I&&(r.displayValues=D.newBuffer(r.displayValues)))),e.uuid!=null&&O.hasOwnProperty.call(e,`uuid`)&&(r.uuid=e.uuid),e.caption!=null&&O.hasOwnProperty.call(e,`caption`)&&(r.caption=e.caption),e.styles!=null&&O.hasOwnProperty.call(e,`styles`)&&(r.styles=e.styles),e.displayValues!=null&&O.hasOwnProperty.call(e,`displayValues`)&&(r.displayValues=t.bytes===M?D.base64.encode(e.displayValues,0,e.displayValues.length):t.bytes===I?I.prototype.slice.call(e.displayValues):e.displayValues),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ArrowTableStyler`},e})(),z.Balloons=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.show=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.show!=null&&O.hasOwnProperty.call(e,`show`)&&e.show!==!1&&t.uint32(24).bool(e.show),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Balloons,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 3:if(a!==0)break;(s=e.bool())?o.show=s:delete o.show;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Balloons)return e;if(!D.isObject(e))throw j(`.Balloons: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Balloons;return e.show!=null&&e.show&&(n.show=N(e.show)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.show=!1),e.show!=null&&O.hasOwnProperty.call(e,`show`)&&(r.show=e.show),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Balloons`},e})(),z.MixedData=(()=>{let e=function(e){if(this.arrowBlobs={},e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.json=``,e.prototype.arrowBlobs=D.emptyObject,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.json!=null&&O.hasOwnProperty.call(e,`json`)&&e.json!==``&&t.uint32(10).string(e.json),e.arrowBlobs!=null&&O.hasOwnProperty.call(e,`arrowBlobs`))for(let r=O.keys(e.arrowBlobs),i=0;i<r.length;++i)t.uint32(18).fork().uint32(10).string(r[i]),z.ArrowData.encode(e.arrowBlobs[r[i]],t.uint32(18).fork(),n+1).ldelim().ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.MixedData,s,c;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(c=e.stringVerify()).length?o.json=c:delete o.json;continue;case 2:{if(a!==2)break;o.arrowBlobs===D.emptyObject&&(o.arrowBlobs={});let t=e.uint32()+e.pos;for(s=``,c=null;e.pos<t;){let t=e.tag();switch(a=t&7,t>>>=3){case 1:if(a!==2)break;s=e.stringVerify();continue;case 2:if(a!==2)break;c=z.ArrowData.decode(e,e.uint32(),k,r+1,c);continue}e.skipType(a,r,t)}s===`__proto__`&&D.makeProp(o.arrowBlobs,s),o.arrowBlobs[s]=c||new z.ArrowData;continue}}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.MixedData)return e;if(!D.isObject(e))throw j(`.MixedData: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.MixedData;if(e.json!=null&&(typeof e.json!=`string`||e.json.length)&&(n.json=M(e.json)),e.arrowBlobs){if(!D.isObject(e.arrowBlobs)
1)throw j(`.MixedData.arrowBlobs: object expected`);n.arrowBlobs={};for(let r=O.keys(e.arrowBlobs),i=0;i<r.length;++i){if(r[i]===`__proto__`&&D.makeProp(n.arrowBlobs,r[i]),!D.isObject(e.arrowBlobs[r[i]]))throw j(`.MixedData.arrowBlobs: object expected`);n.arrowBlobs[r[i]]=z.ArrowData.fromObject(e.arrowBlobs[r[i]],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};(t.objects||t.defaults)&&(r.arrowBlobs={}),t.defaults&&(r.json=``),e.json!=null&&O.hasOwnProperty.call(e,`json`)&&(r.json=e.json);let i;if(e.arrowBlobs&&(i=O.keys(e.arrowBlobs)).length){r.arrowBlobs={};for(let a=0;a<i.length;++a)i[a]===`__proto__`&&D.makeProp(r.arrowBlobs,i[a]),r.arrowBlobs[i[a]]=z.ArrowData.toObject(e.arrowBlobs[i[a]],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/MixedData`},e})(),z.BidiComponent=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.componentName=``,e.prototype.jsContent=null,e.prototype.jsSourcePath=null,e.prototype.formId=``,e.prototype.htmlContent=null,e.prototype.cssContent=null,e.prototype.cssSourcePath=null,e.prototype.isolateStyles=!1,e.prototype.json=null,e.prototype.arrowData=null,e.prototype.bytes=null,e.prototype.mixed=null;let t;return O.defineProperty(e.prototype,`_jsContent`,{get:D.oneOfGetter(t=[`jsContent`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_jsSourcePath`,{get:D.oneOfGetter(t=[`jsSourcePath`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_htmlContent`,{get:D.oneOfGetter(t=[`htmlContent`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_cssContent`,{get:D.oneOfGetter(t=[`cssContent`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_cssSourcePath`,{get:D.oneOfGetter(t=[`cssSourcePath`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`data`,{get:D.oneOfGetter(t=[`json`,`arrowData`,`bytes`,`mixed`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.componentName!=null&&O.hasOwnProperty.call(e,`componentName`)&&e.componentName!==``&&t.uint32(18).string(e.componentName),e.jsContent!=null&&O.hasOwnProperty.call(e,`jsContent`)&&t.uint32(26).string(e.jsContent),e.jsSourcePath!=null&&O.hasOwnProperty.call(e,`jsSourcePath`)&&t.uint32(34).string(e.jsSourcePath),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.htmlContent!=null&&O.hasOwnProperty.call(e,`htmlContent`)&&t.uint32(50).string(e.htmlContent),e.cssContent!=null&&O.hasOwnProperty.call(e,`cssContent`)&&t.uint32(58).string(e.cssContent),e.cssSourcePath!=null&&O.hasOwnProperty.call(e,`cssSourcePath`)&&t.uint32(66).string(e.cssSourcePath),e.isolateStyles!=null&&O.hasOwnProperty.call(e,`isolateStyles`)&&e.isolateStyles!==!1&&t.uint32(72).bool(e.isolateStyles),e.json!=null&&O.hasOwnProperty.call(e,`json`)&&t.uint32(82).string(e.json),e.arrowData!=null&&O.hasOwnProperty.call(e,`arrowData`)&&z.ArrowData.encode(e.arrowData,t.uint32(90).fork(),n+1).ldelim(),e.bytes!=null&&O.hasOwnProperty.call(e,`bytes`)&&t.uint32(98).bytes(e.bytes),e.mixed!=null&&O.hasOwnProperty.call(e,`mixed`)&&z.MixedData.encode(e.mixed,t.uint32(106).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.BidiComponent,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.componentName=s:delete o.componentName;continue;case 3:if(a!==2)break;o.jsContent=e.stringVerify(),o._jsContent=`jsContent`;continue;case 4:if(a!==2)break;o.jsSourcePath=e.stringVerify(),o._jsSourcePath=`jsSourcePath`;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==2)break;o.htmlContent=e.stringVerify(),o._htmlContent=`htmlContent`;continue;case 7:if(a!==2)break;o.cssContent=e.stringVerify(),o._cssContent=`cssContent`;continue;case 8:if(a!==2)break;o.cssSourcePath=e.stringVerify(),o._cssSourcePath=`cssSourcePath`;continue;
1case 9:if(a!==0)break;(s=e.bool())?o.isolateStyles=s:delete o.isolateStyles;continue;case 10:if(a!==2)break;o.json=e.stringVerify(),o.data=`json`;continue;case 11:if(a!==2)break;o.arrowData=z.ArrowData.decode(e,e.uint32(),k,r+1,o.arrowData),o.data=`arrowData`;continue;case 12:if(a!==2)break;o.bytes=e.bytes(),o.data=`bytes`;continue;case 13:if(a!==2)break;o.mixed=z.MixedData.decode(e,e.uint32(),k,r+1,o.mixed),o.data=`mixed`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.BidiComponent)return e;if(!D.isObject(e))throw j(`.BidiComponent: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.BidiComponent;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.componentName!=null&&(typeof e.componentName!=`string`||e.componentName.length)&&(n.componentName=M(e.componentName)),e.jsContent!=null&&(n.jsContent=M(e.jsContent)),e.jsSourcePath!=null&&(n.jsSourcePath=M(e.jsSourcePath)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.htmlContent!=null&&(n.htmlContent=M(e.htmlContent)),e.cssContent!=null&&(n.cssContent=M(e.cssContent)),e.cssSourcePath!=null&&(n.cssSourcePath=M(e.cssSourcePath)),e.isolateStyles!=null&&e.isolateStyles&&(n.isolateStyles=N(e.isolateStyles)),e.json!=null&&(n.json=M(e.json)),e.arrowData!=null){if(!D.isObject(e.arrowData))throw j(`.BidiComponent.arrowData: object expected`);n.arrowData=z.ArrowData.fromObject(e.arrowData,t+1)}if(e.bytes!=null&&(typeof e.bytes==`string`?D.base64.decode(e.bytes,n.bytes=D.newBuffer(D.base64.length(e.bytes)),0):e.bytes.length>=0&&(n.bytes=e.bytes)),e.mixed!=null){if(!D.isObject(e.mixed))throw j(`.BidiComponent.mixed: object expected`);n.mixed=z.MixedData.fromObject(e.mixed,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.componentName=``,r.formId=``,r.isolateStyles=!1),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.componentName!=null&&O.hasOwnProperty.call(e,`componentName`)&&(r.componentName=e.componentName),e.jsContent!=null&&O.hasOwnProperty.call(e,`jsContent`)&&(r.jsContent=e.jsContent),e.jsSourcePath!=null&&O.hasOwnProperty.call(e,`jsSourcePath`)&&(r.jsSourcePath=e.jsSourcePath),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.htmlContent!=null&&O.hasOwnProperty.call(e,`htmlContent`)&&(r.htmlContent=e.htmlContent),e.cssContent!=null&&O.hasOwnProperty.call(e,`cssContent`)&&(r.cssContent=e.cssContent),e.cssSourcePath!=null&&O.hasOwnProperty.call(e,`cssSourcePath`)&&(r.cssSourcePath=e.cssSourcePath),e.isolateStyles!=null&&O.hasOwnProperty.call(e,`isolateStyles`)&&(r.isolateStyles=e.isolateStyles),e.json!=null&&O.hasOwnProperty.call(e,`json`)&&(r.json=e.json,t.oneofs&&(r.data=`json`)),e.arrowData!=null&&O.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=z.ArrowData.toObject(e.arrowData,t,n+1),t.oneofs&&(r.data=`arrowData`)),e.bytes!=null&&O.hasOwnProperty.call(e,`bytes`)&&(r.bytes=t.bytes===M?D.base64.encode(e.bytes,0,e.bytes.length):t.bytes===I?I.prototype.slice.call(e.bytes):e.bytes,t.oneofs&&(r.data=`bytes`)),e.mixed!=null&&O.hasOwnProperty.call(e,`mixed`)&&(r.mixed=z.MixedData.toObject(e.mixed,t,n+1),t.oneofs&&(r.data=`mixed`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/BidiComponent`},e})();var ne=z.Block=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.vertical=null,e.prototype.horizontal=null,e.prototype.column=null,e.prototype.expandable=null,e.prototype.form=null,e.prototype.tabContainer=null,e.prototype.tab=null,e.prototype.chatMessage=null,e.prototype.popover=null,e.prototype.dialog=null,e.prototype.flexContainer=null,e.prototype.transparent=null,e.prototype.allowEmpty=!1,e.prototype.id=null,e.prototype.height
1Config=null,e.prototype.widthConfig=null,e.prototype.autoscroll=null;let t;return O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=[`vertical`,`horizontal`,`column`,`expandable`,`form`,`tabContainer`,`tab`,`chatMessage`,`popover`,`dialog`,`flexContainer`,`transparent`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_id`,{get:D.oneOfGetter(t=[`id`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_heightConfig`,{get:D.oneOfGetter(t=[`heightConfig`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_widthConfig`,{get:D.oneOfGetter(t=[`widthConfig`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_autoscroll`,{get:D.oneOfGetter(t=[`autoscroll`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.vertical!=null&&O.hasOwnProperty.call(e,`vertical`)&&z.Block.Vertical.encode(e.vertical,t.uint32(10).fork(),n+1).ldelim(),e.horizontal!=null&&O.hasOwnProperty.call(e,`horizontal`)&&z.Block.Horizontal.encode(e.horizontal,t.uint32(18).fork(),n+1).ldelim(),e.column!=null&&O.hasOwnProperty.call(e,`column`)&&z.Block.Column.encode(e.column,t.uint32(26).fork(),n+1).ldelim(),e.expandable!=null&&O.hasOwnProperty.call(e,`expandable`)&&z.Block.Expandable.encode(e.expandable,t.uint32(34).fork(),n+1).ldelim(),e.form!=null&&O.hasOwnProperty.call(e,`form`)&&z.Block.Form.encode(e.form,t.uint32(42).fork(),n+1).ldelim(),e.tabContainer!=null&&O.hasOwnProperty.call(e,`tabContainer`)&&z.Block.TabContainer.encode(e.tabContainer,t.uint32(50).fork(),n+1).ldelim(),e.tab!=null&&O.hasOwnProperty.call(e,`tab`)&&z.Block.Tab.encode(e.tab,t.uint32(58).fork(),n+1).ldelim(),e.allowEmpty!=null&&O.hasOwnProperty.call(e,`allowEmpty`)&&e.allowEmpty!==!1&&t.uint32(64).bool(e.allowEmpty),e.chatMessage!=null&&O.hasOwnProperty.call(e,`chatMessage`)&&z.Block.ChatMessage.encode(e.chatMessage,t.uint32(74).fork(),n+1).ldelim(),e.popover!=null&&O.hasOwnProperty.call(e,`popover`)&&z.Block.Popover.encode(e.popover,t.uint32(82).fork(),n+1).ldelim(),e.dialog!=null&&O.hasOwnProperty.call(e,`dialog`)&&z.Block.Dialog.encode(e.dialog,t.uint32(90).fork(),n+1).ldelim(),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&t.uint32(98).string(e.id),e.flexContainer!=null&&O.hasOwnProperty.call(e,`flexContainer`)&&z.Block.FlexContainer.encode(e.flexContainer,t.uint32(106).fork(),n+1).ldelim(),e.heightConfig!=null&&O.hasOwnProperty.call(e,`heightConfig`)&&z.streamlit.HeightConfig.encode(e.heightConfig,t.uint32(114).fork(),n+1).ldelim(),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&z.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(122).fork(),n+1).ldelim(),e.autoscroll!=null&&O.hasOwnProperty.call(e,`autoscroll`)&&t.uint32(128).bool(e.autoscroll),e.transparent!=null&&O.hasOwnProperty.call(e,`transparent`)&&z.Block.Transparent.encode(e.transparent,t.uint32(138).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.vertical=z.Block.Vertical.decode(e,e.uint32(),k,r+1,o.vertical),o.type=`vertical`;continue;case 2:if(a!==2)break;o.horizontal=z.Block.Horizontal.decode(e,e.uint32(),k,r+1,o.horizontal),o.type=`horizontal`;continue;case 3:if(a!==2)break;o.column=z.Block.Column.decode(e,e.uint32(),k,r+1,o.column),o.type=`column`;continue;case 4:if(a!==2)break;o.expandable=z.Block.Expandable.decode(e,e.uint32(),k,r+1,o.expandable),o.type=`expandable`;continue;case 5:if(a!==2)break;o.form=z.Block.Form.decode(e,e.uint32(),k,r+1,o.form),o.type=`form`;continue;case 6:if(a!==2)break;o.tabContainer=z.Block.TabContainer.decode(e,e.uint32(),k,r+1,o.tabContainer),o.type=`tabContainer`;continue;case 7:if(a!==2)break;o.tab=z.Block.Tab.decode(e,e.uint32(),k,r+1,o.tab),o.type=`tab`;continue;
1case 9:if(a!==2)break;o.chatMessage=z.Block.ChatMessage.decode(e,e.uint32(),k,r+1,o.chatMessage),o.type=`chatMessage`;continue;case 10:if(a!==2)break;o.popover=z.Block.Popover.decode(e,e.uint32(),k,r+1,o.popover),o.type=`popover`;continue;case 11:if(a!==2)break;o.dialog=z.Block.Dialog.decode(e,e.uint32(),k,r+1,o.dialog),o.type=`dialog`;continue;case 13:if(a!==2)break;o.flexContainer=z.Block.FlexContainer.decode(e,e.uint32(),k,r+1,o.flexContainer),o.type=`flexContainer`;continue;case 17:if(a!==2)break;o.transparent=z.Block.Transparent.decode(e,e.uint32(),k,r+1,o.transparent),o.type=`transparent`;continue;case 8:if(a!==0)break;(s=e.bool())?o.allowEmpty=s:delete o.allowEmpty;continue;case 12:if(a!==2)break;o.id=e.stringVerify(),o._id=`id`;continue;case 14:if(a!==2)break;o.heightConfig=z.streamlit.HeightConfig.decode(e,e.uint32(),k,r+1,o.heightConfig),o._heightConfig=`heightConfig`;continue;case 15:if(a!==2)break;o.widthConfig=z.streamlit.WidthConfig.decode(e,e.uint32(),k,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue;case 16:if(a!==0)break;o.autoscroll=e.bool(),o._autoscroll=`autoscroll`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block)return e;if(!D.isObject(e))throw j(`.Block: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block;if(e.vertical!=null){if(!D.isObject(e.vertical))throw j(`.Block.vertical: object expected`);n.vertical=z.Block.Vertical.fromObject(e.vertical,t+1)}if(e.horizontal!=null){if(!D.isObject(e.horizontal))throw j(`.Block.horizontal: object expected`);n.horizontal=z.Block.Horizontal.fromObject(e.horizontal,t+1)}if(e.column!=null){if(!D.isObject(e.column))throw j(`.Block.column: object expected`);n.column=z.Block.Column.fromObject(e.column,t+1)}if(e.expandable!=null){if(!D.isObject(e.expandable))throw j(`.Block.expandable: object expected`);n.expandable=z.Block.Expandable.fromObject(e.expandable,t+1)}if(e.form!=null){if(!D.isObject(e.form))throw j(`.Block.form: object expected`);n.form=z.Block.Form.fromObject(e.form,t+1)}if(e.tabContainer!=null){if(!D.isObject(e.tabContainer))throw j(`.Block.tabContainer: object expected`);n.tabContainer=z.Block.TabContainer.fromObject(e.tabContainer,t+1)}if(e.tab!=null){if(!D.isObject(e.tab))throw j(`.Block.tab: object expected`);n.tab=z.Block.Tab.fromObject(e.tab,t+1)}if(e.chatMessage!=null){if(!D.isObject(e.chatMessage))throw j(`.Block.chatMessage: object expected`);n.chatMessage=z.Block.ChatMessage.fromObject(e.chatMessage,t+1)}if(e.popover!=null){if(!D.isObject(e.popover))throw j(`.Block.popover: object expected`);n.popover=z.Block.Popover.fromObject(e.popover,t+1)}if(e.dialog!=null){if(!D.isObject(e.dialog))throw j(`.Block.dialog: object expected`);n.dialog=z.Block.Dialog.fromObject(e.dialog,t+1)}if(e.flexContainer!=null){if(!D.isObject(e.flexContainer))throw j(`.Block.flexContainer: object expected`);n.flexContainer=z.Block.FlexContainer.fromObject(e.flexContainer,t+1)}if(e.transparent!=null){if(!D.isObject(e.transparent))throw j(`.Block.transparent: object expected`);n.transparent=z.Block.Transparent.fromObject(e.transparent,t+1)}if(e.allowEmpty!=null&&e.allowEmpty&&(n.allowEmpty=N(e.allowEmpty)),e.id!=null&&(n.id=M(e.id)),e.heightConfig!=null){if(!D.isObject(e.heightConfig))throw j(`.Block.heightConfig: object expected`);n.heightConfig=z.streamlit.HeightConfig.fromObject(e.heightConfig,t+1)}if(e.widthConfig!=null){if(!D.isObject(e.widthConfig))throw j(`.Block.widthConfig: object expected`);n.widthConfig=z.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return e.autoscroll!=null&&(n.autoscroll=N(e.autoscroll)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.allowEmpty=!1),e.vertical!=null&&O.hasOwnProperty.call(e,`vertical`)&&(r.vertical=z.Block.Vertical.toObject(e.vertical,t,n+1),t.oneofs&&(r.type=`vertical`)),e.horizontal!=null&&O.hasOwnProperty.call(e,`horizontal`)&&(r.horizontal=z.Block.Horizontal.toObject(e.horizontal,t,n+1),t.oneofs&&(r.type=`horizontal`)),e.column!=null&&O.hasOwnProperty.call(e,`column`)&&(r.column=z.Block.Column.toObject(e.column,t,n+1),t.oneofs&&(r.type=`column`)),e.expandable!=null&&O.hasOwnProperty.call(e,`expandable`)&&(r.expandable=z.Block.Expandable.toObject(e.expandable,t,n+1),t.oneofs&&(r.type=`expandable`)),e.form!=null&&O.hasOwnProperty.call(e,`form`)&&(r.form=z.Block.Form.toObject(e.form,t,n+1),t.oneofs&&(r.type=`form`)),e.tabContainer!=null&&O.hasOwnProperty.call(e,`tabContainer`)&&(r.tabContainer=z.Block.TabContainer.toObject(e.tabContainer,t,n+1),t.oneofs&&(r.type=`tabContainer`)),e.tab!=null&&O.hasOwnProperty.call(e,`tab`)&&(r.tab=z.Block.Tab.toObject(e.tab,t,n+1),t.oneofs&&(r.type=`tab`)),e.allowEmpty!=null&&O.hasOwnProperty.call(e,`allowEmpty`)&&(r.allowEmpty=e.allowEmpty),e.chatMessage!=null&&O.hasOwnProperty.call(e,`chatMessage`)&&(r.chatMessage=z.Block.ChatMessage.toObject(e.chatMessage,t,n+1),t.oneofs&&(r.type=`chatMessage`)),e.popover!=null&&O.hasOwnProperty.call(e,`popover`)&&(r.popover=z.Block.Popover.toObject(e.popover,t,n+1),t.oneofs&&(r.type=`popover`)),e.dialog!=null&&O.hasOwnProperty.call(e,`dialog`)&&(r.dialog=z.Block.Dialog.toObject(e.dialog,t,n+1),t.oneofs&&(r.type=`dialog`)),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.flexContainer!=null&&O.hasOwnProperty.call(e,`flexContainer`)&&(r.flexContainer=z.Block.FlexContainer.toObject(e.flexContainer,t,n+1),t.oneofs&&(r.type=`flexContainer`)),e.heightConfig!=null&&O.hasOwnProperty.call(e,`heightConfig`)&&(r.heightConfig=z.streamlit.HeightConfig.toObject(e.height
1Config,t,n+1)),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=z.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.autoscroll!=null&&O.hasOwnProperty.call(e,`autoscroll`)&&(r.autoscroll=e.autoscroll),e.transparent!=null&&O.hasOwnProperty.call(e,`transparent`)&&(r.transparent=z.Block.Transparent.toObject(e.transparent,t,n+1),t.oneofs&&(r.type=`transparent`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block`},e.Vertical=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.border=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.border!=null&&O.hasOwnProperty.call(e,`border`)&&e.border!==!1&&t.uint32(8).bool(e.border),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Vertical,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.bool())?o.border=s:delete o.border;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Vertical)return e;if(!D.isObject(e))throw j(`.Block.Vertical: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Vertical;return e.border!=null&&e.border&&(n.border=N(e.border)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.border=!1),e.border!=null&&O.hasOwnProperty.call(e,`border`)&&(r.border=e.border),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Vertical`},e})(),e.Horizontal=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.gap=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.gap!=null&&O.hasOwnProperty.call(e,`gap`)&&e.gap!==``&&t.uint32(10).string(e.gap),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Horizontal,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.gap=s:delete o.gap;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Horizontal)return e;if(!D.isObject(e))throw j(`.Block.Horizontal: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Horizontal;return e.gap!=null&&(typeof e.gap!=`string`||e.gap.length)&&(n.gap=M(e.gap)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.gap=``),e.gap!=null&&O.hasOwnProperty.call(e,`gap`)&&(r.gap=e.gap),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Horizontal`},e})(),e.FlexContainer=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.border=!1,e.prototype.gapConfig=null,e.prototype.scale=0,e.prototype.direction=0,e.prototype.wrap=!1,e.prototype.justify=0,e.prototype.align=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.border!=null&&O.hasOwnProperty.call(e,`border`)&&e.border!==!1&&t.uint32(8).bool(e.border),e.gapConfig!=null&&O.hasOwnProperty.call(e,`gapConfig`)&&z.streamlit.Ga
1pConfig.encode(e.gapConfig,t.uint32(18).fork(),n+1).ldelim(),e.scale!=null&&O.hasOwnProperty.call(e,`scale`)&&!O.is(e.scale,0)&&t.uint32(29).float(e.scale),e.direction!=null&&O.hasOwnProperty.call(e,`direction`)&&e.direction!==0&&t.uint32(32).int32(e.direction),e.wrap!=null&&O.hasOwnProperty.call(e,`wrap`)&&e.wrap!==!1&&t.uint32(40).bool(e.wrap),e.justify!=null&&O.hasOwnProperty.call(e,`justify`)&&e.justify!==0&&t.uint32(56).int32(e.justify),e.align!=null&&O.hasOwnProperty.call(e,`align`)&&e.align!==0&&t.uint32(64).int32(e.align),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.FlexContainer,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.bool())?o.border=s:delete o.border;continue;case 2:if(a!==2)break;o.gapConfig=z.streamlit.GapConfig.decode(e,e.uint32(),k,r+1,o.gapConfig);continue;case 3:if(a!==5)break;O.is(s=e.float(),0)?delete o.scale:o.scale=s;continue;case 4:if(a!==0)break;(s=e.int32())?o.direction=s:delete o.direction;continue;case 5:if(a!==0)break;(s=e.bool())?o.wrap=s:delete o.wrap;continue;case 7:if(a!==0)break;(s=e.int32())?o.justify=s:delete o.justify;continue;case 8:if(a!==0)break;(s=e.int32())?o.align=s:delete o.align;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.FlexContainer)return e;if(!D.isObject(e))throw j(`.Block.FlexContainer: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.FlexContainer;if(e.border!=null&&e.border&&(n.border=N(e.border)),e.gapConfig!=null){if(!D.isObject(e.gapConfig))throw j(`.Block.FlexContainer.gapConfig: object expected`);n.gapConfig=z.streamlit.GapConfig.fromObject(e.gapConfig,t+1)}if(e.scale!=null&&(O.is(P(e.scale),0)||(n.scale=P(e.scale))),e.direction!==0&&(typeof e.direction!=`string`||z.Block.FlexContainer.Direction[e.direction]!==0))switch(e.direction){case`DIRECTION_UNDEFINED`:case 0:n.direction=0;break;case`VERTICAL`:case 1:n.direction=1;break;case`HORIZONTAL`:case 2:n.direction=2;break;default:typeof e.direction==`number`&&(e.direction|0)===e.direction&&(n.direction=e.direction)}if(e.wrap!=null&&e.wrap&&(n.wrap=N(e.wrap)),e.justify!==0&&(typeof e.justify!=`string`||z.Block.FlexContainer.Justify[e.justify]!==0))switch(e.justify){case`JUSTIFY_UNDEFINED`:case 0:n.justify=0;break;case`JUSTIFY_START`:case 1:n.justify=1;break;case`JUSTIFY_END`:case 2:n.justify=2;break;case`JUSTIFY_CENTER`:case 3:n.justify=3;break;case`SPACE_BETWEEN`:case 4:n.justify=4;break;default:typeof e.justify==`number`&&(e.justify|0)===e.justify&&(n.justify=e.justify)}if(e.align!==0&&(typeof e.align!=`string`||z.Block.FlexContainer.Align[e.align]!==0))switch(e.align){case`ALIGN_UNDEFINED`:case 0:n.align=0;break;case`ALIGN_START`:case 1:n.align=1;break;case`ALIGN_END`:case 2:n.align=2;break;case`ALIGN_CENTER`:case 3:n.align=3;break;case`STRETCH`:case 4:n.align=4;break;default:typeof e.align==`number`&&(e.align|0)===e.align&&(n.align=e.align)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.border=!1,r.gapConfig=null,r.scale=0,r.direction=t.enums===M?`DIRECTION_UNDEFINED`:0,r.wrap=!1,r.justify=t.enums===M?`JUSTIFY_UNDEFINED`:0,r.align=t.enums===M?`ALIGN_UNDEFINED`:0),e.border!=null&&O.hasOwnProperty.call(e,`border`)&&(r.border=e.border),e.gapConfig!=null&&O.hasOwnProperty.call(e,`gapConfig`)&&(r.gapConfig=z.streamlit.GapConfig.toObject(e.gapConfig,t,n+1)),e.scale!=null&&O.hasOwnProperty.call(e,`scale`)&&(r.scale=t.json&&!F(e.scale)?M(e.scale):e.scale),e.direction!=null&&O.hasOwnProperty.call(e,`direction`)&&(r.direction=t.enums===M?z.Block.FlexContainer.Direction[e.direction]===k?e.direction:z.Block.FlexContainer.Direction[e.direction]:e.direction),e.wrap!=null&&O.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),e.justify!=null&&O.hasOwnProperty.call(e,`justify`)&&(r.justify=t.enums===M?z.Block.FlexContainer.Justify[e.justify]===k?e.justify:z.Block.FlexContainer.Justify[e.justify]:e.justify),e.align!=null&&O.hasOwnProperty.call(e,`align`)&&(r.align=t.enums===M?z.Block.FlexContainer.Align[e.align]===k?e.align:z.Block.FlexContainer.Align[e.align]:e.align),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.FlexContainer`},e.Direction=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`DIRECTION_UNDEFINED`]=0,t[e[1]=`VERTICAL`]=1,t[e[2]=`HORIZONTAL`]=2,t})(),e.Justify=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`JUSTIFY_UNDEFINED`]=0,t[e[1]=`JUSTIFY_START`]=1,t[e[2]=`JUSTIFY_END`]=2,t[e[3]=`JUSTIFY_CENTER`]=3,t[e[4]=`SPACE_BETWEEN`]=4,t})(),e.Align=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`ALIGN_UNDEFINED`]=0,t[e[1]=`ALIGN_START`]=1,t[e[2]=`ALIGN_END`]=2,t[e[3]=`ALIGN_CENTER`]=3,t[e[4]=`STRETCH`]=4,t})(),e})(),e.Column=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.weight=0,e.prototype.verticalAlignment=0,e.prototype.showBorder=!1,e.prototype.gapConfig=null;let t;return O.defineProperty(e.prototype,`_gapConfig`,{get:D.oneOfGetter(t=[`gapConfig`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.weight!=null&&O.hasOwnProperty.call(e,`weight`)&&!O.is(e.weight,0)&&t.uint32(9).double(e.weight),e.verticalAlignment!=null&&O.hasOwnProperty.call(e,`verticalAlignment`)&&e.verticalAlignment!==0&&t.uint32(24).int32(e.verticalAlignment),e.showBorder!=null&&O.hasOwnProperty.call(e,`showBorder`)&&e.showBorder!==!1&&t.uint32(32).bool(e.showBorder),e.gapConfig!=null&&O.hasOwnProperty.call(e,`gapConfig`)&&z.streamlit.Ga
1pConfig.encode(e.gapConfig,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Column,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;O.is(s=e.double(),0)?delete o.weight:o.weight=s;continue;case 3:if(a!==0)break;(s=e.int32())?o.verticalAlignment=s:delete o.verticalAlignment;continue;case 4:if(a!==0)break;(s=e.bool())?o.showBorder=s:delete o.showBorder;continue;case 5:if(a!==2)break;o.gapConfig=z.streamlit.GapConfig.decode(e,e.uint32(),k,r+1,o.gapConfig),o._gapConfig=`gapConfig`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Column)return e;if(!D.isObject(e))throw j(`.Block.Column: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Column;if(e.weight!=null&&(O.is(P(e.weight),0)||(n.weight=P(e.weight))),e.verticalAlignment!==0&&(typeof e.verticalAlignment!=`string`||z.Block.Column.VerticalAlignment[e.verticalAlignment]!==0))switch(e.verticalAlignment){case`TOP`:case 0:n.verticalAlignment=0;break;case`CENTER`:case 1:n.verticalAlignment=1;break;case`BOTTOM`:case 2:n.verticalAlignment=2;break;default:typeof e.verticalAlignment==`number`&&(e.verticalAlignment|0)===e.verticalAlignment&&(n.verticalAlignment=e.verticalAlignment)}if(e.showBorder!=null&&e.showBorder&&(n.showBorder=N(e.showBorder)),e.gapConfig!=null){if(!D.isObject(e.gapConfig))throw j(`.Block.Column.gapConfig: object expected`);n.gapConfig=z.streamlit.GapConfig.fromObject(e.gapConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.weight=0,r.verticalAlignment=t.enums===M?`TOP`:0,r.showBorder=!1),e.weight!=null&&O.hasOwnProperty.call(e,`weight`)&&(r.weight=t.json&&!F(e.weight)?M(e.weight):e.weight),e.verticalAlignment!=null&&O.hasOwnProperty.call(e,`verticalAlignment`)&&(r.verticalAlignment=t.enums===M?z.Block.Column.VerticalAlignment[e.verticalAlignment]===k?e.verticalAlignment:z.Block.Column.VerticalAlignment[e.verticalAlignment]:e.verticalAlignment),e.showBorder!=null&&O.hasOwnProperty.call(e,`showBorder`)&&(r.showBorder=e.showBorder),e.gapConfig!=null&&O.hasOwnProperty.call(e,`gapConfig`)&&(r.gapConfig=z.streamlit.GapConfig.toObject(e.gapConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Column`},e.VerticalAlignment=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`TOP`]=0,t[e[1]=`CENTER`]=1,t[e[2]=`BOTTOM`]=2,t})(),e})(),e.Expandable=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.label=``,e.prototype.expanded=null,e.prototype.icon=``,e.prototype.id=null,e.prototype.type=0;let t;return O.defineProperty(e.prototype,`_expanded`,{get:D.oneOfGetter(t=[`expanded`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_id`,{get:D.oneOfGetter(t=[`id`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.expanded!=null&&O.hasOwnProperty.call(e,`expanded`)&&t.uint32(16).bool(e.expanded),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&t.uint32(34).string(e.id),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(40).int32(e.type),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Expandable,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 2:if(a!==0)break;o.expanded=e.bool(),o._expanded=`expanded`;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 4:if(a!==2)break;o.id=e.stringVerify(),o._id=`id`;continue;case 5:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Expandable)return e;if(!D.isObject(e))throw j(`.Block.Expandable: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Expandable;if(e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.expanded!=null&&(n.expanded=N(e.expanded)),e.
1icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.id!=null&&(n.id=M(e.id)),e.type!==0&&(typeof e.type!=`string`||z.Block.Expandable.Type[e.type]!==0))switch(e.type){case`DEFAULT`:case 0:n.type=0;break;case`COMPACT`:case 1:n.type=1;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.label=``,r.icon=``,r.type=t.enums===M?`DEFAULT`:0),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.expanded!=null&&O.hasOwnProperty.call(e,`expanded`)&&(r.expanded=e.expanded),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.Block.Expandable.Type[e.type]===k?e.type:z.Block.Expandable.Type[e.type]:e.type),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Expandable`},e.Type=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`COMPACT`]=1,t})(),e})(),e.Dialog=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.title=``,e.prototype.dismissible=!1,e.prototype.width=0,e.prototype.isOpen=null,e.prototype.id=``,e.prototype.icon=``;let t;return O.defineProperty(e.prototype,`_isOpen`,{get:D.oneOfGetter(t=[`isOpen`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.title!=null&&O.hasOwnProperty.call(e,`title`)&&e.title!==``&&t.uint32(10).string(e.title),e.dismissible!=null&&O.hasOwnProperty.call(e,`dismissible`)&&e.dismissible!==!1&&t.uint32(16).bool(e.dismissible),e.width!=null&&O.hasOwnProperty.call(e,`width`)&&e.width!==0&&t.uint32(24).int32(e.width),e.isOpen!=null&&O.hasOwnProperty.call(e,`isOpen`)&&t.uint32(32).bool(e.isOpen),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(42).string(e.id),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(50).string(e.icon),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Dialog,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.title=s:delete o.title;continue;case 2:if(a!==0)break;(s=e.bool())?o.dismissible=s:delete o.dismissible;continue;case 3:if(a!==0)break;(s=e.int32())?o.width=s:delete o.width;continue;case 4:if(a!==0)break;o.isOpen=e.bool(),o._isOpen=`isOpen`;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Dialog)return e;if(!D.isObject(e))throw j(`.Block.Dialog: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Dialog;if(e.title!=null&&(typeof e.title!=`string`||e.title.length)&&(n.title=M(e.title)),e.dismissible!=null&&e.dismissible&&(n.dismissible=N(e.dismissible)),e.width!==0&&(typeof e.width!=`string`||z.Block.Dialog.DialogWidth[e.width]!==0))switch(e.width){case`SMALL`:case 0:n.width=0;break;case`LARGE`:case 1:n.width=1;break;case`MEDIUM`:case 2:n.width=2;break;default:typeof e.width==`number`&&(e.width|0)===e.width&&(n.width=e.width)}return e.isOpen!=null&&(n.isOpen=N(e.isOpen)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.title=``,r.dismissible=!1,r.width=t.enums===M?`SMALL`:0,r.id=``,r.icon=``),e.title!=null&&O.hasOwnProperty.call(e,`title`)&&(r.title=e.title),e.dismissible!=null&&O.hasOwnProperty.call(e,`dismissible`)&&(r.dismissible=e.dismissible),e.width!=null&&O.hasOwnProperty.call(e,`width`)&&(r.width=t.enums===M?z.Block.Dialog.DialogWidth[e.width]===k?e.width:z.Block.Dialog.DialogWidth[e.width]:e.width),e.isOpen!=null&&O.hasOwnProperty.call(e,`isOpen`)&&(r.isOpen=e.isOpen),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Dialog`},e.DialogWidth=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SMALL`]=0,t[e[1]=`LARGE`]=1,t[e[2]=`MEDIUM`]=2,t})(),e})(),e.Form=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.formId=``,e.prototype.clearOnSubmit=!1,e.prototype.border=!1,e.prototype.enterToSubmit=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(10).string(e.formId),e.clearOnSubmit!=null&&O.hasOwnProperty.call(e,`clearOnSubmit`)&&e.clearOnSubmit!==!1&&t.uint32(16).bool(e.clearOnSubmit),e.border!=null&&O.hasOwnProperty.call(e,`border`)&&e.border!==!1&&t.uint32(24).bool(e.border),e.enterToSubmit!=null&&O.hasOwnProperty.call(e,`enterToSubmit`)&&e.enterToSubmit!==!1&&t.uint32(32).bool(e.enterToSubmit),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Form,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 2:if(a!==0)break;(s=e.bool())?o.clearOnSubmit=s:delete o.clearOnSubmit;
1continue;case 3:if(a!==0)break;(s=e.bool())?o.border=s:delete o.border;continue;case 4:if(a!==0)break;(s=e.bool())?o.enterToSubmit=s:delete o.enterToSubmit;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Form)return e;if(!D.isObject(e))throw j(`.Block.Form: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Form;return e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.clearOnSubmit!=null&&e.clearOnSubmit&&(n.clearOnSubmit=N(e.clearOnSubmit)),e.border!=null&&e.border&&(n.border=N(e.border)),e.enterToSubmit!=null&&e.enterToSubmit&&(n.enterToSubmit=N(e.enterToSubmit)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.formId=``,r.clearOnSubmit=!1,r.border=!1,r.enterToSubmit=!1),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.clearOnSubmit!=null&&O.hasOwnProperty.call(e,`clearOnSubmit`)&&(r.clearOnSubmit=e.clearOnSubmit),e.border!=null&&O.hasOwnProperty.call(e,`border`)&&(r.border=e.border),e.enterToSubmit!=null&&O.hasOwnProperty.call(e,`enterToSubmit`)&&(r.enterToSubmit=e.enterToSubmit),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Form`},e})(),e.TabContainer=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.defaultTabIndex=0,e.prototype.id=null;let t;return O.defineProperty(e.prototype,`_id`,{get:D.oneOfGetter(t=[`id`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.defaultTabIndex!=null&&O.hasOwnProperty.call(e,`defaultTabIndex`)&&e.defaultTabIndex!==0&&t.uint32(8).int32(e.defaultTabIndex),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&t.uint32(18).string(e.id),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.TabContainer,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.int32())?o.defaultTabIndex=s:delete o.defaultTabIndex;continue;case 2:if(a!==2)break;o.id=e.stringVerify(),o._id=`id`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.TabContainer)return e;if(!D.isObject(e))throw j(`.Block.TabContainer: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.TabContainer;return e.defaultTabIndex!=null&&P(e.defaultTabIndex)!==0&&(n.defaultTabIndex=e.defaultTabIndex|0),e.id!=null&&(n.id=M(e.id)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.defaultTabIndex=0),e.defaultTabIndex!=null&&O.hasOwnProperty.call(e,`defaultTabIndex`)&&(r.defaultTabIndex=e.defaultTabIndex),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.TabContainer`},e})(),e.Tab=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.label=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Tab,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Tab)return e;if(!D.isObject(e))throw j(`.Block.Tab: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Tab;return e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.label=``),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Tab`},e})(),e.Popover=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.label=``,e.prototype.help=``,e.prototype.disabled=!1,e.prototype.icon=``,e.prototype.type=``,e.prototype.open=null,e.prototype.id=null;let t;return O.defineProperty(e.prototype,`_open`,{get:D.oneOfGetter(t=[`open`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_id`,{get:D.oneOfGetter(t=[`id`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(26).string(e.help),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(42).string(e.icon),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(50).string(e.type),e.open!=null&&O.hasOwnProperty.call(e,`open`)&&t.uint32(56).bool(e.open),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&t.uint32(66).string(e.id),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Popover,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 4:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 6:if(a!==2)break;
1(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 7:if(a!==0)break;o.open=e.bool(),o._open=`open`;continue;case 8:if(a!==2)break;o.id=e.stringVerify(),o._id=`id`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Popover)return e;if(!D.isObject(e))throw j(`.Block.Popover: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.Popover;return e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.open!=null&&(n.open=N(e.open)),e.id!=null&&(n.id=M(e.id)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.label=``,r.help=``,r.disabled=!1,r.icon=``,r.type=``),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.open!=null&&O.hasOwnProperty.call(e,`open`)&&(r.open=e.open),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Popover`},e})(),e.ChatMessage=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.name=``,e.prototype.avatar=``,e.prototype.avatarType=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.avatar!=null&&O.hasOwnProperty.call(e,`avatar`)&&e.avatar!==``&&t.uint32(18).string(e.avatar),e.avatarType!=null&&O.hasOwnProperty.call(e,`avatarType`)&&e.avatarType!==0&&t.uint32(24).int32(e.avatarType),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.ChatMessage,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.avatar=s:delete o.avatar;continue;case 3:if(a!==0)break;(s=e.int32())?o.avatarType=s:delete o.avatarType;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.ChatMessage)return e;if(!D.isObject(e))throw j(`.Block.ChatMessage: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Block.ChatMessage;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.avatar!=null&&(typeof e.avatar!=`string`||e.avatar.length)&&(n.avatar=M(e.avatar)),e.avatarType!==0&&(typeof e.avatarType!=`string`||z.Block.ChatMessage.AvatarType[e.avatarType]!==0))switch(e.avatarType){case`IMAGE`:case 0:n.avatarType=0;break;case`EMOJI`:case 1:n.avatarType=1;break;case`ICON`:case 2:n.avatarType=2;break;default:typeof e.avatarType==`number`&&(e.avatarType|0)===e.avatarType&&(n.avatarType=e.avatarType)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.avatar=``,r.avatarType=t.enums===M?`IMAGE`:0),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.avatar!=null&&O.hasOwnProperty.call(e,`avatar`)&&(r.avatar=e.avatar),e.avatarType!=null&&O.hasOwnProperty.call(e,`avatarType`)&&(r.avatarType=t.enums===M?z.Block.ChatMessage.AvatarType[e.avatarType]===k?e.avatarType:z.Block.ChatMessage.AvatarType[e.avatarType]:e.avatarType),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.ChatMessage`},e.AvatarType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`IMAGE`]=0,t[e[1]=`EMOJI`]=1,t[e[2]=`ICON`]=2,t})(),e})(),e.Transparent=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Block.Transparent;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}e.skipType(i&7,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Block.Transparent)return e;if(!D.isObject(e))throw j(`.Block.Transparent: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);return new z.Block.Transparent},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Block.Transparent`},e})(),e})();z.Button=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.id=``,e.prototype.label=``,e.prototype.default=!1,e.prototype.help=``,e.prototype.formId=``,e.prototype.isFormSubmitter=!1,e.prototype.type=``,e.prototype.disabled=!1,e.prototype.icon=``,e.prototype.shortcut=``,e.prototype.iconPosition=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&e.default!==!1&&t.uint32(24).bool(e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.isFormSubmitter!=null&&O.hasOwnProperty.call(e,`isFormSubmitter`)&&e.isFormSubmitter!==!1&&t.uint32(48).bool(e.isFormSubmitter),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(58).string(e.type),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(82).string(e.icon),e.shortcut!=null&&O.hasOwnProperty.call(e,`shortcut`)&&e.shortcut!==``&&t.uint32(90).string(e.shortcut),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(96).int32(e.iconPosition),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Button,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==0)break;(s=e.bool())?o.default=s:delete o.default;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==0)break;(s=e.bool())?o.isFormSubmitter=s:delete o.isFormSubmitter;continue;case 7:if(a!==2)break;
1(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 8:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.shortcut=s:delete o.shortcut;continue;case 12:if(a!==0)break;(s=e.int32())?o.iconPosition=s:delete o.iconPosition;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Button)return e;if(!D.isObject(e))throw j(`.Button: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Button;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&e.default&&(n.default=N(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.isFormSubmitter!=null&&e.isFormSubmitter&&(n.isFormSubmitter=N(e.isFormSubmitter)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.shortcut!=null&&(typeof e.shortcut!=`string`||e.shortcut.length)&&(n.shortcut=M(e.shortcut)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||z.streamlit.ButtonLikeIconPosition[e.iconPosition]!==0))switch(e.iconPosition){case`LEFT`:case 0:n.iconPosition=0;break;case`RIGHT`:case 1:n.iconPosition=1;break;default:typeof e.iconPosition==`number`&&(e.iconPosition|0)===e.iconPosition&&(n.iconPosition=e.iconPosition)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.default=!1,r.help=``,r.formId=``,r.isFormSubmitter=!1,r.type=``,r.disabled=!1,r.icon=``,r.shortcut=``,r.iconPosition=t.enums===M?`LEFT`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.isFormSubmitter!=null&&O.hasOwnProperty.call(e,`isFormSubmitter`)&&(r.isFormSubmitter=e.isFormSubmitter),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.shortcut!=null&&O.hasOwnProperty.call(e,`shortcut`)&&(r.shortcut=e.shortcut),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===M?z.streamlit.ButtonLikeIconPosition[e.iconPosition]===k?e.iconPosition:z.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Button`},e})();var re=z.ButtonGroup=(()=>{let e=function(e){if(this.options=[],this.default=[],this.rawValues=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.options=D.emptyArray,e.prototype.default=D.emptyArray,e.prototype.disabled=!1,e.prototype.clickMode=0,e.prototype.formId=``,e.prototype.setValue=!1,e.prototype.style=0,e.prototype.label=``,e.prototype.labelVisibility=null,e.prototype.help=null,e.prototype.rawValues=D.emptyArray,e.prototype.queryParamKey=null,e.prototype.required=!1;let t;return O.defineProperty(e.prototype,`_help`,{get:D.oneOfGetter(t=[`help`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.options!=null&&e.options.length)for(let r=0;r<e.options.length;++r)z.ButtonGroup.Option.encode(e.options[r],t.uint32(18).fork(),n+1).ldelim();if(e.default!=null&&e.default.length&&t.uint32(26).uint32s(e.default),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.clickMode!=null&&O.hasOwnProperty.call(e,`clickMode`)&&e.clickMode!==0&&t.uint32(40).int32(e.clickMode),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.style!=null&&O.hasOwnProperty.call(e,`style`)&&e.style!==0&&t.uint32(80).int32(e.style),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(90).string(e.label),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(98).fork(),n+1).ldelim(),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&t.uint32(106).string(e.help),e.rawValues!=null&&e.rawValues.length)for(let n=0;n<e.rawValues.length;++n)t.uint32(114).string(e.rawValues[n]);if(e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.required!=null&&O.hasOwnProperty.call(e,`required`)&&e.required!==!1&&t.uint32(128).bool(e.required),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ButtonGroup,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;o.options&&o.options.length||(o.options=[]),o.options.push(z.ButtonGroup.Option.decode(e,e.uint32(),k,r+1));continue;case 3:if(a===2){o.default&&o.default.length||(o.default=[]),e.uint32s(o.default);continue}if(a!==0)break;o.default&&o.default.length||(o.default=[]),o.default.push(e.uint32());continue;case 4:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 5:if(a!==0)break;(s=e.int32())?o.clickMode=s:delete o.clickMode;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 8:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 10:if(a!==0)break;(s=e.int32())?o.style=s:delete o.style;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 12:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 13:if(a!==2)break;o.help=e.stringVerify(),o._help=`help`;continue;case 14:if(a!==2)break;o.rawValues&&o.rawValues.length||(o.rawValues=[]),o.rawValues.push(e.stringVerify());continue;case 15:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue;case 16:if(a!==0)break;(s=e.bool())?o.required=s:delete o.required;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ButtonGroup)return e;if(!D.isObject(e))throw j(`.ButtonGroup: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ButtonGroup;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.options){if(!I.isArray(e.options))throw j(`.ButtonGroup.options: array expected`);n.options=I(e.options.length);for(let r=0;r<e.options.length;++r){if(!D.isObject(e.options[r]))throw j(`.ButtonGroup.options: object expected`);n.options[r]=z.ButtonGroup.Option.fromObject(e.options[r],t+1)}}if(e.default){if(!I.isArray(e.default))throw j(`.ButtonGroup.default: array expected`);n.default=I(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=e.default[t]>>>0}if(e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.clickMode!==0&&(typeof e.clickMode!=`string`||z.ButtonGroup.ClickMode[e.clickMode]!==0))switch(e.clickMode){case`SINGLE_SELECT`:case 0:n.
1clickMode=0;break;case`MULTI_SELECT`:case 1:n.clickMode=1;break;default:typeof e.clickMode==`number`&&(e.clickMode|0)===e.clickMode&&(n.clickMode=e.clickMode)}if(e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.style!==0&&(typeof e.style!=`string`||z.ButtonGroup.Style[e.style]!==0))switch(e.style){case`SEGMENTED_CONTROL`:case 0:n.style=0;break;case`PILLS`:case 1:n.style=1;break;default:typeof e.style==`number`&&(e.style|0)===e.style&&(n.style=e.style)}if(e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.ButtonGroup.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.help!=null&&(n.help=M(e.help)),e.rawValues){if(!I.isArray(e.rawValues))throw j(`.ButtonGroup.rawValues: array expected`);n.rawValues=I(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)n.rawValues[t]=M(e.rawValues[t])}return e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),e.required!=null&&e.required&&(n.required=N(e.required)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.options=[],r.default=[],r.rawValues=[]),t.defaults&&(r.id=``,r.disabled=!1,r.clickMode=t.enums===M?`SINGLE_SELECT`:0,r.formId=``,r.setValue=!1,r.style=t.enums===M?`SEGMENTED_CONTROL`:0,r.label=``,r.labelVisibility=null,r.required=!1),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.options&&e.options.length){r.options=I(e.options.length);for(let i=0;i<e.options.length;++i)r.options[i]=z.ButtonGroup.Option.toObject(e.options[i],t,n+1)}if(e.default&&e.default.length){r.default=I(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.clickMode!=null&&O.hasOwnProperty.call(e,`clickMode`)&&(r.clickMode=t.enums===M?z.ButtonGroup.ClickMode[e.clickMode]===k?e.clickMode:z.ButtonGroup.ClickMode[e.clickMode]:e.clickMode),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.style!=null&&O.hasOwnProperty.call(e,`style`)&&(r.style=t.enums===M?z.ButtonGroup.Style[e.style]===k?e.style:z.ButtonGroup.Style[e.style]:e.style),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.rawValues&&e.rawValues.length){r.rawValues=I(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)r.rawValues[t]=e.rawValues[t]}return e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.required!=null&&O.hasOwnProperty.call(e,`required`)&&(r.required=e.required),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ButtonGroup`},e.ClickMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SINGLE_SELECT`]=0,t[e[1]=`MULTI_SELECT`]=1,t})(),e.Option=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.content=``,e.prototype.contentIcon=null;let t;return O.defineProperty(e.prototype,`_contentIcon`,{get:D.oneOfGetter(t=[`contentIcon`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.content!=null&&O.hasOwnProperty.call(e,`content`)&&e.content!==``&&t.uint32(10).string(e.content),e.contentIcon!=null&&O.hasOwnProperty.call(e,`contentIcon`)&&t.uint32(26).string(e.contentIcon),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ButtonGroup.Option,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.content=s:delete o.content;continue;case 3:if(a!==2)break;o.contentIcon=e.stringVerify(),o._contentIcon=`contentIcon`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ButtonGroup.Option)return e;if(!D.isObject(e))throw j(`.ButtonGroup.Option: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ButtonGroup.Option;return e.content!=null&&(typeof e.content!=`string`||e.content.length)&&(n.content=M(e.content)),e.contentIcon!=null&&(n.contentIcon=M(e.contentIcon)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.content=``),e.content!=null&&O.hasOwnProperty.call(e,`content`)&&(r.content=e.content),e.contentIcon!=null&&O.hasOwnProperty.call(e,`contentIcon`)&&(r.contentIcon=e.contentIcon),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ButtonGroup.Option`},e})(),e.Style=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SEGMENTED_CONTROL`]=0,t[e[1]=`PILLS`]=1,t})(),e})();z.CameraInput=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.help=``,e.prototype.formId=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.resolutionHeight=null;let t;return O.defineProperty(e.prototype,`_resolutionHeight`,{get:D.oneOfGetter(t=[`resolutionHeight`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(26).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(34).string(e.formId),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(50).fork(),n+1).ldelim(),e.resolutionHeight!=null&&O.hasOwnProperty.call(e,`resolutionHeight`)&&t.uint32(56).int32(e.resolutionHeight),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.CameraInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 5:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 6:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 7:if(a!==0)break;o.resolutionHeight=e.int32(),o._resolutionHeight=`resolutionHeight`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.CameraInput)return e;if(!D.isObject(e))throw j(`.CameraInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.CameraInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.CameraInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.resolutionHeight!=null&&(n.resolutionHeight=e.resolutionHeight|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.help=``,r.formId=``,r.disabled=!1,r.labelVisibility=null),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.resolutionHeight!=null&&O.hasOwnProperty.call(e,`resolutionHeight`)&&(r.resolutionHeight=e.resolutionHeight),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/CameraInput`},e})();var ie=z.ChatInput=(()=>{let e=function(e){if(this.fileType=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.placeholder=``,e.prototype.maxChars=0,e.prototype.disabled=!1,e.prototype.value=``,e.prototype.setValue=!1,e.prototype.default=``,e.prototype.acceptFile=0,e.prototype.fileType=D.emptyArray,e.prototype.maxUploadSizeMb=0,e.prototype.acceptAudio=!1,e.prototype.audioSampleRate=null,e.prototype.submitMode=0;let t;return O.defineProperty(e.prototype,`_audioSampleRate`,{get:D.oneOfGetter(t=[`audioSampleRate`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(18).string(e.placeholder),e.maxChars!=null&&O.hasOwnProperty.call(e,`maxChars`)&&e.maxChars!==0&&t.uint32(24).uint32(e.maxChars),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(42).string(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(48).bool(e.setValue),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&e.default!==``&&t.uint32(58).string(e.default),e.acceptFile!=null&&O.hasOwnProperty.call(e,`acceptFile`)&&e.acceptFile!==0&&t.uint32(72).int32(e.acceptFile),e.fileType!=null&&e.fileType.length)for(let n=0;n<e.fileType.length;++n)t.uint32(82).string(e.fileType[n]);if(e.maxUploadSizeMb!=null&&O.hasOwnProperty.call(e,`maxUploadSizeMb`)&&e.maxUploadSizeMb!==0&&t.uint32(88).int32(e.maxUploadSizeMb),e.acceptAudio!=null&&O.hasOwnProperty.call(e,`acceptAudio`)&&e.acceptAudio!==!1&&t.uint32(96).bool(e.acceptAudio),e.audioSampleRate!=null&&O.hasOwnProperty.call(e,`audioSampleRate`)&&t.uint32(104).int32(e.audioSampleRate),e.submitMode!=null&&O.hasOwnProperty.call(e,`submitMode`)&&e.submitMode!==0&&t.uint32(112).int32(e.submitMode),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ChatInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.placeholder=s:delete o.placeholder;continue;case 3:if(a!==0)break;(s=e.uint32())?o.maxChars=s:delete o.maxChars;continue;case 4:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.value=s:delete o.value;continue;case 6:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.default=s:delete o.default;continue;
1case 9:if(a!==0)break;(s=e.int32())?o.acceptFile=s:delete o.acceptFile;continue;case 10:if(a!==2)break;o.fileType&&o.fileType.length||(o.fileType=[]),o.fileType.push(e.stringVerify());continue;case 11:if(a!==0)break;(s=e.int32())?o.maxUploadSizeMb=s:delete o.maxUploadSizeMb;continue;case 12:if(a!==0)break;(s=e.bool())?o.acceptAudio=s:delete o.acceptAudio;continue;case 13:if(a!==0)break;o.audioSampleRate=e.int32(),o._audioSampleRate=`audioSampleRate`;continue;case 14:if(a!==0)break;(s=e.int32())?o.submitMode=s:delete o.submitMode;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ChatInput)return e;if(!D.isObject(e))throw j(`.ChatInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ChatInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=M(e.placeholder)),e.maxChars!=null&&P(e.maxChars)!==0&&(n.maxChars=e.maxChars>>>0),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=M(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.default!=null&&(typeof e.default!=`string`||e.default.length)&&(n.default=M(e.default)),e.acceptFile!==0&&(typeof e.acceptFile!=`string`||z.ChatInput.AcceptFile[e.acceptFile]!==0))switch(e.acceptFile){case`NONE`:case 0:n.acceptFile=0;break;case`SINGLE`:case 1:n.acceptFile=1;break;case`MULTIPLE`:case 2:n.acceptFile=2;break;case`DIRECTORY`:case 3:n.acceptFile=3;break;default:typeof e.acceptFile==`number`&&(e.acceptFile|0)===e.acceptFile&&(n.acceptFile=e.acceptFile)}if(e.fileType){if(!I.isArray(e.fileType))throw j(`.ChatInput.fileType: array expected`);n.fileType=I(e.fileType.length);for(let t=0;t<e.fileType.length;++t)n.fileType[t]=M(e.fileType[t])}if(e.maxUploadSizeMb!=null&&P(e.maxUploadSizeMb)!==0&&(n.maxUploadSizeMb=e.maxUploadSizeMb|0),e.acceptAudio!=null&&e.acceptAudio&&(n.acceptAudio=N(e.acceptAudio)),e.audioSampleRate!=null&&(n.audioSampleRate=e.audioSampleRate|0),e.submitMode!==0&&(typeof e.submitMode!=`string`||z.ChatInput.SubmitMode[e.submitMode]!==0))switch(e.submitMode){case`SUBMIT_MODE_SUBMIT`:case 0:n.submitMode=0;break;case`SUBMIT_MODE_DISABLE`:case 1:n.submitMode=1;break;case`SUBMIT_MODE_STOP`:case 2:n.submitMode=2;break;default:typeof e.submitMode==`number`&&(e.submitMode|0)===e.submitMode&&(n.submitMode=e.submitMode)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fileType=[]),t.defaults&&(r.id=``,r.placeholder=``,r.maxChars=0,r.disabled=!1,r.value=``,r.setValue=!1,r.default=``,r.acceptFile=t.enums===M?`NONE`:0,r.maxUploadSizeMb=0,r.acceptAudio=!1,r.submitMode=t.enums===M?`SUBMIT_MODE_SUBMIT`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.maxChars!=null&&O.hasOwnProperty.call(e,`maxChars`)&&(r.maxChars=e.maxChars),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.acceptFile!=null&&O.hasOwnProperty.call(e,`acceptFile`)&&(r.acceptFile=t.enums===M?z.ChatInput.AcceptFile[e.acceptFile]===k?e.acceptFile:z.ChatInput.AcceptFile[e.acceptFile]:e.acceptFile),e.fileType&&e.fileType.length){r.fileType=I(e.fileType.length);for(let t=0;t<e.fileType.length;++t)r.fileType[t]=e.fileType[t]}return e.maxUploadSizeMb!=null&&O.hasOwnProperty.call(e,`maxUploadSizeMb`)&&(r.maxUploadSizeMb=e.maxUploadSizeMb),e.acceptAudio!=null&&O.hasOwnProperty.call(e,`acceptAudio`)&&(r.acceptAudio=e.acceptAudio),e.audioSampleRate!=null&&O.hasOwnProperty.call(e,`audioSampleRate`)&&(r.audioSampleRate=e.audioSampleRate),e.submitMode!=null&&O.hasOwnProperty.call(e,`submitMode`)&&(r.submitMode=t.enums===M?z.ChatInput.
1SubmitMode[e.submitMode]===k?e.submitMode:z.ChatInput.SubmitMode[e.submitMode]:e.submitMode),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ChatInput`},e.AcceptFile=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`NONE`]=0,t[e[1]=`SINGLE`]=1,t[e[2]=`MULTIPLE`]=2,t[e[3]=`DIRECTORY`]=3,t})(),e.SubmitMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SUBMIT_MODE_SUBMIT`]=0,t[e[1]=`SUBMIT_MODE_DISABLE`]=1,t[e[2]=`SUBMIT_MODE_STOP`]=2,t})(),e})(),ae=z.Checkbox=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=!1,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=!1,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.type=0,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&e.default!==!1&&t.uint32(24).bool(e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==!1&&t.uint32(48).bool(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(74).fork(),n+1).ldelim(),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(80).int32(e.type),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(90).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Checkbox,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==0)break;(s=e.bool())?o.default=s:delete o.default;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==0)break;(s=e.bool())?o.value=s:delete o.value;continue;case 7:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 8:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 9:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 10:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue;case 11:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Checkbox)return e;if(!D.isObject(e))throw j(`.Checkbox: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Checkbox;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&e.default&&(n.default=N(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&e.value&&(n.value=N(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.Checkbox.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.type!==0&&(typeof e.type!=`string`||z.Checkbox.StyleType[e.type]!==0))switch(e.type){case`DEFAULT`:case 0:n.type=0;break;case`TOGGLE`:case 1:n.type=1;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}return e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.default=!1,r.help=``,r.formId=``,r.value=!1,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,r.type=t.enums===M?`DEFAULT`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.Checkbox.StyleType[e.type]===k?e.type:z.Checkbox.StyleType[e.type]:e.type),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Checkbox`},e.StyleType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`TOGGLE`]=1,t})(),e})();z.Code=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.codeText=``,e.prototype.language=``,e.prototype.showLineNumbers=!1,e.prototype.wrapLines=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.codeText!=null&&O.hasOwnProperty.call(e,`codeText`)&&e.codeText!==``&&t.uint32(10).string(e.codeText),e.language!=null&&O.hasOwnProperty.call(e,`language`)&&e.language!==``&&t.uint32(18).string(e.language),e.showLineNumbers!=null&&O.hasOwnProperty.call(e,`showLineNumbers`)&&e.showLineNumbers!==!1&&t.uint32(24).bool(e.showLineNumbers),e.wrapLines!=null&&O.hasOwnProperty.call(e,`wrapLines`)&&e.wrapLines!==!1&&t.uint32(32).bool(e.wrapLines),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Code,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.codeText=s:delete o.codeText;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.language=s:delete o.language;continue;case 3:if(a!==0)break;(s=e.bool())?o.showLineNumbers=s:delete o.showLineNumbers;continue;case 4:if(a!==0)break;(s=e.bool())?o.wrapLines=s:delete o.wrapLines;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Code)return e;if(!D.isObject(e))throw j(`.Code: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Code;return e.codeText!=null&&(typeof e.codeText!=`string`||e.codeText.length)&&(n.codeText=M(e.codeText)),e.language!=null&&(typeof e.language!=`string`||e.language.length)&&(n.language=M(e.language)),e.showLineNumbers!=null&&e.showLineNumbers&&(n.showLineNumbers=N(e.showLineNumbers)),e.wrapLines!=null&&e.wrapLines&&(n.wrapLines=N(e.wrapLines)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.codeText=``,r.language=``,r.showLineNumbers=!1,r.wrapLines=!1),e.codeText!=null&&O.hasOwnProperty.call(e,`codeText`)&&(r.codeText=e.codeText),e.language!=null&&O.hasOwnProperty.call(e,`language`)&&(r.language=e.language),e.showLineNumbers!=null&&O.hasOwnProperty.call(e,`showLineNumbers`)&&(r.showLineNumbers=e.showLineNumbers),e.wrapLines!=null&&O.hasOwnProperty.call(e,`wrapLines`)&&(r.wrapLines=e.wrapLines),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Code`},e})(),z.ColorPicker=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=``,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=``,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&e.default!==``&&t.uint32(26).string(e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(50).string(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(74).fork(),n+1).ldelim(),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(82).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ColorPicker,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.default=s:delete o.default;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.value=s:delete o.value;continue;case 7:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 8:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;
1case 9:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 10:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ColorPicker)return e;if(!D.isObject(e))throw j(`.ColorPicker: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ColorPicker;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&(typeof e.default!=`string`||e.default.length)&&(n.default=M(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=M(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.ColorPicker.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.default=``,r.help=``,r.formId=``,r.value=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ColorPicker`},e})();var oe=z.Dataframe=(()=>{let e=function(e){if(this.columnOrder=[],this.selectionMode=[],this.buttonClickWidgets={},e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.arrowData=null,e.prototype.id=``,e.prototype.columns=``,e.prototype.editingMode=0,e.prototype.disabled=!1,e.prototype.formId=``,e.prototype.columnOrder=D.emptyArray,e.prototype.selectionMode=D.emptyArray,e.prototype.rowHeight=null,e.prototype.placeholder=null,e.prototype.selectionState=null,e.prototype.selectionDefault=null,e.prototype.buttonClickWidgets=D.emptyObject;let t;return O.defineProperty(e.prototype,`_rowHeight`,{get:D.oneOfGetter(t=[`rowHeight`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_placeholder`,{get:D.oneOfGetter(t=[`placeholder`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_selectionState`,{get:D.oneOfGetter(t=[`selectionState`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_selectionDefault`,{get:D.oneOfGetter(t=[`selectionDefault`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.arrowData!=null&&O.hasOwnProperty.call(e,`arrowData`)&&z.ArrowData.encode(e.arrowData,t.uint32(10).fork(),n+1).ldelim(),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(18).string(e.id),e.columns!=null&&O.hasOwnProperty.call(e,`columns`)&&e.columns!==``&&t.uint32(26).string(e.columns),e.editingMode!=null&&O.hasOwnProperty.call(e,`editingMode`)&&e.editingMode!==0&&t.uint32(32).int32(e.editingMode),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.columnOrder!=null&&e.columnOrder.length)for(let n=0;n<e.columnOrder.length;++n)t.uint32(58).string(e.columnOrder[n]);if(e.selectionMode!=null&&e.selectionMode.length&&t.uint32(66).int32s(e.selectionMode),e.rowHeight!=null&&O.hasOwnProperty.call(e,`rowHeight`)&&t.uint32(72).uint32(e.rowHeight),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&t.uint32(82).string(e.placeholder),e.selectionState!=null&&O.hasOwnProperty.call(e,`selectionState`)&&t.uint32(90).string(e.selectionState),e.selectionDefault!=null&&O.hasOwnProperty.call(e,`selectionDefault`)&&t.uint32(98).string(e.selectionDefault),e.buttonClickWidgets!=null&&O.hasOwnProperty.call(e,`buttonClickWidgets`))for(let n=O.keys(e.buttonClickWidgets),r=0;r<n.length;++r)t.uint32(106).fork().uint32(10).string(n[r]).uint32(18).string(e.buttonClickWidgets[n[r]]).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Dataframe,s,c;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.arrowData=z.ArrowData.decode(e,e.uint32(),k,r+1,o.arrowData);continue;case 2:if(a!==2)break;(c=e.stringVerify()).length?o.id=c:delete o.id;continue;case 3:if(a!==2)break;(c=e.stringVerify()).length?o.columns=c:delete o.columns;continue;case 4:if(a!==0)break;(c=e.int32())?o.editingMode=c:delete o.editingMode;continue;case 5:if(a!==0)break;(c=e.bool())?o.disabled=c:delete o.disabled;continue;case 6:if(a!==2)break;(c=e.stringVerify()).length?o.formId=c:delete o.formId;continue;case 7:if(a!==2)break;o.columnOrder&&o.columnOrder.length||(o.columnOrder=[]),o.columnOrder.push(e.stringVerify());continue;case 8:if(a===2){o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),e.int32s(o.selectionMode);continue}if(a!==0)break;o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),o.selectionMode.push(e.int32());continue;
1case 9:if(a!==0)break;o.rowHeight=e.uint32(),o._rowHeight=`rowHeight`;continue;case 10:if(a!==2)break;o.placeholder=e.stringVerify(),o._placeholder=`placeholder`;continue;case 11:if(a!==2)break;o.selectionState=e.stringVerify(),o._selectionState=`selectionState`;continue;case 12:if(a!==2)break;o.selectionDefault=e.stringVerify(),o._selectionDefault=`selectionDefault`;continue;case 13:{if(a!==2)break;o.buttonClickWidgets===D.emptyObject&&(o.buttonClickWidgets={});let t=e.uint32()+e.pos;for(s=``,c=``;e.pos<t;){let t=e.tag();switch(a=t&7,t>>>=3){case 1:if(a!==2)break;s=e.stringVerify();continue;case 2:if(a!==2)break;c=e.stringVerify();continue}e.skipType(a,r,t)}s===`__proto__`&&D.makeProp(o.buttonClickWidgets,s),o.buttonClickWidgets[s]=c;continue}}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Dataframe)return e;if(!D.isObject(e))throw j(`.Dataframe: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Dataframe;if(e.arrowData!=null){if(!D.isObject(e.arrowData))throw j(`.Dataframe.arrowData: object expected`);n.arrowData=z.ArrowData.fromObject(e.arrowData,t+1)}if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.columns!=null&&(typeof e.columns!=`string`||e.columns.length)&&(n.columns=M(e.columns)),e.editingMode!==0&&(typeof e.editingMode!=`string`||z.Dataframe.EditingMode[e.editingMode]!==0))switch(e.editingMode){case`READ_ONLY`:case 0:n.editingMode=0;break;case`FIXED`:case 1:n.editingMode=1;break;case`DYNAMIC`:case 2:n.editingMode=2;break;case`ADD_ONLY`:case 3:n.editingMode=3;break;case`DELETE_ONLY`:case 4:n.editingMode=4;break;default:typeof e.editingMode==`number`&&(e.editingMode|0)===e.editingMode&&(n.editingMode=e.editingMode)}if(e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.columnOrder){if(!I.isArray(e.columnOrder))throw j(`.Dataframe.columnOrder: array expected`);n.columnOrder=I(e.columnOrder.length);for(let t=0;t<e.columnOrder.length;++t)n.columnOrder[t]=M(e.columnOrder[t])}if(e.selectionMode){if(!I.isArray(e.selectionMode))throw j(`.Dataframe.selectionMode: array expected`);n.selectionMode=[];for(let t=0;t<e.selectionMode.length;++t)switch(e.selectionMode[t]){case`SINGLE_ROW`:case 0:n.selectionMode[n.selectionMode.length]=0;break;case`MULTI_ROW`:case 1:n.selectionMode[n.selectionMode.length]=1;break;case`SINGLE_COLUMN`:case 2:n.selectionMode[n.selectionMode.length]=2;break;case`MULTI_COLUMN`:case 3:n.selectionMode[n.selectionMode.length]=3;break;case`SINGLE_CELL`:case 4:n.selectionMode[n.selectionMode.length]=4;break;case`MULTI_CELL`:case 5:n.selectionMode[n.selectionMode.length]=5;break;case`SINGLE_ROW_REQUIRED`:case 6:n.selectionMode[n.selectionMode.length]=6;break;default:typeof e.selectionMode[t]==`number`&&(e.selectionMode[t]|0)===e.selectionMode[t]&&(n.selectionMode[n.selectionMode.length]=e.selectionMode[t])}}if(e.rowHeight!=null&&(n.rowHeight=e.rowHeight>>>0),e.placeholder!=null&&(n.placeholder=M(e.placeholder)),e.selectionState!=null&&(n.selectionState=M(e.selectionState)),e.selectionDefault!=null&&(n.selectionDefault=M(e.selectionDefault)),e.buttonClickWidgets){if(!D.isObject(e.buttonClickWidgets))throw j(`.Dataframe.buttonClickWidgets: object expected`);n.buttonClickWidgets={};for(let t=O.keys(e.buttonClickWidgets),r=0;r<t.length;++r)t[r]===`__proto__`&&D.makeProp(n.buttonClickWidgets,t[r]),n.buttonClickWidgets[t[r]]=M(e.buttonClickWidgets[t[r]])}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.columnOrder=[],r.selectionMode=[]),(t.objects||t.defaults)&&(r.buttonClickWidgets={}),t.defaults&&(r.arrowData=null,r.id=``,r.columns=``,r.editingMode=t.enums===M?`READ_ONLY`:0,r.disabled=!1,r.formId=``),e.arrowData!=null&&O.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=z.ArrowData.toObject(e.arrowData,t,n+1)),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.columns!=null&&O.hasOwnProperty.call(e,`columns`)&&(r.columns=e.columns),e.editingMode!=null&&O.hasOwnProperty.call(e,`editingMode`)&&(r.editingMode=t.enums===M?z.Dataframe.EditingMode[e.editingMode]===k?e.editingMode:z.Dataframe.EditingMode[e.editingMode]:e.editingMode),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.columnOrder&&e.columnOrder.length){r.columnOrder=I(e.columnOrder.length);for(let t=0;t<e.columnOrder.length;++t)r.columnOrder[t]=e.columnOrder[t]}if(e.selectionMode&&e.selectionMode.length){r.selectionMode=I(e.selectionMode.length);for(let n=0;n<e.selectionMode.length;++n)r.selectionMode[n]=t.enums===M?z.Dataframe.SelectionMode[e.selectionMode[n]]===k?e.selectionMode[n]:z.Dataframe.SelectionMode[e.selectionMode[n]]:e.selectionMode[n]}e.rowHeight!=null&&O.hasOwnProperty.call(e,`rowHeight`)&&(r.rowHeight=e.rowHeight),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.selectionState!=null&&O.hasOwnProperty.call(e,`selectionState`)&&(r.selectionState=e.selectionState),e.selectionDefault!=null&&O.hasOwnProperty.call(e,`selectionDefault`)&&(r.selectionDefault=e.selectionDefault);let i;if(e.buttonClickWidgets&&(i=O.keys(e.buttonClickWidgets)).length){r.buttonClickWidgets={};for(let t=0;t<i.length;++t)i[t]===`__proto__`&&D.makeProp(r.buttonClickWidgets,i[t]),r.buttonClickWidgets[i[t]]=e.buttonClickWidgets[i[t]]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Dataframe`},e.EditingMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`READ_ONLY`]=0,t[e[1]=`FIXED`]=1,t[e[2]=`DYNAMIC`]=2,t[e[3]=`ADD_ONLY`]=3,t[e[4]=`DELETE_ONLY`]=4,t})(),e.SelectionMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SINGLE_ROW`]=0,t[e[1]=`MULTI_ROW`]=1,t[e[2]=`SINGLE_COLUMN`]=2,t[e[3]=`MULTI_COLUMN`]=3,t[e[4]=`SINGLE_CELL`]=4,t[e[5]=`MULTI_CELL`]=5,t[e[6]=`SINGLE_ROW_REQUIRED`]=6,t})(),e})();z.DateInput=(()=>{let e=function(e){if(this.default=[],this.value=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=D.emptyArray,e.prototype.min=``,e.prototype.max=``,e.prototype.isRange=!1,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=D.emptyArray,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.format=``,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&e.default.length)for(let n=0;n<e.default.length;++n)t.uint32(26).string(e.default[n]);if(e.min!=null&&O.hasOwnProperty.call(e,`min`)&&e.min!==``&&t.uint32(34).string(e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&e.max!==``&&t.uint32(42).string(e.max),e.isRange!=null&&O.hasOwnProperty.call(e,`isRange`)&&e.isRange!==!1&&t.uint32(48).bool(e.isRange),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(58).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(66).string(e.formId),e.value!=null&&e.value.length)for(let n=0;n<e.value.length;++n)t.uint32(74).string(e.value[n]);if(e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(80).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(88).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(98).fork(),n+1).ldelim(),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(106).string(e.format),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(114).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DateInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.default&&o.default.length||(o.default=[]),o.default.push(e.stringVerify());continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.min=s:delete o.min;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.max=s:delete o.max;continue;case 6:if(a!==0)break;(s=e.bool())?o.isRange=s:delete o.isRange;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 8:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;
1case 9:if(a!==2)break;o.value&&o.value.length||(o.value=[]),o.value.push(e.stringVerify());continue;case 10:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 11:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 12:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 13:if(a!==2)break;(s=e.stringVerify()).length?o.format=s:delete o.format;continue;case 14:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DateInput)return e;if(!D.isObject(e))throw j(`.DateInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DateInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default){if(!I.isArray(e.default))throw j(`.DateInput.default: array expected`);n.default=I(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=M(e.default[t])}if(e.min!=null&&(typeof e.min!=`string`||e.min.length)&&(n.min=M(e.min)),e.max!=null&&(typeof e.max!=`string`||e.max.length)&&(n.max=M(e.max)),e.isRange!=null&&e.isRange&&(n.isRange=N(e.isRange)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value){if(!I.isArray(e.value))throw j(`.DateInput.value: array expected`);n.value=I(e.value.length);for(let t=0;t<e.value.length;++t)n.value[t]=M(e.value[t])}if(e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.DateInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=M(e.format)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.default=[],r.value=[]),t.defaults&&(r.id=``,r.label=``,r.min=``,r.max=``,r.isRange=!1,r.help=``,r.formId=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,r.format=``),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default&&e.default.length){r.default=I(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.min!=null&&O.hasOwnProperty.call(e,`min`)&&(r.min=e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&(r.max=e.max),e.isRange!=null&&O.hasOwnProperty.call(e,`isRange`)&&(r.isRange=e.isRange),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value&&e.value.length){r.value=I(e.value.length);for(let t=0;t<e.value.length;++t)r.value[t]=e.value[t]}return e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DateInput`},e})(),z.DateTimeInput=(()=>{let e=function(e){if(this.default=[],this.value=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=D.emptyArray,e.prototype.min=``,e.prototype.max=``,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=D.emptyArray,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.format=``,e.prototype.step=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.isRange=!1,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&e.default.length)for(let n=0;n<e.default.length;++n)t.uint32(26).string(e.default[n]);if(e.min!=null&&O.hasOwnProperty.call(e,`min`)&&e.min!==``&&t.uint32(34).string(e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&e.max!==``&&t.uint32(42).string(e.max),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(58).string(e.formId),e.value!=null&&e.value.length)for(let n=0;n<e.value.length;++n)t.uint32(66).string(e.value[n]);if(e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(72).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(80).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(90).fork(),n+1).ldelim(),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(98).string(e.format),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&(typeof e.step==`object`?e.step.low||e.step.high:e.step!==0)&&t.uint32(104).int64(e.step),e.isRange!=null&&O.hasOwnProperty.call(e,`isRange`)&&e.isRange!==!1&&t.uint32(112).bool(e.isRange),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DateTimeInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.default&&o.default.length||(o.default=[]),o.default.push(e.stringVerify());continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.min=s:delete o.min;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.max=s:delete o.max;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 8:if(a!==2)break;o.value&&o.value.length||(o.value=[]),o.value.push(e.stringVerify());continue;
1case 9:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 10:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 11:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.format=s:delete o.format;continue;case 13:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.step=s:delete o.step;continue;case 14:if(a!==0)break;(s=e.bool())?o.isRange=s:delete o.isRange;continue;case 15:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DateTimeInput)return e;if(!D.isObject(e))throw j(`.DateTimeInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DateTimeInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default){if(!I.isArray(e.default))throw j(`.DateTimeInput.default: array expected`);n.default=I(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=M(e.default[t])}if(e.min!=null&&(typeof e.min!=`string`||e.min.length)&&(n.min=M(e.min)),e.max!=null&&(typeof e.max!=`string`||e.max.length)&&(n.max=M(e.max)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value){if(!I.isArray(e.value))throw j(`.DateTimeInput.value: array expected`);n.value=I(e.value.length);for(let t=0;t<e.value.length;++t)n.value[t]=M(e.value[t])}if(e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.DateTimeInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=M(e.format)),e.step!=null&&(typeof e.step==`object`?e.step.low||e.step.high:P(e.step)!==0)&&(D.Long?n.step=D.Long.fromValue(e.step,!1):typeof e.step==`string`?n.step=L(e.step,10):typeof e.step==`number`?n.step=e.step:typeof e.step==`object`&&(n.step=new D.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber())),e.isRange!=null&&e.isRange&&(n.isRange=N(e.isRange)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.default=[],r.value=[]),t.defaults){if(r.id=``,r.label=``,r.min=``,r.max=``,r.help=``,r.formId=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,r.format=``,D.Long){let e=new D.Long(0,0,!1);r.step=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.step=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.isRange=!1}if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default&&e.default.length){r.default=I(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.min!=null&&O.hasOwnProperty.call(e,`min`)&&(r.min=e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&(r.max=e.max),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value&&e.value.length){r.value=I(e.value.length);for(let t=0;t<e.value.length;++t)r.value[t]=e.value[t]}return e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&(R!==void 0&&t.longs===R?r.step=typeof e.step==`number`?R(e.step):D.Long.fromBits(e.step.low>>>0,e.step.high>>>0,!1).toBigInt():typeof e.step==`number`?r.step=t.longs===M?M(e.step):e.step:r.step=t.longs===M?D.Long.prototype.toString.call(e.step):t.longs===P?new D.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber():e.step),e.isRange!=null&&O.hasOwnProperty.call(e,`isRange`)&&(r.isRange=e.isRange),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DateTimeInput`},e})();var se=z.DeckGlJsonChart=(()=>{let e=function(e){if(this.selectionMode=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.json=``,e.prototype.tooltip=``,e.prototype.id=``,e.prototype.mapboxToken=``,e.prototype.selectionMode=D.emptyArray,e.prototype.formId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.json!=null&&O.hasOwnProperty.call(e,`json`)&&e.json!==``&&t.uint32(10).string(e.json),e.tooltip!=null&&O.hasOwnProperty.call(e,`tooltip`)&&e.tooltip!==``&&t.uint32(18).string(e.tooltip),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(42).string(e.id),e.mapboxToken!=null&&O.hasOwnProperty.call(e,`mapboxToken`)&&e.mapboxToken!==``&&t.uint32(50).string(e.mapboxToken),e.selectionMode!=null&&e.selectionMode.length&&t.uint32(74).int32s(e.selectionMode),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(82).string(e.formId),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DeckGlJsonChart,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.json=s:delete o.json;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.tooltip=s:delete o.tooltip;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.mapboxToken=s:delete o.mapboxToken;continue;
1case 9:if(a===2){o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),e.int32s(o.selectionMode);continue}if(a!==0)break;o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),o.selectionMode.push(e.int32());continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DeckGlJsonChart)return e;if(!D.isObject(e))throw j(`.DeckGlJsonChart: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DeckGlJsonChart;if(e.json!=null&&(typeof e.json!=`string`||e.json.length)&&(n.json=M(e.json)),e.tooltip!=null&&(typeof e.tooltip!=`string`||e.tooltip.length)&&(n.tooltip=M(e.tooltip)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.mapboxToken!=null&&(typeof e.mapboxToken!=`string`||e.mapboxToken.length)&&(n.mapboxToken=M(e.mapboxToken)),e.selectionMode){if(!I.isArray(e.selectionMode))throw j(`.DeckGlJsonChart.selectionMode: array expected`);n.selectionMode=[];for(let t=0;t<e.selectionMode.length;++t)switch(e.selectionMode[t]){case`SINGLE_OBJECT`:case 0:n.selectionMode[n.selectionMode.length]=0;break;case`MULTI_OBJECT`:case 1:n.selectionMode[n.selectionMode.length]=1;break;default:typeof e.selectionMode[t]==`number`&&(e.selectionMode[t]|0)===e.selectionMode[t]&&(n.selectionMode[n.selectionMode.length]=e.selectionMode[t])}}return e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.selectionMode=[]),t.defaults&&(r.json=``,r.tooltip=``,r.id=``,r.mapboxToken=``,r.formId=``),e.json!=null&&O.hasOwnProperty.call(e,`json`)&&(r.json=e.json),e.tooltip!=null&&O.hasOwnProperty.call(e,`tooltip`)&&(r.tooltip=e.tooltip),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.mapboxToken!=null&&O.hasOwnProperty.call(e,`mapboxToken`)&&(r.mapboxToken=e.mapboxToken),e.selectionMode&&e.selectionMode.length){r.selectionMode=I(e.selectionMode.length);for(let n=0;n<e.selectionMode.length;++n)r.selectionMode[n]=t.enums===M?z.DeckGlJsonChart.SelectionMode[e.selectionMode[n]]===k?e.selectionMode[n]:z.DeckGlJsonChart.SelectionMode[e.selectionMode[n]]:e.selectionMode[n]}return e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DeckGlJsonChart`},e.SelectionMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SINGLE_OBJECT`]=0,t[e[1]=`MULTI_OBJECT`]=1,t})(),e})();z.Delta=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.newElement=null,e.prototype.addBlock=null,e.prototype.newTransient=null,e.prototype.fragmentId=``;let t;return O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=[`newElement`,`addBlock`,`newTransient`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.newElement!=null&&O.hasOwnProperty.call(e,`newElement`)&&z.Element.encode(e.newElement,t.uint32(26).fork(),n+1).ldelim(),e.addBlock!=null&&O.hasOwnProperty.call(e,`addBlock`)&&z.Block.encode(e.addBlock,t.uint32(50).fork(),n+1).ldelim(),e.fragmentId!=null&&O.hasOwnProperty.call(e,`fragmentId`)&&e.fragmentId!==``&&t.uint32(66).string(e.fragmentId),e.newTransient!=null&&O.hasOwnProperty.call(e,`newTransient`)&&z.Transient.encode(e.newTransient,t.uint32(74).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Delta,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 3:if(a!==2)break;o.newElement=z.Element.decode(e,e.uint32(),k,r+1,o.newElement),o.type=`newElement`;continue;case 6:if(a!==2)break;o.addBlock=z.Block.decode(e,e.uint32(),k,r+1,o.addBlock),o.type=`addBlock`;continue;
1case 9:if(a!==2)break;o.newTransient=z.Transient.decode(e,e.uint32(),k,r+1,o.newTransient),o.type=`newTransient`;continue;case 8:if(a!==2)break;(s=e.stringVerify()).length?o.fragmentId=s:delete o.fragmentId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Delta)return e;if(!D.isObject(e))throw j(`.Delta: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Delta;if(e.newElement!=null){if(!D.isObject(e.newElement))throw j(`.Delta.newElement: object expected`);n.newElement=z.Element.fromObject(e.newElement,t+1)}if(e.addBlock!=null){if(!D.isObject(e.addBlock))throw j(`.Delta.addBlock: object expected`);n.addBlock=z.Block.fromObject(e.addBlock,t+1)}if(e.newTransient!=null){if(!D.isObject(e.newTransient))throw j(`.Delta.newTransient: object expected`);n.newTransient=z.Transient.fromObject(e.newTransient,t+1)}return e.fragmentId!=null&&(typeof e.fragmentId!=`string`||e.fragmentId.length)&&(n.fragmentId=M(e.fragmentId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.fragmentId=``),e.newElement!=null&&O.hasOwnProperty.call(e,`newElement`)&&(r.newElement=z.Element.toObject(e.newElement,t,n+1),t.oneofs&&(r.type=`newElement`)),e.addBlock!=null&&O.hasOwnProperty.call(e,`addBlock`)&&(r.addBlock=z.Block.toObject(e.addBlock,t,n+1),t.oneofs&&(r.type=`addBlock`)),e.fragmentId!=null&&O.hasOwnProperty.call(e,`fragmentId`)&&(r.fragmentId=e.fragmentId),e.newTransient!=null&&O.hasOwnProperty.call(e,`newTransient`)&&(r.newTransient=z.Transient.toObject(e.newTransient,t,n+1),t.oneofs&&(r.type=`newTransient`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Delta`},e})();var ce=z.Element=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.heightConfig=null,e.prototype.widthConfig=null,e.prototype.textAlignmentConfig=null,e.prototype.hasOneShotEffect=null,e.prototype.alert=null,e.prototype.dataframe=null,e.prototype.table=null,e.prototype.vegaLiteChart=null,e.prototype.audio=null,e.prototype.audioInput=null,e.prototype.balloons=null,e.prototype.bidiComponent=null,e.prototype.button=null,e.prototype.buttonGroup=null,e.prototype.downloadButton=null,e.prototype.cameraInput=null,e.prototype.chatInput=null,e.prototype.checkbox=null,e.prototype.colorPicker=null,e.prototype.componentInstance=null,e.prototype.dateInput=null,e.prototype.deckGlJsonChart=null,e.prototype.helpInfo=null,e.prototype.empty=null,e.prototype.exception=null,e.prototype.favicon=null,e.prototype.feedback=null,e.prototype.fileUploader=null,e.prototype.graphvizChart=null,e.prototype.html=null,e.prototype.iframe=null,e.prototype.imgs=null,e.prototype.json=null,e.prototype.linkButton=null,e.prototype.markdown=null,e.prototype.metric=null,e.prototype.multiselect=null,e.prototype.numberInput=null,e.prototype.pageLink=null,e.prototype.plotlyChart=null,e.prototype.progress=null,e.prototype.radio=null,e.prototype.selectbox=null,e.prototype.skeleton=null,e.prototype.slider=null,e.prototype.snow=null,e.prototype.space=null,e.prototype.spinner=null,e.prototype.text=null,e.prototype.textArea=null,e.prototype.textInput=null,e.prototype.timeInput=null,e.prototype.dateTimeInput=null,e.prototype.toast=null,e.prototype.video=null,e.prototype.heading=null,e.prototype.code=null,e.prototype.menuButton=null,e.prototype.pagination=null;let t;return O.defineProperty(e.prototype,`_heightConfig`,{get:D.oneOfGetter(t=[`heightConfig`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_widthConfig`,{get:D.oneOfGetter(t=[`widthConfig`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_textAlignmentConfig`,{get:D.oneOfGetter(t=[`textAlignmentConfig`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_hasOneShotEffect`,{get:D.oneOfGetter(t=[`hasOneShotEffect`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=`alert.dataframe.table.vegaLiteChart.audio.audioInput.balloons.bidiComponent.button.buttonGroup.downloadButton.cameraInput.chatInput.checkbox.colorPicker.componentInstance.dateInput.deckGlJsonChart.helpInfo.empty.exception.favicon.feedback.fileUploader.graphvizChart.html.iframe.imgs.json.linkButton.markdown.metric.multiselect.numberInput.pageLink.plotlyChart.progress.radio.selectbox.skeleton.slider.snow.space.spinner.text.textArea.textInput.timeInput.dateTimeInput.toast.video.heading.code.menuButton.pagination`.split(`.`)),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.text!=null&&O.hasOwnProperty.call(e,`text`)&&z.Text.encode(e.text,t.uint32(10).fork(),n+1).ldelim(),e.empty!=null&&O.hasOwnProperty.call(e,`empty`)&&z.Empty.encode(e.empty,t.uint32(18).fork(),n+1).ldelim(),e.progress!=null&&O.hasOwnProperty.call(e,`progress`)&&z.Progress.encode(e.progress,t.uint32(42).fork(),n+1).ldelim(),e.imgs!=null&&O.hasOwnProperty.call(e,`imgs`)&&z.ImageList.encode(e.imgs,t.uint32(50).fork(),n+1).ldelim(),e.helpInfo!=null&&O.hasOwnProperty.call(e,`helpInfo`)&&z.Help.encode(e.helpInfo,t.uint32(58).fork(),n+1).ldelim(),e.exception!=null&&O.hasOwnProperty.call(e,`exception`)&&z.Exception.encode(e.exception,t.uint32(66).fork(),n+1).ldelim(),e.balloons!=null&&O.hasOwnProperty.call(e,`balloons`)&&z.Balloons.encode(e.balloons,t.uint32(98).fork(),n+1).ldelim(),e.audio!=null&&O.hasOwnProperty.call(e,`audio`)&&z.Audio.encode(e.audio,t.uint32(106).fork(),n+1).ldelim(),e.video!=null&&O.hasOwnProperty.call(e,`video`)&&z.Video.encode(e.video,t.uint32(114).fork(),n+1).ldelim(),e.plotlyChart!=null&&O.hasOwnProperty.call(e,`plotlyChart`)&&z.PlotlyC
1hart.encode(e.plotlyChart,t.uint32(130).fork(),n+1).ldelim(),e.graphvizChart!=null&&O.hasOwnProperty.call(e,`graphvizChart`)&&z.GraphVizChart.encode(e.graphvizChart,t.uint32(146).fork(),n+1).ldelim(),e.button!=null&&O.hasOwnProperty.call(e,`button`)&&z.Button.encode(e.button,t.uint32(154).fork(),n+1).ldelim(),e.checkbox!=null&&O.hasOwnProperty.call(e,`checkbox`)&&z.Checkbox.encode(e.checkbox,t.uint32(162).fork(),n+1).ldelim(),e.slider!=null&&O.hasOwnProperty.call(e,`slider`)&&z.Slider.encode(e.slider,t.uint32(170).fork(),n+1).ldelim(),e.textArea!=null&&O.hasOwnProperty.call(e,`textArea`)&&z.TextArea.encode(e.textArea,t.uint32(178).fork(),n+1).ldelim(),e.radio!=null&&O.hasOwnProperty.call(e,`radio`)&&z.Radio.encode(e.radio,t.uint32(186).fork(),n+1).ldelim(),e.textInput!=null&&O.hasOwnProperty.call(e,`textInput`)&&z.TextInput.encode(e.textInput,t.uint32(194).fork(),n+1).ldelim(),e.selectbox!=null&&O.hasOwnProperty.call(e,`selectbox`)&&z.Selectbox.encode(e.selectbox,t.uint32(202).fork(),n+1).ldelim(),e.timeInput!=null&&O.hasOwnProperty.call(e,`timeInput`)&&z.TimeInput.encode(e.timeInput,t.uint32(210).fork(),n+1).ldelim(),e.dateInput!=null&&O.hasOwnProperty.call(e,`dateInput`)&&z.DateInput.encode(e.dateInput,t.uint32(218).fork(),n+1).ldelim(),e.multiselect!=null&&O.hasOwnProperty.call(e,`multiselect`)&&z.MultiSelect.encode(e.multiselect,t.uint32(226).fork(),n+1).ldelim(),e.markdown!=null&&O.hasOwnProperty.call(e,`markdown`)&&z.Markdown.encode(e.markdown,t.uint32(234).fork(),n+1).ldelim(),e.alert!=null&&O.hasOwnProperty.call(e,`alert`)&&z.Alert.encode(e.alert,t.uint32(242).fork(),n+1).ldelim(),e.json!=null&&O.hasOwnProperty.call(e,`json`)&&z.Json.encode(e.json,t.uint32(250).fork(),n+1).ldelim(),e.numberInput!=null&&O.hasOwnProperty.call(e,`numberInput`)&&z.NumberInput.encode(e.numberInput,t.uint32(258).fork(),n+1).ldelim(),e.fileUploader!=null&&O.hasOwnProperty.call(e,`fileUploader`)&&z.FileUploader.encode(e.fileUploader,t.uint32(266).fork(),n+1).ldelim(),e.deckGlJsonChart!=null&&O.hasOwnProperty.call(e,`deckGlJsonChart`)&&z.DeckGlJsonChart.encode(e.deckGlJsonChart,t.uint32(274).fork(),n+1).ldelim(),e.colorPicker!=null&&O.hasOwnProperty.call(e,`colorPicker`)&&z.ColorPicker.encode(e.colorPicker,t.uint32(282).fork(),n+1).ldelim(),e.favicon!=null&&O.hasOwnProperty.call(e,`favicon`)&&z.Favicon.encode(e.favicon,t.uint32(290).fork(),n+1).ldelim(),e.componentInstance!=null&&O.hasOwnProperty.call(e,`componentInstance`)&&z.ComponentInstance.encode(e.componentInstance,t.uint32(298).fork(),n+1).ldelim(),e.iframe!=null&&O.hasOwnProperty.call(e,`iframe`)&&z.IFrame.encode(e.iframe,t.uint32(306).fork(),n+1).ldelim(),e.table!=null&&O.hasOwnProperty.call(e,`table`)&&z.Table.encode(e.table,t.uint32(314).fork(),n+1).ldelim(),e.dataframe!=null&&O.hasOwnProperty.call(e,`dataframe`)&&z.Dataframe.encode(e.dataframe,t.uint32(322).fork(),n+1).ldelim(),e.vegaLiteChart!=null&&O.hasOwnProperty.call(e,`vegaLiteChart`)&&z.VegaLiteChart.encode(e.vegaLiteChart,t.uint32(330).fork(),n+1).ldelim(),e.metric!=null&&O.hasOwnProperty.call(e,`metric`)&&z.Metric.encode(e.metric,t.uint32(338).fork(),n+1).ldelim(),e.downloadButton!=null&&O.hasOwnProperty.call(e,`downloadButton`)&&z.DownloadButton.encode(e.downloadButton,t.uint32(346).fork(),n+1).ldelim(),e.spinner!=null&&O.hasOwnProperty.call(e,`spinner`)&&z.Spinner.encode(e.spinner,t.uint32(354).fork(),n+1).ldelim(),e.cameraInput!=null&&O.hasOwnProperty.call(e,`cameraInput`)&&z.CameraInput.encode(e.cameraInput,t.uint32(362).fork(),n+1).ldelim(),e.snow!=null&&O.hasOwnProperty.call(e,`snow`)&&z.Snow.encode(e.snow,t.uint32(370).fork(),n+1).ldelim(),e.heading!=null&&O.hasOwnProperty.call(e,`heading`)&&z.Heading.encode(e.heading,t.uint32(378).fork(),n+1).ldelim(),e.code!=null&&O.hasOwnProperty.call(e,`code`)&&z.Code.encode(e.code,t.uint32(386).fork(),n+1).ldelim(),e.chatInput!=null&&O.hasOwnProperty.call(e,`chatInput`)&&z.ChatInput.encode(e.chatInput,t.uint32(394).fork(),n+1).ldelim(),e.toast!=null&&O.hasOwnProperty.call(e,`toast`)&&z.Toast.encode(e.toast,t.uint32(402).fork(),n+1).ldelim(),e.linkButton!=null&&O.hasOwnProperty.call(e,`linkButton`)&&z.LinkButton.encode(e.linkButton,t.uint32(410).fork(),n+1).ldelim(),e.skeleton!=null&&O.hasOwnProperty.call(e,`skeleton`)&&z.Skeleton.encode(e.skeleton,t.uint32(418).fork(),n+1).ldelim(),e.pageLink!=null&&O.hasOwnProperty.call(e,`pageLink`)&&z.PageLink.encode(e.pageLink,t.uint32(426).fork(),n+1).ldelim(),e.html!=null&&O.hasOwnProperty.call(e,`html`)&&z.Html.encode(e.html,t.uint32(434).fork(),n+1).ldelim(),e.buttonGroup!=null&&O.hasOwnProperty.call(e,`buttonGroup`)&&z.ButtonGroup.encode(e.buttonGroup,t.uint32(442).fork(),n+1).ldelim(),e.audioInput!=null&&O.hasOwnProperty.call(e,`audioInput`)&&z.AudioInput.encode(e.audio
1Input,t.uint32(450).fork(),n+1).ldelim(),e.heightConfig!=null&&O.hasOwnProperty.call(e,`heightConfig`)&&z.streamlit.HeightConfig.encode(e.heightConfig,t.uint32(458).fork(),n+1).ldelim(),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&z.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(466).fork(),n+1).ldelim(),e.bidiComponent!=null&&O.hasOwnProperty.call(e,`bidiComponent`)&&z.BidiComponent.encode(e.bidiComponent,t.uint32(474).fork(),n+1).ldelim(),e.space!=null&&O.hasOwnProperty.call(e,`space`)&&z.Space.encode(e.space,t.uint32(482).fork(),n+1).ldelim(),e.textAlignmentConfig!=null&&O.hasOwnProperty.call(e,`textAlignmentConfig`)&&z.streamlit.TextAlignmentConfig.encode(e.textAlignmentConfig,t.uint32(490).fork(),n+1).ldelim(),e.dateTimeInput!=null&&O.hasOwnProperty.call(e,`dateTimeInput`)&&z.DateTimeInput.encode(e.dateTimeInput,t.uint32(498).fork(),n+1).ldelim(),e.feedback!=null&&O.hasOwnProperty.call(e,`feedback`)&&z.Feedback.encode(e.feedback,t.uint32(506).fork(),n+1).ldelim(),e.menuButton!=null&&O.hasOwnProperty.call(e,`menuButton`)&&z.MenuButton.encode(e.menuButton,t.uint32(514).fork(),n+1).ldelim(),e.hasOneShotEffect!=null&&O.hasOwnProperty.call(e,`hasOneShotEffect`)&&t.uint32(520).bool(e.hasOneShotEffect),e.pagination!=null&&O.hasOwnProperty.call(e,`pagination`)&&z.Pagination.encode(e.pagination,t.uint32(530).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Element;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 57:if(a!==2)break;o.heightConfig=z.streamlit.HeightConfig.decode(e,e.uint32(),k,r+1,o.heightConfig),o._heightConfig=`heightConfig`;continue;case 58:if(a!==2)break;o.widthConfig=z.streamlit.WidthConfig.decode(e,e.uint32(),k,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue;case 61:if(a!==2)break;o.textAlignmentConfig=z.streamlit.TextAlignmentConfig.decode(e,e.uint32(),k,r+1,o.textAlignmentConfig),o._textAlignmentConfig=`textAlignmentConfig`;continue;case 65:if(a!==0)break;o.hasOneShotEffect=e.bool(),o._hasOneShotEffect=`hasOneShotEffect`;continue;case 30:if(a!==2)break;o.alert=z.Alert.decode(e,e.uint32(),k,r+1,o.alert),o.type=`alert`;continue;case 40:if(a!==2)break;o.dataframe=z.Dataframe.decode(e,e.uint32(),k,r+1,o.dataframe),o.type=`dataframe`;continue;case 39:if(a!==2)break;o.table=z.Table.decode(e,e.uint32(),k,r+1,o.table),o.type=`table`;continue;case 41:if(a!==2)break;o.vegaLiteChart=z.VegaLiteChart.decode(e,e.uint32(),k,r+1,o.vegaLiteChart),o.type=`vegaLiteChart`;continue;case 13:if(a!==2)break;o.audio=z.Audio.decode(e,e.uint32(),k,r+1,o.audio),o.type=`audio`;continue;case 56:if(a!==2)break;o.audioInput=z.AudioInput.decode(e,e.uint32(),k,r+1,o.audioInput),o.type=`audioInput`;continue;case 12:if(a!==2)break;o.balloons=z.Balloons.decode(e,e.uint32(),k,r+1,o.balloons),o.type=`balloons`;continue;case 59:if(a!==2)break;o.bidiComponent=z.BidiComponent.decode(e,e.uint32(),k,r+1,o.bidiComponent),o.type=`bidiComponent`;continue;case 19:if(a!==2)break;o.button=z.Button.decode(e,e.uint32(),k,r+1,o.button),o.type=`button`;continue;case 55:if(a!==2)break;o.buttonGroup=z.ButtonGroup.decode(e,e.uint32(),k,r+1,o.buttonGroup),o.type=`buttonGroup`;continue;case 43:if(a!==2)break;o.downloadButton=z.DownloadButton.decode(e,e.uint32(),k,r+1,o.downloadButton),o.type=`downloadButton`;continue;case 45:if(a!==2)break;o.cameraInput=z.CameraInput.decode(e,e.uint32(),k,r+1,o.cameraInput),o.type=`cameraInput`;continue;case 49:if(a!==2)break;o.chatInput=z.ChatInput.decode(e,e.uint32(),k,r+1,o.chatInput),o.type=`chatInput`;continue;case 20:if(a!==2)break;o.checkbox=z.Checkbox.decode(e,e.uint32(),k,r+1,o.checkbox),o.type=`checkbox`;continue;case 35:if(a!==2)break;o.colorPicker=z.ColorPicker.decode(e,e.uint32(),k,r+1,o.colorPicker),o.type=`colorPicker`;continue;case 37:if(a!==2)break;o.componentInstance=z.ComponentInstance.decode(e,e.uint32(),k,r+1,o.componentInstance),o.type=`componentInstance`;continue;case 27:if(a!==2)break;o.dateInput=z.DateInput.decode(e,e.uint32(),k,r+1,o.dateInput),o.type=`dateInput`;continue;case 34:if(a!==2)break;o.deckGlJsonChart=z.DeckGlJsonChart.decode(e,e.uint32(),k,r+1,o.deckGlJsonChart),o.type=`deckGlJsonChart`;continue;case 7:if(a!==2)break;o.helpInfo=z.Help.decode(e,e.uint32(),k,r+1,o.helpInfo),o.type=`helpInfo`;continue;case 2:if(a!==2)break;o.empty=z.Empty.decode(e,e.uint32(),k,r+1,o.empty),o.type=`empty`;continue;case 8:if(a!==2)break;o.exception=z.Exception.decode(e,e.uint32(),k,r+1,o.exception),o.type=`exception`;continue;case 36:if(a!==2)break;o.favicon=z.Favicon.decode(e,e.uint32(),k,r+1,o.favicon),o.type=`favicon`;continue;case 63:if(a!==2)break;o.feedback=z.Feedback.decode(e,e.uint32(),k,r+1,o.feedback),o.type=`feedback`;continue;case 33:if(a!==2)break;o.fileUploader=z.FileUploader.decode(e,e.uint32(),k,r+1,o.fileUploader),o.type=`fileUploader`;continue;case 18:if(a!==2)break;o.graphvizChart=z.GraphVizChart.decode(e,e.uint32(),k,r+1,o.graphvizChart),o.type=`graphvizChart`;continue;
1case 54:if(a!==2)break;o.html=z.Html.decode(e,e.uint32(),k,r+1,o.html),o.type=`html`;continue;case 38:if(a!==2)break;o.iframe=z.IFrame.decode(e,e.uint32(),k,r+1,o.iframe),o.type=`iframe`;continue;case 6:if(a!==2)break;o.imgs=z.ImageList.decode(e,e.uint32(),k,r+1,o.imgs),o.type=`imgs`;continue;case 31:if(a!==2)break;o.json=z.Json.decode(e,e.uint32(),k,r+1,o.json),o.type=`json`;continue;case 51:if(a!==2)break;o.linkButton=z.LinkButton.decode(e,e.uint32(),k,r+1,o.linkButton),o.type=`linkButton`;continue;case 29:if(a!==2)break;o.markdown=z.Markdown.decode(e,e.uint32(),k,r+1,o.markdown),o.type=`markdown`;continue;case 42:if(a!==2)break;o.metric=z.Metric.decode(e,e.uint32(),k,r+1,o.metric),o.type=`metric`;continue;case 28:if(a!==2)break;o.multiselect=z.MultiSelect.decode(e,e.uint32(),k,r+1,o.multiselect),o.type=`multiselect`;continue;case 32:if(a!==2)break;o.numberInput=z.NumberInput.decode(e,e.uint32(),k,r+1,o.numberInput),o.type=`numberInput`;continue;case 53:if(a!==2)break;o.pageLink=z.PageLink.decode(e,e.uint32(),k,r+1,o.pageLink),o.type=`pageLink`;continue;case 16:if(a!==2)break;o.plotlyChart=z.PlotlyChart.decode(e,e.uint32(),k,r+1,o.plotlyChart),o.type=`plotlyChart`;continue;case 5:if(a!==2)break;o.progress=z.Progress.decode(e,e.uint32(),k,r+1,o.progress),o.type=`progress`;continue;case 23:if(a!==2)break;o.radio=z.Radio.decode(e,e.uint32(),k,r+1,o.radio),o.type=`radio`;continue;case 25:if(a!==2)break;o.selectbox=z.Selectbox.decode(e,e.uint32(),k,r+1,o.selectbox),o.type=`selectbox`;continue;case 52:if(a!==2)break;o.skeleton=z.Skeleton.decode(e,e.uint32(),k,r+1,o.skeleton),o.type=`skeleton`;continue;case 21:if(a!==2)break;o.slider=z.Slider.decode(e,e.uint32(),k,r+1,o.slider),o.type=`slider`;continue;case 46:if(a!==2)break;o.snow=z.Snow.decode(e,e.uint32(),k,r+1,o.snow),o.type=`snow`;continue;case 60:if(a!==2)break;o.space=z.Space.decode(e,e.uint32(),k,r+1,o.space),o.type=`space`;continue;case 44:if(a!==2)break;o.spinner=z.Spinner.decode(e,e.uint32(),k,r+1,o.spinner),o.type=`spinner`;continue;case 1:if(a!==2)break;o.text=z.Text.decode(e,e.uint32(),k,r+1,o.text),o.type=`text`;continue;case 22:if(a!==2)break;o.textArea=z.TextArea.decode(e,e.uint32(),k,r+1,o.textArea),o.type=`textArea`;continue;case 24:if(a!==2)break;o.textInput=z.TextInput.decode(e,e.uint32(),k,r+1,o.textInput),o.type=`textInput`;continue;case 26:if(a!==2)break;o.timeInput=z.TimeInput.decode(e,e.uint32(),k,r+1,o.timeInput),o.type=`timeInput`;continue;case 62:if(a!==2)break;o.dateTimeInput=z.DateTimeInput.decode(e,e.uint32(),k,r+1,o.dateTimeInput),o.type=`dateTimeInput`;continue;case 50:if(a!==2)break;o.toast=z.Toast.decode(e,e.uint32(),k,r+1,o.toast),o.type=`toast`;continue;case 14:if(a!==2)break;o.video=z.Video.decode(e,e.uint32(),k,r+1,o.video),o.type=`video`;continue;case 47:if(a!==2)break;o.heading=z.Heading.decode(e,e.uint32(),k,r+1,o.heading),o.type=`heading`;continue;case 48:if(a!==2)break;o.code=z.Code.decode(e,e.uint32(),k,r+1,o.code),o.type=`code`;continue;case 64:if(a!==2)break;o.menuButton=z.MenuButton.decode(e,e.uint32(),k,r+1,o.menuButton),o.type=`menuButton`;continue;case 66:if(a!==2)break;o.pagination=z.Pagination.decode(e,e.uint32(),k,r+1,o.pagination),o.type=`pagination`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Element)return e;if(!D.isObject(e))throw j(`.Element: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Element;if(e.heightConfig!=null){if(!D.isObject(e.heightConfig))throw j(`.Element.heightConfig: object expected`);n.heightConfig=z.streamlit.HeightConfig.fromObject(e.heightConfig,t+1)}if(e.widthConfig!=null){if(!D.isObject(e.widthConfig))throw j(`.Element.widthConfig: object expected`);n.widthConfig=z.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}if(e.textAlignmentConfig!=null){if(!D.isObject(e.textAlignmentConfig))throw j(`.Element.textAlignmentConfig: object expected`);n.textAlignmentConfig=z.streamlit.TextAlignmentConfig.fromObject(e.textAlignmentConfig,t+1)}if(e.hasOneShotEffect!=null&&(n.hasOneShotEffect=N(e.hasOneShotEffect)),e.alert!=null){if(!D.isObject(e.alert))throw j(`.Element.alert: object expected`);n.alert=z.Alert.fromObject(e.alert,t+1)}if(e.dataframe!=null){if(!D.isObject(e.dataframe))throw j(`.Element.dataframe: object expected`);n.dataframe=z.Dataframe.fromObject(e.dataframe,t+1)}if(e.table!=null){if(!D.isObject(e.table))throw j(`.Element.table: object expected`);n.table=z.Table.fromObject(e.table,t+1)}if(e.vegaLiteChart!=null){if(!D.isObject(e.vegaLiteChart))throw j(`.Element.vegaLiteChart: object expected`);n.vegaLiteChart=z.VegaLiteChart.fromObject(e.vegaLiteChart,t+1)}if(e.audio!=null){if(!D.isObject(e.audio))throw j(`.Element.audio: object expected`);n.audio=z.Audio.fromObject(e.audio,t+1)}
1if(e.audioInput!=null){if(!D.isObject(e.audioInput))throw j(`.Element.audioInput: object expected`);n.audioInput=z.AudioInput.fromObject(e.audioInput,t+1)}if(e.balloons!=null){if(!D.isObject(e.balloons))throw j(`.Element.balloons: object expected`);n.balloons=z.Balloons.fromObject(e.balloons,t+1)}if(e.bidiComponent!=null){if(!D.isObject(e.bidiComponent))throw j(`.Element.bidiComponent: object expected`);n.bidiComponent=z.BidiComponent.fromObject(e.bidiComponent,t+1)}if(e.button!=null){if(!D.isObject(e.button))throw j(`.Element.button: object expected`);n.button=z.Button.fromObject(e.button,t+1)}if(e.buttonGroup!=null){if(!D.isObject(e.buttonGroup))throw j(`.Element.buttonGroup: object expected`);n.buttonGroup=z.ButtonGroup.fromObject(e.buttonGroup,t+1)}if(e.downloadButton!=null){if(!D.isObject(e.downloadButton))throw j(`.Element.downloadButton: object expected`);n.downloadButton=z.DownloadButton.fromObject(e.downloadButton,t+1)}if(e.cameraInput!=null){if(!D.isObject(e.cameraInput))throw j(`.Element.cameraInput: object expected`);n.cameraInput=z.CameraInput.fromObject(e.cameraInput,t+1)}if(e.chatInput!=null){if(!D.isObject(e.chatInput))throw j(`.Element.chatInput: object expected`);n.chatInput=z.ChatInput.fromObject(e.chatInput,t+1)}if(e.checkbox!=null){if(!D.isObject(e.checkbox))throw j(`.Element.checkbox: object expected`);n.checkbox=z.Checkbox.fromObject(e.checkbox,t+1)}if(e.colorPicker!=null){if(!D.isObject(e.colorPicker))throw j(`.Element.colorPicker: object expected`);n.colorPicker=z.ColorPicker.fromObject(e.colorPicker,t+1)}if(e.componentInstance!=null){if(!D.isObject(e.componentInstance))throw j(`.Element.componentInstance: object expected`);n.componentInstance=z.ComponentInstance.fromObject(e.componentInstance,t+1)}if(e.dateInput!=null){if(!D.isObject(e.dateInput))throw j(`.Element.dateInput: object expected`);n.dateInput=z.DateInput.fromObject(e.dateInput,t+1)}if(e.deckGlJsonChart!=null){if(!D.isObject(e.deckGlJsonChart))throw j(`.Element.deckGlJsonChart: object expected`);n.deckGlJsonChart=z.DeckGlJsonChart.fromObject(e.deckGlJsonChart,t+1)}if(e.helpInfo!=null){if(!D.isObject(e.helpInfo))throw j(`.Element.helpInfo: object expected`);n.helpInfo=z.Help.fromObject(e.helpInfo,t+1)}if(e.empty!=null){if(!D.isObject(e.empty))throw j(`.Element.empty: object expected`);n.empty=z.Empty.fromObject(e.empty,t+1)}if(e.exception!=null){if(!D.isObject(e.exception))throw j(`.Element.exception: object expected`);n.exception=z.Exception.fromObject(e.exception,t+1)}if(e.favicon!=null){if(!D.isObject(e.favicon))throw j(`.Element.favicon: object expected`);n.favicon=z.Favicon.fromObject(e.favicon,t+1)}if(e.feedback!=null){if(!D.isObject(e.feedback))throw j(`.Element.feedback: object expected`);n.feedback=z.Feedback.fromObject(e.feedback,t+1)}if(e.fileUploader!=null){if(!D.isObject(e.fileUploader))throw j(`.Element.fileUploader: object expected`);n.fileUploader=z.FileUploader.fromObject(e.fileUploader,t+1)}if(e.graphvizChart!=null){if(!D.isObject(e.graphvizChart))throw j(`.Element.graphvizChart: object expected`);n.graphvizChart=z.GraphVizChart.fromObject(e.graphvizChart,t+1)}if(e.html!=null){if(!D.isObject(e.html))throw j(`.Element.html: object expected`);n.html=z.Html.fromObject(e.html,t+1)}if(e.iframe!=null){if(!D.isObject(e.iframe))throw j(`.Element.iframe: object expected`);n.iframe=z.IFrame.fromObject(e.iframe,t+1)}if(e.imgs!=null){if(!D.isObject(e.imgs))throw j(`.Element.imgs: object expected`);n.imgs=z.ImageList.fromObject(e.imgs,t+1)}if(e.json!=null){if(!D.isObject(e.json))throw j(`.Element.json: object expected`);n.json=z.Json.fromObject(e.json,t+1)}if(e.linkButton!=null){if(!D.isObject(e.linkButton))throw j(`.Element.linkButton: object expected`);n.linkButton=z.LinkButton.fromObject(e.linkButton,t+1)}if(e.markdown!=null){if(!D.isObject(e.markdown))throw j(`.Element.markdown: object expected`);n.markdown=z.Markdown.fromObject(e.markdown,t+1)}if(e.metric!=null){if(!D.isObject(e.metric))throw j(`.Element.metric: object expected`);n.metric=z.Metric.fromObject(e.metric,t+1)}if(e.multiselect!=null){if(!D.isObject(e.multiselect))throw j(`.Element.multiselect: object expected`);n.multiselect=z.MultiSelect.fromObject(e.multiselect,t+1)}if(e.numberInput!=null){if(!D.isObject(e.numberInput))throw j(`.Element.numberInput: object expected`);n.numberInput=z.NumberInput.fromObject(e.numberInput,t+1)}if(e.pageLink!=null){if(!D.isObject(e.pageLink))throw j(`.Element.pageLink: object expected`);n.pageLink=z.PageLink.fromObject(e.pageLink,t+1)}if(e.plotlyChart!=null){if(!D.isObject(e.plotlyChart))throw j(`.Element.plotlyChart: object expected`);
1n.plotlyChart=z.PlotlyChart.fromObject(e.plotlyChart,t+1)}if(e.progress!=null){if(!D.isObject(e.progress))throw j(`.Element.progress: object expected`);n.progress=z.Progress.fromObject(e.progress,t+1)}if(e.radio!=null){if(!D.isObject(e.radio))throw j(`.Element.radio: object expected`);n.radio=z.Radio.fromObject(e.radio,t+1)}if(e.selectbox!=null){if(!D.isObject(e.selectbox))throw j(`.Element.selectbox: object expected`);n.selectbox=z.Selectbox.fromObject(e.selectbox,t+1)}if(e.skeleton!=null){if(!D.isObject(e.skeleton))throw j(`.Element.skeleton: object expected`);n.skeleton=z.Skeleton.fromObject(e.skeleton,t+1)}if(e.slider!=null){if(!D.isObject(e.slider))throw j(`.Element.slider: object expected`);n.slider=z.Slider.fromObject(e.slider,t+1)}if(e.snow!=null){if(!D.isObject(e.snow))throw j(`.Element.snow: object expected`);n.snow=z.Snow.fromObject(e.snow,t+1)}if(e.space!=null){if(!D.isObject(e.space))throw j(`.Element.space: object expected`);n.space=z.Space.fromObject(e.space,t+1)}if(e.spinner!=null){if(!D.isObject(e.spinner))throw j(`.Element.spinner: object expected`);n.spinner=z.Spinner.fromObject(e.spinner,t+1)}if(e.text!=null){if(!D.isObject(e.text))throw j(`.Element.text: object expected`);n.text=z.Text.fromObject(e.text,t+1)}if(e.textArea!=null){if(!D.isObject(e.textArea))throw j(`.Element.textArea: object expected`);n.textArea=z.TextArea.fromObject(e.textArea,t+1)}if(e.textInput!=null){if(!D.isObject(e.textInput))throw j(`.Element.textInput: object expected`);n.textInput=z.TextInput.fromObject(e.textInput,t+1)}if(e.timeInput!=null){if(!D.isObject(e.timeInput))throw j(`.Element.timeInput: object expected`);n.timeInput=z.TimeInput.fromObject(e.timeInput,t+1)}if(e.dateTimeInput!=null){if(!D.isObject(e.dateTimeInput))throw j(`.Element.dateTimeInput: object expected`);n.dateTimeInput=z.DateTimeInput.fromObject(e.dateTimeInput,t+1)}if(e.toast!=null){if(!D.isObject(e.toast))throw j(`.Element.toast: object expected`);n.toast=z.Toast.fromObject(e.toast,t+1)}if(e.video!=null){if(!D.isObject(e.video))throw j(`.Element.video: object expected`);n.video=z.Video.fromObject(e.video,t+1)}if(e.heading!=null){if(!D.isObject(e.heading))throw j(`.Element.heading: object expected`);n.heading=z.Heading.fromObject(e.heading,t+1)}if(e.code!=null){if(!D.isObject(e.code))throw j(`.Element.code: object expected`);n.code=z.Code.fromObject(e.code,t+1)}if(e.menuButton!=null){if(!D.isObject(e.menuButton))throw j(`.Element.menuButton: object expected`);n.menuButton=z.MenuButton.fromObject(e.menuButton,t+1)}if(e.pagination!=null){if(!D.isObject(e.pagination))throw j(`.Element.pagination: object expected`);n.pagination=z.Pagination.fromObject(e.pagination,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.text!=null&&O.hasOwnProperty.call(e,`text`)&&(r.text=z.Text.toObject(e.text,t,n+1),t.oneofs&&(r.type=`text`)),e.empty!=null&&O.hasOwnProperty.call(e,`empty`)&&(r.empty=z.Empty.toObject(e.empty,t,n+1),t.oneofs&&(r.type=`empty`)),e.progress!=null&&O.hasOwnProperty.call(e,`progress`)&&(r.progress=z.Progress.toObject(e.progress,t,n+1),t.oneofs&&(r.type=`progress`)),e.imgs!=null&&O.hasOwnProperty.call(e,`imgs`)&&(r.imgs=z.ImageList.toObject(e.imgs,t,n+1),t.oneofs&&(r.type=`imgs`)),e.helpInfo!=null&&O.hasOwnProperty.call(e,`helpInfo`)&&(r.helpInfo=z.Help.toObject(e.helpInfo,t,n+1),t.oneofs&&(r.type=`helpInfo`)),e.exception!=null&&O.hasOwnProperty.call(e,`exception`)&&(r.exception=z.Exception.toObject(e.exception,t,n+1),t.oneofs&&(r.type=`exception`)),e.balloons!=null&&O.hasOwnProperty.call(e,`balloons`)&&(r.balloons=z.Balloons.toObject(e.balloons,t,n+1),t.oneofs&&(r.type=`balloons`)),e.audio!=null&&O.hasOwnProperty.call(e,`audio`)&&(r.audio=z.Audio.toObject(e.audio,t,n+1),t.oneofs&&(r.type=`audio`)),e.video!=null&&O.hasOwnProperty.call(e,`video`)&&(r.video=z.Video.toObject(e.video,t,n+1),t.oneofs&&(r.type=`video`)),e.plotlyChart!=null&&O.hasOwnProperty.call(e,`plotlyChart`)&&(r.plotlyChart=z.PlotlyChart.toObject(e.plotlyChart,t,n+1),t.oneofs&&(r.type=`plotlyChart`)),e.graphvizChart!=null&&O.hasOwnProperty.call(e,`graphvizChart`)&&(r.graphvizChart=z.GraphVizChart.toObject(e.graphvizChart,t,n+1),t.oneofs&&(r.type=`graphvizChart`)),e.button!=null&&O.hasOwnProperty.call(e,`button`)&&(r.button=z.Button.toObject(e.button,t,n+1),t.oneofs&&(r.type=`button`)),e.checkbox!=null&&O.hasOwnProperty.call(e,`checkbox`)&&(r.checkbox=z.Checkbox.toObject(e.checkbox,t,n+1),t.oneofs&&(r.type=`checkbox`)),e.slider!=null&&O.hasOwnProperty.call(e,`slider`)&&(r.slider=z.Slider.toObject(e.slider,t,n+1),t.oneofs&&(r.type=`slider`)),e.textArea!=null&&O.hasOwnProperty.call(e,`textArea`)&&(r.textArea=z.TextArea.toObject(e.textArea,t,n+1),t.oneofs&&(r.type=`textArea`)),e.radio!=null&&O.hasOwnProperty.call(e,`radio`)&&(r.radio=z.Radio.toObject(e.radio,t,n+1),t.oneofs&&(r.type=`radio`)),e.textInput!=null&&O.hasOwnProperty.call(e,`textInput`)&&(r.textInput=z.TextInput.toObject(e.textInput,t,n+1),t.oneofs&&(r.type=`textInput`)),e.selectbox!=null&&O.hasOwnProperty.call(e,`selectbox`)&&(r.selectbox=z.Selectbox.toObject(e.selectbox,t,n+1),t.oneofs&&(r.type=`selectbox`)),e.timeInput!=null&&O.hasOwnProperty.call(e,`timeInput`)&&(r.timeInput=z.TimeInput.toObject(e.timeInput,t,n+1),t.oneofs&&(r.type=`timeInput`)),e.dateInput!=null&&O.hasOwnProperty.call(e,`dateInput`)&&(r.dateInput=z.DateInput.toObject(e.dateInput,t,n+1),t.oneofs&&(r.type=`dateInput`)),e.multiselect!=null&&O.hasOwnProperty.call(e,`multiselect`)&&(r.multiselect=z.MultiSelect.toObject(e.multiselect,t,n+1),t.oneofs&&(r.type=`multiselect`)),e.markdown!=null&&O.hasOwnProperty.call(e,`markdown`)&&(r.markdown=z.Markdown.toObject(e.markdown,t,n+1),t.oneofs&&(r.type=`markdown`)),e.alert!=null&&O.hasOwnProperty.call(e,`alert`)&&(r.alert=z.Alert.toObject(e.alert,t,n+1),t.oneofs&&(r.type=`alert`)),e.json!=null&&O.hasOwnProperty.call(e,`json`)&&(r.json=z.Json.toObject(e.json,t,n+1),t.oneofs&&(r.type=`json`)),e.numberInput!=null&&O.hasOwnProperty.call(e,`numberInput`)&&(r.numberInput=z.NumberInput.toObject(e.numberInput,t,n+1),t.oneofs&&(r.type=`numberInput`)),e.fileUploader!=null&&O.hasOwnProperty.call(e,`fileUploader`)&&(r.fileUploader=z.FileUploader.toObject(e.fileUploader,t,n+1),t.oneofs&&(r.type=`fileUploader`)),e.deckGlJsonChart!=null&&O.hasOwnProperty.call(e,`deckGlJsonChart`)&&(r.deckGlJsonChart=z.DeckGlJsonChart.toObject(e.deckGlJsonChart,t,n+1),t.oneofs&&(r.type=`deckGlJsonChart`)),e.colorPicker!=null&&O.hasOwnProperty.call(e,`colorPicker`)&&(r.colorPicker=z.ColorPicker.toObject(e.colorPicker,t,n+1),t.oneofs&&(r.type=`colorPicker`)),e.favicon!=null&&O.hasOwnProperty.call(e,`favicon`)&&(r.favicon=z.Favicon.toObject(e.favicon,t,n+1),t.oneofs&&(r.type=`favicon`)),e.componentInstance!=null&&O.hasOwnProperty.call(e,`componentInstance`)&&(r.componentInstance=z.ComponentInstance.toObject(e.componentInstance,t,n+1),t.oneofs&&(r.type=`componentInstance`)),e.iframe!=null&&O.hasOwnProperty.call(e,`iframe`)&&(r.iframe=z.IFrame.toObject(e.iframe,t,n+1),t.oneofs&&(r.type=`iframe`)),e.table!=null&&O.hasOwnProperty.call(e,`table`)&&(r.table=z.Table.toObject(e.table,t,n+1),t.oneofs&&(r.type=`table`)),e.dataframe!=null&&O.hasOwnProperty.call(e,`dataframe`)&&(r.dataframe=z.Dataframe.toObject(e.dataframe,t,n+1),t.oneofs&&(r.type=`dataframe`)),e.vegaLiteChart!=null&&O.hasOwnProperty.call(e,`vegaLiteChart`)&&(r.vegaLiteChart=z.VegaLiteChart.toObject(e.vegaLiteChart,t,n+1),t.oneofs&&(r.type=`vegaLiteChart`)),e.metric!=null&&O.hasOwnProperty.call(e,`metric`)&&(r.metric=z.Metric.toObject(e.metric,t,n+1),t.oneofs&&(r.type=`metric`)),e.downloadButton!=null&&O.hasOwnProperty.call(e,`downloadButton`)&&(r.downloadButton=z.DownloadButton.toObject(e.downloadButton,t,n+1),t.oneofs&&(r.type=`downloadButton`)),e.spinner!=null&&O.hasOwnProperty.call(e,`spinner`)&&(r.spinner=z.Spinner.toObject(e.spinner,t,n+1),t.oneofs&&(r.type=`spinner`)),e.cameraInput!=null&&O.hasOwnProperty.call(e,`cameraInput`)&&(r.cameraInput=z.CameraInput.toObject(e.cameraInput,t,n+1),t.oneofs&&(r.type=`cameraInput`)),e.snow!=null&&O.hasOwnProperty.call(e,`snow`)&&(r.snow=z.Snow.toObject(e.snow,t,n+1),t.oneofs&&(r.type=`snow`)),e.heading!=null&&O.hasOwnProperty.call(e,`heading`)&&(r.heading=z.Heading.toObject(e.heading,t,n+1),t.oneofs&&(r.type=`heading`)),e.code!=null&&O.hasOwnProperty.call(e,`code`)&&(r.code=z.Code.toObject(e.code,t,n+1),t.oneofs&&(r.type=`code`)),e.chatInput!=null&&O.hasOwnProperty.call(e,`chatInput`)&&(r.chatInput=z.ChatInput.toObject(e.chatInput,t,n+1),t.oneofs&&(r.type=`chatInput`)),e.toast!=null&&O.hasOwnProperty.call(e,`toast`)&&(r.toast=z.Toast.toObject(e.toast,t,n+1),t.oneofs&&(r.type=`toast`)),e.linkButton!=null&&O.hasOwnProperty.call(e,`linkButton`)&&(r.linkButton=z.LinkButton.toObject(e.linkButton,t,n+1),t.oneofs&&(r.type=`linkButton`)),e.skeleton!=null&&O.hasOwnProperty.call(e,`skeleton`)&&(r.skeleton=z.Skeleton.toObject(e.skeleton,t,n+1),t.oneofs&&(r.type=`skeleton`)),e.pageLink!=null&&O.hasOwnProperty.call(e,`pageLink`)&&(r.pageLink=z.PageLink.toObject(e.pageLink,t,n+1),t.oneofs&&(r.type=`pageLink`)),e.html!=null&&O.hasOwnProperty.call(e,`html`)&&(r.html=z.Html.toObject(e.html,t,n+1),t.oneofs&&(r.type=`html`)),e.buttonGroup!=null&&O.hasOwnProperty.call(e,`buttonGroup`)&&(r.buttonGroup=z.ButtonGroup.toObject(e.buttonGroup,t,n+1),t.oneofs&&(r.type=`buttonGroup`)),e.audioInput!=null&&O.hasOwnProperty.call(e,`audioInput`)&&(r.audioInput=z.AudioInput.toObject(e.audio
1Input,t,n+1),t.oneofs&&(r.type=`audioInput`)),e.heightConfig!=null&&O.hasOwnProperty.call(e,`heightConfig`)&&(r.heightConfig=z.streamlit.HeightConfig.toObject(e.heightConfig,t,n+1)),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=z.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.bidiComponent!=null&&O.hasOwnProperty.call(e,`bidiComponent`)&&(r.bidiComponent=z.BidiComponent.toObject(e.bidiComponent,t,n+1),t.oneofs&&(r.type=`bidiComponent`)),e.space!=null&&O.hasOwnProperty.call(e,`space`)&&(r.space=z.Space.toObject(e.space,t,n+1),t.oneofs&&(r.type=`space`)),e.textAlignmentConfig!=null&&O.hasOwnProperty.call(e,`textAlignmentConfig`)&&(r.textAlignmentConfig=z.streamlit.TextAlignmentConfig.toObject(e.textAlignmentConfig,t,n+1)),e.dateTimeInput!=null&&O.hasOwnProperty.call(e,`dateTimeInput`)&&(r.dateTimeInput=z.DateTimeInput.toObject(e.dateTimeInput,t,n+1),t.oneofs&&(r.type=`dateTimeInput`)),e.feedback!=null&&O.hasOwnProperty.call(e,`feedback`)&&(r.feedback=z.Feedback.toObject(e.feedback,t,n+1),t.oneofs&&(r.type=`feedback`)),e.menuButton!=null&&O.hasOwnProperty.call(e,`menuButton`)&&(r.menuButton=z.MenuButton.toObject(e.menuButton,t,n+1),t.oneofs&&(r.type=`menuButton`)),e.hasOneShotEffect!=null&&O.hasOwnProperty.call(e,`hasOneShotEffect`)&&(r.hasOneShotEffect=e.hasOneShotEffect),e.pagination!=null&&O.hasOwnProperty.call(e,`pagination`)&&(r.pagination=z.Pagination.toObject(e.pagination,t,n+1),t.oneofs&&(r.type=`pagination`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Element`},e})();z.DownloadButton=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=!1,e.prototype.help=``,e.prototype.formId=``,e.prototype.url=``,e.prototype.disabled=!1,e.prototype.useContainerWidth=!1,e.prototype.type=``,e.prototype.icon=``,e.prototype.ignoreRerun=!1,e.prototype.deferredFileId=null,e.prototype.shortcut=``,e.prototype.iconPosition=0;let t;return O.defineProperty(e.prototype,`_deferredFileId`,{get:D.oneOfGetter(t=[`deferredFileId`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&e.default!==!1&&t.uint32(24).bool(e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(50).string(e.url),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(56).bool(e.disabled),e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&e.useContainerWidth!==!1&&t.uint32(64).bool(e.useContainerWidth),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(74).string(e.type),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(82).string(e.icon),e.ignoreRerun!=null&&O.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(88).bool(e.ignoreRerun),e.deferredFileId!=null&&O.hasOwnProperty.call(e,`deferredFileId`)&&t.uint32(98).string(e.deferredFileId),e.shortcut!=null&&O.hasOwnProperty.call(e,`shortcut`)&&e.shortcut!==``&&t.uint32(106).string(e.shortcut),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(112).int32(e.iconPosition),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DownloadButton,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==0)break;(s=e.bool())?o.default=s:delete o.default;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 7:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 8:if(a!==0)break;(s=e.bool())?o.useContainerWidth=s:delete o.useContainerWidth;continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 11:if(a!==0)break;(s=e.bool())?o.ignoreRerun=s:delete o.ignoreRerun;continue;case 12:if(a!==2)break;o.deferredFileId=e.stringVerify(),o._deferredFileId=`deferredFileId`;continue;case 13:if(a!==2)break;(s=e.stringVerify()).length?o.shortcut=s:delete o.shortcut;continue;case 14:if(a!==0)break;(s=e.int32())?o.iconPosition=s:delete o.iconPosition;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DownloadButton)return e;if(!D.isObject(e))throw j(`.DownloadButton: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DownloadButton;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&e.default&&(n.default=N(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.useContainerWidth!=null&&e.useContainerWidth&&(n.useContainerWidth=N(e.useContainerWidth)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=N(e.ignoreRerun)),e.deferredFileId!=null&&(n.deferredFileId=M(e.deferredFileId)),e.shortcut!=null&&(typeof e.shortcut!=`string`||e.shortcut.length)&&(n.shortcut=M(e.shortcut)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||z.streamlit.ButtonLikeIconPosition[e.iconPosition]!==0))switch(e.iconPosition){case`LEFT`:case 0:n.iconPosition=0;break;case`RIGHT`:case 1:n.iconPosition=1;break;default:typeof e.iconPosition==`number`&&(e.iconPosition|0)===e.iconPosition&&(n.iconPosition=e.iconPosition)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.default=!1,r.help=``,r.formId=``,r.url=``,r.disabled=!1,r.useContainerWidth=!1,r.type=``,r.icon=``,r.ignoreRerun=!1,r.shortcut=``,r.iconPosition=t.enums===M?`LEFT`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.ignoreRerun!=null&&O.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),e.deferredFileId!=null&&O.hasOwnProperty.call(e,`deferredFileId`)&&(r.deferredFileId=e.deferredFileId),e.shortcut!=null&&O.hasOwnProperty.call(e,`shortcut`)&&(r.shortcut=e.shortcut),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===M?z.streamlit.ButtonLikeIconPosition[e.iconPosition]===k?e.iconPosition:z.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DownloadButton`},e})(),z.Empty=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Empty;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}e.skipType(i&7,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Empty)return e;if(!D.isObject(e))throw j(`.Empty: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);return new z.Empty},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Empty`},e})(),z.Exception=(()=>{let e=function(e){if(this.stackTrace=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.type=``,e.prototype.message=``,e.prototype.messageIsMarkdown=!1,e.prototype.stackTrace=D.emptyArray,e.prototype.isWarning=!1,e.prototype.widthConfig=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(10).string(e.type),e.message!=null&&O.hasOwnProperty.call(e,`message`)&&e.message!==``&&t.uint32(18).string(e.message),e.stackTrace!=null&&e.stackTrace.length)for(let n=0;n<e.stackTrace.length;++n)t.uint32(26).string(e.stackTrace[n]);if(e.messageIsMarkdown!=null&&O.hasOwnProperty.call(e,`messageIsMarkdown`)&&e.messageIsMarkdown!==!1&&t.uint32(32).bool(e.messageIsMarkdown),e.isWarning!=null&&O.hasOwnProperty.call(e,`isWarning`)&&e.isWarning!==!1&&t.uint32(40).bool(e.isWarning),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&z.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(50).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Exception,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;
1(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.message=s:delete o.message;continue;case 4:if(a!==0)break;(s=e.bool())?o.messageIsMarkdown=s:delete o.messageIsMarkdown;continue;case 3:if(a!==2)break;o.stackTrace&&o.stackTrace.length||(o.stackTrace=[]),o.stackTrace.push(e.stringVerify());continue;case 5:if(a!==0)break;(s=e.bool())?o.isWarning=s:delete o.isWarning;continue;case 6:if(a!==2)break;o.widthConfig=z.streamlit.WidthConfig.decode(e,e.uint32(),k,r+1,o.widthConfig);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Exception)return e;if(!D.isObject(e))throw j(`.Exception: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Exception;if(e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.message!=null&&(typeof e.message!=`string`||e.message.length)&&(n.message=M(e.message)),e.messageIsMarkdown!=null&&e.messageIsMarkdown&&(n.messageIsMarkdown=N(e.messageIsMarkdown)),e.stackTrace){if(!I.isArray(e.stackTrace))throw j(`.Exception.stackTrace: array expected`);n.stackTrace=I(e.stackTrace.length);for(let t=0;t<e.stackTrace.length;++t)n.stackTrace[t]=M(e.stackTrace[t])}if(e.isWarning!=null&&e.isWarning&&(n.isWarning=N(e.isWarning)),e.widthConfig!=null){if(!D.isObject(e.widthConfig))throw j(`.Exception.widthConfig: object expected`);n.widthConfig=z.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.stackTrace=[]),t.defaults&&(r.type=``,r.message=``,r.messageIsMarkdown=!1,r.isWarning=!1,r.widthConfig=null),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.message!=null&&O.hasOwnProperty.call(e,`message`)&&(r.message=e.message),e.stackTrace&&e.stackTrace.length){r.stackTrace=I(e.stackTrace.length);for(let t=0;t<e.stackTrace.length;++t)r.stackTrace[t]=e.stackTrace[t]}return e.messageIsMarkdown!=null&&O.hasOwnProperty.call(e,`messageIsMarkdown`)&&(r.messageIsMarkdown=e.messageIsMarkdown),e.isWarning!=null&&O.hasOwnProperty.call(e,`isWarning`)&&(r.isWarning=e.isWarning),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=z.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Exception`},e})(),z.Favicon=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.url=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Favicon,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Favicon)return e;if(!D.isObject(e))throw j(`.Favicon: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Favicon;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.url=``),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Favicon`},e})();var le=z.Feedback=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.type=0,e.prototype.default=null,e.prototype.disabled=!1,e.prototype.formId=``,e.prototype.value=null,e.prototype.setValue=!1;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_value`,{get:D.oneOfGetter(t=[`value`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(16).int32(e.type),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(24).uint32(e.default),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&t.uint32(48).uint32(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Feedback,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue;case 3:if(a!==0)break;o.default=e.uint32(),o._default=`default`;continue;case 4:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==0)break;o.value=e.uint32(),o._value=`value`;continue;case 7:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Feedback)return e;if(!D.isObject(e))throw j(`.Feedback: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Feedback;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.type!==0&&(typeof e.type!=`string`||z.Feedback.FeedbackType[e.type]!==0))switch(e.type){case`THUMBS`:case 0:n.type=0;break;case`FACES`:case 1:n.type=1;break;case`STARS`:case 2:n.type=2;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}return e.default!=null&&(n.default=e.default>>>0),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&(n.value=e.value>>>0),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.type=t.enums===M?`THUMBS`:0,r.disabled=!1,r.formId=``,r.setValue=!1),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.Feedback.FeedbackType[e.type]===k?e.type:z.Feedback.FeedbackType[e.type]:e.type),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Feedback`},e.FeedbackType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`THUMBS`]=0,t[e[1]=`FACES`]=1,t[e[2]=`STARS`]=2,t})(),e})();z.FileUploader=(()=>
1{let e=function(e){if(this.type=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.id=``,e.prototype.label=``,e.prototype.type=D.emptyArray,e.prototype.maxUploadSizeMb=0,e.prototype.multipleFiles=!1,e.prototype.help=``,e.prototype.formId=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.acceptDirectory=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.type!=null&&e.type.length)for(let n=0;n<e.type.length;++n)t.uint32(26).string(e.type[n]);if(e.maxUploadSizeMb!=null&&O.hasOwnProperty.call(e,`maxUploadSizeMb`)&&e.maxUploadSizeMb!==0&&t.uint32(32).int32(e.maxUploadSizeMb),e.multipleFiles!=null&&O.hasOwnProperty.call(e,`multipleFiles`)&&e.multipleFiles!==!1&&t.uint32(48).bool(e.multipleFiles),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(58).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(66).string(e.formId),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(82).fork(),n+1).ldelim(),e.acceptDirectory!=null&&O.hasOwnProperty.call(e,`acceptDirectory`)&&e.acceptDirectory!==!1&&t.uint32(88).bool(e.acceptDirectory),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FileUploader,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.type&&o.type.length||(o.type=[]),o.type.push(e.stringVerify());continue;case 4:if(a!==0)break;(s=e.int32())?o.maxUploadSizeMb=s:delete o.maxUploadSizeMb;continue;case 6:if(a!==0)break;(s=e.bool())?o.multipleFiles=s:delete o.multipleFiles;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 8:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 9:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 10:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 11:if(a!==0)break;(s=e.bool())?o.acceptDirectory=s:delete o.acceptDirectory;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FileUploader)return e;if(!D.isObject(e))throw j(`.FileUploader: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FileUploader;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.type){if(!I.isArray(e.type))throw j(`.FileUploader.type: array expected`);n.type=I(e.type.length);for(let t=0;t<e.type.length;++t)n.type[t]=M(e.type[t])}if(e.maxUploadSizeMb!=null&&P(e.maxUploadSizeMb)!==0&&(n.maxUploadSizeMb=e.maxUploadSizeMb|0),e.multipleFiles!=null&&e.multipleFiles&&(n.multipleFiles=N(e.multipleFiles)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.FileUploader.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.acceptDirectory!=null&&e.acceptDirectory&&(n.acceptDirectory=N(e.acceptDirectory)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.type=[]),t.defaults&&(r.id=``,r.label=``,r.maxUploadSizeMb=0,r.multipleFiles=!1,r.help=``,r.formId=``,r.disabled=!1,r.labelVisibility=null,r.acceptDirectory=!1),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.type&&e.type.length){r.type=I(e.type.length);for(let t=0;t<e.type.length;++t)r.type[t]=e.type[t]}return e.maxUploadSizeMb!=null&&O.hasOwnProperty.call(e,`maxUploadSizeMb`)&&(r.maxUploadSizeMb=e.maxUploadSizeMb),e.multipleFiles!=null&&O.hasOwnProperty.call(e,`multipleFiles`)&&(r.multipleFiles=e.multipleFiles),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.acceptDirectory!=null&&O.hasOwnProperty.call(e,`acceptDirectory`)&&(r.acceptDirectory=e.acceptDirectory),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FileUploader`},e})(),z.GraphVizChart=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.spec=``,e.prototype.elementId=``,e.prototype.engine=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.spec!=null&&O.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(10).string(e.spec),e.elementId!=null&&O.hasOwnProperty.call(e,`elementId`)&&e.elementId!==``&&t.uint32(42).string(e.elementId),e.engine!=null&&O.hasOwnProperty.call(e,`engine`)&&e.engine!==``&&t.uint32(50).string(e.engine),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.GraphVizChart,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.spec=s:delete o.spec;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.elementId=s:delete o.elementId;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.engine=s:delete o.engine;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.GraphVizChart)return e;if(!D.isObject(e))throw j(`.GraphVizChart: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.GraphVizChart;return e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=M(e.spec)),e.elementId!=null&&(typeof e.elementId!=`string`||e.elementId.length)&&(n.elementId=M(e.elementId)),e.engine!=null&&(typeof e.engine!=`string`||e.engine.length)&&(n.engine=M(e.engine)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.spec=``,r.elementId=``,r.engine=``),e.spec!=null&&O.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.elementId!=null&&O.hasOwnProperty.call(e,`elementId`)&&(r.elementId=e.elementId),e.engine!=null&&O.hasOwnProperty.call(e,`engine`)&&(r.engine=e.engine),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/GraphVizChart`},e})(),z.Heading=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.tag=``,e.prototype.anchor=``,e.prototype.body=``,e.prototype.help=``,e.prototype.hideAnchor=!1,e.prototype.divider=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.tag!=null&&O.hasOwnProperty.call(e,`tag`)&&e.tag!==``&&t.uint32(10).string(e.tag),e.anchor!=null&&O.hasOwnProperty.call(e,`anchor`)&&e.anchor!==``&&t.uint32(18).string(e.anchor),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(26).string(e.body),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.hideAnchor!=null&&O.hasOwnProperty.call(e,`hideAnchor`)&&e.hideAnchor!==!1&&t.uint32(40).bool(e.hideAnchor),e.divider!=null&&O.hasOwnProperty.call(e,`divider`)&&e.divider!==``&&t.uint32(50).string(e.divider),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Heading,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.tag=s:delete o.tag;continue;case 2:if(a!==2)break;
1(s=e.stringVerify()).length?o.anchor=s:delete o.anchor;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==0)break;(s=e.bool())?o.hideAnchor=s:delete o.hideAnchor;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.divider=s:delete o.divider;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Heading)return e;if(!D.isObject(e))throw j(`.Heading: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Heading;return e.tag!=null&&(typeof e.tag!=`string`||e.tag.length)&&(n.tag=M(e.tag)),e.anchor!=null&&(typeof e.anchor!=`string`||e.anchor.length)&&(n.anchor=M(e.anchor)),e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.hideAnchor!=null&&e.hideAnchor&&(n.hideAnchor=N(e.hideAnchor)),e.divider!=null&&(typeof e.divider!=`string`||e.divider.length)&&(n.divider=M(e.divider)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.tag=``,r.anchor=``,r.body=``,r.help=``,r.hideAnchor=!1,r.divider=``),e.tag!=null&&O.hasOwnProperty.call(e,`tag`)&&(r.tag=e.tag),e.anchor!=null&&O.hasOwnProperty.call(e,`anchor`)&&(r.anchor=e.anchor),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.hideAnchor!=null&&O.hasOwnProperty.call(e,`hideAnchor`)&&(r.hideAnchor=e.hideAnchor),e.divider!=null&&O.hasOwnProperty.call(e,`divider`)&&(r.divider=e.divider),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Heading`},e})(),z.Help=(()=>{let e=function(e){if(this.members=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.docString=``,e.prototype.type=``,e.prototype.name=``,e.prototype.value=``,e.prototype.members=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.docString!=null&&O.hasOwnProperty.call(e,`docString`)&&e.docString!==``&&t.uint32(26).string(e.docString),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(34).string(e.type),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(50).string(e.name),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(58).string(e.value),e.members!=null&&e.members.length)for(let r=0;r<e.members.length;++r)z.Member.encode(e.members[r],t.uint32(66).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Help,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 3:if(a!==2)break;(s=e.stringVerify()).length?o.docString=s:delete o.docString;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.value=s:delete o.value;continue;case 8:if(a!==2)break;o.members&&o.members.length||(o.members=[]),o.members.push(z.Member.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Help)return e;if(!D.isObject(e))throw j(`.Help: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Help;if(e.docString!=null&&(typeof e.docString!=`string`||e.docString.length)&&(n.docString=M(e.docString)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=M(e.value)),e.members){if(!I.isArray(e.members))throw j(`.Help.members: array expected`);n.members=I(e.members.length);for(let r=0;r<e.members.length;++r){if(!D.isObject(e.members[r]))throw j(`.Help.members: object expected`);n.members[r]=z.Member.fromObject(e.members[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.members=[]),t.defaults&&(r.docString=``,r.type=``,r.name=``,r.value=``),e.docString!=null&&O.hasOwnProperty.call(e,`docString`)&&(r.docString=e.docString),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.members&&e.members.length){r.members=I(e.members.length);for(let i=0;i<e.members.length;++i)r.members[i]=z.Member.toObject(e.members[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Help`},e})(),z.Member=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.name=``,e.prototype.type=``,e.prototype.value=null,e.prototype.docString=null;let t;return O.defineProperty(e.prototype,`contents`,{get:D.oneOfGetter(t=[`value`,`docString`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(18).string(e.type),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&t.uint32(26).string(e.value),e.docString!=null&&O.hasOwnProperty.call(e,`docString`)&&t.uint32(34).string(e.docString),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Member,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 2:if(a!==2)break;
1(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 3:if(a!==2)break;o.value=e.stringVerify(),o.contents=`value`;continue;case 4:if(a!==2)break;o.docString=e.stringVerify(),o.contents=`docString`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Member)return e;if(!D.isObject(e))throw j(`.Member: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Member;return e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.value!=null&&(n.value=M(e.value)),e.docString!=null&&(n.docString=M(e.docString)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.type=``),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value,t.oneofs&&(r.contents=`value`)),e.docString!=null&&O.hasOwnProperty.call(e,`docString`)&&(r.docString=e.docString,t.oneofs&&(r.contents=`docString`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Member`},e})(),z.Html=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.body=``,e.prototype.unsafeAllowJavascript=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.unsafeAllowJavascript!=null&&O.hasOwnProperty.call(e,`unsafeAllowJavascript`)&&e.unsafeAllowJavascript!==!1&&t.uint32(16).bool(e.unsafeAllowJavascript),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Html,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 2:if(a!==0)break;(s=e.bool())?o.unsafeAllowJavascript=s:delete o.unsafeAllowJavascript;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Html)return e;if(!D.isObject(e))throw j(`.Html: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Html;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.unsafeAllowJavascript!=null&&e.unsafeAllowJavascript&&(n.unsafeAllowJavascript=N(e.unsafeAllowJavascript)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.unsafeAllowJavascript=!1),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.unsafeAllowJavascript!=null&&O.hasOwnProperty.call(e,`unsafeAllowJavascript`)&&(r.unsafeAllowJavascript=e.unsafeAllowJavascript),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Html`},e})(),z.IFrame=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.src=null,e.prototype.srcdoc=null,e.prototype.scrolling=!1,e.prototype.tabIndex=null;let t;return O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=[`src`,`srcdoc`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_tabIndex`,{get:D.oneOfGetter(t=[`tabIndex`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.src!=null&&O.hasOwnProperty.call(e,`src`)&&t.uint32(10).string(e.src),e.srcdoc!=null&&O.hasOwnProperty.call(e,`srcdoc`)&&t.uint32(18).string(e.srcdoc),e.scrolling!=null&&O.hasOwnProperty.call(e,`scrolling`)&&e.scrolling!==!1&&t.uint32(56).bool(e.scrolling),e.tabIndex!=null&&O.hasOwnProperty.call(e,`tabIndex`)&&t.uint32(64).int32(e.tabIndex),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.IFrame,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.src=e.stringVerify(),o.type=`src`;continue;case 2:if(a!==2)break;o.srcdoc=e.stringVerify(),o.type=`srcdoc`;continue;case 7:if(a!==0)break;(s=e.bool())?o.scrolling=s:delete o.scrolling;continue;case 8:if(a!==0)break;o.tabIndex=e.int32(),o._tabIndex=`tabIndex`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.IFrame)return e;if(!D.isObject(e))throw j(`.IFrame: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.IFrame;return e.src!=null&&(n.src=M(e.src)),e.srcdoc!=null&&(n.srcdoc=M(e.srcdoc)),e.scrolling!=null&&e.scrolling&&(n.scrolling=N(e.scrolling)),e.tabIndex!=null&&(n.tabIndex=e.tabIndex|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.scrolling=!1),e.src!=null&&O.hasOwnProperty.call(e,`src`)&&(r.src=e.src,t.oneofs&&(r.type=`src`)),e.srcdoc!=null&&O.hasOwnProperty.call(e,`srcdoc`)&&(r.srcdoc=e.srcdoc,t.oneofs&&(r.type=`srcdoc`)),e.scrolling!=null&&O.hasOwnProperty.call(e,`scrolling`)&&(r.scrolling=e.scrolling),e.tabIndex!=null&&O.hasOwnProperty.call(e,`tabIndex`)&&(r.tabIndex=e.tabIndex),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/IFrame`},e})(),z.Image=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.url=``,e.prototype.caption=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.caption!=null&&O.hasOwnProperty.call(e,`caption`)&&e.caption!==``&&t.uint32(18).string(e.caption),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(26).string(e.url),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Image,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 3:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.caption=s:delete o.caption;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Image)return e;if(!D.isObject(e))throw j(`.Image: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Image;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.caption!=null&&(typeof e.caption!=`
1string`||e.caption.length)&&(n.caption=M(e.caption)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.caption=``,r.url=``),e.caption!=null&&O.hasOwnProperty.call(e,`caption`)&&(r.caption=e.caption),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Image`},e})(),z.ImageList=(()=>{let e=function(e){if(this.imgs=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.imgs=D.emptyArray,e.prototype.link=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.imgs!=null&&e.imgs.length)for(let r=0;r<e.imgs.length;++r)z.Image.encode(e.imgs[r],t.uint32(10).fork(),n+1).ldelim();if(e.link!=null&&O.hasOwnProperty.call(e,`link`)&&e.link!==``&&t.uint32(26).string(e.link),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ImageList,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.imgs&&o.imgs.length||(o.imgs=[]),o.imgs.push(z.Image.decode(e,e.uint32(),k,r+1));continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.link=s:delete o.link;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ImageList)return e;if(!D.isObject(e))throw j(`.ImageList: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ImageList;if(e.imgs){if(!I.isArray(e.imgs))throw j(`.ImageList.imgs: array expected`);n.imgs=I(e.imgs.length);for(let r=0;r<e.imgs.length;++r){if(!D.isObject(e.imgs[r]))throw j(`.ImageList.imgs: object expected`);n.imgs[r]=z.Image.fromObject(e.imgs[r],t+1)}}return e.link!=null&&(typeof e.link!=`string`||e.link.length)&&(n.link=M(e.link)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.imgs=[]),t.defaults&&(r.link=``),e.imgs&&e.imgs.length){r.imgs=I(e.imgs.length);for(let i=0;i<e.imgs.length;++i)r.imgs[i]=z.Image.toObject(e.imgs[i],t,n+1)}return e.link!=null&&O.hasOwnProperty.call(e,`link`)&&(r.link=e.link),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ImageList`},e})(),z.Json=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.body=``,e.prototype.expanded=!1,e.prototype.maxExpandDepth=null;let t;return O.defineProperty(e.prototype,`_maxExpandDepth`,{get:D.oneOfGetter(t=[`maxExpandDepth`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.expanded!=null&&O.hasOwnProperty.call(e,`expanded`)&&e.expanded!==!1&&t.uint32(16).bool(e.expanded),e.maxExpandDepth!=null&&O.hasOwnProperty.call(e,`maxExpandDepth`)&&t.uint32(24).int32(e.maxExpandDepth),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Json,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 2:if(a!==0)break;(s=e.bool())?o.expanded=s:delete o.expanded;continue;case 3:if(a!==0)break;o.maxExpandDepth=e.int32(),o._maxExpandDepth=`maxExpandDepth`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Json)return e;if(!D.isObject(e))throw j(`.Json: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Json;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.expanded!=null&&e.expanded&&(n.expanded=N(e.expanded)),e.maxExpandDepth!=null&&(n.maxExpandDepth=e.maxExpandDepth|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.expanded=!1),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.expanded!=null&&O.hasOwnProperty.call(e,`expanded`)&&(r.expanded=e.expanded),e.maxExpandDepth!=null&&O.hasOwnProperty.call(e,`maxExpandDepth`)&&(r.maxExpandDepth=e.maxExpandDepth),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Json`},e})(),z.LinkButton=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.id=``,e.prototype.label=``,e.prototype.help=``,e.prototype.url=``,e.prototype.disabled=!1,e.prototype.useContainerWidth=!1,e.prototype.type=``,e.prototype.icon=``,e.prototype.shortcut=``,e.prototype.iconPosition=0,e.prototype.ignoreRerun=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(50).string(e.url),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(56).bool(e.disabled),e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&e.useContainerWidth!==!1&&t.uint32(64).bool(e.useContainerWidth),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(74).string(e.type),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(82).string(e.icon),e.shortcut!=null&&O.hasOwnProperty.call(e,`shortcut`)&&e.shortcut!==``&&t.uint32(90).string(e.shortcut),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(96).int32(e.iconPosition),e.ignoreRerun!=null&&O.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(104).bool(e.ignoreRerun),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.LinkButton,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 7:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 8:if(a!==0)break;(s=e.bool())?o.useContainerWidth=s:delete o.useContainerWidth;continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.shortcut=s:delete o.shortcut;continue;case 12:if(a!==0)break;(s=e.int32())?o.iconPosition=s:delete o.iconPosition;continue;case 13:if(a!==0)break;(s=e.bool())?o.ignoreRerun=s:delete o.ignoreRerun;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.LinkButton)return e;if(!D.isObject(e))throw j(`.LinkButton: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.LinkButton;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.useContainerWidth!=null&&e.useContainerWidth&&(n.useContainerWidth=N(e.useContainerWidth)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.shortcut!=null&&(typeof e.shortcut!=`string`||e.shortcut.length)&&(n.shortcut=M(e.shortcut)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||z.streamlit.ButtonLikeIconPosition[e.iconPosition]!==0))switch(e.iconPosition){case`LEFT`:case 0:n.iconPosition=0;break;case`RIGHT`:case 1:n.iconPosition=1;break;default:typeof e.iconPosition==`number`&&(e.iconPosition|0)===e.iconPosition&&(n.iconPosition=e.iconPosition)}return e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=N(e.ignoreRerun)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.help=``,r.url=``,r.disabled=!1,r.useContainerWidth=!1,r.type=``,r.icon=``,r.shortcut=``,r.iconPosition=t.enums===M?`LEFT`:0,r.ignoreRerun=!1),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.shortcut!=null&&O.hasOwnProperty.call(e,`shortcut`)&&(r.shortcut=e.shortcut),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===M?z.streamlit.ButtonLikeIconPosition[e.iconPosition]===k?e.iconPosition:z.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),e.ignoreRerun!=null&&O.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/LinkButton`},e})();var ue=z.Markdown=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.body=``,e.prototype.allowHtml=!1,e.prototype.elementType=0,e.prototype.help=``,e.prototype.unterminatedParsing=!1,e.prototype.hideAnchors=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.allowHtml!=null&&O.hasOwnProperty.call(e,`allowHtml`)&&e.allowHtml!==!1&&t.uint32(16).bool(e.allowHtml),e.elementType!=null&&O.hasOwnProperty.call(e,`elementType`)&&e.elementType!==0&&t.uint32(32).int32(e.elementType),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.unterminatedParsing!=null&&O.hasOwnProperty.call(e,`unterminatedParsing`)&&e.unterminatedParsing!==!1&&t.uint32(48).bool(e.unterminatedParsing),e.hideAnchors!=null&&O.hasOwnProperty.call(e,`hideAnchors`)&&e.hideAnchors!==!1&&t.uint32(56).bool(e.hideAnchors),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Markdown,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 2:if(a!==0)break;(s=e.bool())?o.allowHtml=s:delete o.allowHtml;continue;case 4:if(a!==0)break;(s=e.int32())?o.elementType=s:delete o.elementType;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 6:if(a!==0)break;(s=e.bool())?o.unterminatedParsing=s:delete o.unterminatedParsing;continue;case 7:if(a!==0)break;(s=e.bool())?o.hideAnchors=s:delete o.hideAnchors;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Markdown)return e;if(!D.isObject(e))throw j(`.Markdown: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Markdown;if(e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.allowHtml!=null&&e.allowHtml&&(n.allowHtml=N(e.allowHtml)),e.elementType!==0&&(typeof e.elementType!=`string`||z.Markdown.Type[e.elementType]!==0))switch(e.elementType){case`UNSPECIFIED`:case 0:n.elementType=0;break;case`NATIVE`:case 1:n.elementType=1;break;case`CAPTION`:case 2:n.elementType=2;break;case`CODE`:case 3:n.elementType=3;break;case`LATEX`:case 4:n.elementType=4;break;case`DIVIDER`:case 5:n.elementType=5;break;default:typeof e.elementType==`number`&&(e.elementType|0)===e.elementType&&(n.elementType=e.elementType)}return e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.unterminatedParsing!=null&&e.unterminatedParsing&&(n.unterminatedParsing=N(e.unterminatedParsing)),e.hideAnchors!=null&&e.hideAnchors&&(n.hideAnchors=N(e.hideAnchors)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.allowHtml=!1,r.elementType=t.enums===M?`UNSPECIFIED`:0,r.help=``,r.unterminatedParsing=!1,r.hideAnchors=!1),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.allowHtml!=null&&O.hasOwnProperty.call(e,`allowHtml`)&&(r.allowHtml=e.allowHtml),e.elementType!=null&&O.hasOwnProperty.call(e,`elementType`)&&(r.elementType=t.enums===M?z.Markdown.Type[e.elementType]===k?e.elementType:z.Markdown.Type[e.elementType]:e.elementType),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.unterminatedParsing!=null&&O.hasOwnProperty.call(e,`unterminatedParsing`)&&(r.unterminatedParsing=e.unterminatedParsing),e.hideAnchors!=null&&O.hasOwnProperty.call(e,`hideAnchors`)&&(r.hideAnchors=e.hideAnchors),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Markdown`},e.Type=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`UNSPECIFIED`]=0,t[e[1]=`NATIVE`]=1,t[e[2]=`CAPTION`]=2,t[e[3]=`CODE`]=3,t[e[4]=`LATEX`]=4,t[e[5]=`DIVIDER`]=5,t})(),e})();z.MenuButton=(()=>{let e=function(e){if(this.options=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.id=``,e.prototype.label=``,e.prototype.options=D.emptyArray,e.prototype.help=``,e.prototype.type=``,e.prototype.disabled=!1,e.prototype.icon=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.options!=null&&e.options.length)for(let n=0;n<e.options.length;++n)t.uint32(26).string(e.options[n]);if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(42).string(e.type),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(48).bool(e.disabled),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(58).string(e.icon),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.MenuButton,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.options&&o.options.length||(o.options=[]),o.options.push(e.stringVerify());continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;
1(s=e.stringVerify()).length?o.type=s:delete o.type;continue;case 6:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.MenuButton)return e;if(!D.isObject(e))throw j(`.MenuButton: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.MenuButton;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.options){if(!I.isArray(e.options))throw j(`.MenuButton.options: array expected`);n.options=I(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=M(e.options[t])}return e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=M(e.type)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.options=[]),t.defaults&&(r.id=``,r.label=``,r.help=``,r.type=``,r.disabled=!1,r.icon=``),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.options&&e.options.length){r.options=I(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}return e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/MenuButton`},e})();var de=z.Metric=(()=>{let e=function(e){if(this.chartData=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.label=``,e.prototype.body=``,e.prototype.delta=``,e.prototype.direction=0,e.prototype.color=0,e.prototype.help=``,e.prototype.labelVisibility=null,e.prototype.showBorder=!1,e.prototype.chartData=D.emptyArray,e.prototype.chartType=0,e.prototype.format=``,e.prototype.deltaDescription=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(18).string(e.body),e.delta!=null&&O.hasOwnProperty.call(e,`delta`)&&e.delta!==``&&t.uint32(26).string(e.delta),e.direction!=null&&O.hasOwnProperty.call(e,`direction`)&&e.direction!==0&&t.uint32(32).int32(e.direction),e.color!=null&&O.hasOwnProperty.call(e,`color`)&&e.color!==0&&t.uint32(40).int32(e.color),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(58).fork(),n+1).ldelim(),e.showBorder!=null&&O.hasOwnProperty.call(e,`showBorder`)&&e.showBorder!==!1&&t.uint32(64).bool(e.showBorder),e.chartData!=null&&e.chartData.length&&t.uint32(74).doubles(e.chartData),e.chartType!=null&&O.hasOwnProperty.call(e,`chartType`)&&e.chartType!==0&&t.uint32(80).int32(e.chartType),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(90).string(e.format),e.deltaDescription!=null&&O.hasOwnProperty.call(e,`deltaDescription`)&&e.deltaDescription!==``&&t.uint32(98).string(e.deltaDescription),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Metric,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.delta=s:delete o.delta;continue;case 4:if(a!==0)break;(s=e.int32())?o.direction=s:delete o.direction;continue;case 5:if(a!==0)break;(s=e.int32())?o.color=s:delete o.color;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 7:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 8:if(a!==0)break;(s=e.bool())?o.showBorder=s:delete o.showBorder;continue;
1case 9:if(a===2){o.chartData&&o.chartData.length||(o.chartData=[]),e.doubles(o.chartData);continue}if(a!==1)break;o.chartData&&o.chartData.length||(o.chartData=[]),o.chartData.push(e.double());continue;case 10:if(a!==0)break;(s=e.int32())?o.chartType=s:delete o.chartType;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.format=s:delete o.format;continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.deltaDescription=s:delete o.deltaDescription;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Metric)return e;if(!D.isObject(e))throw j(`.Metric: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Metric;if(e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.delta!=null&&(typeof e.delta!=`string`||e.delta.length)&&(n.delta=M(e.delta)),e.direction!==0&&(typeof e.direction!=`string`||z.Metric.MetricDirection[e.direction]!==0))switch(e.direction){case`DOWN`:case 0:n.direction=0;break;case`UP`:case 1:n.direction=1;break;case`NONE`:case 2:n.direction=2;break;default:typeof e.direction==`number`&&(e.direction|0)===e.direction&&(n.direction=e.direction)}if(e.color!==0&&(typeof e.color!=`string`||z.Metric.MetricColor[e.color]!==0))switch(e.color){case`RED`:case 0:n.color=0;break;case`GREEN`:case 1:n.color=1;break;case`GRAY`:case 2:n.color=2;break;case`ORANGE`:case 3:n.color=3;break;case`YELLOW`:case 4:n.color=4;break;case`BLUE`:case 5:n.color=5;break;case`VIOLET`:case 6:n.color=6;break;case`PRIMARY`:case 7:n.color=7;break;default:typeof e.color==`number`&&(e.color|0)===e.color&&(n.color=e.color)}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.Metric.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.showBorder!=null&&e.showBorder&&(n.showBorder=N(e.showBorder)),e.chartData){if(!I.isArray(e.chartData))throw j(`.Metric.chartData: array expected`);n.chartData=I(e.chartData.length);for(let t=0;t<e.chartData.length;++t)n.chartData[t]=P(e.chartData[t])}if(e.chartType!==0&&(typeof e.chartType!=`string`||z.Metric.ChartType[e.chartType]!==0))switch(e.chartType){case`LINE`:case 0:n.chartType=0;break;case`BAR`:case 1:n.chartType=1;break;case`AREA`:case 2:n.chartType=2;break;default:typeof e.chartType==`number`&&(e.chartType|0)===e.chartType&&(n.chartType=e.chartType)}return e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=M(e.format)),e.deltaDescription!=null&&(typeof e.deltaDescription!=`string`||e.deltaDescription.length)&&(n.deltaDescription=M(e.deltaDescription)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.chartData=[]),t.defaults&&(r.label=``,r.body=``,r.delta=``,r.direction=t.enums===M?`DOWN`:0,r.color=t.enums===M?`RED`:0,r.help=``,r.labelVisibility=null,r.showBorder=!1,r.chartType=t.enums===M?`LINE`:0,r.format=``,r.deltaDescription=``),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.delta!=null&&O.hasOwnProperty.call(e,`delta`)&&(r.delta=e.delta),e.direction!=null&&O.hasOwnProperty.call(e,`direction`)&&(r.direction=t.enums===M?z.Metric.MetricDirection[e.direction]===k?e.direction:z.Metric.MetricDirection[e.direction]:e.direction),e.color!=null&&O.hasOwnProperty.call(e,`color`)&&(r.color=t.enums===M?z.Metric.MetricColor[e.color]===k?e.color:z.Metric.MetricColor[e.color]:e.color),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.showBorder!=null&&O.hasOwnProperty.call(e,`showBorder`)&&(r.showBorder=e.showBorder),e.chartData&&e.chartData.length){r.chartData=I(e.chartData.length);for(let n=0;n<e.chartData.length;++n)r.chartData[n]=t.json&&!F(e.chartData[n])?M(e.chartData[n]):e.chartData[n]}return e.chartType!=null&&O.hasOwnProperty.call(e,`chartType`)&&(r.chartType=t.enums===M?z.Metric.ChartType[e.chartType]===k?e.chartType:z.Metric.ChartType[e.chartType]:e.chartType),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.deltaDescription!=null&&O.hasOwnProperty.call(e,`deltaDescription`)&&(r.deltaDescription=e.deltaDescription),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Metric`},e.MetricDirection=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`DOWN`]=0,t[e[1]=`UP`]=1,t[e[2]=`NONE`]=2,t})(),e.MetricColor=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`RED`]=0,t[e[1]=`GREEN`]=1,t[e[2]=`GRAY`]=2,t[e[3]=`ORANGE`]=3,t[e[4]=`YELLOW`]=4,t[e[5]=`BLUE`]=5,t[e[6]=`VIOLET`]=6,t[e[7]=`PRIMARY`]=7,t})(),e.ChartType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`LINE`]=0,t[e[1]=`BAR`]=1,t[e[2]=`AREA`]=2,t})(),e})();z.MultiSelect=(()=>{let e=function(e){if(this.default=[],this.options=[],this.rawValues=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=D.emptyArray,e.prototype.options=D.emptyArray,e.prototype.help=``,e.prototype.formId=``,e.prototype.rawValues=D.emptyArray,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.maxSelections=0,e.prototype.placeholder=``,e.prototype.acceptNewOptions=null,e.prototype.queryParamKey=null,e.prototype.filterMode=0;let t;return O.defineProperty(e.prototype,`_acceptNewOptions`,{get:D.oneOfGetter(t=[`acceptNewOptions`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&e.default.length&&t.uint32(26).int32s(e.default),e.options!=null&&e.options.length)for(let n=0;n<e.options.length;++n)t.uint32(34).string(e.options[n]);if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(82).fork(),n+1).ldelim(),e.maxSelections!=null&&O.hasOwnProperty.call(e,`maxSelections`)&&e.maxSelections!==0&&t.uint32(88).int32(e.maxSelections),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(98).string(e.placeholder),e.acceptNewOptions!=null&&O.hasOwnProperty.call(e,`acceptNewOptions`)&&t.uint32(104).bool(e.acceptNewOptions),e.rawValues!=null&&e.rawValues.length)for(let n=0;n<e.rawValues.length;++n)t.uint32(114).string(e.rawValues[n]);if(e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.filterMode!=null&&O.hasOwnProperty.call(e,`filterMode`)&&e.filterMode!==0&&t.uint32(128).int32(e.filterMode),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.MultiSelect,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a===2){o.default&&o.default.length||(o.default=[]),e.int32s(o.default);continue}if(a!==0)break;o.default&&o.default.length||(o.default=[]),o.default.push(e.int32());continue;case 4:if(a!==2)break;o.options&&o.options.length||(o.options=[]),o.options.push(e.stringVerify());continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 14:if(a!==2)break;o.rawValues&&o.rawValues.length||(o.rawValues=[]),o.rawValues.push(e.stringVerify());continue;case 8:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;
1case 9:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 10:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 11:if(a!==0)break;(s=e.int32())?o.maxSelections=s:delete o.maxSelections;continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.placeholder=s:delete o.placeholder;continue;case 13:if(a!==0)break;o.acceptNewOptions=e.bool(),o._acceptNewOptions=`acceptNewOptions`;continue;case 15:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue;case 16:if(a!==0)break;(s=e.int32())?o.filterMode=s:delete o.filterMode;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.MultiSelect)return e;if(!D.isObject(e))throw j(`.MultiSelect: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.MultiSelect;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default){if(!I.isArray(e.default))throw j(`.MultiSelect.default: array expected`);n.default=I(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=e.default[t]|0}if(e.options){if(!I.isArray(e.options))throw j(`.MultiSelect.options: array expected`);n.options=I(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=M(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.rawValues){if(!I.isArray(e.rawValues))throw j(`.MultiSelect.rawValues: array expected`);n.rawValues=I(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)n.rawValues[t]=M(e.rawValues[t])}if(e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.MultiSelect.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.maxSelections!=null&&P(e.maxSelections)!==0&&(n.maxSelections=e.maxSelections|0),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=M(e.placeholder)),e.acceptNewOptions!=null&&(n.acceptNewOptions=N(e.acceptNewOptions)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),e.filterMode!==0&&(typeof e.filterMode!=`string`||z.streamlit.SelectWidgetFilterMode[e.filterMode]!==0))switch(e.filterMode){case`FILTER_MODE_FUZZY`:case 0:n.filterMode=0;break;case`FILTER_MODE_CONTAINS`:case 1:n.filterMode=1;break;case`FILTER_MODE_PREFIX`:case 2:n.filterMode=2;break;case`FILTER_MODE_NONE`:case 3:n.filterMode=3;break;default:typeof e.filterMode==`number`&&(e.filterMode|0)===e.filterMode&&(n.filterMode=e.filterMode)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.default=[],r.options=[],r.rawValues=[]),t.defaults&&(r.id=``,r.label=``,r.help=``,r.formId=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,r.maxSelections=0,r.placeholder=``,r.filterMode=t.enums===M?`FILTER_MODE_FUZZY`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default&&e.default.length){r.default=I(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.options&&e.options.length){r.options=I(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.maxSelections!=null&&O.hasOwnProperty.call(e,`maxSelections`)&&(r.maxSelections=e.maxSelections),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.acceptNewOptions!=null&&O.hasOwnProperty.call(e,`acceptNewOptions`)&&(r.acceptNewOptions=e.acceptNewOptions),e.rawValues&&e.rawValues.length){r.rawValues=I(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)r.rawValues[t]=e.rawValues[t]}return e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.filterMode!=null&&O.hasOwnProperty.call(e,`filterMode`)&&(r.filterMode=t.enums===M?z.streamlit.SelectWidgetFilterMode[e.filterMode]===k?e.filterMode:z.
1streamlit.SelectWidgetFilterMode[e.filterMode]:e.filterMode),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/MultiSelect`},e})();var fe=z.NumberInput=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.formId=``,e.prototype.format=``,e.prototype.hasMin=!1,e.prototype.hasMax=!1,e.prototype.dataType=0,e.prototype.default=null,e.prototype.step=0,e.prototype.min=0,e.prototype.max=0,e.prototype.help=``,e.prototype.value=null,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.placeholder=``,e.prototype.icon=``,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_value`,{get:D.oneOfGetter(t=[`value`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(26).string(e.formId),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(66).string(e.format),e.hasMin!=null&&O.hasOwnProperty.call(e,`hasMin`)&&e.hasMin!==!1&&t.uint32(88).bool(e.hasMin),e.hasMax!=null&&O.hasOwnProperty.call(e,`hasMax`)&&e.hasMax!==!1&&t.uint32(96).bool(e.hasMax),e.dataType!=null&&O.hasOwnProperty.call(e,`dataType`)&&e.dataType!==0&&t.uint32(104).int32(e.dataType),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(113).double(e.default),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&!O.is(e.step,0)&&t.uint32(121).double(e.step),e.min!=null&&O.hasOwnProperty.call(e,`min`)&&!O.is(e.min,0)&&t.uint32(129).double(e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&!O.is(e.max,0)&&t.uint32(137).double(e.max),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(146).string(e.help),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&t.uint32(153).double(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(160).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(168).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(178).fork(),n+1).ldelim(),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(186).string(e.placeholder),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(194).string(e.icon),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(202).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.NumberInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 8:if(a!==2)break;(s=e.stringVerify()).length?o.format=s:delete o.format;continue;case 11:if(a!==0)break;(s=e.bool())?o.hasMin=s:delete o.hasMin;continue;case 12:if(a!==0)break;(s=e.bool())?o.hasMax=s:delete o.hasMax;continue;case 13:if(a!==0)break;(s=e.int32())?o.dataType=s:delete o.dataType;continue;case 14:if(a!==1)break;o.default=e.double(),o._default=`default`;continue;case 15:if(a!==1)break;O.is(s=e.double(),0)?delete o.step:o.step=s;continue;case 16:if(a!==1)break;O.is(s=e.double(),0)?delete o.min:o.min=s;continue;case 17:if(a!==1)break;O.is(s=e.double(),0)?delete o.max:o.max=s;continue;case 18:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 19:if(a!==1)break;o.value=e.double(),o._value=`value`;continue;case 20:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 21:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 22:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 23:if(a!==2)break;(s=e.stringVerify()).length?o.placeholder=s:delete o.placeholder;continue;case 24:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 25:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.NumberInput)return e;if(!D.isObject(e))throw j(`.NumberInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.NumberInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=M(e.format)),e.hasMin!=null&&e.hasMin&&(n.hasMin=N(e.hasMin)),e.hasMax!=null&&e.hasMax&&(n.hasMax=N(e.hasMax)),e.dataType!==0&&(typeof e.dataType!=`string`||z.NumberInput.DataType[e.dataType]!==0))switch(e.dataType){case`INT`:case 0:n.dataType=0;break;case`FLOAT`:case 1:n.dataType=1;break;default:typeof e.dataType==`number`&&(e.dataType|0)===e.dataType&&(n.dataType=e.dataType)}if(e.default!=null&&(n.default=P(e.default)),e.step!=null&&(O.is(P(e.step),0)||(n.step=P(e.step))),e.min!=null&&(O.is(P(e.min),0)||(n.min=P(e.min))),e.max!=null&&(O.is(P(e.max),0)||(n.max=P(e.max))),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.value!=null&&(n.value=P(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.NumberInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=M(e.placeholder)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.formId=``,r.format=``,r.hasMin=!1,r.hasMax=!1,r.dataType=t.enums===M?`INT`:0,r.step=0,r.min=0,r.max=0,r.help=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,r.placeholder=``,r.icon=``),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.hasMin!=null&&O.hasOwnProperty.call(e,`hasMin`)&&(r.hasMin=e.hasMin),e.hasMax!=null&&O.hasOwnProperty.call(e,`hasMax`)&&(r.hasMax=e.hasMax),e.dataType!=null&&O.hasOwnProperty.call(e,`dataType`)&&(r.dataType=t.enums===M?z.NumberInput.DataType[e.dataType]===k?e.dataType:z.NumberInput.DataType[e.dataType]:e.dataType),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=t.json&&!F(e.default)?M(e.default):e.default),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&(r.step=t.json&&!F(e.step)?M(e.step):e.step),e.min!=null&&O.hasOwnProperty.call(e,`min`)&&(r.min=t.json&&!F(e.min)?M(e.min):e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&(r.max=t.json&&!F(e.max)?M(e.max):e.max),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=t.json&&!F(e.value)?M(e.value):e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/NumberInput`},e.DataType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`INT`]=0,t[e[1]=`FLOAT`]=1,t})(),e})();z.PageLink=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.page=``,e.prototype.label=``,e.prototype.icon=``,e.prototype.pageScriptHash=``,e.prototype.help=``,e.prototype.useContainerWidth=null,e.prototype.disabled=!1,e.prototype.external=!1,e.prototype.queryString=``,e.prototype.iconPosition=0;let t;return O.defineProperty(e.prototype,`_useContainerWidth`,{get:D.oneOfGetter(t=[`useContainerWidth`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.page!=null&&O.hasOwnProperty.call(e,`page`)&&e.page!==``&&t.uint32(10).string(e.page),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(34).string(e.pageScriptHash),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&t.uint32(48).bool(e.useContainerWidth),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(56).bool(e.disabled),e.external!=null&&O.hasOwnProperty.call(e,`external`)&&e.external!==!1&&t.uint32(64).bool(e.external),e.queryString!=null&&O.hasOwnProperty.call(e,`queryString`)&&e.queryString!==``&&t.uint32(74).string(e.queryString),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(80).int32(e.iconPosition),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageLink,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.page=s:delete o.page;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.pageScriptHash=s:delete o.pageScriptHash;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 6:if(a!==0)break;o.useContainerWidth=e.bool(),o._useContainerWidth=`useContainerWidth`;continue;case 7:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 8:if(a!==0)break;(s=e.bool())?o.external=s:delete o.external;continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.queryString=s:delete o.queryString;continue;case 10:if(a!==0)break;(s=e.int32())?o.iconPosition=s:delete o.iconPosition;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageLink)return e;if(!D.isObject(e))throw j(`.PageLink: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageLink;if(e.page!=null&&(typeof e.page!=`string`||e.page.length)&&(n.page=M(e.page)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=M(e.pageScriptHash)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.useContainerWidth!=null&&(n.useContainerWidth=N(e.useContainerWidth)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.external!=null&&e.external&&(n.external=N(e.external)),e.queryString!=null&&(typeof e.queryString!=`string`||e.queryString.length)&&(n.queryString=M(e.queryString)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||z.streamlit.ButtonLikeIconPosition[e.iconPosition]!==0))switch(e.iconPosition){case`LEFT`:case 0:n.iconPosition=0;break;case`RIGHT`:case 1:n.iconPosition=1;break;default:typeof e.iconPosition==`number`&&(e.iconPosition|0)===e.iconPosition&&(n.iconPosition=e.iconPosition)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.page=``,r.label=``,r.icon=``,r.pageScriptHash=``,r.help=``,r.disabled=!1,r.external=!1,r.queryString=``,r.iconPosition=t.enums===M?`LEFT`:0),e.page!=null&&O.hasOwnProperty.call(e,`page`)&&(r.page=e.page),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.external!=null&&O.hasOwnProperty.call(e,`external`)&&(r.external=e.external),e.queryString!=null&&O.hasOwnProperty.call(e,`queryString`)&&(r.queryString=e.queryString),e.iconPosition!=null&&O.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===M?z.streamlit.ButtonLikeIconPosition[e.iconPosition]===k?e.iconPosition:z.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageLink`},e})(),z.Pagination=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.numPages=0,e.prototype.default=0,e.prototype.maxVisiblePages=null,e.prototype.disabled=!1,e.prototype.formId=``,e.prototype.value=0,e.prototype.setValue=!1,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_maxVisiblePages`,{get:D.oneOfGetter(t=[`maxVisiblePages`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.numPages!=null&&O.hasOwnProperty.call(e,`numPages`)&&e.numPages!==0&&t.uint32(16).uint32(e.numPages),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&e.default!==0&&t.uint32(24).uint32(e.default),e.maxVisiblePages!=null&&O.hasOwnProperty.call(e,`maxVisiblePages`)&&t.uint32(32).uint32(e.maxVisiblePages),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==0&&t.uint32(56).uint32(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(74).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Pagination,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==0)break;(s=e.uint32())?o.numPages=s:delete o.numPages;continue;case 3:if(a!==0)break;(s=e.uint32())?o.default=s:delete o.default;continue;case 4:if(a!==0)break;o.maxVisiblePages=e.uint32(),o._maxVisiblePages=`maxVisiblePages`;continue;case 5:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 7:if(a!==0)break;(s=e.uint32())?o.value=s:delete o.value;continue;case 8:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;
1case 9:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Pagination)return e;if(!D.isObject(e))throw j(`.Pagination: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Pagination;return e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.numPages!=null&&P(e.numPages)!==0&&(n.numPages=e.numPages>>>0),e.default!=null&&P(e.default)!==0&&(n.default=e.default>>>0),e.maxVisiblePages!=null&&(n.maxVisiblePages=e.maxVisiblePages>>>0),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&P(e.value)!==0&&(n.value=e.value>>>0),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.numPages=0,r.default=0,r.disabled=!1,r.formId=``,r.value=0,r.setValue=!1),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.numPages!=null&&O.hasOwnProperty.call(e,`numPages`)&&(r.numPages=e.numPages),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.maxVisiblePages!=null&&O.hasOwnProperty.call(e,`maxVisiblePages`)&&(r.maxVisiblePages=e.maxVisiblePages),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Pagination`},e})();var pe=z.PlotlyChart=(()=>{let e=function(e){if(this.selectionMode=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.theme=``,e.prototype.id=``,e.prototype.selectionMode=D.emptyArray,e.prototype.formId=``,e.prototype.spec=``,e.prototype.config=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.theme!=null&&O.hasOwnProperty.call(e,`theme`)&&e.theme!==``&&t.uint32(50).string(e.theme),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(58).string(e.id),e.selectionMode!=null&&e.selectionMode.length&&t.uint32(66).int32s(e.selectionMode),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(74).string(e.formId),e.spec!=null&&O.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(82).string(e.spec),e.config!=null&&O.hasOwnProperty.call(e,`config`)&&e.config!==``&&t.uint32(90).string(e.config),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PlotlyChart,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 6:if(a!==2)break;(s=e.stringVerify()).length?o.theme=s:delete o.theme;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 8:if(a===2){o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),e.int32s(o.selectionMode);continue}if(a!==0)break;o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),o.selectionMode.push(e.int32());continue;case 9:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.spec=s:delete o.spec;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.config=s:delete o.config;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o}
1,e.fromObject=function(e,t){if(e instanceof z.PlotlyChart)return e;if(!D.isObject(e))throw j(`.PlotlyChart: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PlotlyChart;if(e.theme!=null&&(typeof e.theme!=`string`||e.theme.length)&&(n.theme=M(e.theme)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.selectionMode){if(!I.isArray(e.selectionMode))throw j(`.PlotlyChart.selectionMode: array expected`);n.selectionMode=[];for(let t=0;t<e.selectionMode.length;++t)switch(e.selectionMode[t]){case`POINTS`:case 0:n.selectionMode[n.selectionMode.length]=0;break;case`BOX`:case 1:n.selectionMode[n.selectionMode.length]=1;break;case`LASSO`:case 2:n.selectionMode[n.selectionMode.length]=2;break;default:typeof e.selectionMode[t]==`number`&&(e.selectionMode[t]|0)===e.selectionMode[t]&&(n.selectionMode[n.selectionMode.length]=e.selectionMode[t])}}return e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=M(e.spec)),e.config!=null&&(typeof e.config!=`string`||e.config.length)&&(n.config=M(e.config)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.selectionMode=[]),t.defaults&&(r.theme=``,r.id=``,r.formId=``,r.spec=``,r.config=``),e.theme!=null&&O.hasOwnProperty.call(e,`theme`)&&(r.theme=e.theme),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.selectionMode&&e.selectionMode.length){r.selectionMode=I(e.selectionMode.length);for(let n=0;n<e.selectionMode.length;
1++n)r.selectionMode[n]=t.enums===M?z.PlotlyChart.SelectionMode[e.selectionMode[n]]===k?e.selectionMode[n]:z.PlotlyChart.SelectionMode[e.selectionMode[n]]:e.selectionMode[n]}return e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.spec!=null&&O.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.config!=null&&O.hasOwnProperty.call(e,`config`)&&(r.config=e.config),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PlotlyChart`},e.SelectionMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`POINTS`]=0,t[e[1]=`BOX`]=1,t[e[2]=`LASSO`]=2,t})(),e})();z.Progress=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.value=0,e.prototype.text=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==0&&t.uint32(8).uint32(e.value),e.text!=null&&O.hasOwnProperty.call(e,`text`)&&e.text!==``&&t.uint32(18).string(e.text),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Progress,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.uint32())?o.value=s:delete o.value;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.text=s:delete o.text;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Progress)return e;if(!D.isObject(e))throw j(`.Progress: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Progress;return e.value!=null&&P(e.value)!==0&&(n.value=e.value>>>0),e.text!=null&&(typeof e.text!=`string`||e.text.length)&&(n.text=M(e.text)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.value=0,r.text=``),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.text!=null&&O.hasOwnProperty.call(e,`text`)&&(r.text=e.text),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Progress`},e})(),z.Radio=(()=>{let e=function(e){if(this.options=[],this.captions=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=null,e.prototype.options=D.emptyArray,e.prototype.help=``,e.prototype.formId=``,e.prototype.rawValue=null,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.horizontal=!1,e.prototype.labelVisibility=null,e.prototype.captions=D.emptyArray,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_rawValue`,{get:D.oneOfGetter(t=[`rawValue`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(24).int32(e.default),e.options!=null&&e.options.length)for(let n=0;n<e.options.length;++n)t.uint32(34).string(e.options[n]);if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.horizontal!=null&&O.hasOwnProperty.call(e,`horizontal`)&&e.horizontal!==!1&&t.uint32(80).bool(e.horizontal),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(90).fork(),n+1).ldelim(),e.captions!=null&&e.captions.length)for(let n=0;n<e.captions.length;++n)t.uint32(98).string(e.captions[n]);if(e.rawValue!=null&&O.hasOwnProperty.call(e,`rawValue`)&&t.uint32(106).string(e.rawValue),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(114).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Radio,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==0)break;o.default=e.int32(),o._default=`default`;continue;case 4:if(a!==2)break;o.options&&o.options.length||(o.options=[]),o.options.push(e.stringVerify());continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 13:if(a!==2)break;o.rawValue=e.stringVerify(),o._rawValue=`rawValue`;continue;case 8:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;
1case 9:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 10:if(a!==0)break;(s=e.bool())?o.horizontal=s:delete o.horizontal;continue;case 11:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 12:if(a!==2)break;o.captions&&o.captions.length||(o.captions=[]),o.captions.push(e.stringVerify());continue;case 14:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Radio)return e;if(!D.isObject(e))throw j(`.Radio: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Radio;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&(n.default=e.default|0),e.options){if(!I.isArray(e.options))throw j(`.Radio.options: array expected`);n.options=I(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=M(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.rawValue!=null&&(n.rawValue=M(e.rawValue)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.horizontal!=null&&e.horizontal&&(n.horizontal=N(e.horizontal)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.Radio.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.captions){if(!I.isArray(e.captions))throw j(`.Radio.captions: array expected`);n.captions=I(e.captions.length);for(let t=0;t<e.captions.length;++t)n.captions[t]=M(e.captions[t])}return e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.options=[],r.captions=[]),t.defaults&&(r.id=``,r.label=``,r.help=``,r.formId=``,r.setValue=!1,r.disabled=!1,r.horizontal=!1,r.labelVisibility=null),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.options&&e.options.length){r.options=I(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.horizontal!=null&&O.hasOwnProperty.call(e,`horizontal`)&&(r.horizontal=e.horizontal),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.captions&&e.captions.length){r.captions=I(e.captions.length);for(let t=0;t<e.captions.length;++t)r.captions[t]=e.captions[t]}return e.rawValue!=null&&O.hasOwnProperty.call(e,`rawValue`)&&(r.rawValue=e.rawValue),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Radio`},e})(),z.Selectbox=(()=>{let e=function(e){if(this.options=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=null,e.prototype.options=D.emptyArray,e.prototype.help=``,e.prototype.formId=``,e.prototype.rawValue=null,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.placeholder=``,e.prototype.acceptNewOptions=null,e.prototype.queryParamKey=null,e.prototype.filterMode=0;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_rawValue`,{get:D.oneOfGetter(t=[`rawValue`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_acceptNewOptions`,{get:D.oneOfGetter(t=[`acceptNewOptions`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(24).int32(e.default),e.options!=null&&e.options.length)for(let n=0;n<e.options.length;++n)t.uint32(34).string(e.options[n]);if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(82).fork(),n+1).ldelim(),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(90).string(e.placeholder),e.acceptNewOptions!=null&&O.hasOwnProperty.call(e,`acceptNewOptions`)&&t.uint32(96).bool(e.acceptNewOptions),e.rawValue!=null&&O.hasOwnProperty.call(e,`rawValue`)&&t.uint32(106).string(e.rawValue),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(114).string(e.queryParamKey),e.filterMode!=null&&O.hasOwnProperty.call(e,`filterMode`)&&e.filterMode!==0&&t.uint32(120).int32(e.filterMode),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Selectbox,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==0)break;o.default=e.int32(),o._default=`default`;continue;case 4:if(a!==2)break;o.options&&o.options.length||(o.options=[]),o.options.push(e.stringVerify());continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 13:if(a!==2)break;o.rawValue=e.stringVerify(),o._rawValue=`rawValue`;continue;case 8:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;
1case 9:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 10:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.placeholder=s:delete o.placeholder;continue;case 12:if(a!==0)break;o.acceptNewOptions=e.bool(),o._acceptNewOptions=`acceptNewOptions`;continue;case 14:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue;case 15:if(a!==0)break;(s=e.int32())?o.filterMode=s:delete o.filterMode;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Selectbox)return e;if(!D.isObject(e))throw j(`.Selectbox: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Selectbox;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&(n.default=e.default|0),e.options){if(!I.isArray(e.options))throw j(`.Selectbox.options: array expected`);n.options=I(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=M(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.rawValue!=null&&(n.rawValue=M(e.rawValue)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.Selectbox.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=M(e.placeholder)),e.acceptNewOptions!=null&&(n.acceptNewOptions=N(e.acceptNewOptions)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),e.filterMode!==0&&(typeof e.filterMode!=`string`||z.streamlit.SelectWidgetFilterMode[e.filterMode]!==0))switch(e.filterMode){case`FILTER_MODE_FUZZY`:case 0:n.filterMode=0;break;case`FILTER_MODE_CONTAINS`:case 1:n.filterMode=1;break;case`FILTER_MODE_PREFIX`:case 2:n.filterMode=2;break;case`FILTER_MODE_NONE`:case 3:n.filterMode=3;break;default:typeof e.filterMode==`number`&&(e.filterMode|0)===e.filterMode&&(n.filterMode=e.filterMode)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.options=[]),t.defaults&&(r.id=``,r.label=``,r.help=``,r.formId=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,r.placeholder=``,r.filterMode=t.enums===M?`FILTER_MODE_FUZZY`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.options&&e.options.length){r.options=I(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}return e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.acceptNewOptions!=null&&O.hasOwnProperty.call(e,`acceptNewOptions`)&&(r.acceptNewOptions=e.acceptNewOptions),e.rawValue!=null&&O.hasOwnProperty.call(e,`rawValue`)&&(r.rawValue=e.rawValue),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.filterMode!=null&&O.hasOwnProperty.call(e,`filterMode`)&&(r.filterMode=t.enums===M?z.streamlit.SelectWidgetFilterMode[e.filterMode]===k?e.filterMode:z.streamlit.SelectWidgetFilterMode[e.filterMode]:e.filterMode),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Selectbox`},e})();var me=z.Skeleton=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.style=0,e.prototype.height=null;let t;return O.defineProperty(e.prototype,`_height`,{get:D.oneOfGetter(t=[`height`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.style!=null&&O.hasOwnProperty.call(e,`style`)&&e.style!==0&&t.uint32(8).int32(e.style),e.height!=null&&O.hasOwnProperty.call(e,`height`)&&t.uint32(16).int32(e.height),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Skeleton,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.int32())?o.style=s:delete o.style;continue;case 2:if(a!==0)break;
1o.height=e.int32(),o._height=`height`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Skeleton)return e;if(!D.isObject(e))throw j(`.Skeleton: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Skeleton;if(e.style!==0&&(typeof e.style!=`string`||z.Skeleton.SkeletonStyle[e.style]!==0))switch(e.style){case`ELEMENT`:case 0:n.style=0;break;case`APP`:case 1:n.style=1;break;default:typeof e.style==`number`&&(e.style|0)===e.style&&(n.style=e.style)}return e.height!=null&&(n.height=e.height|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.style=t.enums===M?`ELEMENT`:0),e.style!=null&&O.hasOwnProperty.call(e,`style`)&&(r.style=t.enums===M?z.Skeleton.SkeletonStyle[e.style]===k?e.style:z.Skeleton.SkeletonStyle[e.style]:e.style),e.height!=null&&O.hasOwnProperty.call(e,`height`)&&(r.height=e.height),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Skeleton`},e.SkeletonStyle=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`ELEMENT`]=0,t[e[1]=`APP`]=1,t})(),e})(),he=z.Slider=(()=>{let e=function(e){if(this.default=[],this.value=[],this.options=[],this.rawValue=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.formId=``,e.prototype.label=``,e.prototype.format=``,e.prototype.dataType=0,e.prototype.default=D.emptyArray,e.prototype.min=0,e.prototype.max=0,e.prototype.step=0,e.prototype.value=D.emptyArray,e.prototype.setValue=!1,e.prototype.options=D.emptyArray,e.prototype.help=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.type=0,e.prototype.rawValue=D.emptyArray,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(18).string(e.formId),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(26).string(e.label),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(34).string(e.format),e.dataType!=null&&O.hasOwnProperty.call(e,`dataType`)&&e.dataType!==0&&t.uint32(40).int32(e.dataType),e.default!=null&&e.default.length&&t.uint32(50).doubles(e.default),e.min!=null&&O.hasOwnProperty.call(e,`min`)&&!O.is(e.min,0)&&t.uint32(57).double(e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&!O.is(e.max,0)&&t.uint32(65).double(e.max),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&!O.is(e.step,0)&&t.uint32(73).double(e.step),e.value!=null&&e.value.length&&t.uint32(82).doubles(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(88).bool(e.setValue),e.options!=null&&e.options.length)for(let n=0;n<e.options.length;++n)t.uint32(106).string(e.options[n]);if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(114).string(e.help),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(120).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(130).fork(),n+1).ldelim(),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(136).int32(e.type),e.rawValue!=null&&e.rawValue.length)for(let n=0;n<e.rawValue.length;++n)t.uint32(146).string(e.rawValue[n]);if(e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(154).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Slider,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.format=s:delete o.format;continue;case 5:if(a!==0)break;(s=e.int32())?o.dataType=s:delete o.dataType;continue;case 6:if(a===2){o.default&&o.default.length||(o.default=[]),e.doubles(o.default);continue}if(a!==1)break;o.default&&o.default.length||(o.default=[]),o.default.push(e.double());continue;case 7:if(a!==1)break;O.is(s=e.double(),0)?delete o.min:o.min=s;continue;case 8:if(a!==1)break;O.is(s=e.double(),0)?delete o.max:o.max=s;continue;
1case 9:if(a!==1)break;O.is(s=e.double(),0)?delete o.step:o.step=s;continue;case 10:if(a===2){o.value&&o.value.length||(o.value=[]),e.doubles(o.value);continue}if(a!==1)break;o.value&&o.value.length||(o.value=[]),o.value.push(e.double());continue;case 11:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 13:if(a!==2)break;o.options&&o.options.length||(o.options=[]),o.options.push(e.stringVerify());continue;case 14:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 15:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 16:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 17:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue;case 18:if(a!==2)break;o.rawValue&&o.rawValue.length||(o.rawValue=[]),o.rawValue.push(e.stringVerify());continue;case 19:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Slider)return e;if(!D.isObject(e))throw j(`.Slider: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Slider;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=M(e.format)),e.dataType!==0&&(typeof e.dataType!=`string`||z.Slider.DataType[e.dataType]!==0))switch(e.dataType){case`INT`:case 0:n.dataType=0;break;case`FLOAT`:case 1:n.dataType=1;break;case`DATETIME`:case 2:n.dataType=2;break;case`DATE`:case 3:n.dataType=3;break;case`TIME`:case 4:n.dataType=4;break;default:typeof e.dataType==`number`&&(e.dataType|0)===e.dataType&&(n.dataType=e.dataType)}if(e.default){if(!I.isArray(e.default))throw j(`.Slider.default: array expected`);n.default=I(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=P(e.default[t])}if(e.min!=null&&(O.is(P(e.min),0)||(n.min=P(e.min))),e.max!=null&&(O.is(P(e.max),0)||(n.max=P(e.max))),e.step!=null&&(O.is(P(e.step),0)||(n.step=P(e.step))),e.value){if(!I.isArray(e.value))throw j(`.Slider.value: array expected`);n.value=I(e.value.length);for(let t=0;t<e.value.length;++t)n.value[t]=P(e.value[t])}if(e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.options){if(!I.isArray(e.options))throw j(`.Slider.options: array expected`);n.options=I(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=M(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.Slider.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.type!==0&&(typeof e.type!=`string`||z.Slider.Type[e.type]!==0))switch(e.type){case`UNSPECIFIED`:case 0:n.type=0;break;case`SLIDER`:case 1:n.type=1;break;case`SELECT_SLIDER`:case 2:n.type=2;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}if(e.rawValue){if(!I.isArray(e.rawValue))throw j(`.Slider.rawValue: array expected`);n.rawValue=I(e.rawValue.length);for(let t=0;t<e.rawValue.length;++t)n.rawValue[t]=M(e.rawValue[t])}return e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.default=[],r.value=[],r.options=[],r.rawValue=[]),t.defaults&&(r.id=``,r.formId=``,r.label=``,r.format=``,r.dataType=t.enums===M?`INT`:0,r.min=0,r.max=0,r.step=0,r.setValue=!1,r.help=``,r.disabled=!1,r.labelVisibility=null,r.type=t.enums===M?`UNSPECIFIED`:0),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.format!=null&&O.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.dataType!=null&&O.hasOwnProperty.call(e,`dataType`)&&(r.dataType=t.enums===M?z.Slider.DataType[e.dataType]===k?e.dataType:z.Slider.DataType[e.dataType]:e.dataType),e.default&&e.default.length){r.default=I(e.default.length);for(let n=0;n<e.default.length;++n)r.default[n]=t.json&&!F(e.default[n])?M(e.default[n]):e.default[n]}if(e.min!=null&&O.hasOwnProperty.call(e,`min`)&&(r.min=t.json&&!F(e.min)?M(e.min):e.min),e.max!=null&&O.hasOwnProperty.call(e,`max`)&&(r.max=t.json&&!F(e.max)?M(e.max):e.max),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&(r.step=t.json&&!F(e.step)?M(e.step):e.step),e.value&&e.value.length){r.value=I(e.value.length);for(let n=0;n<e.value.length;++n)r.value[n]=t.json&&!F(e.value[n])?M(e.value[n]):e.value[n]}if(e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.options&&e.options.length){r.options=I(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}if(e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.Slider.Type[e.type]===k?e.type:z.Slider.Type[e.type]:e.type),e.rawValue&&e.rawValue.length){r.rawValue=I(e.rawValue.length);for(let t=0;t<e.rawValue.length;++t)r.rawValue[t]=e.rawValue[t]}return e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Slider`},e.DataType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`INT`]=0,t[e[1]=`FLOAT`]=1,t[e[2]=`DATETIME`]=2,t[e[3]=`DATE`]=3,t[e[4]=`TIME`]=4,t})(),e.Type=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`UNSPECIFIED`]=0,t[e[1]=`SLIDER`]=1,t[e[2]=`SELECT_SLIDER`]=2,t})(),e})();z.Snow=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.show=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.show!=null&&O.hasOwnProperty.call(e,`show`)&&e.show!==!1&&t.uint32(8).bool(e.show),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Snow,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.bool())?o.show=s:delete o.show;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Snow)return e;if(!D.isObject(e))throw j(`.Snow: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Snow;return e.show!=null&&e.show&&(n.show=N(e.show)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.show=!1),e.show!=null&&O.hasOwnProperty.call(e,`show`)&&(r.show=e.show),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Snow`},e})(),z.Space=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Space;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}e.skipType(i&7,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Space)return e;
1if(!D.isObject(e))throw j(`.Space: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);return new z.Space},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Space`},e})(),z.Spinner=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.text=``,e.prototype.cache=!1,e.prototype.showTime=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.text!=null&&O.hasOwnProperty.call(e,`text`)&&e.text!==``&&t.uint32(10).string(e.text),e.cache!=null&&O.hasOwnProperty.call(e,`cache`)&&e.cache!==!1&&t.uint32(16).bool(e.cache),e.showTime!=null&&O.hasOwnProperty.call(e,`showTime`)&&e.showTime!==!1&&t.uint32(24).bool(e.showTime),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Spinner,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.text=s:delete o.text;continue;case 2:if(a!==0)break;(s=e.bool())?o.cache=s:delete o.cache;continue;case 3:if(a!==0)break;(s=e.bool())?o.showTime=s:delete o.showTime;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Spinner)return e;if(!D.isObject(e))throw j(`.Spinner: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Spinner;return e.text!=null&&(typeof e.text!=`string`||e.text.length)&&(n.text=M(e.text)),e.cache!=null&&e.cache&&(n.cache=N(e.cache)),e.showTime!=null&&e.showTime&&(n.showTime=N(e.showTime)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.text=``,r.cache=!1,r.showTime=!1),e.text!=null&&O.hasOwnProperty.call(e,`text`)&&(r.text=e.text),e.cache!=null&&O.hasOwnProperty.call(e,`cache`)&&(r.cache=e.cache),e.showTime!=null&&O.hasOwnProperty.call(e,`showTime`)&&(r.showTime=e.showTime),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Spinner`},e})();var ge=z.Table=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.arrowData=null,e.prototype.borderMode=0,e.prototype.hideIndex=!1,e.prototype.hideHeader=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.arrowData!=null&&O.hasOwnProperty.call(e,`arrowData`)&&z.ArrowData.encode(e.arrowData,t.uint32(10).fork(),n+1).ldelim(),e.borderMode!=null&&O.hasOwnProperty.call(e,`borderMode`)&&e.borderMode!==0&&t.uint32(16).int32(e.borderMode),e.hideIndex!=null&&O.hasOwnProperty.call(e,`hideIndex`)&&e.hideIndex!==!1&&t.uint32(24).bool(e.hideIndex),e.hideHeader!=null&&O.hasOwnProperty.call(e,`hideHeader`)&&e.hideHeader!==!1&&t.uint32(32).bool(e.hideHeader),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Table,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.arrowData=z.ArrowData.decode(e,e.uint32(),k,r+1,o.arrowData);continue;case 2:if(a!==0)break;(s=e.int32())?o.borderMode=s:delete o.borderMode;continue;case 3:if(a!==0)break;(s=e.bool())?o.hideIndex=s:delete o.hideIndex;continue;case 4:if(a!==0)break;(s=e.bool())?o.hideHeader=s:delete o.hideHeader;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Table)return e;if(!D.isObject(e))throw j(`.Table: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Table;if(e.arrowData!=null){if(!D.isObject(e.arrowData))throw j(`.Table.arrowData: object expected`);n.arrowData=z.ArrowData.fromObject(e.arrowData,t+1)}if(e.borderMode!==0&&(typeof e.borderMode!=`string`||z.Table.BorderMode[e.borderMode]!==0))switch(e.borderMode){case`ALL`:case 0:n.borderMode=0;break;case`NONE`:case 1:n.borderMode=1;break;case`HORIZONTAL`:case 2:n.borderMode=2;break;default:typeof e.borderMode==`number`&&(e.borderMode|0)===e.borderMode&&(n.borderMode=e.borderMode)}return e.hideIndex!=null&&e.hideIndex&&(n.hideIndex=N(e.hideIndex)),e.hideHeader!=null&&e.hideHeader&&(n.hideHeader=N(e.hideHeader)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.arrowData=null,r.borderMode=t.enums===M?`ALL`:0,r.hideIndex=!1,r.hideHeader=!1),e.arrowData!=null&&O.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=z.ArrowData.toObject(e.arrowData,t,n+1)),e.borderMode!=null&&O.hasOwnProperty.call(e,`borderMode`)&&(r.borderMode=t.enums===M?z.Table.BorderMode[e.borderMode]===k?e.borderMode:z.Table.BorderMode[e.borderMode]:e.borderMode),e.hideIndex!=null&&O.hasOwnProperty.call(e,`hideIndex`)&&(r.hideIndex=e.hideIndex),e.hideHeader!=null&&O.hasOwnProperty.call(e,`hideHeader`)&&(r.hideHeader=e.hideHeader),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Table`},e.BorderMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`ALL`]=0,t[e[1]=`NONE`]=1,t[e[2]=`HORIZONTAL`]=2,t})(),e})();z.Text=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.body=``,e.prototype.help=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(18).string(e.help),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Text,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Text)return e;if(!D.isObject(e))throw j(`.Text: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Text;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.help=``),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Text`},e})(),z.TextArea=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=null,e.prototype.maxChars=0,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=null,e.prototype.setValue=!1,e.prototype.placeholder=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_value`,{get:D.oneOfGetter(t=[`value`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(26).string(e.default),e.maxChars!=null&&O.hasOwnProperty.call(e,`maxChars`)&&e.maxChars!==0&&t.uint32(40).uint32(e.maxChars),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(58).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&t.uint32(66).string(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(72).bool(e.setValue),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(82).string(e.placeholder),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(88).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(98).fork(),n+1).ldelim(),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(106).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.TextArea,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.default=e.stringVerify(),o._default=`default`;continue;case 5:if(a!==0)break;(s=e.uint32())?o.maxChars=s:delete o.maxChars;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 8:if(a!==2)break;o.value=e.stringVerify(),o._value=`value`;continue;
1case 9:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.placeholder=s:delete o.placeholder;continue;case 11:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 12:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 13:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.TextArea)return e;if(!D.isObject(e))throw j(`.TextArea: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.TextArea;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&(n.default=M(e.default)),e.maxChars!=null&&P(e.maxChars)!==0&&(n.maxChars=e.maxChars>>>0),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&(n.value=M(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=M(e.placeholder)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.TextArea.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.maxChars=0,r.help=``,r.formId=``,r.setValue=!1,r.placeholder=``,r.disabled=!1,r.labelVisibility=null),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.maxChars!=null&&O.hasOwnProperty.call(e,`maxChars`)&&(r.maxChars=e.maxChars),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/TextArea`},e})();var _e=z.TextInput=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=null,e.prototype.type=0,e.prototype.maxChars=0,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=null,e.prototype.setValue=!1,e.prototype.autocomplete=``,e.prototype.placeholder=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.icon=``,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_value`,{get:D.oneOfGetter(t=[`value`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(26).string(e.default),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(32).int32(e.type),e.maxChars!=null&&O.hasOwnProperty.call(e,`maxChars`)&&e.maxChars!==0&&t.uint32(40).uint32(e.maxChars),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(58).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&t.uint32(66).string(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(72).bool(e.setValue),e.autocomplete!=null&&O.hasOwnProperty.call(e,`autocomplete`)&&e.autocomplete!==``&&t.uint32(82).string(e.autocomplete),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(90).string(e.placeholder),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(96).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(106).fork(),n+1).ldelim(),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(114).string(e.icon),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.TextInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.default=e.stringVerify(),o._default=`default`;continue;case 4:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue;case 5:if(a!==0)break;(s=e.uint32())?o.maxChars=s:delete o.maxChars;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 8:if(a!==2)break;o.value=e.stringVerify(),o._value=`value`;continue;
1case 9:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.autocomplete=s:delete o.autocomplete;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.placeholder=s:delete o.placeholder;continue;case 12:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;case 13:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 14:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 15:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.TextInput)return e;if(!D.isObject(e))throw j(`.TextInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.TextInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&(n.default=M(e.default)),e.type!==0&&(typeof e.type!=`string`||z.TextInput.Type[e.type]!==0))switch(e.type){case`DEFAULT`:case 0:n.type=0;break;case`PASSWORD`:case 1:n.type=1;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}if(e.maxChars!=null&&P(e.maxChars)!==0&&(n.maxChars=e.maxChars>>>0),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&(n.value=M(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.autocomplete!=null&&(typeof e.autocomplete!=`string`||e.autocomplete.length)&&(n.autocomplete=M(e.autocomplete)),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=M(e.placeholder)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.TextInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.type=t.enums===M?`DEFAULT`:0,r.maxChars=0,r.help=``,r.formId=``,r.setValue=!1,r.autocomplete=``,r.placeholder=``,r.disabled=!1,r.labelVisibility=null,r.icon=``),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.TextInput.Type[e.type]===k?e.type:z.TextInput.Type[e.type]:e.type),e.maxChars!=null&&O.hasOwnProperty.call(e,`maxChars`)&&(r.maxChars=e.maxChars),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.autocomplete!=null&&O.hasOwnProperty.call(e,`autocomplete`)&&(r.autocomplete=e.autocomplete),e.placeholder!=null&&O.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/TextInput`},e.Type=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`PASSWORD`]=1,t})(),e})();z.TimeInput=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.id=``,e.prototype.label=``,e.prototype.default=null,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=null,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.step=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.queryParamKey=null;let t;return O.defineProperty(e.prototype,`_default`,{get:D.oneOfGetter(t=[`default`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_value`,{get:D.oneOfGetter(t=[`value`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_queryParamKey`,{get:D.oneOfGetter(t=[`queryParamKey`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&t.uint32(26).string(e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&t.uint32(50).string(e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&z.LabelVisibility.encode(e.labelVisibility,t.uint32(74).fork(),n+1).ldelim(),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&(typeof e.step==`object`?e.step.low||e.step.high:e.step!==0)&&t.uint32(80).int64(e.step),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(90).string(e.queryParamKey),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.TimeInput,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 3:if(a!==2)break;o.default=e.stringVerify(),o._default=`default`;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue;case 6:if(a!==2)break;o.value=e.stringVerify(),o._value=`value`;continue;case 7:if(a!==0)break;(s=e.bool())?o.setValue=s:delete o.setValue;continue;case 8:if(a!==0)break;(s=e.bool())?o.disabled=s:delete o.disabled;continue;
1case 9:if(a!==2)break;o.labelVisibility=z.LabelVisibility.decode(e,e.uint32(),k,r+1,o.labelVisibility);continue;case 10:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.step=s:delete o.step;continue;case 11:if(a!==2)break;o.queryParamKey=e.stringVerify(),o._queryParamKey=`queryParamKey`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.TimeInput)return e;if(!D.isObject(e))throw j(`.TimeInput: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.TimeInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.default!=null&&(n.default=M(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),e.value!=null&&(n.value=M(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=N(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=N(e.disabled)),e.labelVisibility!=null){if(!D.isObject(e.labelVisibility))throw j(`.TimeInput.labelVisibility: object expected`);n.labelVisibility=z.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.step!=null&&(typeof e.step==`object`?e.step.low||e.step.high:P(e.step)!==0)&&(D.Long?n.step=D.Long.fromValue(e.step,!1):typeof e.step==`string`?n.step=L(e.step,10):typeof e.step==`number`?n.step=e.step:typeof e.step==`object`&&(n.step=new D.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber())),e.queryParamKey!=null&&(n.queryParamKey=M(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if(t.defaults)if(r.id=``,r.label=``,r.help=``,r.formId=``,r.setValue=!1,r.disabled=!1,r.labelVisibility=null,D.Long){let e=new D.Long(0,0,!1);r.step=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.step=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;return e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&O.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&O.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&O.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&O.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=z.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.step!=null&&O.hasOwnProperty.call(e,`step`)&&(R!==void 0&&t.longs===R?r.step=typeof e.step==`number`?R(e.step):D.Long.fromBits(e.step.low>>>0,e.step.high>>>0,!1).toBigInt():typeof e.step==`number`?r.step=t.longs===M?M(e.step):e.step:r.step=t.longs===M?D.Long.prototype.toString.call(e.step):t.longs===P?new D.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber():e.step),e.queryParamKey!=null&&O.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/TimeInput`},e})(),z.Toast=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.body=``,e.prototype.icon=``,e.prototype.duration=null;let t;return O.defineProperty(e.prototype,`_duration`,{get:D.oneOfGetter(t=[`duration`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.body!=null&&O.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(18).string(e.icon),e.duration!=null&&O.hasOwnProperty.call(e,`duration`)&&t.uint32(24).int32(e.duration),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Toast,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.body=s:delete o.body;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue;case 3:if(a!==0)break;o.duration=e.int32(),o._duration=`duration`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Toast)return e;if(!D.isObject(e))throw j(`.Toast: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Toast;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=M(e.body)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=M(e.icon)),e.duration!=null&&(n.duration=e.duration|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.icon=``),e.body!=null&&O.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.icon!=null&&O.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.duration!=null&&O.hasOwnProperty.call(e,`duration`)&&(r.duration=e.duration),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Toast`},e})(),z.VegaLiteChart=(()=>{let e=function(e){if(this.datasets=[],this.selectionMode=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.spec=``,e.prototype.data=null,e.prototype.datasets=D.emptyArray,e.prototype.useContainerWidth=!1,e.prototype.theme=``,e.prototype.id=``,e.prototype.selectionMode=D.emptyArray,e.prototype.formId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.spec!=null&&O.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(10).string(e.spec),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&z.ArrowData.encode(e.data,t.uint32(18).fork(),n+1).ldelim(),e.datasets!=null&&e.datasets.length)for(let r=0;r<e.datasets.length;++r)z.ArrowNamedDataSet.encode(e.datasets[r],t.uint32(34).fork(),n+1).ldelim();if(e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&e.useContainerWidth!==!1&&t.uint32(40).bool(e.useContainerWidth),e.theme!=null&&O.hasOwnProperty.call(e,`theme`)&&e.theme!==``&&t.uint32(50).string(e.theme),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(58).string(e.id),e.selectionMode!=null&&e.selectionMode.length)for(let n=0;n<e.selectionMode.length;++n)t.uint32(66).string(e.selectionMode[n]);if(e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(74).string(e.formId),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.VegaLiteChart,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.spec=s:delete o.spec;continue;case 2:if(a!==2)break;o.data=z.ArrowData.decode(e,e.uint32(),k,r+1,o.data);continue;case 4:if(a!==2)break;o.datasets&&o.datasets.length||(o.datasets=[]),o.datasets.push(z.ArrowNamedDataSet.decode(e,e.uint32(),k,r+1));continue;case 5:if(a!==0)break;(s=e.bool())?o.useContainerWidth=s:delete o.useContainerWidth;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.theme=s:delete o.theme;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 8:if(a!==2)break;o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),o.selectionMode.push(e.stringVerify());continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.VegaLiteChart)return e;if(!D.isObject(e))throw j(`.VegaLiteChart: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.VegaLiteChart;if(e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=M(e.spec)),e.data!=null){if(!D.isObject(e.data))throw j(`.VegaLiteChart.data: object expected`);n.data=z.ArrowData.fromObject(e.data,t+1)}if(e.datasets){if(!I.isArray(e.datasets))throw j(`.VegaLiteChart.datasets: array expected`);n.datasets=I(e.datasets.length);for(let r=0;r<e.datasets.length;++r){if(!D.isObject(e.datasets[r]))throw j(`.VegaLiteChart.datasets: object expected`);n.datasets[r]=z.ArrowNamedDataSet.fromObject(e.datasets[r],t+1)}}if(e.useContainerWidth!=null&&e.useContainerWidth&&(n.useContainerWidth=N(e.useContainerWidth)),e.theme!=null&&(typeof e.theme!=`string`||e.theme.length)&&(n.theme=M(e.theme)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.selectionMode){if(!I.isArray(e.selectionMode))throw j(`.VegaLiteChart.selectionMode: array expected`);n.selectionMode=I(e.selectionMode.length);for(let t=0;t<e.selectionMode.length;++t)n.selectionMode[t]=M(e.selectionMode[t])}return e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=M(e.formId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.datasets=[],r.selectionMode=[]),t.defaults&&(r.spec=``,r.data=null,r.useContainerWidth=!1,r.theme=``,r.id=``,r.formId=``),e.spec!=null&&O.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.data!=null&&O.hasOwnProperty.call(e,`data`)&&(r.data=z.ArrowData.toObject(e.data,t,n+1)),e.datasets&&e.datasets.length){r.datasets=I(e.datasets.length);for(let i=0;i<e.datasets.length;++i)r.datasets[i]=z.ArrowNamedDataSet.toObject(e.datasets[i],t,n+1)}if(e.useContainerWidth!=null&&O.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.theme!=null&&O.hasOwnProperty.call(e,`theme`)&&(r.theme=e.theme),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.selectionMode&&e.selectionMode.length){r.selectionMode=I(e.selectionMode.length);for(let t=0;t<e.selectionMode.length;++t)r.selectionMode[t]=e.selectionMode[t]}return e.formId!=null&&O.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/VegaLiteChart`},e})(),z.SubtitleTrack=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.label=``,e.prototype.url=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(18).string(e.url),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.SubtitleTrack,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.SubtitleTrack)return e;if(!D.isObject(e))throw j(`.SubtitleTrack: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.SubtitleTrack;return e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.label=``,r.url=``),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/SubtitleTrack`},e})();var ve=z.Video=(()=>{let e=function(e){if(this.subtitles=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.url=``,e.prototype.startTime=0,e.prototype.type=0,e.prototype.subtitles=D.emptyArray,e.prototype.endTime=0,e.prototype.loop=!1,e.prototype.autoplay=!1,e.prototype.muted=!1,e.prototype.id=``,e.prototype.widthConfig=null;let t;return O.defineProperty(e.prototype,`_widthConfig`,{get:D.oneOfGetter(t=[`widthConfig`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.startTime!=null&&O.hasOwnProperty.call(e,`startTime`)&&e.startTime!==0&&t.uint32(24).int32(e.startTime),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(40).int32(e.type),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(50).string(e.url),e.subtitles!=null&&e.subtitles.length)for(let r=0;r<e.subtitles.length;
1++r)z.SubtitleTrack.encode(e.subtitles[r],t.uint32(58).fork(),n+1).ldelim();if(e.endTime!=null&&O.hasOwnProperty.call(e,`endTime`)&&e.endTime!==0&&t.uint32(64).int32(e.endTime),e.loop!=null&&O.hasOwnProperty.call(e,`loop`)&&e.loop!==!1&&t.uint32(72).bool(e.loop),e.autoplay!=null&&O.hasOwnProperty.call(e,`autoplay`)&&e.autoplay!==!1&&t.uint32(80).bool(e.autoplay),e.muted!=null&&O.hasOwnProperty.call(e,`muted`)&&e.muted!==!1&&t.uint32(88).bool(e.muted),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(98).string(e.id),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&z.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(106).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Video,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 6:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 3:if(a!==0)break;(s=e.int32())?o.startTime=s:delete o.startTime;continue;case 5:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue;case 7:if(a!==2)break;o.subtitles&&o.subtitles.length||(o.subtitles=[]),o.subtitles.push(z.SubtitleTrack.decode(e,e.uint32(),k,r+1));continue;case 8:if(a!==0)break;(s=e.int32())?o.endTime=s:delete o.endTime;continue;case 9:if(a!==0)break;(s=e.bool())?o.loop=s:delete o.loop;continue;case 10:if(a!==0)break;(s=e.bool())?o.autoplay=s:delete o.autoplay;continue;case 11:if(a!==0)break;(s=e.bool())?o.muted=s:delete o.muted;continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 13:if(a!==2)break;o.widthConfig=z.streamlit.WidthConfig.decode(e,e.uint32(),k,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Video)return e;if(!D.isObject(e))throw j(`.Video: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Video;if(e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.startTime!=null&&P(e.startTime)!==0&&(n.startTime=e.startTime|0),e.type!==0&&(typeof e.type!=`string`||z.Video.Type[e.type]!==0))switch(e.type){case`UNUSED`:case 0:n.type=0;break;case`NATIVE`:case 1:n.type=1;break;case`YOUTUBE_IFRAME`:case 2:n.type=2;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}if(e.subtitles){if(!I.isArray(e.subtitles))throw j(`.Video.subtitles: array expected`);n.subtitles=I(e.subtitles.length);for(let r=0;r<e.subtitles.length;++r){if(!D.isObject(e.subtitles[r]))throw j(`.Video.subtitles: object expected`);n.subtitles[r]=z.SubtitleTrack.fromObject(e.subtitles[r],t+1)}}if(e.endTime!=null&&P(e.endTime)!==0&&(n.endTime=e.endTime|0),e.loop!=null&&e.loop&&(n.loop=N(e.loop)),e.autoplay!=null&&e.autoplay&&(n.autoplay=N(e.autoplay)),e.muted!=null&&e.muted&&(n.muted=N(e.muted)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=M(e.id)),e.widthConfig!=null){if(!D.isObject(e.widthConfig))throw j(`.Video.widthConfig: object expected`);n.widthConfig=z.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.subtitles=[]),t.defaults&&(r.startTime=0,r.type=t.enums===M?`UNUSED`:0,r.url=``,r.endTime=0,r.loop=!1,r.autoplay=!1,r.muted=!1,r.id=``),e.startTime!=null&&O.hasOwnProperty.call(e,`startTime`)&&(r.startTime=e.startTime),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.Video.Type[e.type]===k?e.type:z.Video.Type[e.type]:e.type),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.subtitles&&e.subtitles.length){r.subtitles=I(e.subtitles.length);for(let i=0;i<e.subtitles.length;++i)r.subtitles[i]=z.SubtitleTrack.toObject(e.subtitles[i],t,n+1)}return e.endTime!=null&&O.hasOwnProperty.call(e,`endTime`)&&(r.endTime=e.endTime),e.loop!=null&&O.hasOwnProperty.call(e,`loop`)&&(r.loop=e.loop),e.autoplay!=null&&O.hasOwnProperty.call(e,`autoplay`)&&(r.autoplay=e.autoplay),e.muted!=null&&O.hasOwnProperty.call(e,`muted`)&&(r.muted=e.muted),e.id!=null&&O.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.widthConfig!=null&&O.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=z.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Video`},e.Type=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`UNUSED`]=0,t[e[1]=`NATIVE`]=1,t[e[2]=`YOUTUBE_IFRAME`]=2,t})(),e})();z.Transient=(()=>{let e=function(e){if(this.elements=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.elements=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.elements!=null&&e.elements.length)for(let r=0;r<e.elements.length;++r)z.Element.encode(e.elements[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Transient;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.elements&&o.elements.length||(o.elements=[]),o.elements.push(z.Element.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Transient)return e;if(!D.isObject(e))throw j(`.Transient: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Transient;if(e.elements){if(!I.isArray(e.elements))throw j(`.Transient.elements: array expected`);n.elements=I(e.elements.length);for(let r=0;r<e.elements.length;++r){if(!D.isObject(e.elements[r]))throw j(`.Transient.elements: object expected`);n.elements[r]=z.Element.fromObject(e.elements[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.elements=[]),e.elements&&e.elements.length){r.elements=I(e.elements.length);for(let i=0;i<e.elements.length;++i)r.elements[i]=z.Element.toObject(e.elements[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Transient`},e})();var ye=z.ForwardMsg=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.hash=``,e.prototype.metadata=null,e.prototype.newSession=null,e.prototype.delta=null,e.prototype.pageInfoChanged=null,e.prototype.page
1ConfigChanged=null,e.prototype.scriptFinished=null,e.prototype.gitInfoChanged=null,e.prototype.pageProfile=null,e.prototype.sessionStatusChanged=null,e.prototype.sessionEvent=null,e.prototype.navigation=null,e.prototype.pageNotFound=null,e.prototype.fileUrlsResponse=null,e.prototype.autoRerun=null,e.prototype.stopAutoRerun=null,e.prototype.logo=null,e.prototype.authRedirect=null,e.prototype.parentMessage=null,e.prototype.refHash=null,e.prototype.heartbeatAck=null,e.prototype.backendOperationResponse=null,e.prototype.debugLastBackmsgId=``;let t;return O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=[`newSession`,`delta`,`pageInfoChanged`,`pageConfigChanged`,`scriptFinished`,`gitInfoChanged`,`pageProfile`,`sessionStatusChanged`,`sessionEvent`,`navigation`,`pageNotFound`,`fileUrlsResponse`,`autoRerun`,`stopAutoRerun`,`logo`,`authRedirect`,`parentMessage`,`refHash`,`heartbeatAck`,`backendOperationResponse`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.hash!=null&&O.hasOwnProperty.call(e,`hash`)&&e.hash!==``&&t.uint32(10).string(e.hash),e.metadata!=null&&O.hasOwnProperty.call(e,`metadata`)&&z.ForwardMsgMetadata.encode(e.metadata,t.uint32(18).fork(),n+1).ldelim(),e.newSession!=null&&O.hasOwnProperty.call(e,`newSession`)&&z.NewSession.encode(e.newSession,t.uint32(34).fork(),n+1).ldelim(),e.delta!=null&&O.hasOwnProperty.call(e,`delta`)&&z.Delta.encode(e.delta,t.uint32(42).fork(),n+1).ldelim(),e.scriptFinished!=null&&O.hasOwnProperty.call(e,`scriptFinished`)&&t.uint32(48).int32(e.scriptFinished),e.sessionStatusChanged!=null&&O.hasOwnProperty.call(e,`sessionStatusChanged`)&&z.SessionStatus.encode(e.sessionStatusChanged,t.uint32(74).fork(),n+1).ldelim(),e.sessionEvent!=null&&O.hasOwnProperty.call(e,`sessionEvent`)&&z.SessionEvent.encode(e.sessionEvent,t.uint32(82).fork(),n+1).ldelim(),e.refHash!=null&&O.hasOwnProperty.call(e,`refHash`)&&t.uint32(90).string(e.refHash),e.pageInfoChanged!=null&&O.hasOwnProperty.call(e,`pageInfoChanged`)&&z.PageInfo.encode(e.pageInfoChanged,t.uint32(98).fork(),n+1).ldelim(),e.pageConfigChanged!=null&&O.hasOwnProperty.call(e,`pageConfigChanged`)&&z.PageConfig.encode(e.pageConfigChanged,t.uint32(106).fork(),n+1).ldelim(),e.gitInfoChanged!=null&&O.hasOwnProperty.call(e,`gitInfoChanged`)&&z.GitInfo.encode(e.gitInfoChanged,t.uint32(114).fork(),n+1).ldelim(),e.pageNotFound!=null&&O.hasOwnProperty.call(e,`pageNotFound`)&&z.PageNotFound.encode(e.pageNotFound,t.uint32(122).fork(),n+1).ldelim(),e.debugLastBackmsgId!=null&&O.hasOwnProperty.call(e,`debugLastBackmsgId`)&&e.debugL
1astBackmsgId!==``&&t.uint32(138).string(e.debugLastBackmsgId),e.pageProfile!=null&&O.hasOwnProperty.call(e,`pageProfile`)&&z.PageProfile.encode(e.pageProfile,t.uint32(146).fork(),n+1).ldelim(),e.fileUrlsResponse!=null&&O.hasOwnProperty.call(e,`fileUrlsResponse`)&&z.FileURLsResponse.encode(e.fileUrlsResponse,t.uint32(154).fork(),n+1).ldelim(),e.parentMessage!=null&&O.hasOwnProperty.call(e,`parentMessage`)&&z.ParentMessage.encode(e.parentMessage,t.uint32(162).fork(),n+1).ldelim(),e.autoRerun!=null&&O.hasOwnProperty.call(e,`autoRerun`)&&z.AutoRerun.encode(e.autoRerun,t.uint32(170).fork(),n+1).ldelim(),e.logo!=null&&O.hasOwnProperty.call(e,`logo`)&&z.Logo.encode(e.logo,t.uint32(178).fork(),n+1).ldelim(),e.navigation!=null&&O.hasOwnProperty.call(e,`navigation`)&&z.Navigation.encode(e.navigation,t.uint32(186).fork(),n+1).ldelim(),e.authRedirect!=null&&O.hasOwnProperty.call(e,`authRedirect`)&&z.AuthRedirect.encode(e.authRedirect,t.uint32(194).fork(),n+1).ldelim(),e.heartbeatAck!=null&&O.hasOwnProperty.call(e,`heartbeatAck`)&&t.uint32(208).bool(e.heartbeatAck),e.backendOperationResponse!=null&&O.hasOwnProperty.call(e,`backendOperationResponse`)&&z.BackendOperationResponse.encode(e.backendOperationResponse,t.uint32(218).fork(),n+1).ldelim(),e.stopAutoRerun!=null&&O.hasOwnProperty.call(e,`stopAutoRerun`)&&z.StopAutoRerun.encode(e.stopAutoRerun,t.uint32(226).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ForwardMsg,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.hash=s:delete o.hash;continue;case 2:if(a!==2)break;o.metadata=z.ForwardMsgMetadata.decode(e,e.uint32(),k,r+1,o.metadata);continue;case 4:if(a!==2)break;o.newSession=z.NewSession.decode(e,e.uint32(),k,r+1,o.newSession),o.type=`newSession`;continue;case 5:if(a!==2)break;o.delta=z.Delta.decode(e,e.uint32(),k,r+1,o.delta),o.type=`delta`;continue;case 12:if(a!==2)break;o.pageInfoChanged=z.PageInfo.decode(e,e.uint32(),k,r+1,o.pageInfoChanged),o.type=`pageInfoChanged`;continue;case 13:if(a!==2)break;o.pageConfigChanged=z.PageConfig.decode(e,e.uint32(),k,r+1,o.pageConfigChanged),o.type=`pageConfigChanged`;continue;case 6:if(a!==0)break;o.scriptFinished=e.int32(),o.type=`scriptFinished`;continue;case 14:if(a!==2)break;o.gitInfoChanged=z.GitInfo.decode(e,e.uint32(),k,r+1,o.gitInfoChanged),o.type=`gitInfoChanged`;continue;case 18:if(a!==2)break;o.pageProfile=z.PageProfile.decode(e,e.uint32(),k,r+1,o.pageProfile),o.type=`pageProfile`;continue;case 9:if(a!==2)break;o.sessionStatusChanged=z.SessionStatus.decode(e,e.uint32(),k,r+1,o.sessionStatusChanged),o.type=`sessionStatusChanged`;continue;case 10:if(a!==2)break;o.sessionEvent=z.SessionEvent.decode(e,e.uint32(),k,r+1,o.sessionEvent),o.type=`sessionEvent`;continue;case 23:if(a!==2)break;o.navigation=z.Navigation.decode(e,e.uint32(),k,r+1,o.navigation),o.type=`navigation`;continue;case 15:if(a!==2)break;o.pageNotFound=z.PageNotFound.decode(e,e.uint32(),k,r+1,o.pageNotFound),o.type=`pageNotFound`;continue;case 19:if(a!==2)break;o.fileUrlsResponse=z.FileURLsResponse.decode(e,e.uint32(),k,r+1,o.fileUrlsResponse),o.type=`fileUrlsResponse`;continue;case 21:if(a!==2)break;o.autoRerun=z.AutoRerun.decode(e,e.uint32(),k,r+1,o.autoRerun),o.type=`autoRerun`;continue;case 28:if(a!==2)break;o.stopAutoRerun=z.StopAutoRerun.decode(e,e.uint32(),k,r+1,o.stopAutoRerun),o.type=`stopAutoRerun`;continue;case 22:if(a!==2)break;o.logo=z.Logo.decode(e,e.uint32(),k,r+1,o.logo),o.type=`logo`;continue;case 24:if(a!==2)break;o.authRedirect=z.AuthRedirect.decode(e,e.uint32(),k,r+1,o.authRedirect),o.type=`authRedirect`;continue;case 20:if(a!==2)break;o.parentMessage=z.ParentMessage.decode(e,e.uint32(),k,r+1,o.parentMessage),o.type=`parentMessage`;continue;case 11:if(a!==2)break;o.refHash=e.stringVerify(),o.type=`refHash`;continue;case 26:if(a!==0)break;o.heartbeatAck=e.bool(),o.type=`heartbeatAck`;continue;case 27:if(a!==2)break;o.backendOperationResponse=z.BackendOperationResponse.decode(e,e.uint32(),k,r+1,o.backendOperationResponse),o.type=`backendOperationResponse`;
1continue;case 17:if(a!==2)break;(s=e.stringVerify()).length?o.debugLastBackmsgId=s:delete o.debugLastBackmsgId;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ForwardMsg)return e;if(!D.isObject(e))throw j(`.ForwardMsg: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ForwardMsg;if(e.hash!=null&&(typeof e.hash!=`string`||e.hash.length)&&(n.hash=M(e.hash)),e.metadata!=null){if(!D.isObject(e.metadata))throw j(`.ForwardMsg.metadata: object expected`);n.metadata=z.ForwardMsgMetadata.fromObject(e.metadata,t+1)}if(e.newSession!=null){if(!D.isObject(e.newSession))throw j(`.ForwardMsg.newSession: object expected`);n.newSession=z.NewSession.fromObject(e.newSession,t+1)}if(e.delta!=null){if(!D.isObject(e.delta))throw j(`.ForwardMsg.delta: object expected`);n.delta=z.Delta.fromObject(e.delta,t+1)}if(e.pageInfoChanged!=null){if(!D.isObject(e.pageInfoChanged))throw j(`.ForwardMsg.pageInfoChanged: object expected`);n.pageInfoChanged=z.PageInfo.fromObject(e.pageInfoChanged,t+1)}if(e.pageConfigChanged!=null){if(!D.isObject(e.pageConfigChanged))throw j(`.ForwardMsg.pageConfigChanged: object expected`);n.pageConfigChanged=z.PageConfig.fromObject(e.pageConfigChanged,t+1)}switch(e.scriptFinished){case`FINISHED_SUCCESSFULLY`:case 0:n.scriptFinished=0;break;case`FINISHED_WITH_COMPILE_ERROR`:case 1:n.scriptFinished=1;break;case`FINISHED_EARLY_FOR_RERUN`:case 2:n.scriptFinished=2;break;case`FINISHED_FRAGMENT_RUN_SUCCESSFULLY`:case 3:n.scriptFinished=3;break;default:typeof e.scriptFinished==`number`&&(e.scriptFinished|0)===e.scriptFinished&&(n.scriptFinished=e.scriptFinished)}if(e.gitInfoChanged!=null){if(!D.isObject(e.gitInfoChanged))throw j(`.ForwardMsg.gitInfoChanged: object expected`);n.gitInfoChanged=z.GitInfo.fromObject(e.gitInfoChanged,t+1)}if(e.pageProfile!=null){if(!D.isObject(e.pageProfile))throw j(`.ForwardMsg.pageProfile: object expected`);n.pageProfile=z.PageProfile.fromObject(e.pageProfile,t+1)}if(e.sessionStatusChanged!=null){if(!D.isObject(e.sessionStatusChanged))throw j(`.ForwardMsg.sessionStatusChanged: object expected`);n.sessionStatusChanged=z.SessionStatus.fromObject(e.sessionStatusChanged,t+1)}if(e.sessionEvent!=null){if(!D.isObject(e.sessionEvent))throw j(`.ForwardMsg.sessionEvent: object expected`);n.sessionEvent=z.SessionEvent.fromObject(e.sessionEvent,t+1)}if(e.navigation!=null){if(!D.isObject(e.navigation))throw j(`.ForwardMsg.navigation: object expected`);n.navigation=z.Navigation.fromObject(e.navigation,t+1)}if(e.pageNotFound!=null){if(!D.isObject(e.pageNotFound))throw j(`.ForwardMsg.pageNotFound: object expected`);n.pageNotFound=z.PageNotFound.fromObject(e.pageNotFound,t+1)}if(e.fileUrlsResponse!=null){if(!D.isObject(e.fileUrlsResponse))throw j(`.ForwardMsg.fileUrlsResponse: object expected`);n.fileUrlsResponse=z.FileURLsResponse.fromObject(e.fileUrlsResponse,t+1)}if(e.autoRerun!=null){if(!D.isObject(e.autoRerun))throw j(`.ForwardMsg.autoRerun: object expected`);n.autoRerun=z.AutoRerun.fromObject(e.autoRerun,t+1)}if(e.stopAutoRerun!=null){if(!D.isObject(e.stopAutoRerun))throw j(`.ForwardMsg.stopAutoRerun: object expected`);n.stopAutoRerun=z.StopAutoRerun.fromObject(e.stopAutoRerun,t+1)}if(e.logo!=null){if(!D.isObject(e.logo))throw j(`.ForwardMsg.logo: object expected`);n.logo=z.Logo.fromObject(e.logo,t+1)}if(e.authRedirect!=null){if(!D.isObject(e.authRedirect))throw j(`.ForwardMsg.authRedirect: object expected`);n.authRedirect=z.AuthRedirect.fromObject(e.authRedirect,t+1)}if(e.parentMessage!=null){if(!D.isObject(e.parentMessage))throw j(`.ForwardMsg.parentMessage: object expected`);n.parentMessage=z.ParentMessage.fromObject(e.parentMessage,t+1)}if(e.refHash!=null&&(n.refHash=M(e.refHash)),e.heartbeatAck!=null&&(n.heartbeatAck=N(e.heartbeatAck)),e.backendOperationResponse!=null){if(!D.isObject(e.backendOperationResponse))throw j(`.ForwardMsg.backendOperationResponse: object expected`);n.backendOperationResponse=z.BackendOperationResponse.fromObject(e.backendOperationResponse,t+1)}
1return e.debugLastBackmsgId!=null&&(typeof e.debugLastBackmsgId!=`string`||e.debugLastBackmsgId.length)&&(n.debugLastBackmsgId=M(e.debugLastBackmsgId)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.hash=``,r.metadata=null,r.debugLastBackmsgId=``),e.hash!=null&&O.hasOwnProperty.call(e,`hash`)&&(r.hash=e.hash),e.metadata!=null&&O.hasOwnProperty.call(e,`metadata`)&&(r.metadata=z.ForwardMsgMetadata.toObject(e.metadata,t,n+1)),e.newSession!=null&&O.hasOwnProperty.call(e,`newSession`)&&(r.newSession=z.NewSession.toObject(e.newSession,t,n+1),t.oneofs&&(r.type=`newSession`)),e.delta!=null&&O.hasOwnProperty.call(e,`delta`)&&(r.delta=z.Delta.toObject(e.delta,t,n+1),t.oneofs&&(r.type=`delta`)),e.scriptFinished!=null&&O.hasOwnProperty.call(e,`scriptFinished`)&&(r.scriptFinished=t.enums===M?z.ForwardMsg.ScriptFinishedStatus[e.scriptFinished]===k?e.scriptFinished:z.ForwardMsg.ScriptFinishedStatus[e.scriptFinished]:e.scriptFinished,t.oneofs&&(r.type=`scriptFinished`)),e.sessionStatusChanged!=null&&O.hasOwnProperty.call(e,`sessionStatusChanged`)&&(r.sessionStatusChanged=z.SessionStatus.toObject(e.sessionStatusChanged,t,n+1),t.oneofs&&(r.type=`sessionStatusChanged`)),e.sessionEvent!=null&&O.hasOwnProperty.call(e,`sessionEvent`)&&(r.sessionEvent=z.SessionEvent.toObject(e.sessionEvent,t,n+1),t.oneofs&&(r.type=`sessionEvent`)),e.refHash!=null&&O.hasOwnProperty.call(e,`refHash`)&&(r.refHash=e.refHash,t.oneofs&&(r.type=`refHash`)),e.pageInfoChanged!=null&&O.hasOwnProperty.call(e,`pageInfoChanged`)&&(r.pageInfoChanged=z.PageInfo.toObject(e.pageInfoChanged,t,n+1),t.oneofs&&(r.type=`pageInfoChanged`)),e.pageConfigChanged!=null&&O.hasOwnProperty.call(e,`pageConfigChanged`)&&(r.pageConfigChanged=z.PageConfig.toObject(e.pageConfigChanged,t,n+1),t.oneofs&&(r.type=`pageConfigChanged`)),e.gitInfoChanged!=null&&O.hasOwnProperty.call(e,`gitInfoChanged`)&&(r.gitInfoChanged=z.GitInfo.toObject(e.gitInfoChanged,t,n+1),t.oneofs&&(r.type=`gitInfoChanged`)),e.pageNotFound!=null&&O.hasOwnProperty.call(e,`pageNotFound`)&&(r.pageNotFound=z.PageNotFound.toObject(e.pageNotFound,t,n+1),t.oneofs&&(r.type=`pageNotFound`)),e.debugLastBackmsgId!=null&&O.hasOwnProperty.call(e,`debugLastBackmsgId`)&&(r.debugLastBackmsgId=e.debugLastBackmsgId),e.pageProfile!=null&&O.hasOwnProperty.call(e,`pageProfile`)&&(r.pageProfile=z.PageProfile.toObject(e.pageProfile,t,n+1),t.oneofs&&(r.type=`pageProfile`)),e.fileUrlsResponse!=null&&O.hasOwnProperty.call(e,`fileUrlsResponse`)&&(r.fileUrlsResponse=z.FileURLsResponse.toObject(e.fileUrlsResponse,t,n+1),t.oneofs&&(r.type=`fileUrlsResponse`)),e.parentMessage!=null&&O.hasOwnProperty.call(e,`parentMessage`)&&(r.parentMessage=z.ParentMessage.toObject(e.parentMessage,t,n+1),t.oneofs&&(r.type=`parentMessage`)),e.autoRerun!=null&&O.hasOwnProperty.call(e,`autoRerun`)&&(r.autoRerun=z.AutoRerun.toObject(e.autoRerun,t,n+1),t.oneofs&&(r.type=`autoRerun`)),e.logo!=null&&O.hasOwnProperty.call(e,`logo`)&&(r.logo=z.Logo.toObject(e.logo,t,n+1),t.oneofs&&(r.type=`logo`)),e.navigation!=null&&O.hasOwnProperty.call(e,`navigation`)&&(r.navigation=z.Navigation.toObject(e.navigation,t,n+1),t.oneofs&&(r.type=`navigation`)),e.authRedirect!=null&&O.hasOwnProperty.call(e,`authRedirect`)&&(r.authRedirect=z.AuthRedirect.toObject(e.authRedirect,t,n+1),t.oneofs&&(r.type=`authRedirect`)),e.heartbeatAck!=null&&O.hasOwnProperty.call(e,`heartbeatAck`)&&(r.heartbeatAck=e.heartbeatAck,t.oneofs&&(r.type=`heartbeatAck`)),e.backendOperationResponse!=null&&O.hasOwnProperty.call(e,`backendOperationResponse`)&&(r.backendOperationResponse=z.BackendOperationResponse.toObject(e.backendOperationResponse,t,n+1),t.oneofs&&(r.type=`backendOperationResponse`)),e.stopAutoRerun!=null&&O.hasOwnProperty.call(e,`stopAutoRerun`)&&(r.stopAutoRerun=z.StopAutoRerun.toObject(e.stopAutoRerun,t,n+1),t.oneofs&&(r.type=`stopAutoRerun`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ForwardMsg`},e.ScriptFinishedStatus=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`FINISHED_SUCCESSFULLY`]=0,t[e[1]=`FINISHED_WITH_COMPILE_ERROR`]=1,t[e[2]=`FINISHED_EARLY_FOR_RERUN`]=2,t[e[3]=`FINISHED_FRAGMENT_RUN_SUCCESSFULLY`]=3,t})(),e})();z.BackendOperationResponse=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.requestId=``,e.prototype.errorMsg=``,e.prototype.deferredFile=null,e.prototype.installSkills=null,e.prototype.dismissSkillsNudge=null;let t;return O.defineProperty(e.prototype,`payload`,{get:D.oneOfGetter(t=[`deferredFile`,`installSkills`,`dismissSkillsNudge`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.requestId!=null&&O.hasOwnProperty.call(e,`requestId`)&&e.requestId!==``&&t.uint32(10).string(e.requestId),e.errorMsg!=null&&O.hasOwnProperty.call(e,`errorMsg`)&&e.errorMsg!==``&&t.uint32(18).string(e.errorMsg),e.deferredFile!=null&&O.hasOwnProperty.call(e,`deferredFile`)&&z.DeferredFileResponsePayload.encode(e.deferredFile,t.uint32(26).fork(),n+1).ldelim(),e.installSkills!=null&&O.hasOwnProperty.call(e,`installSkills`)&&z.InstallSkillsResponsePayload.encode(e.installSkills,t.uint32(34).fork(),n+1).ldelim(),e.dismissSkillsNudge!=null&&O.hasOwnProperty.call(e,`dismissSkillsNudge`)&&z.DismissSkillsNudgeResponsePayload.encode(e.dismissSkillsNudge,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.BackendOperationResponse,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.requestId=s:delete o.requestId;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.errorMsg=s:delete o.errorMsg;continue;case 3:if(a!==2)break;o.deferredFile=z.DeferredFileResponsePayload.decode(e,e.uint32(),k,r+1,o.deferredFile),o.payload=`deferredFile`;continue;case 4:if(a!==2)break;o.installSkills=z.InstallSkillsResponsePayload.decode(e,e.uint32(),k,r+1,o.installSkills),o.payload=`installSkills`;continue;case 5:if(a!==2)break;o.dismissSkillsNudge=z.DismissSkillsNudgeResponsePayload.decode(e,e.uint32(),k,r+1,o.dismissSkillsNudge),o.payload=`dismissSkillsNudge`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.BackendOperationResponse)return e;if(!D.isObject(e))throw j(`.BackendOperationResponse: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.BackendOperationResponse;if(e.requestId!=null&&(typeof e.requestId!=`string`||e.requestId.length)&&(n.requestId=M(e.requestId)),e.errorMsg!=null&&(typeof e.errorMsg!=`string`||e.errorMsg.length)&&(n.errorMsg=M(e.errorMsg)),e.deferredFile!=null){if(!D.isObject(e.deferredFile))throw j(`.BackendOperationResponse.deferredFile: object expected`);n.deferredFile=z.DeferredFileResponsePayload.fromObject(e.deferredFile,t+1)}if(e.installSkills!=null){if(!D.isObject(e.installSkills))throw j(`.BackendOperationResponse.installSkills: object expected`);n.installSkills=z.InstallSkillsResponsePayload.fromObject(e.installSkills,t+1)}if(e.dismissSkillsNudge!=null){if(!D.isObject(e.dismissSkillsNudge))throw j(`.BackendOperationResponse.dismissSkillsNudge: object expected`);
1n.dismissSkillsNudge=z.DismissSkillsNudgeResponsePayload.fromObject(e.dismissSkillsNudge,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.requestId=``,r.errorMsg=``),e.requestId!=null&&O.hasOwnProperty.call(e,`requestId`)&&(r.requestId=e.requestId),e.errorMsg!=null&&O.hasOwnProperty.call(e,`errorMsg`)&&(r.errorMsg=e.errorMsg),e.deferredFile!=null&&O.hasOwnProperty.call(e,`deferredFile`)&&(r.deferredFile=z.DeferredFileResponsePayload.toObject(e.deferredFile,t,n+1),t.oneofs&&(r.payload=`deferredFile`)),e.installSkills!=null&&O.hasOwnProperty.call(e,`installSkills`)&&(r.installSkills=z.InstallSkillsResponsePayload.toObject(e.installSkills,t,n+1),t.oneofs&&(r.payload=`installSkills`)),e.dismissSkillsNudge!=null&&O.hasOwnProperty.call(e,`dismissSkillsNudge`)&&(r.dismissSkillsNudge=z.DismissSkillsNudgeResponsePayload.toObject(e.dismissSkillsNudge,t,n+1),t.oneofs&&(r.payload=`dismissSkillsNudge`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/BackendOperationResponse`},e})(),z.DeferredFileResponsePayload=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.url=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DeferredFileResponsePayload,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DeferredFileResponsePayload)return e;if(!D.isObject(e))throw j(`.DeferredFileResponsePayload: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.DeferredFileResponsePayload;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.url=``),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DeferredFileResponsePayload`},e})(),z.InstallSkillsResponsePayload=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.detail=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.detail!=null&&O.hasOwnProperty.call(e,`detail`)&&e.detail!==``&&t.uint32(10).string(e.detail),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.InstallSkillsResponsePayload,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.detail=s:delete o.detail;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.InstallSkillsResponsePayload)return e;if(!D.isObject(e))throw j(`.InstallSkillsResponsePayload: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.InstallSkillsResponsePayload;return e.detail!=null&&(typeof e.detail!=`string`||e.detail.length)&&(n.detail=M(e.detail)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.detail=``),e.detail!=null&&O.hasOwnProperty.call(e,`detail`)&&(r.detail=e.detail),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/InstallSkillsResponsePayload`},e})(),z.DismissSkillsNudgeResponsePayload=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.DismissSkillsNudgeResponsePayload;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}e.skipType(i&7,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.DismissSkillsNudgeResponsePayload)return e;if(!D.isObject(e))throw j(`.DismissSkillsNudgeResponsePayload: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);return new z.DismissSkillsNudgeResponsePayload},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/DismissSkillsNudgeResponsePayload`},e})();var be=z.ForwardMsgMetadata=(()=>{let e=function(e){if(this.deltaPath=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.cacheable=!1,e.prototype.deltaPath=D.emptyArray,e.prototype.activeScriptHash=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);
1if(e.cacheable!=null&&O.hasOwnProperty.call(e,`cacheable`)&&e.cacheable!==!1&&t.uint32(8).bool(e.cacheable),e.deltaPath!=null&&e.deltaPath.length&&t.uint32(18).uint32s(e.deltaPath),e.activeScriptHash!=null&&O.hasOwnProperty.call(e,`activeScriptHash`)&&e.activeScriptHash!==``&&t.uint32(34).string(e.activeScriptHash),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ForwardMsgMetadata,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.bool())?o.cacheable=s:delete o.cacheable;continue;case 2:if(a===2){o.deltaPath&&o.deltaPath.length||(o.deltaPath=[]),e.uint32s(o.deltaPath);continue}if(a!==0)break;o.deltaPath&&o.deltaPath.length||(o.deltaPath=[]),o.deltaPath.push(e.uint32());continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.activeScriptHash=s:delete o.activeScriptHash;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ForwardMsgMetadata)return e;if(!D.isObject(e))throw j(`.ForwardMsgMetadata: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ForwardMsgMetadata;if(e.cacheable!=null&&e.cacheable&&(n.cacheable=N(e.cacheable)),e.deltaPath){if(!I.isArray(e.deltaPath))throw j(`.ForwardMsgMetadata.deltaPath: array expected`);n.deltaPath=I(e.deltaPath.length);for(let t=0;t<e.deltaPath.length;++t)n.deltaPath[t]=e.deltaPath[t]>>>0}return e.activeScriptHash!=null&&(typeof e.activeScriptHash!=`string`||e.activeScriptHash.length)&&(n.activeScriptHash=M(e.activeScriptHash)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.deltaPath=[]),t.defaults&&(r.cacheable=!1,r.activeScriptHash=``),e.cacheable!=null&&O.hasOwnProperty.call(e,`cacheable`)&&(r.cacheable=e.cacheable),e.deltaPath&&e.deltaPath.length){r.deltaPath=I(e.deltaPath.length);for(let t=0;t<e.deltaPath.length;++t)r.deltaPath[t]=e.deltaPath[t]}return e.activeScriptHash!=null&&O.hasOwnProperty.call(e,`activeScriptHash`)&&(r.activeScriptHash=e.activeScriptHash),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ForwardMsgMetadata`},e})(),$=z.ForwardMsgList=(()=>{let e=function(e){if(this.messages=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.messages=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.messages!=null&&e.messages.length)for(let r=0;r<e.messages.length;++r)z.ForwardMsg.encode(e.messages[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ForwardMsgList;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.messages&&o.messages.length||(o.messages=[]),o.messages.push(z.ForwardMsg.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ForwardMsgList)return e;if(!D.isObject(e))throw j(`.ForwardMsgList: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ForwardMsgList;if(e.messages){if(!I.isArray(e.messages))throw j(`.ForwardMsgList.messages: array expected`);n.messages=I(e.messages.length);for(let r=0;r<e.messages.length;++r){if(!D.isObject(e.messages[r]))throw j(`.ForwardMsgList.messages: object expected`);n.messages[r]=z.ForwardMsg.fromObject(e.messages[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.messages=[]),e.messages&&e.messages.length){r.messages=I(e.messages.length);for(let i=0;i<e.messages.length;++i)r.messages[i]=z.ForwardMsg.toObject(e.messages[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ForwardMsgList`},e})(),xe=z.GitInfo=(()=>{let e=function(e){if(this.untrackedFiles=[],this.uncommittedFiles=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.repository=``,e.prototype.branch=``,e.prototype.module=``,e.prototype.untrackedFiles=D.emptyArray,e.prototype.uncommittedFiles=D.emptyArray,e.prototype.state=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.repository!=null&&O.hasOwnProperty.call(e,`repository`)&&e.repository!==``&&t.uint32(10).string(e.repository),e.branch!=null&&O.hasOwnProperty.call(e,`branch`)&&e.branch!==``&&t.uint32(18).string(e.branch),e.module!=null&&O.hasOwnProperty.call(e,`module`)&&e.module!==``&&t.uint32(26).string(e.module),e.untrackedFiles!=null&&e.untrackedFiles.length)for(let n=0;n<e.untrackedFiles.length;++n)t.uint32(34).string(e.untrackedFiles[n]);if(e.uncommittedFiles!=null&&e.uncommittedFiles.length)for(let n=0;n<e.uncommittedFiles.length;++n)t.uint32(42).string(e.uncommittedFiles[n]);if(e.state!=null&&O.hasOwnProperty.call(e,`state`)&&e.state!==0&&t.uint32(48).int32(e.state),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.GitInfo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.repository=s:delete o.repository;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.branch=s:delete o.branch;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.module=s:delete o.module;continue;case 4:if(a!==2)break;o.untrackedFiles&&o.untrackedFiles.length||(o.untrackedFiles=[]),o.untrackedFiles.push(e.stringVerify());continue;case 5:if(a!==2)break;o.uncommittedFiles&&o.uncommittedFiles.length||(o.uncommittedFiles=[]),o.uncommittedFiles.push(e.stringVerify());continue;case 6:if(a!==0)break;(s=e.int32())?o.state=s:delete o.state;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.GitInfo)return e;if(!D.isObject(e))throw j(`.GitInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.GitInfo;if(e.repository!=null&&(typeof e.repository!=`string`||e.repository.length)&&(n.repository=M(e.repository)
1),e.branch!=null&&(typeof e.branch!=`string`||e.branch.length)&&(n.branch=M(e.branch)),e.module!=null&&(typeof e.module!=`string`||e.module.length)&&(n.module=M(e.module)),e.untrackedFiles){if(!I.isArray(e.untrackedFiles))throw j(`.GitInfo.untrackedFiles: array expected`);n.untrackedFiles=I(e.untrackedFiles.length);for(let t=0;t<e.untrackedFiles.length;++t)n.untrackedFiles[t]=M(e.untrackedFiles[t])}if(e.uncommittedFiles){if(!I.isArray(e.uncommittedFiles))throw j(`.GitInfo.uncommittedFiles: array expected`);n.uncommittedFiles=I(e.uncommittedFiles.length);for(let t=0;t<e.uncommittedFiles.length;++t)n.uncommittedFiles[t]=M(e.uncommittedFiles[t])}if(e.state!==0&&(typeof e.state!=`string`||z.GitInfo.GitStates[e.state]!==0))switch(e.state){case`DEFAULT`:case 0:n.state=0;break;case`HEAD_DETACHED`:case 1:n.state=1;break;case`AHEAD_OF_REMOTE`:case 2:n.state=2;break;default:typeof e.state==`number`&&(e.state|0)===e.state&&(n.state=e.state)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.untrackedFiles=[],r.uncommittedFiles=[]),t.defaults&&(r.repository=``,r.branch=``,r.module=``,r.state=t.enums===M?`DEFAULT`:0),e.repository!=null&&O.hasOwnProperty.call(e,`repository`)&&(r.repository=e.repository),e.branch!=null&&O.hasOwnProperty.call(e,`branch`)&&(r.branch=e.branch),e.module!=null&&O.hasOwnProperty.call(e,`module`)&&(r.module=e.module),e.untrackedFiles&&e.untrackedFiles.length){r.untrackedFiles=I(e.untrackedFiles.length);for(let t=0;t<e.untrackedFiles.length;++t)r.untrackedFiles[t]=e.untrackedFiles[t]}if(e.uncommittedFiles&&e.uncommittedFiles.length){r.uncommittedFiles=I(e.uncommittedFiles.length);for(let t=0;t<e.uncommittedFiles.length;++t)r.uncommittedFiles[t]=e.uncommittedFiles[t]}return e.state!=null&&O.hasOwnProperty.call(e,`state`)&&(r.state=t.enums===M?z.GitInfo.GitStates[e.state]===k?e.state:z.GitInfo.GitStates[e.state]:e.state),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/GitInfo`},e.GitStates=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`HEAD_DETACHED`]=1,t[e[2]=`AHEAD_OF_REMOTE`]=2,t})(),e})(),Se=z.Logo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.image=``,e.prototype.link=``,e.prototype.iconImage=``,e.prototype.size=``,e.prototype.imageType=0,e.prototype.iconImageType=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.image!=null&&O.hasOwnProperty.call(e,`image`)&&e.image!==``&&t.uint32(10).string(e.image),e.link!=null&&O.hasOwnProperty.call(e,`link`)&&e.link!==``&&t.uint32(18).string(e.link),e.iconImage!=null&&O.hasOwnProperty.call(e,`iconImage`)&&e.iconImage!==``&&t.uint32(26).string(e.iconImage),e.size!=null&&O.hasOwnProperty.call(e,`size`)&&e.size!==``&&t.uint32(34).string(e.size),e.imageType!=null&&O.hasOwnProperty.call(e,`imageType`)&&e.imageType!==0&&t.uint32(40).int32(e.imageType),e.iconImageType!=null&&O.hasOwnProperty.call(e,`iconImageType`)&&e.iconImageType!==0&&t.uint32(48).int32(e.iconImageType),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Logo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.image=s:delete o.image;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.link=s:delete o.link;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.iconImage=s:delete o.iconImage;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.size=s:delete o.size;continue;case 5:if(a!==0)break;(s=e.int32())?o.imageType=s:delete o.imageType;continue;case 6:if(a!==0)break;(s=e.int32())?o.iconImageType=s:delete o.iconImageType;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Logo)return e;if(!D.isObject(e))throw j(`.Logo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Logo;if(e.image!=null&&(typeof e.image!=`string`||e.image.length)&&(n.image=M(e.image)),e.link!=null&&(typeof e.link!=`string`||e.link.length)&&(n.link=M(e.link)),e.iconImage!=null&&(typeof e.iconImage!=`string`||e.iconImage.length)&&(n.iconImage=M(e.iconImage)),e.size!=null&&(typeof e.size!=`string`||e.size.length)&&(n.size=M(e.size)),e.imageType!==0&&(typeof e.imageType!=`string`||z.Logo.ImageType[e.imageType]!==0))switch(e.imageType){case`IMAGE`:case 0:n.imageType=0;break;case`EMOJI`:case 1:n.imageType=1;break;case`ICON`:case 2:n.imageType=2;break;default:typeof e.imageType==`number`&&(e.imageType|0)===e.imageType&&(n.imageType=e.imageType)}if(e.iconImageType!==0&&(typeof e.iconImageType!=`string`||z.Logo.ImageType[e.iconImageType]!==0))switch(e.iconImageType){case`IMAGE`:case 0:n.iconImageType=0;break;case`EMOJI`:case 1:n.iconImageType=1;break;case`ICON`:case 2:n.iconImageType=2;break;default:typeof e.iconImageType==`number`&&(e.iconImageType|0)===e.iconImageType&&(n.iconImageType=e.iconImageType)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.image=``,r.link=``,r.iconImage=``,r.size=``,r.imageType=t.enums===M?`IMAGE`:0,r.iconImageType=t.enums===M?`IMAGE`:0),e.image!=null&&O.hasOwnProperty.call(e,`image`)&&(r.image=e.image),e.link!=null&&O.hasOwnProperty.call(e,`link`)&&(r.link=e.link),e.iconImage!=null&&O.hasOwnProperty.call(e,`iconImage`)&&(r.iconImage=e.iconImage),e.size!=null&&O.hasOwnProperty.call(e,`size`)&&(r.size=e.size),e.imageType!=null&&O.hasOwnProperty.call(e,`imageType`)&&(r.imageType=t.enums===M?z.Logo.ImageType[e.imageType]===k?e.imageType:z.Logo.ImageType[e.imageType]:e.imageType),e.iconImageType!=null&&O.hasOwnProperty.call(e,`iconImageType`)&&(r.iconImageType=t.enums===M?z.Logo.ImageType[e.iconImageType]===k?e.iconImageType:z.Logo.ImageType[e.iconImageType]:e.iconImageType),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Logo`},e.ImageType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`IMAGE`]=0,t[e[1]=`EMOJI`]=1,t[e[2]=`ICON`]=2,t})(),e})(),Ce=z.Navigation=(()=>{let e=function(e){if(this.sections=[],this.appPages=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.sections=D.emptyArray,e.prototype.appPages=D.emptyArray,e.prototype.position=0,e.prototype.pageScriptHash=``,e.prototype.expanded=!1,e.prototype.visibleItems=null;let t;return O.defineProperty(e.prototype,`_visibleItems`,{get:D.oneOfGetter(t=[`visibleItems`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.sections!=null&&e.sections.length)for(let n=0;n<e.sections.length;++n)t.uint32(10).string(e.sections[n]);if(e.appPages!=null&&e.appPages.length)for(let r=0;r<e.appPages.length;++r)z.AppPage.encode(e.appPages[r],t.uint32(18).fork(),n+1).ldelim();if(e.position!=null&&O.hasOwnProperty.call(e,`position`)&&e.position!==0&&t.uint32(24).int32(e.position),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(34).string(e.pageScriptHash),e.expanded!=null&&O.hasOwnProperty.call(e,`expanded`)&&e.expanded!==!1&&t.uint32(40).bool(e.expanded),e.visibleItems!=null&&O.hasOwnProperty.call(e,`visibleItems`)&&t.uint32(48).uint32(e.visibleItems),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Navigation,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.sections&&o.sections.length||(o.sections=[]),o.sections.push(e.stringVerify());continue;case 2:if(a!==2)break;o.appPages&&o.appPages.length||(o.appPages=[]),o.appPages.push(z.AppPage.decode(e,e.uint32(),k,r+1));continue;case 3:if(a!==0)break;(s=e.int32())?o.position=s:delete o.position;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.pageScriptHash=s:delete o.pageScriptHash;continue;case 5:if(a!==0)break;(s=e.bool())?o.expanded=s:delete o.expanded;continue;case 6:if(a!==0)break;o.visibleItems=e.uint32(),o._visibleItems=`visibleItems`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Navigation)return e;if(!D.isObject(e))throw j(`.Navigation: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Navigation;if(e.sections){if(!I.isArray(e.sections))throw j(`.Navigation.sections: array expected`);n.sections=I(e.sections.length);for(let t=0;t<e.sections.length;++t)n.sections[t]=M(e.sections[t])}if(e.appPages){if(!I.isArray(e.appPages))throw j(`.Navigation.appPages: array expected`);n.appPages=I(e.appPages.length);for(let r=0;r<e.appPages.length;++r){if(!D.isObject(e.appPages[r]))throw j(`.Navigation.appPages: object expected`);n.appPages[r]=z.AppPage.fromObject(e.appPages[r],t+1)}}if(e.position!==0&&(typeof e.position!=`string`||z.Navigation.Position[e.position]!==0))switch(e.position){case`HIDDEN`:case 0:n.position=0;break;case`SIDEBAR`:case 1:n.position=1;break;case`TOP`:case 2:n.position=2;break;default:typeof e.position==`number`&&(e.position|0)===e.position&&(n.position=e.position)}return e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=M(e.pageScriptHash)),e.expanded!=null&&e.expanded&&(n.expanded=N(e.expanded)),e.visibleItems!=null&&(n.visibleItems=e.visibleItems>>>0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.sections=[],r.appPages=[]),t.defaults&&(r.position=t.enums===M?`HIDDEN`:0,r.pageScriptHash=``,r.expanded=!1),e.sections&&e.sections.length){r.sections=I(e.sections.length);for(let t=0;t<e.sections.length;++t)r.sections[t]=e.sections[t]}if(e.appPages&&e.appPages.length){r.appPages=I(e.appPages.length);for(let i=0;i<e.appPages.length;++i)r.appPages[i]=z.AppPage.toObject(e.appPages[i],t,n+1)}return e.position!=null&&O.hasOwnProperty.call(e,`position`)&&(r.position=t.enums===M?z.Navigation.Position[e.position]===k?e.position:z.Navigation.Position[e.position]:e.position),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.expanded!=null&&O.hasOwnProperty.call(e,`expanded`)&&(r.expanded=e.expanded),e.visibleItems!=null&&O.hasOwnProperty.call(e,`visibleItems`)&&(r.visibleItems=e.visibleItems),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Navigation`},e.Position=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`HIDDEN`]=0,t[e[1]=`SIDEBAR`]=1,t[e[2]=`TOP`]=2,t})(),e})();z.NewSession=(()=>{let e=function(e){if(this.appPages=[],this.fragmentIdsThisRun=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.initialize=null,e.prototype.scriptRunId=``,e.prototype.name=``,e.prototype.mainScriptPath=``,e.prototype.config=null,e.prototype.customTheme=null,e.prototype.appPages=D.emptyArray,e.prototype.pageScriptHash=``,e.prototype.fragmentIdsThisRun=D.emptyArray,e.prototype.mainScriptHash=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.initialize!=null&&O.hasOwnProperty.call(e,`initialize`)&&z.Initialize.encode(e.initialize,t.uint32(10).fork(),n+1).ldelim(),e.scriptRunId!=null&&O.hasOwnProperty.call(e,`scriptRunId`)&&e.scriptRunId!==``&&t.uint32(18).string(e.scriptRunId),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(26).string(e.name),e.mainScriptPath!=null&&O.hasOwnProperty.call(e,`mainScriptPath`)&&e.mainScriptPath!==``&&t.uint32(34).string(e.mainScriptPath),e.config!=null&&O.hasOwnProperty.call(e,`config`)&&z.Config.encode(e.config,t.uint32(50).fork(),n+1).ldelim(),e.customTheme!=null&&O.hasOwnProperty.call(e,`customTheme`)&&z.CustomThemeConfig.encode(e.customTheme,t.uint32(58).fork(),n+1).ldelim(),e.appPages!=null&&e.appPages.length)for(let r=0;r<e.appPages.length;++r)z.AppPage.encode(e.appPages[r],t.uint32(66).fork(),n+1).ldelim();if(e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(74).string(e.pageScriptHash),e.fragmentIdsThisRun!=null&&e.fragmentIdsThisRun.length)for(let n=0;n<e.fragmentIdsThisRun.length;++n)t.uint32(82).string(e.fragmentIdsThisRun[n]);if(e.mainScriptHash!=null&&O.hasOwnProperty.call(e,`mainScriptHash`)&&e.mainScriptHash!==``&&t.uint32(90).string(e.mainScriptHash),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.NewSession,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.initialize=z.Initialize.decode(e,e.uint32(),k,r+1,o.initialize);continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.scriptRunId=s:delete o.scriptRunId;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.mainScriptPath=s:delete o.mainScriptPath;continue;case 6:if(a!==2)break;o.config=z.Config.decode(e,e.uint32(),k,r+1,o.config);continue;case 7:if(a!==2)break;o.customTheme=z.CustomThemeConfig.decode(e,e.uint32(),k,r+1,o.customTheme);continue;case 8:if(a!==2)break;o.appPages&&o.appPages.length||(o.appPages=[]),o.appPages.push(z.AppPage.decode(e,e.uint32(),k,r+1));continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.pageScriptHash=s:delete o.pageScriptHash;continue;case 10:if(a!==2)break;o.fragmentIdsThisRun&&o.fragmentIdsThisRun.length||(o.fragmentIdsThisRun=[]),o.fragmentIdsThisRun.push(e.stringVerify());continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.mainScriptHash=s:delete o.mainScriptHash;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.NewSession)return e;if(!D.isObject(e))throw j(`.NewSession: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.NewSession;if(e.initialize!=null){if(!D.isObject(e.initialize))throw j(`.NewSession.initialize: object expected`);n.initialize=z.Initialize.fromObject(e.initialize,t+1)}if(e.scriptRunId!=null&&(typeof e.scriptRunId!=`string`||e.scriptRunId.length)&&(n.scriptRunId=M(e.scriptRunId)),e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.mainScriptPath!=null&&(typeof e.mainScriptPath!=`string`||e.mainScriptPath.length)&&(n.mainScriptPath=M(e.mainScriptPath)),e.config!=null){if(!D.isObject(e.config))throw j(`.NewSession.config: object expected`);n.config=z.Config.fromObject(e.config,t+1)}if(e.customTheme!=null){if(!D.isObject(e.customTheme))throw j(`.NewSession.customTheme: object expected`);n.customTheme=z.CustomThemeConfig.fromObject(e.customTheme,t+1)}if(e.appPages){if(!I.isArray(e.appPages))throw j(`.NewSession.appPages: array expected`);n.appPages=I(e.appPages.length);for(let r=0;r<e.appPages.length;++r){if(!D.isObject(e.appPages[r]))throw j(`.NewSession.appPages: object expected`);n.appPages[r]=z.AppPage.fromObject(e.appPages[r],t+1)}}if(e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=M(e.pageScriptHash)),e.fragmentIdsThisRun){if(!I.isArray(e.fragmentIdsThisRun))throw j(`.NewSession.fragmentIdsThisRun: array expected`);n.fragmentIdsThisRun=I(e.fragmentIdsThisRun.length);for(let t=0;t<e.fragmentIdsThisRun.length;++t)n.fragmentIdsThisRun[t]=M(e.fragmentIdsThisRun[t])}return e.mainScriptHash!=null&&(typeof e.mainScriptHash!=`string`||e.mainScriptHash.length)&&(n.mainScriptHash=M(e.mainScriptHash)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.appPages=[],r.fragmentIdsThisRun=[]),t.defaults&&(r.initialize=null,r.scriptRunId=``,r.name=``,r.mainScriptPath=``,r.config=null,r.customTheme=null,r.pageScriptHash=``,r.mainScriptHash=``),e.initialize!=null&&O.hasOwnProperty.call(e,`initialize`)&&(r.initialize=z.Initialize.toObject(e.initialize,t,n+1)),e.scriptRunId!=null&&O.hasOwnProperty.call(e,`scriptRunId`)&&(r.scriptRunId=e.scriptRunId),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.mainScriptPath!=null&&O.hasOwnProperty.call(e,`mainScriptPath`)&&(r.mainScriptPath=e.mainScriptPath),e.config!=null&&O.hasOwnProperty.call(e,`config`)&&(r.config=z.Config.toObject(e.config,t,n+1)),e.customTheme!=null&&O.hasOwnProperty.call(e,`customTheme`)&&(r.customTheme=z.CustomThemeConfig.toObject(e.customTheme,t,n+1)),e.appPages&&e.appPages.length){r.appPages=I(e.appPages.length);for(let i=0;i<e.appPages.length;++i)r.appPages[i]=z.AppPage.toObject(e.appPages[i],t,n+1)}if(e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.fragmentIdsThisRun&&e.fragmentIdsThisRun.length){r.fragmentIdsThisRun=I(e.fragmentIdsThisRun.length);for(let t=0;t<e.fragmentIdsThisRun.length;++t)r.fragmentIdsThisRun[t]=e.fragmentIdsThisRun[t]}return e.mainScriptHash!=null&&O.hasOwnProperty.call(e,`mainScriptHash`)&&(r.mainScriptHash=e.mainScriptHash),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/NewSession`},e})(),z.Initialize=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.userInfo=null,e.prototype.environmentInfo=null,e.prototype.sessionStatus=null,e.prototype.sessionId=``,e.prototype.isHello=!1,e.prototype.recommendSkillsInstall=!1,e.prototype.skillsNudgeSuppressedLocality=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.userInfo!=null&&O.hasOwnProperty.call(e,`userInfo`)&&z.UserInfo.encode(e.userInfo,t.uint32(10).fork(),n+1).ldelim(),e.environmentInfo!=null&&O.hasOwnProperty.call(e,`environmentInfo`)&&z.EnvironmentInfo.encode(e.environmentInfo,t.uint32(26).fork(),n+1).ldelim(),e.sessionStatus!=null&&O.hasOwnProperty.call(e,`sessionStatus`)&&z.SessionStatus.encode(e.sessionStatus,t.uint32(34).fork(),n+1).ldelim(),e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(50).string(e.sessionId),e.isHello!=null&&O.hasOwnProperty.call(e,`isHello`)&&e.isHello!==!1&&t.uint32(56).bool(e.isHello),e.recommendSkillsInstall!=null&&O.hasOwnProperty.call(e,`recommendSkillsInstall`)&&e.recommendSkillsInstall!==!1&&t.uint32(64).bool(e.recommendSkillsInstall),e.skillsNudgeSuppressedLocality!=null&&O.hasOwnProperty.call(e,`skillsNudgeSuppressedLocality`)&&e.skillsNudgeSuppressedLocality!==``&&t.uint32(74).string(e.skillsNudgeSuppressedLocality),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Initialize,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.userInfo=z.UserInfo.decode(e,e.uint32(),k,r+1,o.userInfo);continue;case 3:if(a!==2)break;o.environmentInfo=z.EnvironmentInfo.decode(e,e.uint32(),k,r+1,o.environmentInfo);continue;case 4:if(a!==2)break;o.sessionStatus=z.SessionStatus.decode(e,e.uint32(),k,r+1,o.sessionStatus);continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.sessionId=s:delete o.sessionId;continue;case 7:if(a!==0)break;(s=e.bool())?o.isHello=s:delete o.isHello;continue;case 8:if(a!==0)break;(s=e.bool())?o.recommendSkillsInstall=s:delete o.recommendSkillsInstall;continue;
1case 9:if(a!==2)break;(s=e.stringVerify()).length?o.skillsNudgeSuppressedLocality=s:delete o.skillsNudgeSuppressedLocality;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Initialize)return e;if(!D.isObject(e))throw j(`.Initialize: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Initialize;if(e.userInfo!=null){if(!D.isObject(e.userInfo))throw j(`.Initialize.userInfo: object expected`);n.userInfo=z.UserInfo.fromObject(e.userInfo,t+1)}if(e.environmentInfo!=null){if(!D.isObject(e.environmentInfo))throw j(`.Initialize.environmentInfo: object expected`);n.environmentInfo=z.EnvironmentInfo.fromObject(e.environmentInfo,t+1)}if(e.sessionStatus!=null){if(!D.isObject(e.sessionStatus))throw j(`.Initialize.sessionStatus: object expected`);n.sessionStatus=z.SessionStatus.fromObject(e.sessionStatus,t+1)}return e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=M(e.sessionId)),e.isHello!=null&&e.isHello&&(n.isHello=N(e.isHello)),e.recommendSkillsInstall!=null&&e.recommendSkillsInstall&&(n.recommendSkillsInstall=N(e.recommendSkillsInstall)),e.skillsNudgeSuppressedLocality!=null&&(typeof e.skillsNudgeSuppressedLocality!=`string`||e.skillsNudgeSuppressedLocality.length)&&(n.skillsNudgeSuppressedLocality=M(e.skillsNudgeSuppressedLocality)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.userInfo=null,r.environmentInfo=null,r.sessionStatus=null,r.sessionId=``,r.isHello=!1,r.recommendSkillsInstall=!1,r.skillsNudgeSuppressedLocality=``),e.userInfo!=null&&O.hasOwnProperty.call(e,`userInfo`)&&(r.userInfo=z.UserInfo.toObject(e.userInfo,t,n+1)),e.environmentInfo!=null&&O.hasOwnProperty.call(e,`environmentInfo`)&&(r.environmentInfo=z.EnvironmentInfo.toObject(e.environmentInfo,t,n+1)),e.sessionStatus!=null&&O.hasOwnProperty.call(e,`sessionStatus`)&&(r.sessionStatus=z.SessionStatus.toObject(e.sessionStatus,t,n+1)),e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),e.isHello!=null&&O.hasOwnProperty.call(e,`isHello`)&&(r.isHello=e.isHello),e.recommendSkillsInstall!=null&&O.hasOwnProperty.call(e,`recommendSkillsInstall`)&&(r.recommendSkillsInstall=e.recommendSkillsInstall),e.skillsNudgeSuppressedLocality!=null&&O.hasOwnProperty.call(e,`skillsNudgeSuppressedLocality`)&&(r.skillsNudgeSuppressedLocality=e.skillsNudgeSuppressedLocality),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Initialize`},e})();var we=z.Config=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.gatherUsageStats=!1,e.prototype.maxCachedMessageAge=0,e.prototype.allowRunOnSave=!1,e.prototype.hideTopBar=!1,e.prototype.hideSidebarNav=!1,e.prototype.toolbarMode=0,e.prototype.showErrorLinks=0,e.prototype.disableDataExport=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.gatherUsageStats!=null&&O.hasOwnProperty.call(e,`gatherUsageStats`)&&e.gatherUsageStats!==!1&&t.uint32(16).bool(e.gatherUsageStats),e.maxCachedMessageAge!=null&&O.hasOwnProperty.call(e,`maxCachedMessageAge`)&&e.maxCachedMessageAge!==0&&t.uint32(24).int32(e.maxCachedMessageAge),e.allowRunOnSave!=null&&O.hasOwnProperty.call(e,`allowRunOnSave`)&&e.allowRunOnSave!==!1&&t.uint32(40).bool(e.allowRunOnSave),e.hideTopBar!=null&&O.hasOwnProperty.call(e,`hideTopBar`)&&e.hideTopBar!==!1&&t.uint32(48).bool(e.hideTopBar),e.hideSidebarNav!=null&&O.hasOwnProperty.call(e,`hideSidebarNav`)&&e.hideSidebarNav!==!1&&t.uint32(56).bool(e.hideSidebarNav),e.toolbarMode!=null&&O.hasOwnProperty.call(e,`toolbarMode`)&&e.toolbarMode!==0&&t.uint32(64).int32(e.toolbarMode),e.showErrorLinks!=null&&O.hasOwnProperty.call(e,`showErrorLinks`)&&e.showErrorLinks!==0&&t.uint32(72).int32(e.showErrorLinks),e.disableDataExport!=null&&O.hasOwnProperty.call(e,`disableDataExport`)&&e.disableDataExport!==!1&&t.uint32(80).bool(e.disableDataExport),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Config,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 2:if(a!==0)break;(s=e.bool())?o.gatherUsageStats=s:delete o.gatherUsageStats;continue;case 3:if(a!==0)break;(s=e.int32())?o.maxCachedMessageAge=s:delete o.maxCachedMessageAge;continue;case 5:if(a!==0)break;(s=e.bool())?o.allowRunOnSave=s:delete o.allowRunOnSave;continue;case 6:if(a!==0)break;(s=e.bool())?o.hideTopBar=s:delete o.hideTopBar;continue;case 7:if(a!==0)break;(s=e.bool())?o.hideSidebarNav=s:delete o.hideSidebarNav;continue;case 8:if(a!==0)break;(s=e.int32())?o.toolbarMode=s:delete o.toolbarMode;continue;
1case 9:if(a!==0)break;(s=e.int32())?o.showErrorLinks=s:delete o.showErrorLinks;continue;case 10:if(a!==0)break;(s=e.bool())?o.disableDataExport=s:delete o.disableDataExport;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Config)return e;if(!D.isObject(e))throw j(`.Config: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Config;if(e.gatherUsageStats!=null&&e.gatherUsageStats&&(n.gatherUsageStats=N(e.gatherUsageStats)),e.maxCachedMessageAge!=null&&P(e.maxCachedMessageAge)!==0&&(n.maxCachedMessageAge=e.maxCachedMessageAge|0),e.allowRunOnSave!=null&&e.allowRunOnSave&&(n.allowRunOnSave=N(e.allowRunOnSave)),e.hideTopBar!=null&&e.hideTopBar&&(n.hideTopBar=N(e.hideTopBar)),e.hideSidebarNav!=null&&e.hideSidebarNav&&(n.hideSidebarNav=N(e.hideSidebarNav)),e.toolbarMode!==0&&(typeof e.toolbarMode!=`string`||z.Config.ToolbarMode[e.toolbarMode]!==0))switch(e.toolbarMode){case`AUTO`:case 0:n.toolbarMode=0;break;case`DEVELOPER`:case 1:n.toolbarMode=1;break;case`VIEWER`:case 2:n.toolbarMode=2;break;case`MINIMAL`:case 3:n.toolbarMode=3;break;default:typeof e.toolbarMode==`number`&&(e.toolbarMode|0)===e.toolbarMode&&(n.toolbarMode=e.toolbarMode)}if(e.showErrorLinks!==0&&(typeof e.showErrorLinks!=`string`||z.Config.ShowErrorLinks[e.showErrorLinks]!==0))switch(e.showErrorLinks){case`SHOW_ERROR_LINKS_UNSPECIFIED`:case 0:n.showErrorLinks=0;break;case`SHOW_ERROR_LINKS_AUTO`:case 1:n.showErrorLinks=1;break;case`SHOW_ERROR_LINKS_TRUE`:case 2:n.showErrorLinks=2;break;case`SHOW_ERROR_LINKS_FALSE`:case 3:n.showErrorLinks=3;break;default:typeof e.showErrorLinks==`number`&&(e.showErrorLinks|0)===e.showErrorLinks&&(n.showErrorLinks=e.showErrorLinks)}return e.disableDataExport!=null&&e.disableDataExport&&(n.disableDataExport=N(e.disableDataExport)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.gatherUsageStats=!1,r.maxCachedMessageAge=0,r.allowRunOnSave=!1,r.hideTopBar=!1,r.hideSidebarNav=!1,r.toolbarMode=t.enums===M?`AUTO`:0,r.showErrorLinks=t.enums===M?`SHOW_ERROR_LINKS_UNSPECIFIED`:0,r.disableDataExport=!1),e.gatherUsageStats!=null&&O.hasOwnProperty.call(e,`gatherUsageStats`)&&(r.gatherUsageStats=e.gatherUsageStats),e.maxCachedMessageAge!=null&&O.hasOwnProperty.call(e,`maxCachedMessageAge`)&&(r.maxCachedMessageAge=e.maxCachedMessageAge),e.allowRunOnSave!=null&&O.hasOwnProperty.call(e,`allowRunOnSave`)&&(r.allowRunOnSave=e.allowRunOnSave),e.hideTopBar!=null&&O.hasOwnProperty.call(e,`hideTopBar`)&&(r.hideTopBar=e.hideTopBar),e.hideSidebarNav!=null&&O.hasOwnProperty.call(e,`hideSidebarNav`)&&(r.hideSidebarNav=e.hideSidebarNav),e.toolbarMode!=null&&O.hasOwnProperty.call(e,`toolbarMode`)&&(r.toolbarMode=t.enums===M?z.Config.ToolbarMode[e.toolbarMode]===k?e.toolbarMode:z.Config.ToolbarMode[e.toolbarMode]:e.toolbarMode),e.showErrorLinks!=null&&O.hasOwnProperty.call(e,`showErrorLinks`)&&(r.showErrorLinks=t.enums===M?z.Config.ShowErrorLinks[e.showErrorLinks]===k?e.showErrorLinks:z.Config.ShowErrorLinks[e.showErrorLinks]:e.showErrorLinks),e.disableDataExport!=null&&O.hasOwnProperty.call(e,`disableDataExport`)&&(r.disableDataExport=e.disableDataExport),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Config`},e.ToolbarMode=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`AUTO`]=0,t[e[1]=`DEVELOPER`]=1,t[e[2]=`VIEWER`]=2,t[e[3]=`MINIMAL`]=3,t})(),e.ShowErrorLinks=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`SHOW_ERROR_LINKS_UNSPECIFIED`]=0,t[e[1]=`SHOW_ERROR_LINKS_AUTO`]=1,t[e[2]=`SHOW_ERROR_LINKS_TRUE`]=2,t[e[3]=`SHOW_ERROR_LINKS_FALSE`]=3,t})(),e})(),Te=z.CustomThemeConfig=(()=>{let e=function(e){if(this.fontFaces=[],this.fontSources=[],this.headingFontSizes=[],this.headingFontWeights=[],this.chartCategoricalColors=[],this.chartSequentialColors=[],this.chartDivergingColors=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};
1e.prototype.primaryColor=``,e.prototype.secondaryBackgroundColor=``,e.prototype.backgroundColor=``,e.prototype.textColor=``,e.prototype.base=0,e.prototype.headingFont=``,e.prototype.bodyFont=``,e.prototype.codeFont=``,e.prototype.fontFaces=D.emptyArray,e.prototype.fontSources=D.emptyArray,e.prototype.baseRadius=null,e.prototype.buttonRadius=null,e.prototype.borderColor=null,e.prototype.dataframeBorderColor=null,e.prototype.showWidgetBorder=null,e.prototype.linkColor=null,e.prototype.linkUnderline=null,e.prototype.baseFontSize=null,e.prototype.baseFontWeight=null,e.prototype.codeFontWeight=null,e.prototype.codeFontSize=null,e.prototype.headingFontSizes=D.emptyArray,e.prototype.headingFontWeights=D.emptyArray,e.prototype.showSidebarBorder=null,e.prototype.codeTextColor=null,e.prototype.codeBackgroundColor=null,e.prototype.dataframeHeaderBackgroundColor=null,e.prototype.chartCategoricalColors=D.emptyArray,e.prototype.chartSequentialColors=D.emptyArray,e.prototype.chartDivergingColors=D.emptyArray,e.prototype.redColor=null,e.prototype.orangeColor=null,e.prototype.yellowColor=null,e.prototype.blueColor=null,e.prototype.greenColor=null,e.prototype.violetColor=null,e.prototype.grayColor=null,e.prototype.redBackgroundColor=null,e.prototype.orangeBackgroundColor=null,e.prototype.yellowBackgroundColor=null,e.prototype.blueBackgroundColor=null,e.prototype.greenBackgroundColor=null,e.prototype.violetBackgroundColor=null,e.prototype.grayBackgroundColor=null,e.prototype.redTextColor=null,e.prototype.orangeTextColor=null,e.prototype.yellowTextColor=null,e.prototype.blueTextColor=null,e.prototype.greenTextColor=null,e.prototype.violetTextColor=null,e.prototype.grayTextColor=null,e.prototype.metricValueFontSize=null,e.prototype.metricValueFontWeight=null,e.prototype.sidebar=null,e.prototype.light=null,e.prototype.dark=null;let t;return O.defineProperty(e.prototype,`_baseRadius`,{get:D.oneOfGetter(t=[`baseRadius`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_buttonRadius`,{get:D.oneOfGetter(t=[`buttonRadius`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_borderColor`,{get:D.oneOfGetter(t=[`borderColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_dataframeBorderColor`,{get:D.oneOfGetter(t=[`dataframeBorderColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_showWidgetBorder`,{get:D.oneOfGetter(t=[`showWidgetBorder`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_linkColor`,{get:D.oneOfGetter(t=[`linkColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_linkUnderline`,{get:D.oneOfGetter(t=[`linkUnderline`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_baseFontSize`,{get:D.oneOfGetter(t=[`baseFontSize`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_baseFontWeight`,{get:D.oneOfGetter(t=[`baseFontWeight`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_codeFontWeight`,{get:D.oneOfGetter(t=[`codeFontWeight`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_codeFontSize`,{get:D.oneOfGetter(t=[`codeFontSize`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_showSidebarBorder`,{get:D.oneOfGetter(t=[`showSidebarBorder`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_codeTextColor`,{get:D.oneOfGetter(t=[`codeTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_codeBackgroundColor`,{get:D.oneOfGetter(t=[`codeBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_dataframeHeaderBackgroundColor`,{get:D.oneOfGetter(t=[`dataframeHeaderBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_redColor`,{get:D.oneOfGetter(t=[`redColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_orangeColor`,{get:D.oneOfGetter(t=[`orangeColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_yellowColor`,{get:D.oneOfGetter(t=[`yellowColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_blueColor`,{get:D.oneOfGetter(t=[`blueColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_greenColor`,{get:D.oneOfGetter(t=[`greenColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_violetColor`,{get:D.oneOfGetter(t=[`violetColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_grayColor`,{get:D.oneOfGetter(t=[`grayColor`]),set:D.oneOfSetter(t)}
1),O.defineProperty(e.prototype,`_redBackgroundColor`,{get:D.oneOfGetter(t=[`redBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_orangeBackgroundColor`,{get:D.oneOfGetter(t=[`orangeBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_yellowBackgroundColor`,{get:D.oneOfGetter(t=[`yellowBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_blueBackgroundColor`,{get:D.oneOfGetter(t=[`blueBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_greenBackgroundColor`,{get:D.oneOfGetter(t=[`greenBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_violetBackgroundColor`,{get:D.oneOfGetter(t=[`violetBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_grayBackgroundColor`,{get:D.oneOfGetter(t=[`grayBackgroundColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_redTextColor`,{get:D.oneOfGetter(t=[`redTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_orangeTextColor`,{get:D.oneOfGetter(t=[`orangeTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_yellowTextColor`,{get:D.oneOfGetter(t=[`yellowTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_blueTextColor`,{get:D.oneOfGetter(t=[`blueTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_greenTextColor`,{get:D.oneOfGetter(t=[`greenTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_violetTextColor`,{get:D.oneOfGetter(t=[`violetTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_grayTextColor`,{get:D.oneOfGetter(t=[`grayTextColor`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_metricValueFontSize`,{get:D.oneOfGetter(t=[`metricValueFontSize`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_metricValueFontWeight`,{get:D.oneOfGetter(t=[`metricValueFontWeight`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_sidebar`,{get:D.oneOfGetter(t=[`sidebar`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_light`,{get:D.oneOfGetter(t=[`light`]),set:D.oneOfSetter(t)}),O.defineProperty(e.prototype,`_dark`,{get:D.oneOfGetter(t=[`dark`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.primaryColor!=null&&O.hasOwnProperty.call(e,`primaryColor`)&&e.primaryColor!==``&&t.uint32(10).string(e.primaryColor),e.secondaryBackgroundColor!=null&&O.hasOwnProperty.call(e,`secondaryBackgroundColor`)&&e.secondaryBackgroundColor!==``&&t.uint32(18).string(e.secondaryBackgroundColor),e.backgroundColor!=null&&O.hasOwnProperty.call(e,`backgroundColor`)&&e.backgroundColor!==``&&t.uint32(26).string(e.backgroundColor),e.textColor!=null&&O.hasOwnProperty.call(e,`textColor`)&&e.textColor!==``&&t.uint32(34).string(e.textColor),e.base!=null&&O.hasOwnProperty.call(e,`base`)&&e.base!==0&&t.uint32(48).int32(e.base),e.headingFont!=null&&O.hasOwnProperty.call(e,`headingFont`)&&e.headingFont!==``&&t.uint32(98).string(e.headingFont),e.bodyFont!=null&&O.hasOwnProperty.call(e,`bodyFont`)&&e.bodyFont!==``&&t.uint32(106).string(e.bodyFont),e.codeFont!=null&&O.hasOwnProperty.call(e,`codeFont`)&&e.codeFont!==``&&t.uint32(114).string(e.codeFont),e.fontFaces!=null&&e.fontFaces.length)for(let r=0;r<e.fontFaces.length;++r)z.FontFace.encode(e.fontFaces[r],t.uint32(122).fork(),n+1).ldelim();if(e.baseRadius!=null&&O.hasOwnProperty.call(e,`baseRadius`)&&t.uint32(146).string(e.baseRadius),e.borderColor!=null&&O.hasOwnProperty.call(e,`borderColor`)&&t.uint32(154).string(e.borderColor),e.showWidgetBorder!=null&&O.hasOwnProperty.call(e,`showWidgetBorder`)&&t.uint32(160).bool(e.showWidgetBorder),e.linkColor!=null&&O.hasOwnProperty.call(e,`linkColor`)&&t.uint32(170).string(e.linkColor),e.baseFontSize!=null&&O.hasOwnProperty.call(e,`baseFontSize`)&&t.uint32(176).int32(e.baseFontSize),e.showSidebarBorder!=null&&O.hasOwnProperty.call(e,`showSidebarBorder`)&&t.uint32(184).bool(e.showSidebarBorder),e.sidebar!=null&&O.hasOwnProperty.call(e,`sidebar`)&&z.CustomThemeConfig.encode(e.sidebar,t.uint32(194).fork(),n+1).ldelim(),e.codeBackgroun
1dColor!=null&&O.hasOwnProperty.call(e,`codeBackgroundColor`)&&t.uint32(202).string(e.codeBackgroundColor),e.buttonRadius!=null&&O.hasOwnProperty.call(e,`buttonRadius`)&&t.uint32(210).string(e.buttonRadius),e.dataframeBorderColor!=null&&O.hasOwnProperty.call(e,`dataframeBorderColor`)&&t.uint32(218).string(e.dataframeBorderColor),e.codeFontSize!=null&&O.hasOwnProperty.call(e,`codeFontSize`)&&t.uint32(226).string(e.codeFontSize),e.linkUnderline!=null&&O.hasOwnProperty.call(e,`linkUnderline`)&&t.uint32(232).bool(e.linkUnderline),e.baseFontWeight!=null&&O.hasOwnProperty.call(e,`baseFontWeight`)&&t.uint32(240).int32(e.baseFontWeight),e.dataframeHeaderBackgroundColor!=null&&O.hasOwnProperty.call(e,`dataframeHeaderBackgroundColor`)&&t.uint32(250).string(e.dataframeHeaderBackgroundColor),e.codeFontWeight!=null&&O.hasOwnProperty.call(e,`codeFontWeight`)&&t.uint32(256).int32(e.codeFontWeight),e.chartCategoricalColors!=null&&e.chartCategoricalColors.length)for(let n=0;n<e.chartCategoricalColors.length;++n)t.uint32(266).string(e.chartCategoricalColors[n]);if(e.headingFontWeights!=null&&e.headingFontWeights.length&&t.uint32(274).int32s(e.headingFontWeights),e.headingFontSizes!=null&&e.headingFontSizes.length)for(let n=0;n<e.headingFontSizes.length;++n)t.uint32(282).string(e.headingFontSizes[n]);if(e.chartSequentialColors!=null&&e.chartSequentialColors.length)for(let n=0;n<e.chartSequentialColors.length;++n)t.uint32(290).string(e.chartSequentialColors[n]);if(e.fontSources!=null&&e.fontSources.length)for(let r=0;r<e.fontSources.length;++r)z.FontSource.encode(e.fontSources[r],t.uint32(298).fork(),n+1).ldelim();if(e.redColor!=null&&O.hasOwnProperty.call(e,`redColor`)&&t.uint32(306).string(e.redColor),e.orangeColor!=null&&O.hasOwnProperty.call(e,`orangeColor`)&&t.uint32(314).string(e.orangeColor),e.yellowColor!=null&&O.hasOwnProperty.call(e,`yellowColor`)&&t.uint32(322).string(e.yellowColor),e.blueColor!=null&&O.hasOwnProperty.call(e,`blueColor`)&&t.uint32(330).string(e.blueColor),e.greenColor!=null&&O.hasOwnProperty.call(e,`greenColor`)&&t.uint32(338).string(e.greenColor),e.violetColor!=null&&O.hasOwnProperty.call(e,`violetColor`)&&t.uint32(346).string(e.violetColor),e.grayColor!=null&&O.hasOwnProperty.call(e,`grayColor`)&&t.uint32(354).string(e.grayColor),e.redBackgroundColor!=null&&O.hasOwnProperty.call(e,`redBackgroundColor`)&&t.uint32(362).string(e.redBackgroundColor),e.orangeBackgroundColor!=null&&O.hasOwnProperty.call(e,`orangeBackgroundColor`)&&t.uint32(370).string(e.orangeBackgroundColor),e.yellowBackgroundColor!=null&&O.hasOwnProperty.call(e,`yellowBackgroundColor`)&&t.uint32(378).string(e.yellowBackgroundColor),e.blueBackgroundColor!=null&&O.hasOwnProperty.call(e,`blueBackgroundColor`)&&t.uint32(386).string(e.blueBackgroundColor),e.greenBackgroundColor!=null&&O.hasOwnProperty.call(e,`greenBackgroundColor`)&&t.uint32(394).string(e.green
1BackgroundColor),e.violetBackgroundColor!=null&&O.hasOwnProperty.call(e,`violetBackgroundColor`)&&t.uint32(402).string(e.violetBackgroundColor),e.grayBackgroundColor!=null&&O.hasOwnProperty.call(e,`grayBackgroundColor`)&&t.uint32(410).string(e.grayBackgroundColor),e.redTextColor!=null&&O.hasOwnProperty.call(e,`redTextColor`)&&t.uint32(418).string(e.redTextColor),e.orangeTextColor!=null&&O.hasOwnProperty.call(e,`orangeTextColor`)&&t.uint32(426).string(e.orangeTextColor),e.yellowTextColor!=null&&O.hasOwnProperty.call(e,`yellowTextColor`)&&t.uint32(434).string(e.yellowTextColor),e.blueTextColor!=null&&O.hasOwnProperty.call(e,`blueTextColor`)&&t.uint32(442).string(e.blueTextColor),e.greenTextColor!=null&&O.hasOwnProperty.call(e,`greenTextColor`)&&t.uint32(450).string(e.greenTextColor),e.violetTextColor!=null&&O.hasOwnProperty.call(e,`violetTextColor`)&&t.uint32(458).string(e.violetTextColor),e.grayTextColor!=null&&O.hasOwnProperty.call(e,`grayTextColor`)&&t.uint32(466).string(e.grayTextColor),e.codeTextColor!=null&&O.hasOwnProperty.call(e,`codeTextColor`)&&t.uint32(474).string(e.codeTextColor),e.light!=null&&O.hasOwnProperty.call(e,`light`)&&z.CustomThemeConfig.encode(e.light,t.uint32(482).fork(),n+1).ldelim(),e.dark!=null&&O.hasOwnProperty.call(e,`dark`)&&z.CustomThemeConfig.encode(e.dark,t.uint32(490).fork(),n+1).ldelim(),e.chartDivergingColors!=null&&e.chartDivergingColors.length)for(let n=0;n<e.chartDivergingColors.length;++n)t.uint32(498).string(e.chartDivergingColors[n]);if(e.metricValueFontSize!=null&&O.hasOwnProperty.call(e,`metricValueFontSize`)&&t.uint32(514).string(e.metricValueFontSize),e.metricValueFontWeight!=null&&O.hasOwnProperty.call(e,`metricValueFontWeight`)&&t.uint32(520).int32(e.metricValueFontWeight),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.CustomThemeConfig,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.primaryColor=s:delete o.primaryColor;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.secondaryBackgroundColor=s:delete o.secondaryBackgroundColor;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.backgroundColor=s:delete o.backgroundColor;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.textColor=s:delete o.textColor;continue;case 6:if(a!==0)break;(s=e.int32())?o.base=s:delete o.base;continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.headingFont=s:delete o.headingFont;continue;case 13:if(a!==2)break;(s=e.stringVerify()).length?o.bodyFont=s:delete o.bodyFont;continue;case 14:if(a!==2)break;(s=e.stringVerify()).length?o.codeFont=s:delete o.codeFont;continue;case 15:if(a!==2)break;o.fontFaces&&o.fontFaces.length||(o.fontFaces=[]),o.fontFaces.push(z.FontFace.decode(e,e.uint32(),k,r+1));continue;case 37:if(a!==2)break;o.fontSources&&o.fontSources.length||(o.fontSources=[]),o.fontSources.push(z.FontSource.decode(e,e.uint32(),k,r+1));continue;case 18:if(a!==2)break;o.baseRadius=e.stringVerify(),o._baseRadius=`baseRadius`;continue;case 26:if(a!==2)break;o.buttonRadius=e.stringVerify(),o._buttonRadius=`buttonRadius`;continue;case 19:if(a!==2)break;o.borderColor=e.stringVerify(),o._borderColor=`borderColor`;continue;case 27:if(a!==2)break;o.dataframeBorderColor=e.stringVerify(),o._dataframeBorderColor=`dataframeBorderColor`;continue;case 20:if(a!==0)break;o.showWidgetBorder=e.bool(),o._showWidgetBorder=`showWidgetBorder`;continue;case 21:if(a!==2)break;o.linkColor=e.stringVerify(),o._linkColor=`linkColor`;continue;case 29:if(a!==0)break;o.linkUnderline=e.bool(),o._linkUnderline=`linkUnderline`;continue;case 22:if(a!==0)break;o.baseFontSize=e.int32(),o._baseFontSize=`baseFontSize`;continue;case 30:if(a!==0)break;o.baseFontWeight=e.int32(),o._baseFontWeight=`baseFontWeight`;continue;case 32:if(a!==0)break;o.codeFontWeight=e.int32(),o._codeFontWeight=`codeFontWeight`;continue;case 28:if(a!==2)break;o.codeFontSize=e.stringVerify(),o._codeFontSize=`codeFontSize`;continue;case 35:if(a!==2)break;o.headingFontSizes&&o.headingFontSizes.length||(o.headingFontSizes=[]),o.headingFontSizes.push(e.stringVerify());continue;case 34:if(a===2){o.headingFontWeights&&o.headingFontWeights.length||(o.headingFontWeights=[]),e.int32s(o.headingFontWeights);continue}if(a!==0)break;o.headingFontWeights&&o.headingFontWeights.length||(o.headingFontWeights=[]),o.headingFontWeights.push(e.int32());continue;case 23:if(a!==0)break;o.showSidebarBorder=e.bool(),o._showSidebarBorder=`showSidebarBorder`;continue;case 59:if(a!==2)break;o.codeTextColor=e.stringVerify(),o._codeTextColor=`codeTextColor`;continue;case 25:if(a!==2)break;
1o.codeBackgroundColor=e.stringVerify(),o._codeBackgroundColor=`codeBackgroundColor`;continue;case 31:if(a!==2)break;o.dataframeHeaderBackgroundColor=e.stringVerify(),o._dataframeHeaderBackgroundColor=`dataframeHeaderBackgroundColor`;continue;case 33:if(a!==2)break;o.chartCategoricalColors&&o.chartCategoricalColors.length||(o.chartCategoricalColors=[]),o.chartCategoricalColors.push(e.stringVerify());continue;case 36:if(a!==2)break;o.chartSequentialColors&&o.chartSequentialColors.length||(o.chartSequentialColors=[]),o.chartSequentialColors.push(e.stringVerify());continue;case 62:if(a!==2)break;o.chartDivergingColors&&o.chartDivergingColors.length||(o.chartDivergingColors=[]),o.chartDivergingColors.push(e.stringVerify());continue;case 38:if(a!==2)break;o.redColor=e.stringVerify(),o._redColor=`redColor`;continue;case 39:if(a!==2)break;o.orangeColor=e.stringVerify(),o._orangeColor=`orangeColor`;continue;case 40:if(a!==2)break;o.yellowColor=e.stringVerify(),o._yellowColor=`yellowColor`;continue;case 41:if(a!==2)break;o.blueColor=e.stringVerify(),o._blueColor=`blueColor`;continue;case 42:if(a!==2)break;o.greenColor=e.stringVerify(),o._greenColor=`greenColor`;continue;case 43:if(a!==2)break;o.violetColor=e.stringVerify(),o._violetColor=`violetColor`;continue;case 44:if(a!==2)break;o.grayColor=e.stringVerify(),o._grayColor=`grayColor`;continue;case 45:if(a!==2)break;o.redBackgroundColor=e.stringVerify(),o._redBackgroundColor=`redBackgroundColor`;continue;case 46:if(a!==2)break;o.orangeBackgroundColor=e.stringVerify(),o._orangeBackgroundColor=`orangeBackgroundColor`;continue;case 47:if(a!==2)break;o.yellowBackgroundColor=e.stringVerify(),o._yellowBackgroundColor=`yellowBackgroundColor`;continue;case 48:if(a!==2)break;o.blueBackgroundColor=e.stringVerify(),o._blueBackgroundColor=`blueBackgroundColor`;continue;case 49:if(a!==2)break;o.greenBackgroundColor=e.stringVerify(),o._greenBackgroundColor=`greenBackgroundColor`;continue;case 50:if(a!==2)break;o.violetBackgroundColor=e.stringVerify(),o._violetBackgroundColor=`violetBackgroundColor`;continue;case 51:if(a!==2)break;o.grayBackgroundColor=e.stringVerify(),o._grayBackgroundColor=`grayBackgroundColor`;continue;case 52:if(a!==2)break;o.redTextColor=e.stringVerify(),o._redTextColor=`redTextColor`;continue;case 53:if(a!==2)break;o.orangeTextColor=e.stringVerify(),o._orangeTextColor=`orangeTextColor`;continue;case 54:if(a!==2)break;o.yellowTextColor=e.stringVerify(),o._yellowTextColor=`yellowTextColor`;continue;case 55:if(a!==2)break;o.blueTextColor=e.stringVerify(),o._blueTextColor=`blueTextColor`;continue;case 56:if(a!==2)break;o.greenTextColor=e.stringVerify(),o._greenTextColor=`greenTextColor`;continue;case 57:if(a!==2)break;o.violetTextColor=e.stringVerify(),o._violetTextColor=`violetTextColor`;continue;case 58:if(a!==2)break;o.grayTextColor=e.stringVerify(),o._grayTextColor=`grayTextColor`;continue;case 64:if(a!==2)break;o.metricValueFontSize=e.stringVerify(),o._metricValueFontSize=`metricValueFontSize`;continue;case 65:if(a!==0)break;o.metricValueFontWeight=e.int32(),o._metricValueFontWeight=`metricValueFontWeight`;continue;case 24:if(a!==2)break;o.sidebar=z.CustomThemeConfig.decode(e,e.uint32(),k,r+1,o.sidebar),o._sidebar=`sidebar`;continue;case 60:if(a!==2)break;o.light=z.CustomThemeConfig.decode(e,e.uint32(),k,r+1,o.light),o._light=`light`;continue;case 61:if(a!==2)break;o.dark=z.CustomThemeConfig.decode(e,e.uint32(),k,r+1,o.dark),o._dark=`dark`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.CustomThemeConfig)return e;if(!D.isObject(e))throw j(`.CustomThemeConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.CustomThemeConfig;if(e.primaryColor!=null&&(typeof e.primaryColor!=`string`||e.primaryColor.length)&&(n.primaryColor=M(e.primaryColor)),e.secondaryBackgroundColor!=null&&(typeof e.secondaryBackgroundColor!=`string`||e.secondaryBackgroundColor.length)&&(n.secondaryBackgroun
1dColor=M(e.secondaryBackgroundColor)),e.backgroundColor!=null&&(typeof e.backgroundColor!=`string`||e.backgroundColor.length)&&(n.backgroundColor=M(e.backgroundColor)),e.textColor!=null&&(typeof e.textColor!=`string`||e.textColor.length)&&(n.textColor=M(e.textColor)),e.base!==0&&(typeof e.base!=`string`||z.CustomThemeConfig.BaseTheme[e.base]!==0))switch(e.base){case`LIGHT`:case 0:n.base=0;break;case`DARK`:case 1:n.base=1;break;default:typeof e.base==`number`&&(e.base|0)===e.base&&(n.base=e.base)}if(e.headingFont!=null&&(typeof e.headingFont!=`string`||e.headingFont.length)&&(n.headingFont=M(e.headingFont)),e.bodyFont!=null&&(typeof e.bodyFont!=`string`||e.bodyFont.length)&&(n.bodyFont=M(e.bodyFont)),e.codeFont!=null&&(typeof e.codeFont!=`string`||e.codeFont.length)&&(n.codeFont=M(e.codeFont)),e.fontFaces){if(!I.isArray(e.fontFaces))throw j(`.CustomThemeConfig.fontFaces: array expected`);n.fontFaces=I(e.fontFaces.length);for(let r=0;r<e.fontFaces.length;++r){if(!D.isObject(e.fontFaces[r]))throw j(`.CustomThemeConfig.fontFaces: object expected`);n.fontFaces[r]=z.FontFace.fromObject(e.fontFaces[r],t+1)}}if(e.fontSources){if(!I.isArray(e.fontSources))throw j(`.CustomThemeConfig.fontSources: array expected`);n.fontSources=I(e.fontSources.length);for(let r=0;r<e.fontSources.length;++r){if(!D.isObject(e.fontSources[r]))throw j(`.CustomThemeConfig.fontSources: object expected`);n.fontSources[r]=z.FontSource.fromObject(e.fontSources[r],t+1)}}if(e.baseRadius!=null&&(n.baseRadius=M(e.baseRadius)),e.buttonRadius!=null&&(n.buttonRadius=M(e.buttonRadius)),e.borderColor!=null&&(n.borderColor=M(e.borderColor)),e.dataframeBorderColor!=null&&(n.dataframeBorderColor=M(e.dataframeBorderColor)),e.showWidgetBorder!=null&&(n.showWidgetBorder=N(e.showWidgetBorder)),e.linkColor!=null&&(n.linkColor=M(e.linkColor)),e.linkUnderline!=null&&(n.linkUnderline=N(e.linkUnderline)),e.baseFontSize!=null&&(n.baseFontSize=e.baseFontSize|0),e.baseFontWeight!=null&&(n.baseFontWeight=e.baseFontWeight|0),e.codeFontWeight!=null&&(n.codeFontWeight=e.codeFontWeight|0),e.codeFontSize!=null&&(n.codeFontSize=M(e.codeFontSize)),e.headingFontSizes){if(!I.isArray(e.headingFontSizes))throw j(`.CustomThemeConfig.headingFontSizes: array expected`);n.headingFontSizes=I(e.headingFontSizes.length);for(let t=0;t<e.headingFontSizes.length;++t)n.headingFontSizes[t]=M(e.headingFontSizes[t])}if(e.headingFontWeights){if(!I.isArray(e.headingFontWeights))throw j(`.CustomThemeConfig.headingFontWeights: array expected`);n.headingFontWeights=I(e.headingFontWeights.length);for(let t=0;t<e.headingFontWeights.length;++t)n.headingFontWeights[t]=e.headingFontWeights[t]|0}if(e.showSidebarBorder!=null&&(n.showSidebarBorder=N(e.showSidebarBorder)),e.codeTextColor!=null&&(n.codeTextColor=M(e.codeTextColor)),e.codeBackgroundColor!=null&&(n.codeBackgroundColor=M(e.codeBackgroundColor)),e.dataframeHeaderBackgroundColor!=null&&(n.dataframeHeaderBackgroundColor=M(e.dataframeHeaderBackgroundColor)),e.chartCategoricalColors){if(!I.isArray(e.chartCategoricalColors))throw j(`.CustomThemeConfig.chartCategoricalColors: array expected`);n.chartCategoricalColors=I(e.chartCategoricalColors.length);for(let t=0;t<e.chartCategoricalColors.length;++t)n.chartCategoricalColors[t]=M(e.chartCategoricalColors[t])}if(e.chartSequentialColors){if(!I.isArray(e.chartSequentialColors))throw j(`.CustomThemeConfig.chartSequentialColors: array expected`);n.chartSequentialColors=I(e.chartSequentialColors.length);for(let t=0;t<e.chartSequentialColors.length;++t)n.chartSequentialColors[t]=M(e.chartSequentialColors[t])}if(e.chartDivergingColors){if(!I.isArray(e.chartDivergingColors))throw j(`.CustomThemeConfig.chartDivergingColors: array expected`);n.chartDivergingColors=I(e.chartDivergingColors.length);for(let t=0;t<e.chartDivergingColors.length;++t)n.chartDivergingColors[t]=M(e.chartDivergingColors[t])}if(e.redColor!=null&&(n.redColor=M(e.redColor)),e.orangeColor!=null&&(n.orangeColor=M(e.orangeColor)),e.yellowColor!=null&&(n.yellowColor=M(e.yellowColor)),e.blueColor!=null&&(n.blueColor=M(e.blueColor)),e.greenColor!=null&&(n.greenColor=M(e.greenColor)),e.violetColor!=null&&(n.violetColor=M(e.violetColor)),e.grayColor!=null&&(n.grayColor=M(e.grayColor)),e.redBackgroun
1dColor!=null&&(n.redBackgroundColor=M(e.redBackgroundColor)),e.orangeBackgroundColor!=null&&(n.orangeBackgroundColor=M(e.orangeBackgroundColor)),e.yellowBackgroundColor!=null&&(n.yellowBackgroundColor=M(e.yellowBackgroundColor)),e.blueBackgroundColor!=null&&(n.blueBackgroundColor=M(e.blueBackgroundColor)),e.greenBackgroundColor!=null&&(n.greenBackgroundColor=M(e.greenBackgroundColor)),e.violetBackgroundColor!=null&&(n.violetBackgroundColor=M(e.violetBackgroundColor)),e.grayBackgroundColor!=null&&(n.grayBackgroundColor=M(e.grayBackgroundColor)),e.redTextColor!=null&&(n.redTextColor=M(e.redTextColor)),e.orangeTextColor!=null&&(n.orangeTextColor=M(e.orangeTextColor)),e.yellowTextColor!=null&&(n.yellowTextColor=M(e.yellowTextColor)),e.blueTextColor!=null&&(n.blueTextColor=M(e.blueTextColor)),e.greenTextColor!=null&&(n.greenTextColor=M(e.greenTextColor)),e.violetTextColor!=null&&(n.violetTextColor=M(e.violetTextColor)),e.grayTextColor!=null&&(n.grayTextColor=M(e.grayTextColor)),e.metricValueFontSize!=null&&(n.metricValueFontSize=M(e.metricValueFontSize)),e.metricValueFontWeight!=null&&(n.metricValueFontWeight=e.metricValueFontWeight|0),e.sidebar!=null){if(!D.isObject(e.sidebar))throw j(`.CustomThemeConfig.sidebar: object expected`);n.sidebar=z.CustomThemeConfig.fromObject(e.sidebar,t+1)}if(e.light!=null){if(!D.isObject(e.light))throw j(`.CustomThemeConfig.light: object expected`);n.light=z.CustomThemeConfig.fromObject(e.light,t+1)}if(e.dark!=null){if(!D.isObject(e.dark))throw j(`.CustomThemeConfig.dark: object expected`);n.dark=z.CustomThemeConfig.fromObject(e.dark,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fontFaces=[],r.chartCategoricalColors=[],r.headingFontWeights=[],r.headingFontSizes=[],r.chartSequentialColors=[],r.fontSources=[],r.chartDivergingColors=[]),t.defaults&&(r.primaryColor=``,r.secondaryBackgroundColor=``,r.backgroundColor=``,r.textColor=``,r.base=t.enums===M?`LIGHT`:0,r.headingFont=``,r.bodyFont=``,r.codeFont=``),e.primaryColor!=null&&O.hasOwnProperty.call(e,`primaryColor`)&&(r.primaryColor=e.primaryColor),e.secondaryBackgroundColor!=null&&O.hasOwnProperty.call(e,`secondaryBackgroundColor`)&&(r.secondaryBackgroundColor=e.secondaryBackgroundColor),e.backgroundColor!=null&&O.hasOwnProperty.call(e,`backgroundColor`)&&(r.backgroundColor=e.backgroundColor),e.textColor!=null&&O.hasOwnProperty.call(e,`textColor`)&&(r.textColor=e.textColor),e.base!=null&&O.hasOwnProperty.call(e,`base`)&&(r.base=t.enums===M?z.CustomThemeConfig.BaseTheme[e.base]===k?e.base:z.CustomThemeConfig.BaseTheme[e.base]:e.base),e.headingFont!=null&&O.hasOwnProperty.call(e,`headingFont`)&&(r.headingFont=e.headingFont),e.bodyFont!=null&&O.hasOwnProperty.call(e,`bodyFont`)&&(r.bodyFont=e.bodyFont),e.codeFont!=null&&O.hasOwnProperty.call(e,`codeFont`)&&(r.codeFont=e.codeFont),e.fontFaces&&e.fontFaces.length){r.fontFaces=I(e.fontFaces.length);for(let i=0;i<e.fontFaces.length;++i)r.fontFaces[i]=z.FontFace.toObject(e.fontFaces[i],t,n+1)}if(e.baseRadius!=null&&O.hasOwnProperty.call(e,`baseRadius`)&&(r.baseRadius=e.baseRadius),e.borderColor!=null&&O.hasOwnProperty.call(e,`borderColor`)&&(r.borderColor=e.borderColor),e.showWidgetBorder!=null&&O.hasOwnProperty.call(e,`showWidgetBorder`)&&(r.showWidgetBorder=e.showWidgetBorder),e.linkColor!=null&&O.hasOwnProperty.call(e,`linkColor`)&&(r.linkColor=e.linkColor),e.baseFontSize!=null&&O.hasOwnProperty.call(e,`baseFontSize`)&&(r.baseFontSize=e.baseFontSize),e.showSidebarBorder!=null&&O.hasOwnProperty.call(e,`showSidebarBorder`)&&(r.showSidebarBorder=e.showSidebarBorder),e.sidebar!=null&&O.hasOwnProperty.call(e,`sidebar`)&&(r.sidebar=z.CustomThemeConfig.toObject(e.sidebar,t,n+1)),e.codeBackgroundColor!=null&&O.hasOwnProperty.call(e,`codeBackgroundColor`)&&(r.codeBackgroundColor=e.codeBackgroundColor),e.buttonRadius!=null&&O.hasOwnProperty.call(e,`buttonRadius`)&&(r.buttonRadius=e.buttonRadius),e.dataframeBorderColor!=null&&O.hasOwnProperty.call(e,`dataframeBorderColor`)&&(r.dataframeBorderColor=e.dataframeBorderColor),e.codeFontSize!=null&&O.hasOwnProperty.call(e,`codeFontSize`)&&(r.codeFontSize=e.codeFontSize),e.linkUnderline!=null&&O.hasOwnProperty.call(e,`linkUnderline`)&&(r.linkUnderline=e.linkUnderline),e.baseFontWeight!=null&&O.hasOwnProperty.call(e,`baseFontWeight`)&&(r.baseFontWeight=e.baseFontWeight),e.dataframeHeaderBackgroun
1dColor!=null&&O.hasOwnProperty.call(e,`dataframeHeaderBackgroundColor`)&&(r.dataframeHeaderBackgroundColor=e.dataframeHeaderBackgroundColor),e.codeFontWeight!=null&&O.hasOwnProperty.call(e,`codeFontWeight`)&&(r.codeFontWeight=e.codeFontWeight),e.chartCategoricalColors&&e.chartCategoricalColors.length){r.chartCategoricalColors=I(e.chartCategoricalColors.length);for(let t=0;t<e.chartCategoricalColors.length;++t)r.chartCategoricalColors[t]=e.chartCategoricalColors[t]}if(e.headingFontWeights&&e.headingFontWeights.length){r.headingFontWeights=I(e.headingFontWeights.length);for(let t=0;t<e.headingFontWeights.length;++t)r.headingFontWeights[t]=e.headingFontWeights[t]}if(e.headingFontSizes&&e.headingFontSizes.length){r.headingFontSizes=I(e.headingFontSizes.length);for(let t=0;t<e.headingFontSizes.length;++t)r.headingFontSizes[t]=e.headingFontSizes[t]}if(e.chartSequentialColors&&e.chartSequentialColors.length){r.chartSequentialColors=I(e.chartSequentialColors.length);for(let t=0;t<e.chartSequentialColors.length;++t)r.chartSequentialColors[t]=e.chartSequentialColors[t]}if(e.fontSources&&e.fontSources.length){r.fontSources=I(e.fontSources.length);for(let i=0;i<e.fontSources.length;++i)r.fontSources[i]=z.FontSource.toObject(e.fontSources[i],t,n+1)}if(e.redColor!=null&&O.hasOwnProperty.call(e,`redColor`)&&(r.redColor=e.redColor),e.orangeColor!=null&&O.hasOwnProperty.call(e,`orangeColor`)&&(r.orangeColor=e.orangeColor),e.yellowColor!=null&&O.hasOwnProperty.call(e,`yellowColor`)&&(r.yellowColor=e.yellowColor),e.blueColor!=null&&O.hasOwnProperty.call(e,`blueColor`)&&(r.blueColor=e.blueColor),e.greenColor!=null&&O.hasOwnProperty.call(e,`greenColor`)&&(r.greenColor=e.greenColor),e.violetColor!=null&&O.hasOwnProperty.call(e,`violetColor`)&&(r.violetColor=e.violetColor),e.grayColor!=null&&O.hasOwnProperty.call(e,`grayColor`)&&(r.grayColor=e.grayColor),e.redBackgroundColor!=null&&O.hasOwnProperty.call(e,`redBackgroundColor`)&&(r.redBackgroundColor=e.redBackgroundColor),e.orangeBackgroundColor!=null&&O.hasOwnProperty.call(e,`orangeBackgroundColor`)&&(r.orangeBackgroundColor=e.orangeBackgroundColor),e.yellowBackgroundColor!=null&&O.hasOwnProperty.call(e,`yellowBackgroundColor`)&&(r.yellowBackgroundColor=e.yellowBackgroundColor),e.blueBackgroundColor!=null&&O.hasOwnProperty.call(e,`blueBackgroundColor`)&&(r.blueBackgroundColor=e.blueBackgroundColor),e.greenBackgroundColor!=null&&O.hasOwnProperty.call(e,`greenBackgroundColor`)&&(r.greenBackgroundColor=e.greenBackgroundColor),e.violetBackgroundColor!=null&&O.hasOwnProperty.call(e,`violetBackgroundColor`)&&(r.violetBackgroundColor=e.violetBackgroundColor),e.grayBackgroundColor!=null&&O.hasOwnProperty.call(e,`grayBackgroundColor`)&&(r.grayBackgroundColor=e.grayBackgroundColor),e.redTextColor!=null&&O.hasOwnProperty.call(e,`redTextColor`)&&(r.redTextColor=e.redTextColor),e.orangeTextColor!=null&&O.hasOwnProperty.call(e,`orangeTextColor`)&&(r.orangeTextColor=e.orangeTextColor),e.yellowTextColor!=null&&O.hasOwnProperty.call(e,`yellowTextColor`)&&(r.yellowTextColor=e.yellowTextColor),e.blueTextColor!=null&&O.hasOwnProperty.call(e,`blueTextColor`)&&(r.blueTextColor=e.blueTextColor),e.greenTextColor!=null&&O.hasOwnProperty.call(e,`greenTextColor`)&&(r.greenTextColor=e.greenTextColor),e.violetTextColor!=null&&O.hasOwnProperty.call(e,`violetTextColor`)&&(r.violetTextColor=e.violetTextColor),e.grayTextColor!=null&&O.hasOwnProperty.call(e,`grayTextColor`)&&(r.grayTextColor=e.grayTextColor),e.codeTextColor!=null&&O.hasOwnProperty.call(e,`codeTextColor`)&&(r.codeTextColor=e.codeTextColor),e.light!=null&&O.hasOwnProperty.call(e,`light`)&&(r.light=z.CustomThemeConfig.toObject(e.light,t,n+1)),e.dark!=null&&O.hasOwnProperty.call(e,`dark`)&&(r.dark=z.CustomThemeConfig.toObject(e.dark,t,n+1)),e.chartDivergingColors&&e.chartDivergingColors.length){r.chartDivergingColors=I(e.chartDivergingColors.length);for(let t=0;t<e.chartDivergingColors.length;++t)r.chartDivergingColors[t]=e.chartDivergingColors[t]}return e.metricValueFontSize!=null&&O.hasOwnProperty.call(e,`metricValueFontSize`)&&(r.metricValueFontSize=e.metricValueFontSize),e.metricValueFontWeight!=null&&O.hasOwnProperty.call(e,`metricValueFontWeight`)&&(r.metricValueFontWeight=e.metricValueFontWeight),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/CustomThemeConfig`},e.BaseTheme=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`LIGHT`]=0,t[e[1]=`DARK`]=1,t})(),e})();z.FontFace=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.url=``,e.prototype.family=``,e.prototype.weightRange=``,e.prototype.style=``,e.prototype.unicodeRange=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.url!=null&&O.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.fam
1ily!=null&&O.hasOwnProperty.call(e,`family`)&&e.family!==``&&t.uint32(18).string(e.family),e.style!=null&&O.hasOwnProperty.call(e,`style`)&&e.style!==``&&t.uint32(34).string(e.style),e.weightRange!=null&&O.hasOwnProperty.call(e,`weightRange`)&&e.weightRange!==``&&t.uint32(42).string(e.weightRange),e.unicodeRange!=null&&O.hasOwnProperty.call(e,`unicodeRange`)&&e.unicodeRange!==``&&t.uint32(50).string(e.unicodeRange),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FontFace,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.url=s:delete o.url;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.family=s:delete o.family;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.weightRange=s:delete o.weightRange;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.style=s:delete o.style;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.unicodeRange=s:delete o.unicodeRange;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FontFace)return e;if(!D.isObject(e))throw j(`.FontFace: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FontFace;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=M(e.url)),e.family!=null&&(typeof e.family!=`string`||e.family.length)&&(n.family=M(e.family)),e.weightRange!=null&&(typeof e.weightRange!=`string`||e.weightRange.length)&&(n.weightRange=M(e.weightRange)),e.style!=null&&(typeof e.style!=`string`||e.style.length)&&(n.style=M(e.style)),e.unicodeRange!=null&&(typeof e.unicodeRange!=`string`||e.unicodeRange.length)&&(n.unicodeRange=M(e.unicodeRange)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.url=``,r.family=``,r.style=``,r.weightRange=``,r.unicodeRange=``),e.url!=null&&O.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.family!=null&&O.hasOwnProperty.call(e,`family`)&&(r.family=e.family),e.style!=null&&O.hasOwnProperty.call(e,`style`)&&(r.style=e.style),e.weightRange!=null&&O.hasOwnProperty.call(e,`weightRange`)&&(r.weightRange=e.weightRange),e.unicodeRange!=null&&O.hasOwnProperty.call(e,`unicodeRange`)&&(r.unicodeRange=e.unicodeRange),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FontFace`},e})(),z.FontSource=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.configName=``,e.prototype.sourceUrl=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.configName!=null&&O.hasOwnProperty.call(e,`configName`)&&e.configName!==``&&t.uint32(10).string(e.configName),e.sourceUrl!=null&&O.hasOwnProperty.call(e,`sourceUrl`)&&e.sourceUrl!==``&&t.uint32(18).string(e.sourceUrl),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.FontSource,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.configName=s:delete o.configName;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.sourceUrl=s:delete o.sourceUrl;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.FontSource)return e;if(!D.isObject(e))throw j(`.FontSource: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.FontSource;return e.configName!=null&&(typeof e.configName!=`string`||e.configName.length)&&(n.configName=M(e.configName)),e.sourceUrl!=null&&(typeof e.sourceUrl!=`string`||e.sourceUrl.length)&&(n.sourceUrl=M(e.s
1ourceUrl)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.configName=``,r.sourceUrl=``),e.configName!=null&&O.hasOwnProperty.call(e,`configName`)&&(r.configName=e.configName),e.sourceUrl!=null&&O.hasOwnProperty.call(e,`sourceUrl`)&&(r.sourceUrl=e.sourceUrl),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/FontSource`},e})(),z.UserInfo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.installationId=``,e.prototype.installationIdV3=``,e.prototype.installationIdV4=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.installationId!=null&&O.hasOwnProperty.call(e,`installationId`)&&e.installationId!==``&&t.uint32(10).string(e.installationId),e.installationIdV3!=null&&O.hasOwnProperty.call(e,`installationIdV3`)&&e.installationIdV3!==``&&t.uint32(42).string(e.installationIdV3),e.installationIdV4!=null&&O.hasOwnProperty.call(e,`installationIdV4`)&&e.installationIdV4!==``&&t.uint32(50).string(e.installationIdV4),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.UserInfo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.installationId=s:delete o.installationId;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.installationIdV3=s:delete o.installationIdV3;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.installationIdV4=s:delete o.installationIdV4;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.UserInfo)return e;if(!D.isObject(e))throw j(`.UserInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.UserInfo;return e.installationId!=null&&(typeof e.installationId!=`string`||e.installationId.length)&&(n.installationId=M(e.installationId)),e.installationIdV3!=null&&(typeof e.installationIdV3!=`string`||e.installationIdV3.length)&&(n.installationIdV3=M(e.installationIdV3)),e.installationIdV4!=null&&(typeof e.installationIdV4!=`string`||e.installationIdV4.length)&&(n.installationIdV4=M(e.installationIdV4)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.installationId=``,r.installationIdV3=``,r.installationIdV4=``),e.installationId!=null&&O.hasOwnProperty.call(e,`installationId`)&&(r.installationId=e.installationId),e.installationIdV3!=null&&O.hasOwnProperty.call(e,`installationIdV3`)&&(r.installationIdV3=e.installationIdV3),e.installationIdV4!=null&&O.hasOwnProperty.call(e,`installationIdV4`)&&(r.installationIdV4=e.installationIdV4),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/UserInfo`},e})(),z.EnvironmentInfo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.streamlitVersion=``,e.prototype.pythonVersion=``,e.prototype.serverOs=``,e.prototype.hasDisplay=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.streamlitVersion!=null&&O.hasOwnProperty.call(e,`streamlitVersion`)&&e.streamlitVersion!==``&&t.uint32(10).string(e.streamlitVersion),e.pythonVersion!=null&&O.hasOwnProperty.call(e,`pythonVersion`)&&e.pythonVersion!==``&&t.uint32(18).string(e.pythonVersion),e.serverOs!=null&&O.hasOwnProperty.call(e,`serverOs`)&&e.serverOs!==``&&t.uint32(26).string(e.serverOs),e.hasDisplay!=null&&O.hasOwnProperty.call(e,`hasDisplay`)&&e.hasDisplay!==!1&&t.uint32(32).bool(e.hasDisplay),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.EnvironmentInfo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.streamlitVersion=s:delete o.streamlitVersion;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.pythonVersion=s:delete o.pythonVersion;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.serverOs=s:delete o.serverOs;continue;case 4:if(a!==0)break;(s=e.bool())?o.hasDisplay=s:delete o.hasDisplay;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.EnvironmentInfo)return e;if(!D.isObject(e))throw j(`.EnvironmentInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.EnvironmentInfo;return e.streamlitVersion!=null&&(typeof e.streamlitVersion!=`string`||e.streamlitVersion.length)&&(n.streamlitVersion=M(e.streamlitVersion)),e.pythonVersion!=null&&(typeof e.pythonVersion!=`string`||e.pythonVersion.length)&&(n.pythonVersion=M(e.pythonVersion)),e.serverOs!=null&&(typeof e.serverOs!=`string`||e.serverOs.length)&&(n.serverOs=M(e.serverOs)),e.hasDisplay!=null&&e.hasDisplay&&(n.hasDisplay=N(e.hasDisplay)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.streamlitVersion=``,r.pythonVersion=``,r.serverOs=``,r.hasDisplay=!1),e.streamlitVersion!=null&&O.hasOwnProperty.call(e,`streamlitVersion`)&&(r.streamlitVersion=e.streamlitVersion),e.pythonVersion!=null&&O.hasOwnProperty.call(e,`pythonVersion`)&&(r.pythonVersion=e.pythonVersion),e.serverOs!=null&&O.hasOwnProperty.call(e,`serverOs`)&&(r.serverOs=e.serverOs),e.hasDisplay!=null&&O.hasOwnProperty.call(e,`hasDisplay`)&&(r.hasDisplay=e.hasDisplay),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/EnvironmentInfo`},e})(),z.SessionStatus=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.runOnSave=!1,e.prototype.scriptIsRunning=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.runOnSave!=null&&O.hasOwnProperty.call(e,`runOnSave`)&&e.runOnSave!==!1&&t.uint32(8).bool(e.runOnSave),e.scriptIsRunning!=null&&O.hasOwnProperty.call(e,`scriptIsRunning`)&&e.scriptIsRunning!==!1&&t.uint32(16).bool(e.scriptIsRunning),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.SessionStatus,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.bool())?o.runOnSave=s:delete o.runOnSave;continue;case 2:if(a!==0)break;(s=e.bool())?o.scriptIsRunning=s:delete o.scriptIsRunning;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.SessionStatus)return e;if(!D.isObject(e))throw j(`.SessionStatus: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.SessionStatus;return e.runOnSave!=null&&e.runOnSave&&(n.runOnSave=N(e.runOnSave)),e.scriptIsRunning!=null&&e.scriptIsRunning&&(n.scriptIsRunning=N(e.scriptIsRunning)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.runOnSave=!1,r.scriptIsRunning=!1),e.runOnSave!=null&&O.hasOwnProperty.call(e,`runOnSave`)&&(r.runOnSave=e.runOnSave),e.scriptIsRunning!=null&&O.hasOwnProperty.call(e,`scriptIsRunning`)&&(r.scriptIsRunning=e.scriptIsRunning),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/SessionStatus`},e})();var Ee=z.PageConfig=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.title=``,e.prototype.favicon=``,e.prototype.layout=0,e.prototype.initialSidebarState=0,e.prototype.menuItems=null,e.prototype.initialSidebarWidth=null;let t;return O.defineProperty(e.prototype,`_initialSidebarWidth`,{get:D.oneOfGetter(t=[`initialSidebarWidth`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.title!=null&&O.hasOwnProperty.call(e,`title`)&&e.title!==``&&t.uint32(10).string(e.title),e.favicon!=null&&O.hasOwnProperty.call(e,`favicon`)&&e.favicon!==``&&t.uint32(18).string(e.favicon),e.layout!=null&&O.hasOwnProperty.call(e,`layout`)&&e.layout!==0&&t.uint32(24).int32(e.layout),e.initialSidebarState!=null&&O.hasOwnProperty.call(e,`initialSidebarState`)&&e.initialSidebarState!==0&&t.uint32(32).int32(e.initialSidebarState),e.menuItems!=null&&O.hasOwnProperty.call(e,`menuItems`)&&z.PageConfig.MenuItems.encode(e.menuItems,t.uint32(42).fork(),n+1).ldelim(),e.initialSidebarWidth!=null&&O.hasOwnProperty.call(e,`initialSidebarWidth`)&&z.PageConfig.SidebarWidthConfig.encode(e.initialSidebarWidth,t.uint32(50).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageConfig,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.title=s:delete o.title;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.favicon=s:delete o.favicon;continue;case 3:if(a!==0)break;(s=e.int32())?o.layout=s:delete o.layout;continue;case 4:if(a!==0)break;(s=e.int32())?o.initialSidebarState=s:delete o.initialSidebarState;continue;case 5:if(a!==2)break;o.menuItems=z.PageConfig.MenuItems.decode(e,e.uint32(),k,r+1,o.menuItems);continue;case 6:if(a!==2)break;o.initialSidebarWidth=z.PageConfig.SidebarWidthConfig.decode(e,e.uint32(),k,r+1,o.initialSidebarWidth),o._initialSidebarWidth=`initialSidebarWidth`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageConfig)return e;if(!D.isObject(e))throw j(`.PageConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageConfig;if(e.title!=null&&(typeof e.title!=`string`||e.title.length)&&(n.title=M(e.title)),e.favicon!=null&&(typeof e.favicon!=`string`||e.favicon.length)&&(n.favicon=M(e.favicon)),e.layout!==0&&(typeof e.layout!=`string`||z.PageConfig.Layout[e.layout]!==0))switch(e.layout){case`CENTERED`:case 0:n.layout=0;break;case`WIDE`:case 1:n.layout=1;break;case`LAYOUT_UNSET`:case 2:n.layout=2;break;default:typeof e.layout==`number`&&(e.layout|0)===e.layout&&(n.layout=e.layout)}if(e.initialSidebarState!==0&&(typeof e.initialSidebarState!=`string`||z.PageConfig.SidebarState[e.initialSidebarState]!==0))switch(e.initialSidebarState){case`AUTO`:case 0:n.initialSidebarState=0;break;case`EXPANDED`:case 1:n.initialSidebarState=1;break;case`COLLAPSED`:case 2:n.initialSidebarState=2;break;case`SIDEBAR_UNSET`:case 3:n.initialSidebarState=3;break;case`LOCKED`:case 4:n.initialSidebarState=4;break;default:typeof e.initialSidebarState==`number`&&(e.initialSidebarState|0)===e.initialSidebarState&&(n.initialSidebarState=e.initialSidebarState)}if(e.menuItems!=null){if(!D.isObject(e.menuItems))throw j(`.PageConfig.menuItems: object expected`);n.menuItems=z.PageConfig.MenuItems.fromObject(e.menuItems,t+1)}if(e.initialSidebarWidth!=null){if(!D.isObject(e.initialSidebarWidth))throw j(`.PageConfig.initialSidebarWidth: object expected`);n.initialSidebarWidth=z.PageConfig.SidebarWidthConfig.fromObject(e.initialSidebarWidth,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.title=``,r.favicon=``,r.layout=t.enums===M?`CENTERED`:0,r.initialSidebarState=t.enums===M?`AUTO`:0,r.menuItems=null),e.title!=null&&O.hasOwnProperty.call(e,`title`)&&(r.title=e.title),e.favicon!=null&&O.hasOwnProperty.call(e,`favicon`)&&(r.favicon=e.favicon),e.layout!=null&&O.hasOwnProperty.call(e,`layout`)&&(r.layout=t.enums===M?z.PageConfig.Layout[e.layout]===k?e.layout:z.PageConfig.Layout[e.layout]:e.layout),e.initialSidebarState!=null&&O.hasOwnProperty.call(e,`initialSidebarState`)&&(r.initialSidebarState=t.enums===M?z.PageConfig.SidebarState[e.initialSidebarState]===k?e.initialSidebarState:z.PageConfig.SidebarState[e.initialSidebarState]:e.initialSidebarState),e.menuItems!=null&&O.hasOwnProperty.call(e,`menuItems`)&&(r.menuItems=z.PageConfig.MenuItems.toObject(e.menuItems,t,n+1)),e.initialSidebarWidth!=null&&O.hasOwnProperty.call(e,`initialSidebarWidth`)&&(r.initialSidebarWidth=z.PageConfig.SidebarWidthConfig.toObject(e.initialSidebarWidth,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageConfig`},e.MenuItems=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.getHelpUrl=``,e.prototype.hideGetHelp=!1,e.prototype.reportABugUrl=``,e.prototype.hideReportABug=!1,e.prototype.aboutSectionMd=``,e.prototype.clearAboutMd=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.getHelpUrl!=null&&O.hasOwnProperty.call(e,`getHelpUrl`)&&e.getHelpUrl!==``&&t.uint32(10).string(e.getHelpUrl),e.hideGetHelp!=null&&O.hasOwnProperty.call(e,`hideGetHelp`)&&e.hideGetHelp!==!1&&t.uint32(16).bool(e.hideGetHelp),e.reportABugUrl!=null&&O.hasOwnProperty.call(e,`reportABugUrl`)&&e.reportABugUrl!==``&&t.uint32(26).string(e.reportABugUrl),e.hideReportABug!=null&&O.hasOwnProperty.call(e,`hideReportABug`)&&e.hideReportABug!==!1&&t.uint32(32).bool(e.hideReportABug),e.aboutSectionMd!=null&&O.hasOwnProperty.call(e,`aboutSectionMd`)&&e.aboutSectionMd!==``&&t.uint32(42).string(e.aboutSectionMd),e.clearAboutMd!=null&&O.hasOwnProperty.call(e,`clearAboutMd`)&&e.clearAboutMd!==!1&&t.uint32(48).bool(e.clearAboutMd),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageConfig.MenuItems,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.getHelpUrl=s:delete o.getHelpUrl;continue;case 2:if(a!==0)break;(s=e.bool())?o.hideGetHelp=s:delete o.hideGetHelp;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.reportABugUrl=s:delete o.reportABugUrl;continue;case 4:if(a!==0)break;(s=e.bool())?o.hideReportABug=s:delete o.hideReportABug;continue;case 5:if(a!==2)break;(s=e.stringVerify()).length?o.aboutSectionMd=s:delete o.aboutSectionMd;continue;case 6:if(a!==0)break;(s=e.bool())?o.clearAboutMd=s:delete o.clearAboutMd;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`
1$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageConfig.MenuItems)return e;if(!D.isObject(e))throw j(`.PageConfig.MenuItems: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageConfig.MenuItems;return e.getHelpUrl!=null&&(typeof e.getHelpUrl!=`string`||e.getHelpUrl.length)&&(n.getHelpUrl=M(e.getHelpUrl)),e.hideGetHelp!=null&&e.hideGetHelp&&(n.hideGetHelp=N(e.hideGetHelp)),e.reportABugUrl!=null&&(typeof e.reportABugUrl!=`string`||e.reportABugUrl.length)&&(n.reportABugUrl=M(e.reportABugUrl)),e.hideReportABug!=null&&e.hideReportABug&&(n.hideReportABug=N(e.hideReportABug)),e.aboutSectionMd!=null&&(typeof e.aboutSectionMd!=`string`||e.aboutSectionMd.length)&&(n.aboutSectionMd=M(e.aboutSectionMd)),e.clearAboutMd!=null&&e.clearAboutMd&&(n.clearAboutMd=N(e.clearAboutMd)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.getHelpUrl=``,r.hideGetHelp=!1,r.reportABugUrl=``,r.hideReportABug=!1,r.aboutSectionMd=``,r.clearAboutMd=!1),e.getHelpUrl!=null&&O.hasOwnProperty.call(e,`getHelpUrl`)&&(r.getHelpUrl=e.getHelpUrl),e.hideGetHelp!=null&&O.hasOwnProperty.call(e,`hideGetHelp`)&&(r.hideGetHelp=e.hideGetHelp),e.reportABugUrl!=null&&O.hasOwnProperty.call(e,`reportABugUrl`)&&(r.reportABugUrl=e.reportABugUrl),e.hideReportABug!=null&&O.hasOwnProperty.call(e,`hideReportABug`)&&(r.hideReportABug=e.hideReportABug),e.aboutSectionMd!=null&&O.hasOwnProperty.call(e,`aboutSectionMd`)&&(r.aboutSectionMd=e.aboutSectionMd),e.clearAboutMd!=null&&O.hasOwnProperty.call(e,`clearAboutMd`)&&(r.clearAboutMd=e.clearAboutMd),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageConfig.MenuItems`},e})(),e.Layout=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`CENTERED`]=0,t[e[1]=`WIDE`]=1,t[e[2]=`LAYOUT_UNSET`]=2,t})(),e.SidebarState=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`AUTO`]=0,t[e[1]=`EXPANDED`]=1,t[e[2]=`COLLAPSED`]=2,t[e[3]=`SIDEBAR_UNSET`]=3,t[e[4]=`LOCKED`]=4,t})(),e.SidebarWidthConfig=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.pixelWidth=null;let t;return O.defineProperty(e.prototype,`widthSpec`,{get:D.oneOfGetter(t=[`pixelWidth`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.pixelWidth!=null&&O.hasOwnProperty.call(e,`pixelWidth`)&&t.uint32(8).uint32(e.pixelWidth),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageConfig.SidebarWidthConfig;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;o.pixelWidth=e.uint32(),o.widthSpec=`pixelWidth`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageConfig.SidebarWidthConfig)return e;if(!D.isObject(e))throw j(`.PageConfig.SidebarWidthConfig: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageConfig.SidebarWidthConfig;return e.pixelWidth!=null&&(n.pixelWidth=e.pixelWidth>>>0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.pixelWidth!=null&&O.hasOwnProperty.call(e,`pixelWidth`)&&(r.pixelWidth=e.pixelWidth,t.oneofs&&(r.widthSpec=`pixelWidth`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageConfig.SidebarWidthConfig`},e})(),e})();z.PageInfo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.queryString=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.queryString!=null&&O.hasOwnProperty.call(e,`queryString`)&&e.queryString!==``&&t.uint32(10).string(e.queryString),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageInfo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.queryString=s:delete o.queryString;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageInfo)return e;if(!D.isObject(e))throw j(`.PageInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageInfo;return e.queryString!=null&&(typeof e.queryString!=`string`||e.queryString.length)&&(n.queryString=M(e.queryString)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.queryString=``),e.queryString!=null&&O.hasOwnProperty.call(e,`queryString`)&&(r.queryString=e.queryString),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageInfo`},e})(),z.PageNotFound=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.pageName=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.pageName!=null&&O.hasOwnProperty.call(e,`pageName`)&&e.pageName!==``&&t.uint32(10).string(e.pageName),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageNotFound,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.pageName=s:delete o.pageName;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageNotFound)return e;if(!D.isObject(e))throw j(`.PageNotFound: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageNotFound;return e.pageName!=null&&(typeof e.pageName!=`string`||e.pageName.length)&&(n.pageName=M(e.pageName)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.pageName=``),e.pageName!=null&&O.hasOwnProperty.call(e,`pageName`)&&(r.pageName=e.pageName),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageNotFound`},e})();var De=z.PageProfile=(()=>{let e=function(e){if(this.commands=[],this.config=[],this.attributions=[],this.installedSkills=[],this.installedAgents=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.commands=D.emptyArray,e.prototype.execTime=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.prepTime=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.config=D.emptyArray,e.prototype.uncaughtException=``,e.prototype.attributions=D.emptyArray,e.prototype.os=``,e.prototype.timezone=``,e.prototype.headless=!1,e.prototype.isFragmentRun=!1,e.prototype.serverMode=``,e.prototype.installedSkills=D.emptyArray,e.prototype.installedAgents=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.commands!=null&&e.commands.length)for(let r=0;r<e.commands.length;++r)z.Command.encode(e.commands[r],t.uint32(10).fork(),n+1).ldelim();if(e.execTime!=null&&O.hasOwnProperty.call(e,`execTime`)&&(typeof e.execTime==`object`?e.execTime.low||e.execTime.high:e.execTime!==0)&&t.uint32(16).int64(e.execTime),e.prepTime!=null&&O.hasOwnProperty.call(e,`prepTime`)&&(typeof e.prepTime==`object`?e.prepTime.low||e.prepTime.high:e.prepTime!==0)&&t.uint32(24).int64(e.prepTime),e.config!=null&&e.config.length)for(let n=0;n<e.config.length;++n)t.uint32(42).string(e.config[n]);if(e.uncaughtException!=null&&O.hasOwnProperty.call(e,`uncaughtException`)&&e.uncaughtException!==``&&t.uint32(50).string(e.uncaughtException),e.attributions!=null&&e.attributions.length)for(let n=0;n<e.attributions.length;++n)t.uint32(58).string(e.attributions[n]);if(e.os!=null&&O.hasOwnProperty.call(e,`os`)&&e.os!==``&&t.uint32(66).string(e.os),e.t
1imezone!=null&&O.hasOwnProperty.call(e,`timezone`)&&e.timezone!==``&&t.uint32(74).string(e.timezone),e.headless!=null&&O.hasOwnProperty.call(e,`headless`)&&e.headless!==!1&&t.uint32(80).bool(e.headless),e.isFragmentRun!=null&&O.hasOwnProperty.call(e,`isFragmentRun`)&&e.isFragmentRun!==!1&&t.uint32(88).bool(e.isFragmentRun),e.serverMode!=null&&O.hasOwnProperty.call(e,`serverMode`)&&e.serverMode!==``&&t.uint32(98).string(e.serverMode),e.installedSkills!=null&&e.installedSkills.length)for(let n=0;n<e.installedSkills.length;++n)t.uint32(106).string(e.installedSkills[n]);if(e.installedAgents!=null&&e.installedAgents.length)for(let n=0;n<e.installedAgents.length;++n)t.uint32(114).string(e.installedAgents[n]);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.PageProfile,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.commands&&o.commands.length||(o.commands=[]),o.commands.push(z.Command.decode(e,e.uint32(),k,r+1));continue;case 2:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.execTime=s:delete o.execTime;continue;case 3:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.prepTime=s:delete o.prepTime;continue;case 5:if(a!==2)break;o.config&&o.config.length||(o.config=[]),o.config.push(e.stringVerify());continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.uncaughtException=s:delete o.uncaughtException;continue;case 7:if(a!==2)break;o.attributions&&o.attributions.length||(o.attributions=[]),o.attributions.push(e.stringVerify());continue;case 8:if(a!==2)break;(s=e.stringVerify()).length?o.os=s:delete o.os;continue;case 9:if(a!==2)break;(s=e.stringVerify()).length?o.timezone=s:delete o.timezone;continue;case 10:if(a!==0)break;(s=e.bool())?o.headless=s:delete o.headless;continue;case 11:if(a!==0)break;(s=e.bool())?o.isFragmentRun=s:delete o.isFragmentRun;continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.serverMode=s:delete o.serverMode;continue;case 13:if(a!==2)break;o.installedSkills&&o.installedSkills.length||(o.installedSkills=[]),o.installedSkills.push(e.stringVerify());continue;case 14:if(a!==2)break;o.installedAgents&&o.installedAgents.length||(o.installedAgents=[]),o.installedAgents.push(e.stringVerify());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.PageProfile)return e;if(!D.isObject(e))throw j(`.PageProfile: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.PageProfile;if(e.commands){if(!I.isArray(e.commands))throw j(`.PageProfile.commands: array expected`);n.commands=I(e.commands.length);for(let r=0;r<e.commands.length;++r){if(!D.isObject(e.commands[r]))throw j(`.PageProfile.commands: object expected`);n.commands[r]=z.Command.fromObject(e.commands[r],t+1)}}if(e.execTime!=null&&(typeof e.execTime==`object`?e.execTime.low||e.execTime.high:P(e.execTime)!==0)&&(D.Long?n.execTime=D.Long.fromValue(e.execTime,!1):typeof e.execTime==`string`?n.execTime=L(e.execTime,10):typeof e.execTime==`number`?n.execTime=e.execTime:typeof e.execTime==`object`&&(n.execTime=new D.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber())),e.prepTime!=null&&(typeof e.prepTime==`object`?e.prepTime.low||e.prepTime.high:P(e.prepTime)!==0)&&(D.Long?n.prepTime=D.Long.fromValue(e.prepTime,!1):typeof e.prepTime==`string`?n.prepTime=L(e.prepTime,10):typeof e.prepTime==`number`?n.prepTime=e.prepTime:typeof e.prepTime==`object`&&(n.prepTime=new D.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber())),e.config){if(!I.isArray(e.config))throw j(`.PageProfile.config: array expected`);n.config=I(e.config.length);for(let t=0;t<e.config.length;++t)n.config[t]=M(e.config[t])}if(e.uncaughtException!=null&&(typeof e.uncaughtException!=`string`||e.uncaughtException.length)&&(n.uncaughtException=M(e.uncaughtException)),e.attributions){if(!I.isArray(e.attributions))throw j(`.PageProfile.attributions: array expected`);n.attributions=I(e.attributions.length);for(let t=0;t<e.attributions.length;++t)n.attributions[t]=M(e.attributions[t])}if(e.os!=null&&(typeof e.os!=`string`||e.os.length)&&(n.os=M(e.os)),e.timezone!=null&&(typeof e.timezone!=`string`||e.timezone.length)&&(n.timezone=M(e.timezone)),e.headless!=null&&e.headless&&(n.headless=N(e.headless)),e.isFragmentRun!=null&&e.isFragmentRun&&(n.isFragmentRun=N(e.isFragmentRun)),e.serverMode!=null&&(typeof e.serverMode!=`string`||e.serverMode.length)&&(n.serverMode=M(e.serverMode)),e.installedSkills){if(!I.isArray(e.installedSkills))throw j(`.PageProfile.installedSkills: array expected`);n.installedSkills=I(e.installedSkills.length);for(let t=0;t<e.installedSkills.length;++t)n.installedSkills[t]=M(e.installedSkills[t])}if(e.installedAgents){if(!I.isArray(e.installedAgents))throw j(`.PageProfile.installedAgents: array expected`);n.installedAgents=I(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)n.installedAgents[t]=M(e.installedAgents[t])}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.commands=[],r.config=[],r.attributions=[],r.installedSkills=[],r.installedAgents=[]),t.defaults){if(D.Long){let e=new D.Long(0,0,!1);r.execTime=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.execTime=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;if(D.Long){let e=new D.Long(0,0,!1);r.prepTime=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.prepTime=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.uncaughtException=``,r.os=``,r.timezone=``,r.headless=!1,r.isFragmentRun=!1,r.serverMode=``}if(e.commands&&e.commands.length){r.commands=I(e.commands.length);for(let i=0;i<e.commands.length;++i)r.commands[i]=z.Command.toObject(e.commands[i],t,n+1)}if(e.execTime!=null&&O.hasOwnProperty.call(e,`execTime`)&&(R!==void 0&&t.longs===R?r.execTime=typeof e.execTime==`number`?R(e.execTime):D.Long.fromBits(e.execTime.low>>>0,e.execTime.high>
1>>0,!1).toBigInt():typeof e.execTime==`number`?r.execTime=t.longs===M?M(e.execTime):e.execTime:r.execTime=t.longs===M?D.Long.prototype.toString.call(e.execTime):t.longs===P?new D.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber():e.execTime),e.prepTime!=null&&O.hasOwnProperty.call(e,`prepTime`)&&(R!==void 0&&t.longs===R?r.prepTime=typeof e.prepTime==`number`?R(e.prepTime):D.Long.fromBits(e.prepTime.low>>>0,e.prepTime.high>>>0,!1).toBigInt():typeof e.prepTime==`number`?r.prepTime=t.longs===M?M(e.prepTime):e.prepTime:r.prepTime=t.longs===M?D.Long.prototype.toString.call(e.prepTime):t.longs===P?new D.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber():e.prepTime),e.config&&e.config.length){r.config=I(e.config.length);for(let t=0;t<e.config.length;++t)r.config[t]=e.config[t]}if(e.uncaughtException!=null&&O.hasOwnProperty.call(e,`uncaughtException`)&&(r.uncaughtException=e.uncaughtException),e.attributions&&e.attributions.length){r.attributions=I(e.attributions.length);for(let t=0;t<e.attributions.length;++t)r.attributions[t]=e.attributions[t]}if(e.os!=null&&O.hasOwnProperty.call(e,`os`)&&(r.os=e.os),e.timezone!=null&&O.hasOwnProperty.call(e,`timezone`)&&(r.timezone=e.timezone),e.headless!=null&&O.hasOwnProperty.call(e,`headless`)&&(r.headless=e.headless),e.isFragmentRun!=null&&O.hasOwnProperty.call(e,`isFragmentRun`)&&(r.isFragmentRun=e.isFragmentRun),e.serverMode!=null&&O.hasOwnProperty.call(e,`serverMode`)&&(r.serverMode=e.serverMode),e.installedSkills&&e.installedSkills.length){r.installedSkills=I(e.installedSkills.length);for(let t=0;t<e.installedSkills.length;++t)r.installedSkills[t]=e.installedSkills[t]}if(e.installedAgents&&e.installedAgents.length){r.installedAgents=I(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)r.installedAgents[t]=e.installedAgents[t]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/PageProfile`},e})();z.Argument=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.k=``,e.prototype.t=``,e.prototype.m=``,e.prototype.p=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.k!=null&&O.hasOwnProperty.call(e,`k`)&&e.k!==``&&t.uint32(10).string(e.k),e.t!=null&&O.hasOwnProperty.call(e,`t`)&&e.t!==``&&t.uint32(18).string(e.t),e.m!=null&&O.hasOwnProperty.call(e,`m`)&&e.m!==``&&t.uint32(26).string(e.m),e.p!=null&&O.hasOwnProperty.call(e,`p`)&&e.p!==0&&t.uint32(40).int32(e.p),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Argument,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.k=s:delete o.k;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.t=s:delete o.t;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.m=s:delete o.m;continue;case 5:if(a!==0)break;(s=e.int32())?o.p=s:delete o.p;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Argument)return e;if(!D.isObject(e))throw j(`.Argument: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Argument;return e.k!=null&&(typeof e.k!=`string`||e.k.length)&&(n.k=M(e.k)),e.t!=null&&(typeof e.t!=`string`||e.t.length)&&(n.t=M(e.t)),e.m!=null&&(typeof e.m!=`string`||e.m.length)&&(n.m=M(e.m)),e.p!=null&&P(e.p)!==0&&(n.p=e.p|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.k=``,r.t=``,r.m=``,r.p=0),e.k!=null&&O.hasOwnProperty.call(e,`k`)&&(r.k=e.k),e.t!=null&&O.hasOwnProperty.call(e,`t`)&&(r.t=e.t),e.m!=null&&O.hasOwnProperty.call(e,`m`)&&(r.m=e.m),e.p!=null&&O.hasOwnProperty.call(e,`p`)&&(r.p=e.p),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Argument`},e})(),z.Command=(()=>{let e=function(e){if(this.args=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.name=``,e.prototype.args=D.emptyArray,e.prototype.time=D.Long?D.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.args!=null&&e.args.length)for(let r=0;r<e.args.length;++r)z.Argument.encode(e.args[r],t.uint32(18).fork(),n+1).ldelim();if(e.time!=null&&O.hasOwnProperty.call(e,`time`)&&(typeof e.time==`object`?e.time.low||e.time.high:e.time!==0)&&t.uint32(32).int64(e.time),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.Command,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 2:if(a!==2)break;o.args&&o.args.length||(o.args=[]),o.args.push(z.Argument.decode(e,e.uint32(),k,r+1));continue;case 4:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.time=s:delete o.time;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.Command)return e;if(!D.isObject(e))throw j(`.Command: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.Command;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.args){if(!I.isArray(e.args))throw j(`.Command.args: array expected`);n.args=I(e.args.length);for(let r=0;r<e.args.length;++r){if(!D.isObject(e.args[r]))throw j(`.Command.args: object expected`);n.args[r]=z.Argument.fromObject(e.args[r],t+1)}}return e.time!=null&&(typeof e.time==`object`?e.time.low||e.time.high:P(e.time)!==0)&&(D.Long?n.time=D.Long.fromValue(e.time,!1):typeof e.time==`string`?n.time=L(e.time,10):typeof e.time==`number`?n.time=e.time:typeof e.time==`object`&&(n.time=new D.LongBits(e.time.low>>>0,e.time.high>
1>>0).toNumber())),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.args=[]),t.defaults)if(r.name=``,D.Long){let e=new D.Long(0,0,!1);r.time=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.time=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.args&&e.args.length){r.args=I(e.args.length);for(let i=0;i<e.args.length;++i)r.args[i]=z.Argument.toObject(e.args[i],t,n+1)}return e.time!=null&&O.hasOwnProperty.call(e,`time`)&&(R!==void 0&&t.longs===R?r.time=typeof e.time==`number`?R(e.time):D.Long.fromBits(e.time.low>>>0,e.time.high>>>0,!1).toBigInt():typeof e.time==`number`?r.time=t.longs===M?M(e.time):e.time:r.time=t.longs===M?D.Long.prototype.toString.call(e.time):t.longs===P?new D.LongBits(e.time.low>>>0,e.time.high>>>0).toNumber():e.time),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/Command`},e})(),z.ParentMessage=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.message=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.message!=null&&O.hasOwnProperty.call(e,`message`)&&e.message!==``&&t.uint32(10).string(e.message),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.ParentMessage,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.message=s:delete o.message;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.ParentMessage)return e;if(!D.isObject(e))throw j(`.ParentMessage: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.ParentMessage;return e.message!=null&&(typeof e.message!=`string`||e.message.length)&&(n.message=M(e.message)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.message=``),e.message!=null&&O.hasOwnProperty.call(e,`message`)&&(r.message=e.message),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/ParentMessage`},e})(),z.SessionEvent=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.scriptChangedOnDisk=null,e.prototype.scriptWasManuallyStopped=null,e.prototype.scriptCompilationException=null;let t;return O.defineProperty(e.prototype,`type`,{get:D.oneOfGetter(t=[`scriptChangedOnDisk`,`scriptWasManuallyStopped`,`scriptCompilationException`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.scriptChangedOnDisk!=null&&O.hasOwnProperty.call(e,`scriptChangedOnDisk`)&&t.uint32(8).bool(e.scriptChangedOnDisk),e.scriptWasManuallyStopped!=null&&O.hasOwnProperty.call(e,`scriptWasManuallyStopped`)&&t.uint32(16).bool(e.scriptWasManuallyStopped),e.scriptCompilationException!=null&&O.hasOwnProperty.call(e,`scriptCompilationException`)&&z.Exception.encode(e.scriptCompilationException,t.uint32(26).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.SessionEvent;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;o.scriptChangedOnDisk=e.bool(),o.type=`scriptChangedOnDisk`;continue;case 2:if(a!==0)break;o.scriptWasManuallyStopped=e.bool(),o.type=`scriptWasManuallyStopped`;continue;case 3:if(a!==2)break;o.scriptCompilationException=z.Exception.decode(e,e.uint32(),k,r+1,o.scriptCompilationException),o.type=`scriptCompilationException`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.SessionEvent)return e;if(!D.isObject(e))throw j(`.SessionEvent: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.SessionEvent;if(e.scriptChangedOnDisk!=null&&(n.scriptChangedOnDisk=N(e.scriptChangedOnDisk)),e.scriptWasManuallyStopped!=null&&(n.scriptWasManuallyStopped=N(e.scriptWasManuallyStopped)),e.scriptCompilationException!=null){if(!D.isObject(e.scriptCompilationException))throw j(`.SessionEvent.scriptCompilationException: object expected`);n.scriptCompilationException=z.Exception.fromObject(e.scriptCompilationException,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.scriptChangedOnDisk!=null&&O.hasOwnProperty.call(e,`scriptChangedOnDisk`)&&(r.scriptChangedOnDisk=e.scriptChangedOnDisk,t.oneofs&&(r.type=`scriptChangedOnDisk`)),e.scriptWasManuallyStopped!=null&&O.hasOwnProperty.call(e,`scriptWasManuallyStopped`)&&(r.scriptWasManuallyStopped=e.scriptWasManuallyStopped,t.oneofs&&(r.type=`scriptWasManuallyStopped`)),e.scriptCompilationException!=null&&O.hasOwnProperty.call(e,`scriptCompilationException`)&&(r.scriptCompilationException=z.Exception.toObject(e.scriptCompilationException,t,n+1),t.oneofs&&(r.type=`scriptCompilationException`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/SessionEvent`},e})();var Oe=z.MetricsEvent=(()=>{let e=function(e){if(this.commands=[],this.config=[],this.attributions=[],this.installedSkills=[],this.installedAgents=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.event=``,e.prototype.anonymousId=``,e.prototype.machineIdV3=``,e.prototype.machineIdV4=``,e.prototype.reportHash=``,e.prototype.dev=!1,e.prototype.source=``,e.prototype.streamlitVersion=``,e.prototype.isHello=!1,e.prototype.appId=``,e.prototype.sessionId=``,e.prototype.pythonVersion=``,e.prototype.serverOs=``,e.prototype.hasDisplay=!1,e.prototype.isWebdriver=!1,e.prototype.hostedAt=``,e.prototype.owner=``,e.prototype.repo=``,e.prototype.branch=``,e.prototype.mainModule=``,e.prototype.creatorId=``,e.prototype.contextPageUrl=``,e.prototype.contextPageTitle=``,e.prototype.contextPagePath=``,e.prototype.contextPageReferrer=``,e.prototype.contextPageSearch=``,e.prototype.contextLocale=``,e.prototype.contextUserAgent=``,e.prototype.label=``,e.prototype.commands=D.emptyArray,e.prototype.execTime=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.prepTime=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.config=D.emptyArray,e.prototype.uncaughtException=``,e.prototype.attributions=D.emptyArray,e.prototype.os=``,e.prototype.timezone=``,e.prototype.headless=!1,e.prototype.isFragmentRun=!1,e.prototype.numPages=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.pageScriptHash=``,e.prototype.activeTheme=``,e.prototype.totalLoadTime=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.browserInfo=null,e.prototype.serverMode=``,e.prototype.installedSkills=D.emptyArray,e.prototype.installedAgents=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.event!=null&&O.hasOwnProperty.call(e,`event`)&&e.event!==``&&t.uint32(10).string(e.event),e.anonymousId!=null&&O.hasOwnProperty.call(e,`anonymousId`)&&e.anonymousId!==``&&t.uint32(18).string(e.anonymousId),e.machineIdV3!=null&&O.hasOwnProperty.call(e,`machineIdV3`)&&e.machineIdV3!==``&&t.uint32(26).string(e.machineIdV3),e.reportHash!=null&&O.hasOwnProperty.call(e,`reportHash`)&&e.reportHash!==``&&t.uint32(34).string(e.reportHash),e.dev!=null&&O.hasOwnProperty.call(e,`dev`)&&e.dev!==!1&&t.uint32(40).bool(e.dev),e.source!=null&&O.hasOwnProperty.call(e,`source`)&&e.source!==``&&t.uint32(50).string(e.source),e.streamlitVersion!=null&&O.hasOwnProperty.call(e,`streamlitVersion`)&&e.streamlitVersion!==``&&t.uint32(58).string(e.streamlitVersion),e.isHello!=null&&O.hasOwnProperty.call(e,`isHello`)&&e.isHello!==!1&&t.uint32(64).bool(e.isHello),e.hostedAt!=null&&O.hasOwnProperty.call(e,`hostedAt`)&&e.hostedAt!==``&&t.uint32(74).string(e.hostedAt),e.owner!=null&&O.hasOwnProperty.call(e,`owner`)&&e.owner!==``&&t.uint32(82).string(e.owner),e.repo!=null&&O.hasOwnProperty.call(e,`repo`)&&e.repo!==``&&t.uint32(90).string(e.repo),e.branch!=null&&O.hasOwnProperty.call(e,`branch`)&&e.branch!==``&&t.uint32(98).string(e.branch),e.mainModule!=null&&O.hasOwnProperty.call(e,`mainModule`)&&e.mainModule!==``&&t.uint32(106).string(e.mainModule),e.creatorId!=null&&O.hasOwnProperty.call(e,`creatorId`)&&e.creatorId!==``&&t.uint32(114).string(e.creatorId),e.contextPageUrl!=null&&O.hasOwnProperty.call(e,`contextPageUrl`)&&e.contextPageUrl!==``&&t.uint32(122).string(e.contextPageUrl),e.contextPageTitle!=null&&O.hasOwnProperty.call(e,`contextPageTitle`)&&e.contextPageTitle!==``&&t.uint32(130).string(e.contextPageTitle),e.contextPagePath!=null&&O.hasOwnProperty.call(e,`contextPagePath`)&&e.contextPagePath!==``&&t.uint32(138).string(e.contextPagePath),e.contextPageReferrer!=null&&O.hasOwnProperty.call(e,`contextPageReferrer`)&&e.contextPageReferrer!==``&&t.uint32(146).string(e.contextPageReferrer),e.contextPageSearch!=null&&O.hasOwnProperty.call(e,`contextPageSearch`)&&e.contextPageSearch!==``&&t.uint32(154).string(e.contextPageSearch),e.contextLocale!=null&&O.hasOwnProperty.call(e,`contextLocale`)&&e.contextLocale!==``&&t.uint32(162).string(e.contextLocale),e.contextUserAgent!=null&&O.hasOwnProperty.call(e,`contextUserAgent`)&&e.contextUserAgent!==``&&t.uint32(170).string(e.contextUserAgent),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(178).string(e.label),e.commands!=null&&e.commands.length)for(let r=0;r<e.commands.length;++r)z.Command.encode(e.commands[r],t.uint32(186).fork(),n+1).ldelim();if(e.execTime!=null&&O.hasOwnProperty.call(e,`execTime`)&&(typeof e.execTime==`object`?e.execTime.low||e.execTime.high:e.execTime!==0)&&t.uint32(192).int64(e.execTime),e.prepTime!=null&&O.hasOwnProperty.call(e,`prepTime`)&&(typeof e.prepTime==`object`?e.prepTime.low||e.prepTime.high:e.prepTime!==0)&&t.uint32(200).int64(e.prepTime),e.config!=null&&e.config.length)for(let n=0;n<e.config.length;++n)t.uint32(210).string(e.config[n]);if(e.uncaughtException!=null&&O.hasOwnProperty.call(e,`uncaughtException`)&&e.uncaughtException!==``&&t.uint32(218).string(e.uncaughtException),e.attributions!=null&&e.attributions.length)for(let n=0;n<e.attributions.length;++n)t.uint32(226).string(e.attributions[n]);if(e.os!=null&&O.hasOwnProperty.call(e,`os`)&&e.os!==``&&t.uint32(234).string(e.os),e.t
1imezone!=null&&O.hasOwnProperty.call(e,`timezone`)&&e.timezone!==``&&t.uint32(242).string(e.timezone),e.headless!=null&&O.hasOwnProperty.call(e,`headless`)&&e.headless!==!1&&t.uint32(248).bool(e.headless),e.isFragmentRun!=null&&O.hasOwnProperty.call(e,`isFragmentRun`)&&e.isFragmentRun!==!1&&t.uint32(256).bool(e.isFragmentRun),e.appId!=null&&O.hasOwnProperty.call(e,`appId`)&&e.appId!==``&&t.uint32(266).string(e.appId),e.numPages!=null&&O.hasOwnProperty.call(e,`numPages`)&&(typeof e.numPages==`object`?e.numPages.low||e.numPages.high:e.numPages!==0)&&t.uint32(272).int64(e.numPages),e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(282).string(e.sessionId),e.pythonVersion!=null&&O.hasOwnProperty.call(e,`pythonVersion`)&&e.pythonVersion!==``&&t.uint32(290).string(e.pythonVersion),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(298).string(e.pageScriptHash),e.activeTheme!=null&&O.hasOwnProperty.call(e,`activeTheme`)&&e.activeTheme!==``&&t.uint32(306).string(e.activeTheme),e.totalLoadTime!=null&&O.hasOwnProperty.call(e,`totalLoadTime`)&&(typeof e.totalLoadTime==`object`?e.totalLoadTime.low||e.totalLoadTime.high:e.totalLoadTime!==0)&&t.uint32(312).int64(e.totalLoadTime),e.browserInfo!=null&&O.hasOwnProperty.call(e,`browserInfo`)&&z.BrowserInfo.encode(e.browserInfo,t.uint32(322).fork(),n+1).ldelim(),e.machineIdV4!=null&&O.hasOwnProperty.call(e,`machineIdV4`)&&e.machineIdV4!==``&&t.uint32(330).string(e.machineIdV4),e.serverOs!=null&&O.hasOwnProperty.call(e,`serverOs`)&&e.serverOs!==``&&t.uint32(338).string(e.serverOs),e.hasDisplay!=null&&O.hasOwnProperty.call(e,`hasDisplay`)&&e.hasDisplay!==!1&&t.uint32(344).bool(e.hasDisplay),e.isWebdriver!=null&&O.hasOwnProperty.call(e,`isWebdriver`)&&e.isWebdriver!==!1&&t.uint32(352).bool(e.isWebdriver),e.serverMode!=null&&O.hasOwnProperty.call(e,`serverMode`)&&e.serverMode!==``&&t.uint32(362).string(e.serverMode),e.installedSkills!=null&&e.installedSkills.length)for(let n=0;n<e.installedSkills.length;++n)t.uint32(370).string(e.installedSkills[n]);if(e.installedAgents!=null&&e.installedAgents.length)for(let n=0;n<e.installedAgents.length;++n)t.uint32(378).string(e.installedAgents[n]);if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.MetricsEvent,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.event=s:delete o.event;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.anonymousId=s:delete o.anonymousId;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.machineIdV3=s:delete o.machineIdV3;continue;case 41:if(a!==2)break;(s=e.stringVerify()).length?o.machineIdV4=s:delete o.machineIdV4;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.reportHash=s:delete o.reportHash;continue;case 5:if(a!==0)break;(s=e.bool())?o.dev=s:delete o.dev;continue;case 6:if(a!==2)break;(s=e.stringVerify()).length?o.source=s:delete o.source;continue;case 7:if(a!==2)break;(s=e.stringVerify()).length?o.streamlitVersion=s:delete o.streamlitVersion;continue;case 8:if(a!==0)break;(s=e.bool())?o.isHello=s:delete o.isHello;continue;case 33:if(a!==2)break;(s=e.stringVerify()).length?o.appId=s:delete o.appId;continue;case 35:if(a!==2)break;(s=e.stringVerify()).length?o.sessionId=s:delete o.sessionId;continue;case 36:if(a!==2)break;(s=e.stringVerify()).length?o.pythonVersion=s:delete o.pythonVersion;continue;case 42:if(a!==2)break;(s=e.stringVerify()).length?o.serverOs=s:delete o.serverOs;continue;case 43:if(a!==0)break;(s=e.bool())?o.hasDisplay=s:delete o.hasDisplay;continue;case 44:if(a!==0)break;(s=e.bool())?o.isWebdriver=s:delete o.isWebdriver;continue;case 9:if(a!==2)break;(s=e.stringVerify()).length?o.hostedAt=s:delete o.hostedAt;continue;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.owner=s:delete o.owner;continue;case 11:if(a!==2)break;(s=e.stringVerify()).length?o.repo=s:delete o.repo;continue;case 12:if(a!==2)break;(s=e.stringVerify()).length?o.branch=s:delete o.branch;continue;case 13:if(a!==2)break;(s=e.stringVerify()).length?o.mainModule=s:delete o.mainModule;continue;case 14:if(a!==2)break;(s=e.stringVerify()).length?o.creatorId=s:delete o.creatorId;continue;case 15:if(a!==2)break;(s=e.stringVerify()).length?o.contextPageUrl=s:delete o.contextPageUrl;continue;case 16:if(a!==2)break;(s=e.stringVerify()).length?o.contextPageTitle=s:delete o.contextPageTitle;continue;case 17:if(a!==2)break;(s=e.stringVerify()).length?o.contextPagePath=s:delete o.contextPagePath;continue;case 18:if(a!==2)break;(s=e.stringVerify()).length?o.contextPageReferrer=s:delete o.contextPageReferrer;continue;case 19:if(a!==2)break;(s=e.stringVerify()).length?o.contextPageSearch=s:delete o.contextPageSearch;continue;case 20:if(a!==2)break;(s=e.stringVerify()).length?o.contextLocale=s:delete o.contextLocale;continue;case 21:if(a!==2)break;(s=e.stringVerify()).length?o.contextUserAgent=s:delete o.contextUserAgent;continue;case 22:if(a!==2)break;(s=e.stringVerify()).length?o.label=s:delete o.label;continue;case 23:if(a!==2)break;o.commands&&o.commands.length||(o.commands=[]),o.commands.push(z.Command.decode(e,e.uint32(),k,r+1));continue;case 24:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.execTime=s:delete o.execTime;continue;case 25:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.prepTime=s:delete o.prepTime;continue;case 26:if(a!==2)break;o.config&&o.config.length||(o.config=[]),o.config.push(e.stringVerify());continue;case 27:if(a!==2)break;(s=e.stringVerify()).length?o.uncaughtException=s:delete o.uncaughtException;continue;case 28:if(a!==2)break;o.attributions&&o.attributions.length||(o.attributions=[]),o.attributions.push(e.stringVerify());continue;case 29:if(a!==2)break;(s=e.stringVerify()).length?o.os=s:delete o.os;continue;case 30:if(a!==2)break;(s=e.stringVerify()).length?o.timezone=s:delete o.timezone;continue;case 31:if(a!==0)break;(s=e.bool())?o.headless=s:delete o.headless;continue;case 32:if(a!==0)break;(s=e.bool())?o.isFragmentRun=s:delete o.isFragmentRun;continue;case 34:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.numPages=s:delete o.numPages;continue;case 37:if(a!==2)break;(s=e.stringVerify()).length?o.pageScriptHash=s:delete o.pageScriptHash;continue;case 38:if(a!==2)break;(s=e.stringVerify()).length?o.activeTheme=s:delete o.activeTheme;continue;case 39:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.totalLoadTime=s:delete o.totalLoadTime;continue;case 40:if(a!==2)break;o.browserInfo=z.BrowserInfo.decode(e,e.uint32(),k,r+1,o.browserInfo);continue;case 45:if(a!==2)break;(s=e.stringVerify()).length?o.serverMode=s:delete o.serverMode;continue;case 46:if(a!==2)break;o.installedSkills&&o.installedSkills.length||(o.installedSkills=[]),o.installedSkills.push(e.stringVerify());continue;case 47:if(a!==2)break;o.installedAgents&&o.installedAgents.length||(o.installedAgents=[]),o.installedAgents.push(e.stringVerify());continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.MetricsEvent)return e;if(!D.isObject(e))throw j(`.MetricsEvent: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.MetricsEvent;if(e.event!=null&&(typeof e.event!=`string`||e.event.length)&&(n.event=M(e.event)),e.anonymousId!=null&&(typeof e.anonymousId!=`string`||e.anonymousId.length)&&(n.anonymousId=M(e.anonymousId)),e.machineIdV3!=null&&(typeof e.machineIdV3!=`string`||e.machineIdV3.length)&&(n.machineIdV3=M(e.machineIdV3)),e.machineIdV4!=null&&(typeof e.machineIdV4!=`string`||e.machineIdV4.length)&&(n.machineIdV4=M(e.machineIdV4)),e.reportHash!=null&&(typeof e.reportHash!=`string`||e.reportHash.length)&&(n.reportHash=M(e.reportHash)),e.dev!=null&&e.dev&&(n.dev=N(e.dev)),e.source!=null&&(typeof e.source!=`string`||e.source.length)&&(n.source=M(e.source)),e.streamlitVersion!=null&&(typeof e.streamlitVersion!=`string`||e.streamlitVersion.length)&&(n.streamlitVersion=M(e.streamlitVersion)),e.isHello!=null&&e.isHello&&(n.isHello=N(e.isHello)),e.appId!=null&&(typeof e.appId!=`string`||e.appId.length)&&(n.appI
1d=M(e.appId)),e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=M(e.sessionId)),e.pythonVersion!=null&&(typeof e.pythonVersion!=`string`||e.pythonVersion.length)&&(n.pythonVersion=M(e.pythonVersion)),e.serverOs!=null&&(typeof e.serverOs!=`string`||e.serverOs.length)&&(n.serverOs=M(e.serverOs)),e.hasDisplay!=null&&e.hasDisplay&&(n.hasDisplay=N(e.hasDisplay)),e.isWebdriver!=null&&e.isWebdriver&&(n.isWebdriver=N(e.isWebdriver)),e.hostedAt!=null&&(typeof e.hostedAt!=`string`||e.hostedAt.length)&&(n.hostedAt=M(e.hostedAt)),e.owner!=null&&(typeof e.owner!=`string`||e.owner.length)&&(n.owner=M(e.owner)),e.repo!=null&&(typeof e.repo!=`string`||e.repo.length)&&(n.repo=M(e.repo)),e.branch!=null&&(typeof e.branch!=`string`||e.branch.length)&&(n.branch=M(e.branch)),e.mainModule!=null&&(typeof e.mainModule!=`string`||e.mainModule.length)&&(n.mainModule=M(e.mainModule)),e.creatorId!=null&&(typeof e.creatorId!=`string`||e.creatorId.length)&&(n.creatorId=M(e.creatorId)),e.contextPageUrl!=null&&(typeof e.contextPageUrl!=`string`||e.contextPageUrl.length)&&(n.contextPageUrl=M(e.contextPageUrl)),e.contextPageTitle!=null&&(typeof e.contextPageTitle!=`string`||e.contextPageTitle.length)&&(n.contextPageTitle=M(e.contextPageTitle)),e.contextPagePath!=null&&(typeof e.contextPagePath!=`string`||e.contextPagePath.length)&&(n.contextPagePath=M(e.contextPagePath)),e.contextPageReferrer!=null&&(typeof e.contextPageReferrer!=`string`||e.contextPageReferrer.length)&&(n.contextPageReferrer=M(e.contextPageReferrer)),e.contextPageSearch!=null&&(typeof e.contextPageSearch!=`string`||e.contextPageSearch.length)&&(n.contextPageSearch=M(e.contextPageSearch)),e.contextLocale!=null&&(typeof e.contextLocale!=`string`||e.contextLocale.length)&&(n.contextLocale=M(e.contextLocale)),e.contextUserAgent!=null&&(typeof e.contextUserAgent!=`string`||e.contextUserAgent.length)&&(n.contextUserAgent=M(e.contextUserAgent)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=M(e.label)),e.commands){if(!I.isArray(e.commands))throw j(`.MetricsEvent.commands: array expected`);n.commands=I(e.commands.length);for(let r=0;r<e.commands.length;++r){if(!D.isObject(e.commands[r]))throw j(`.MetricsEvent.commands: object expected`);n.commands[r]=z.Command.fromObject(e.commands[r],t+1)}}if(e.execTime!=null&&(typeof e.execTime==`object`?e.execTime.low||e.execTime.high:P(e.execTime)!==0)&&(D.Long?n.execTime=D.Long.fromValue(e.execTime,!1):typeof e.execTime==`string`?n.execTime=L(e.execTime,10):typeof e.execTime==`number`?n.execTime=e.execTime:typeof e.execTime==`object`&&(n.execTime=new D.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber())),e.prepTime!=null&&(typeof e.prepTime==`object`?e.prepTime.low||e.prepTime.high:P(e.prepTime)!==0)&&(D.Long?n.prepTime=D.Long.fromValue(e.prepTime,!1):typeof e.prepTime==`string`?n.prepTime=L(e.prepTime,10):typeof e.prepTime==`number`?n.prepTime=e.prepTime:typeof e.prepTime==`object`&&(n.prepTime=new D.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber())),e.config){if(!I.isArray(e.config))throw j(`.MetricsEvent.config: array expected`);n.config=I(e.config.length);for(let t=0;t<e.config.length;++t)n.config[t]=M(e.config[t])}if(e.uncaughtException!=null&&(typeof e.uncaughtException!=`string`||e.uncaughtException.length)&&(n.uncaughtException=M(e.uncaughtException)),e.attributions){if(!I.isArray(e.attributions))throw j(`.MetricsEvent.attributions: array expected`);n.attributions=I(e.attributions.length);for(let t=0;t<e.attributions.length;++t)n.attributions[t]=M(e.attributions[t])}if(e.os!=null&&(typeof e.os!=`string`||e.os.length)&&(n.os=M(e.os)),e.timezone!=null&&(typeof e.timezone!=`string`||e.timezone.length)&&(n.timezone=M(e.timezone)),e.headless!=null&&e.headless&&(n.headless=N(e.headless)),e.isFragmentRun!=null&&e.isFragmentRun&&(n.isFragmentRun=N(e.isFragmentRun)),e.numPages!=null&&(typeof e.numPages==`object`?e.numPages.low||e.numPages.high:P(e.numPages)!==0)&&(D.Long?n.numPages=D.Long.fromValue(e.numPages,!1):typeof e.numPages==`string`?n.numPages=L(e.numPages,10):typeof e.numPages==`
1number`?n.numPages=e.numPages:typeof e.numPages==`object`&&(n.numPages=new D.LongBits(e.numPages.low>>>0,e.numPages.high>>>0).toNumber())),e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=M(e.pageScriptHash)),e.activeTheme!=null&&(typeof e.activeTheme!=`string`||e.activeTheme.length)&&(n.activeTheme=M(e.activeTheme)),e.totalLoadTime!=null&&(typeof e.totalLoadTime==`object`?e.totalLoadTime.low||e.totalLoadTime.high:P(e.totalLoadTime)!==0)&&(D.Long?n.totalLoadTime=D.Long.fromValue(e.totalLoadTime,!1):typeof e.totalLoadTime==`string`?n.totalLoadTime=L(e.totalLoadTime,10):typeof e.totalLoadTime==`number`?n.totalLoadTime=e.totalLoadTime:typeof e.totalLoadTime==`object`&&(n.totalLoadTime=new D.LongBits(e.totalLoadTime.low>>>0,e.totalLoadTime.high>>>0).toNumber())),e.browserInfo!=null){if(!D.isObject(e.browserInfo))throw j(`.MetricsEvent.browserInfo: object expected`);n.browserInfo=z.BrowserInfo.fromObject(e.browserInfo,t+1)}if(e.serverMode!=null&&(typeof e.serverMode!=`string`||e.serverMode.length)&&(n.serverMode=M(e.serverMode)),e.installedSkills){if(!I.isArray(e.installedSkills))throw j(`.MetricsEvent.installedSkills: array expected`);n.installedSkills=I(e.installedSkills.length);for(let t=0;t<e.installedSkills.length;++t)n.installedSkills[t]=M(e.installedSkills[t])}if(e.installedAgents){if(!I.isArray(e.installedAgents))throw j(`.MetricsEvent.installedAgents: array expected`);n.installedAgents=I(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)n.installedAgents[t]=M(e.installedAgents[t])}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.commands=[],r.config=[],r.attributions=[],r.installedSkills=[],r.installedAgents=[]),t.defaults){if(r.event=``,r.anonymousId=``,r.machineIdV3=``,r.reportHash=``,r.dev=!1,r.source=``,r.streamlitVersion=``,r.isHello=!1,r.hostedAt=``,r.owner=``,r.repo=``,r.branch=``,r.mainModule=``,r.creatorId=``,r.contextPageUrl=``,r.contextPageTitle=``,r.contextPagePath=``,r.contextPageReferrer=``,r.contextPageSearch=``,r.contextLocale=``,r.contextUserAgent=``,r.label=``,D.Long){let e=new D.Long(0,0,!1);r.execTime=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.execTime=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;if(D.Long){let e=new D.Long(0,0,!1);r.prepTime=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.prepTime=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;if(r.uncaughtException=``,r.os=``,r.timezone=``,r.headless=!1,r.isFragmentRun=!1,r.appId=``,D.Long){let e=new D.Long(0,0,!1);r.numPages=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.numPages=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;if(r.sessionId=``,r.pythonVersion=``,r.pageScriptHash=``,r.activeTheme=``,D.Long){let e=new D.Long(0,0,!1);r.totalLoadTime=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.totalLoadTime=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.browserInfo=null,r.machineIdV4=``,r.serverOs=``,r.hasDisplay=!1,r.isWebdriver=!1,r.serverMode=``}if(e.event!=null&&O.hasOwnProperty.call(e,`event`)&&(r.event=e.event),e.anonymousId!=null&&O.hasOwnProperty.call(e,`anonymousId`)&&(r.anonymousId=e.anonymousId),e.machineIdV3!=null&&O.hasOwnProperty.call(e,`machineIdV3`)&&(r.machineIdV3=e.machineIdV3),e.reportHash!=null&&O.hasOwnProperty.call(e,`reportHash`)&&(r.reportHash=e.reportHash),e.dev!=null&&O.hasOwnProperty.call(e,`dev`)&&(r.dev=e.dev),e.source!=null&&O.hasOwnProperty.call(e,`source`)&&(r.source=e.source),e.streamlitVersion!=null&&O.hasOwnProperty.call(e,`streamlitVersion`)&&(r.streamlitVersion=e.streamlitVersion),e.isHello!=null&&O.hasOwnProperty.call(e,`isHello`)&&(r.isHello=e.isHello),e.hostedAt!=null&&O.hasOwnProperty.call(e,`hostedAt`)&&(r.hostedAt=e.hostedAt),e.owner!=null&&O.hasOwnProperty.call(e,`owner`)&&(r.owner=e.owner),e.repo!=null&&O.hasOwnProperty.call(e,`repo`)&&(r.repo=e.repo),e.branch!=null&&O.hasOwnProperty.call(e,`branch`)&&(r.branch=e.branch),e.mainModule!=null&&O.hasOwnProperty.call(e,`mainModule`)&&(r.mainModule=e.mainModule),e.creatorId!=null&&O.hasOwnProperty.call(e,`creatorId`)&&(r.creatorId=e.creatorId),e.contextPageUrl!=null&&O.hasOwnProperty.call(e,`contextPageUrl`)&&(r.contextPageUrl=e.contextPageUrl),e.contextPageTitle!=null&&O.hasOwnProperty.call(e,`contextPageTitle`)&&(r.contextPageTitle=e.contextPageTitle),e.contextPagePath!=null&&O.hasOwnProperty.call(e,`contextPagePath`)&&(r.contextPagePath=e.contextPagePath),e.contextPageReferrer!=null&&O.hasOwnProperty.call(e,`contextPageReferrer`)&&(r.contextPageReferrer=e.contextPageReferrer),e.contextPageSearch!=null&&O.hasOwnProperty.call(e,`contextPageSearch`)&&(r.contextPageSearch=e.contextPageSearch),e.contextLocale!=null&&O.hasOwnProperty.call(e,`contextLocale`)&&(r.contextLocale=e.contextLocale),e.contextUserAgent!=null&&O.hasOwnProperty.call(e,`contextUserAgent`)&&(r.contextUserAgent=e.contextUserAgent),e.label!=null&&O.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.commands&&e.commands.length){r.commands=I(e.commands.length);for(let i=0;i<e.commands.length;++i)r.commands[i]=z.Command.toObject(e.commands[i],t,n+1)}if(e.execTime!=null&&O.hasOwnProperty.call(e,`execTime`)&&(R!==void 0&&t.longs===R?r.execTime=typeof e.execTime==`number`?R(e.execTime):D.Long.fromBits(e.execTime.low>>>0,e.execTime.high>
1>>0,!1).toBigInt():typeof e.execTime==`number`?r.execTime=t.longs===M?M(e.execTime):e.execTime:r.execTime=t.longs===M?D.Long.prototype.toString.call(e.execTime):t.longs===P?new D.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber():e.execTime),e.prepTime!=null&&O.hasOwnProperty.call(e,`prepTime`)&&(R!==void 0&&t.longs===R?r.prepTime=typeof e.prepTime==`number`?R(e.prepTime):D.Long.fromBits(e.prepTime.low>>>0,e.prepTime.high>>>0,!1).toBigInt():typeof e.prepTime==`number`?r.prepTime=t.longs===M?M(e.prepTime):e.prepTime:r.prepTime=t.longs===M?D.Long.prototype.toString.call(e.prepTime):t.longs===P?new D.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber():e.prepTime),e.config&&e.config.length){r.config=I(e.config.length);for(let t=0;t<e.config.length;++t)r.config[t]=e.config[t]}if(e.uncaughtException!=null&&O.hasOwnProperty.call(e,`uncaughtException`)&&(r.uncaughtException=e.uncaughtException),e.attributions&&e.attributions.length){r.attributions=I(e.attributions.length);for(let t=0;t<e.attributions.length;++t)r.attributions[t]=e.attributions[t]}if(e.os!=null&&O.hasOwnProperty.call(e,`os`)&&(r.os=e.os),e.timezone!=null&&O.hasOwnProperty.call(e,`timezone`)&&(r.timezone=e.timezone),e.headless!=null&&O.hasOwnProperty.call(e,`headless`)&&(r.headless=e.headless),e.isFragmentRun!=null&&O.hasOwnProperty.call(e,`isFragmentRun`)&&(r.isFragmentRun=e.isFragmentRun),e.appId!=null&&O.hasOwnProperty.call(e,`appId`)&&(r.appId=e.appId),e.numPages!=null&&O.hasOwnProperty.call(e,`numPages`)&&(R!==void 0&&t.longs===R?r.numPages=typeof e.numPages==`number`?R(e.numPages):D.Long.fromBits(e.numPages.low>>>0,e.numPages.high>>>0,!1).toBigInt():typeof e.numPages==`number`?r.numPages=t.longs===M?M(e.numPages):e.numPages:r.numPages=t.longs===M?D.Long.prototype.toString.call(e.numPages):t.longs===P?new D.LongBits(e.numPages.low>>>0,e.numPages.high>>>0).toNumber():e.numPages),e.sessionId!=null&&O.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),e.pythonVersion!=null&&O.hasOwnProperty.call(e,`pythonVersion`)&&(r.pythonVersion=e.pythonVersion),e.pageScriptHash!=null&&O.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.activeTheme!=null&&O.hasOwnProperty.call(e,`activeTheme`)&&(r.activeTheme=e.activeTheme),e.totalLoadTime!=null&&O.hasOwnProperty.call(e,`totalLoadTime`)&&(R!==void 0&&t.longs===R?r.totalLoadTime=typeof e.totalLoadTime==`number`?R(e.totalLoadTime):D.Long.fromBits(e.totalLoadTime.low>>>0,e.totalLoadTime.high>>>0,!1).toBigInt():typeof e.totalLoadTime==`number`?r.totalLoadTime=t.longs===M?M(e.totalLoadTime):e.totalLoadTime:r.totalLoadTime=t.longs===M?D.Long.prototype.toString.call(e.totalLoadTime):t.longs===P?new D.LongBits(e.totalLoadTime.low>>>0,e.totalLoadTime.high>>>0).toNumber():e.totalLoadTime),e.browserInfo!=null&&O.hasOwnProperty.call(e,`browserInfo`)&&(r.browserInfo=z.BrowserInfo.toObject(e.browserInfo,t,n+1)),e.machineIdV4!=null&&O.hasOwnProperty.call(e,`machineIdV4`)&&(r.machineIdV4=e.machineIdV4),e.serverOs!=null&&O.hasOwnProperty.call(e,`serverOs`)&&(r.serverOs=e.serverOs),e.hasDisplay!=null&&O.hasOwnProperty.call(e,`hasDisplay`)&&(r.hasDisplay=e.hasDisplay),e.isWebdriver!=null&&O.hasOwnProperty.call(e,`isWebdriver`)&&(r.isWebdriver=e.isWebdriver),e.serverMode!=null&&O.hasOwnProperty.call(e,`serverMode`)&&(r.serverMode=e.serverMode),e.installedSkills&&e.installedSkills.length){r.installedSkills=I(e.installedSkills.length);for(let t=0;t<e.installedSkills.length;++t)r.installedSkills[t]=e.installedSkills[t]}if(e.installedAgents&&e.installedAgents.length){r.installedAgents=I(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)r.installedAgents[t]=e.installedAgents[t]}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/MetricsEvent`},e})();z.BrowserInfo=(()=>{let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.browserName=``,e.prototype.browserVersion=``,e.prototype.deviceType=``,e.prototype.os=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.browserName!=null&&O.hasOwnProperty.call(e,`browserName`)&&e.browserName!==``&&t.uint32(10).string(e.browserName),e.browserVersion!=null&&O.hasOwnProperty.call(e,`browserVersion`)&&e.browserVersion!==``&&t.uint32(18).string(e.browserVersion),e.deviceType!=null&&O.hasOwnProperty.call(e,`deviceType`)&&e.deviceType!==``&&t.uint32(26).string(e.deviceType),e.os!=null&&O.hasOwnProperty.call(e,`os`)&&e.os!==``&&t.uint32(34).string(e.os),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.BrowserInfo,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.browserName=s:delete o.browserName;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.browserVersion=s:delete o.browserVersion;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.deviceType=s:delete o.deviceType;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.os=s:delete o.os;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.BrowserInfo)return e;if(!D.isObject(e))throw j(`.BrowserInfo: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.BrowserInfo;return e.browserName!=null&&(typeof e.browserName!=`string`||e.browserName.length)&&(n.browserName=M(e.browserName)),e.browserVersion!=null&&(typeof e.browserVersion!=`string`||e.browserVersion.length)&&(n.browserVersion=M(e.browserVersion)),e.deviceType!=null&&(typeof e.deviceType!=`string`||e.deviceType.length)&&(n.deviceType=M(e.deviceType)),e.os!=null&&(typeof e.os!=`string`||e.os.length)&&(n.os=M(e.os)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.browserName=``,r.browserVersion=``,r.deviceType=``,r.os=``),e.browserName!=null&&O.hasOwnProperty.call(e,`browserName`)&&(r.browserName=e.browserName),e.browserVersion!=null&&O.hasOwnProperty.call(e,`browserVersion`)&&(r.browserVersion=e.browserVersion),e.deviceType!=null&&O.hasOwnProperty.call(e,`deviceType`)&&(r.deviceType=e.deviceType),e.os!=null&&O.hasOwnProperty.call(e,`os`)&&(r.os=e.os),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/BrowserInfo`},e})(),z.openmetrics=(()=>{let e={};return e.MetricSet=(function(){let e=function(e){if(this.metricFamilies=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.metricFamilies=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.metricFamilies!=null&&e.metricFamilies.length)for(let r=0;r<e.metricFamilies.length;++r)z.openmetrics.MetricFamily.encode(e.metricFamilies[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.MetricSet;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.metricFamilies&&o.metricFamilies.length||(o.metricFamilies=[]),o.metricFamilies.push(z.openmetrics.MetricFamily.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.MetricSet)return e;if(!D.isObject(e))throw j(`.openmetrics.MetricSet: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.MetricSet;
1if(e.metricFamilies){if(!I.isArray(e.metricFamilies))throw j(`.openmetrics.MetricSet.metricFamilies: array expected`);n.metricFamilies=I(e.metricFamilies.length);for(let r=0;r<e.metricFamilies.length;++r){if(!D.isObject(e.metricFamilies[r]))throw j(`.openmetrics.MetricSet.metricFamilies: object expected`);n.metricFamilies[r]=z.openmetrics.MetricFamily.fromObject(e.metricFamilies[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.metricFamilies=[]),e.metricFamilies&&e.metricFamilies.length){r.metricFamilies=I(e.metricFamilies.length);for(let i=0;i<e.metricFamilies.length;++i)r.metricFamilies[i]=z.openmetrics.MetricFamily.toObject(e.metricFamilies[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.MetricSet`},e})(),e.MetricFamily=(function(){let e=function(e){if(this.metrics=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.name=``,e.prototype.type=0,e.prototype.unit=``,e.prototype.help=``,e.prototype.metrics=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(16).int32(e.type),e.unit!=null&&O.hasOwnProperty.call(e,`unit`)&&e.unit!==``&&t.uint32(26).string(e.unit),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.metrics!=null&&e.metrics.length)for(let r=0;r<e.metrics.length;++r)z.Metric.encode(e.metrics[r],t.uint32(42).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.MetricFamily,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 2:if(a!==0)break;(s=e.int32())?o.type=s:delete o.type;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.unit=s:delete o.unit;continue;case 4:if(a!==2)break;(s=e.stringVerify()).length?o.help=s:delete o.help;continue;case 5:if(a!==2)break;o.metrics&&o.metrics.length||(o.metrics=[]),o.metrics.push(z.Metric.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.MetricFamily)return e;if(!D.isObject(e))throw j(`.openmetrics.MetricFamily: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.MetricFamily;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.type!==0&&(typeof e.type!=`string`||z.openmetrics.MetricType[e.type]!==0))switch(e.type){case`UNKNOWN`:case 0:n.type=0;break;case`GAUGE`:case 1:n.type=1;break;case`COUNTER`:case 2:n.type=2;break;case`STATE_SET`:case 3:n.type=3;break;case`INFO`:case 4:n.type=4;break;case`HISTOGRAM`:case 5:n.type=5;break;case`GAUGE_HISTOGRAM`:case 6:n.type=6;break;case`SUMMARY`:case 7:n.type=7;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}if(e.unit!=null&&(typeof e.unit!=`string`||e.unit.length)&&(n.unit=M(e.unit)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=M(e.help)),e.metrics){if(!I.isArray(e.metrics))throw j(`.openmetrics.MetricFamily.metrics: array expected`);n.metrics=I(e.metrics.length);for(let r=0;r<e.metrics.length;++r){if(!D.isObject(e.metrics[r]))throw j(`.openmetrics.MetricFamily.metrics: object expected`);n.metrics[r]=z.Metric.fromObject(e.metrics[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.metrics=[]),t.defaults&&(r.name=``,r.type=t.enums===M?`UNKNOWN`:0,r.unit=``,r.help=``),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.type!=null&&O.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===M?z.openmetrics.MetricType[e.type]===k?e.type:z.openmetrics.MetricType[e.type]:e.type),e.unit!=null&&O.hasOwnProperty.call(e,`unit`)&&(r.unit=e.unit),e.help!=null&&O.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.metrics&&e.metrics.length){r.metrics=I(e.metrics.length);for(let i=0;i<e.metrics.length;++i)r.metrics[i]=z.Metric.toObject(e.metrics[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.MetricFamily`},e})(),e.MetricType=(function(){let e=O.create(null),t=O.create(e);return t[e[0]=`UNKNOWN`]=0,t[e[1]=`GAUGE`]=1,t[e[2]=`COUNTER`]=2,t[e[3]=`STATE_SET`]=3,t[e[4]=`INFO`]=4,t[e[5]=`HISTOGRAM`]=5,t[e[6]=`GAUGE_HISTOGRAM`]=6,t[e[7]=`SUMMARY`]=7,t})(),e.Metric=(function(){let e=function(e){if(this.labels=[],this.metricPoints=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.labels=D.emptyArray,e.prototype.metricPoints=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.labels!=null&&e.labels.length)for(let r=0;r<e.labels.length;++r)z.openmetrics.Label.encode(e.labels[r],t.uint32(10).fork(),n+1).ldelim();if(e.metricPoints!=null&&e.metricPoints.length)for(let r=0;r<e.metricPoints.length;++r)z.openmetrics.MetricPoint.encode(e.metricPoints[r],t.uint32(18).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.Metric;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.labels&&o.labels.length||(o.labels=[]),o.labels.push(z.openmetrics.Label.decode(e,e.uint32(),k,r+1));continue;case 2:if(a!==2)break;o.metricPoints&&o.metricPoints.length||(o.metricPoints=[]),o.metricPoints.push(z.openmetrics.MetricPoint.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.Metric)return e;if(!D.isObject(e))throw j(`.openmetrics.Metric: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.Metric;if(e.labels){if(!I.isArray(e.labels))throw j(`.openmetrics.Metric.labels: array expected`);n.labels=I(e.labels.length);for(let r=0;r<e.labels.length;++r){if(!D.isObject(e.labels[r]))throw j(`.openmetrics.Metric.labels: object expected`);n.labels[r]=z.openmetrics.Label.fromObject(e.labels[r],t+1)}}if(e.metricPoints){if(!I.isArray(e.metricPoints))throw j(`.openmetrics.Metric.metricPoints: array expected`);n.metricPoints=I(e.metricPoints.length);for(let r=0;r<e.metricPoints.length;++r){if(!D.isObject(e.metricPoints[r]))throw j(`.openmetrics.Metric.metricPoints: object expected`);n.metricPoints[r]=z.openmetrics.MetricPoint.fromObject(e.metricPoints[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.labels=[],r.metricPoints=[]),e.labels&&e.labels.length){r.labels=I(e.labels.length);for(let i=0;i<e.labels.length;++i)r.labels[i]=z.openmetrics.Label.toObject(e.labels[i],t,n+1)}if(e.metricPoints&&e.metricPoints.length){r.metricPoints=I(e.metricPoints.length);for(let i=0;i<e.metricPoints.length;++i)r.metricPoints[i]=z.openmetrics.MetricPoint.toObject(e.metricPoints[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.Metric`},e})(),e.Label=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.name=``,e.prototype.value=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(18).string(e.value),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.Label,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.value=s:delete o.value;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.Label)return e;if(!D.isObject(e))throw j(`.openmetrics.Label: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.Label;return e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=M(e.value)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.value=``),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=e.value),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.Label`},e})(),e.MetricPoint=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.unknownValue=null,e.prototype.gaugeValue=null,e.prototype.counterValue=null,e.prototype.histogramValue=null,e.prototype.stateSetValue=null,e.prototype.infoValue=null,e.prototype.summaryValue=null,e.prototype.timestamp=null;let t;return O.defineProperty(e.prototype,`value`,{get:D.oneOfGetter(t=[`unknownValue`,`gaugeValue`,`counterValue`,`histogramValue`,`stateSetValue`,`infoValue`,`summaryValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.unknownValue!=null&&O.hasOwnProperty.call(e,`unknownValue`)&&z.openmetrics.UnknownValue.encode(e.unknownValue,t.uint32(10).fork(),n+1).ldelim(),e.gauge
1Value!=null&&O.hasOwnProperty.call(e,`gaugeValue`)&&z.openmetrics.GaugeValue.encode(e.gaugeValue,t.uint32(18).fork(),n+1).ldelim(),e.counterValue!=null&&O.hasOwnProperty.call(e,`counterValue`)&&z.openmetrics.CounterValue.encode(e.counterValue,t.uint32(26).fork(),n+1).ldelim(),e.histogramValue!=null&&O.hasOwnProperty.call(e,`histogramValue`)&&z.openmetrics.HistogramValue.encode(e.histogramValue,t.uint32(34).fork(),n+1).ldelim(),e.stateSetValue!=null&&O.hasOwnProperty.call(e,`stateSetValue`)&&z.openmetrics.StateSetValue.encode(e.stateSetValue,t.uint32(42).fork(),n+1).ldelim(),e.infoValue!=null&&O.hasOwnProperty.call(e,`infoValue`)&&z.openmetrics.InfoValue.encode(e.infoValue,t.uint32(50).fork(),n+1).ldelim(),e.summaryValue!=null&&O.hasOwnProperty.call(e,`summaryValue`)&&z.openmetrics.SummaryValue.encode(e.summaryValue,t.uint32(58).fork(),n+1).ldelim(),e.timestamp!=null&&O.hasOwnProperty.call(e,`timestamp`)&&z.google.protobuf.Timestamp.encode(e.timestamp,t.uint32(66).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.MetricPoint;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.unknownValue=z.openmetrics.UnknownValue.decode(e,e.uint32(),k,r+1,o.unknownValue),o.value=`unknownValue`;continue;case 2:if(a!==2)break;o.gaugeValue=z.openmetrics.GaugeValue.decode(e,e.uint32(),k,r+1,o.gaugeValue),o.value=`gaugeValue`;continue;case 3:if(a!==2)break;o.counterValue=z.openmetrics.CounterValue.decode(e,e.uint32(),k,r+1,o.counterValue),o.value=`counterValue`;continue;case 4:if(a!==2)break;o.histogramValue=z.openmetrics.HistogramValue.decode(e,e.uint32(),k,r+1,o.histogramValue),o.value=`histogramValue`;continue;case 5:if(a!==2)break;o.stateSetValue=z.openmetrics.StateSetValue.decode(e,e.uint32(),k,r+1,o.stateSetValue),o.value=`stateSetValue`;continue;case 6:if(a!==2)break;o.infoValue=z.openmetrics.InfoValue.decode(e,e.uint32(),k,r+1,o.infoValue),o.value=`infoValue`;continue;case 7:if(a!==2)break;o.summaryValue=z.openmetrics.SummaryValue.decode(e,e.uint32(),k,r+1,o.summaryValue),o.value=`summaryValue`;continue;case 8:if(a!==2)break;o.timestamp=z.google.protobuf.Timestamp.decode(e,e.uint32(),k,r+1,o.timestamp);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.MetricPoint)return e;if(!D.isObject(e))throw j(`.openmetrics.MetricPoint: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.MetricPoint;if(e.unknownValue!=null){if(!D.isObject(e.unknownValue))throw j(`.openmetrics.MetricPoint.unknownValue: object expected`);n.unknownValue=z.openmetrics.UnknownValue.fromObject(e.unknownValue,t+1)}if(e.gaugeValue!=null){if(!D.isObject(e.gaugeValue))throw j(`.openmetrics.MetricPoint.gaugeValue: object expected`);n.gaugeValue=z.openmetrics.GaugeValue.fromObject(e.gaugeValue,t+1)}if(e.counterValue!=null){if(!D.isObject(e.counterValue))throw j(`.openmetrics.MetricPoint.counterValue: object expected`);n.counterValue=z.openmetrics.CounterValue.fromObject(e.counterValue,t+1)}if(e.histogramValue!=null){if(!D.isObject(e.histogramValue))throw j(`.openmetrics.MetricPoint.histogramValue: object expected`);n.histogramValue=z.openmetrics.HistogramValue.fromObject(e.histogramValue,t+1)}if(e.stateSetValue!=null){if(!D.isObject(e.stateSetValue))throw j(`.openmetrics.MetricPoint.stateSetValue: object expected`);n.stateSetValue=z.openmetrics.StateSetValue.fromObject(e.stateSetValue,t+1)}if(e.infoValue!=null){if(!D.isObject(e.infoValue))throw j(`.openmetrics.MetricPoint.infoValue: object expected`);n.infoValue=z.openmetrics.InfoValue.fromObject(e.infoValue,t+1)}if(e.summaryValue!=null){if(!D.isObject(e.summaryValue))throw j(`.openmetrics.MetricPoint.summaryValue: object expected`);n.summaryValue=z.openmetrics.SummaryValue.fromObject(e.summaryValue,t+1)}if(e.timestamp!=null){if(!D.isObject(e.timestamp))throw j(`.openmetrics.MetricPoint.timestamp: object expected`);n.timestamp=z.google.protobuf.Timestamp.fromObject(e.timestamp,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.timestamp=null),e.unknownValue!=null&&O.hasOwnProperty.call(e,`unknownValue`)&&(r.unknownValue=z.openmetrics.UnknownValue.toObject(e.unknownValue,t,n+1),t.oneofs&&(r.value=`unknownValue`)),e.gauge
1Value!=null&&O.hasOwnProperty.call(e,`gaugeValue`)&&(r.gaugeValue=z.openmetrics.GaugeValue.toObject(e.gaugeValue,t,n+1),t.oneofs&&(r.value=`gaugeValue`)),e.counterValue!=null&&O.hasOwnProperty.call(e,`counterValue`)&&(r.counterValue=z.openmetrics.CounterValue.toObject(e.counterValue,t,n+1),t.oneofs&&(r.value=`counterValue`)),e.histogramValue!=null&&O.hasOwnProperty.call(e,`histogramValue`)&&(r.histogramValue=z.openmetrics.HistogramValue.toObject(e.histogramValue,t,n+1),t.oneofs&&(r.value=`histogramValue`)),e.stateSetValue!=null&&O.hasOwnProperty.call(e,`stateSetValue`)&&(r.stateSetValue=z.openmetrics.StateSetValue.toObject(e.stateSetValue,t,n+1),t.oneofs&&(r.value=`stateSetValue`)),e.infoValue!=null&&O.hasOwnProperty.call(e,`infoValue`)&&(r.infoValue=z.openmetrics.InfoValue.toObject(e.infoValue,t,n+1),t.oneofs&&(r.value=`infoValue`)),e.summaryValue!=null&&O.hasOwnProperty.call(e,`summaryValue`)&&(r.summaryValue=z.openmetrics.SummaryValue.toObject(e.summaryValue,t,n+1),t.oneofs&&(r.value=`summaryValue`)),e.timestamp!=null&&O.hasOwnProperty.call(e,`timestamp`)&&(r.timestamp=z.google.protobuf.Timestamp.toObject(e.timestamp,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.MetricPoint`},e})(),e.UnknownValue=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.doubleValue=null,e.prototype.intValue=null;let t;return O.defineProperty(e.prototype,`value`,{get:D.oneOfGetter(t=[`doubleValue`,`intValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.UnknownValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;o.doubleValue=e.double(),o.value=`doubleValue`;continue;case 2:if(a!==0)break;o.intValue=e.int64(),o.value=`intValue`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.UnknownValue)return e;if(!D.isObject(e))throw j(`.openmetrics.UnknownValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.UnknownValue;return e.doubleValue!=null&&(n.doubleValue=P(e.doubleValue)),e.intValue!=null&&(D.Long?n.intValue=D.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=L(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!F(e.doubleValue)?M(e.doubleValue):e.doubleValue,t.oneofs&&(r.value=`doubleValue`)),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&(R!==void 0&&t.longs===R?r.intValue=typeof e.intValue==`number`?R(e.intValue):D.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?r.intValue=t.longs===M?M(e.intValue):e.intValue:r.intValue=t.longs===M?D.Long.prototype.toString.call(e.intValue):t.longs===P?new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.value=`intValue`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.UnknownValue`},e})(),e.GaugeValue=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.doubleValue=null,e.prototype.intValue=null;let t;return O.defineProperty(e.prototype,`value`,{get:D.oneOfGetter(t=[`doubleValue`,`intValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.GaugeValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;o.doubleValue=e.double(),o.value=`doubleValue`;continue;case 2:if(a!==0)break;o.intValue=e.int64(),o.value=`intValue`;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.GaugeValue)return e;if(!D.isObject(e))throw j(`.openmetrics.GaugeValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.GaugeValue;return e.doubleValue!=null&&(n.doubleValue=P(e.doubleValue)),e.intValue!=null&&(D.Long?n.intValue=D.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=L(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!F(e.doubleValue)?M(e.doubleValue):e.doubleValue,t.oneofs&&(r.value=`doubleValue`)),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&(R!==void 0&&t.longs===R?r.intValue=typeof e.intValue==`number`?R(e.intValue):D.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?r.intValue=t.longs===M?M(e.intValue):e.intValue:r.intValue=t.longs===M?D.Long.prototype.toString.call(e.intValue):t.longs===P?new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.value=`intValue`)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.GaugeValue`},e})(),e.CounterValue=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.doubleValue=null,e.prototype.intValue=null,e.prototype.created=null,e.prototype.exemplar=null;let t;return O.defineProperty(e.prototype,`total`,{get:D.oneOfGetter(t=[`doubleValue`,`intValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).uint64(e.intValue),e.created!=null&&O.hasOwnProperty.call(e,`created`)&&z.google.protobuf.Timestamp.encode(e.created,t.uint32(26).fork(),n+1).ldelim(),e.exemplar!=null&&O.hasOwnProperty.call(e,`exemplar`)&&z.openmetrics.Exemplar.encode(e.exemplar,t.uint32(34).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.CounterValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;o.doubleValue=e.double(),o.total=`doubleValue`;continue;case 2:if(a!==0)break;o.intValue=e.uint64(),o.total=`intValue`;continue;case 3:if(a!==2)break;o.created=z.google.protobuf.Timestamp.decode(e,e.uint32(),k,r+1,o.created);continue;case 4:if(a!==2)break;o.exemplar=z.openmetrics.Exemplar.decode(e,e.uint32(),k,r+1,o.exemplar);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.CounterValue)return e;if(!D.isObject(e))throw j(`.openmetrics.CounterValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.CounterValue;if(e.doubleValue!=null&&(n.doubleValue=P(e.doubleValue)),e.intValue!=null&&(D.Long?n.intValue=D.Long.fromValue(e.intValue,!0):typeof e.intValue==`string`?n.intValue=L(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber(!0))),e.created!=null){if(!D.isObject(e.created))throw j(`.openmetrics.CounterValue.created: object expected`);n.created=z.google.protobuf.Timestamp.fromObject(e.created,t+1)}if(e.exemplar!=null){if(!D.isObject(e.exemplar))throw j(`.openmetrics.CounterValue.exemplar: object expected`);n.exemplar=z.openmetrics.Exemplar.fromObject(e.exemplar,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.created=null,r.exemplar=null),e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!F(e.doubleValue)?M(e.doubleValue):e.doubleValue,t.oneofs&&(r.total=`doubleValue`)),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&(R!==void 0&&t.longs===R?r.intValue=typeof e.intValue==`number`?R(e.intValue):D.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!0).toBigInt():typeof e.intValue==`number`?r.intValue=t.longs===M?M(e.intValue):e.intValue:r.intValue=t.longs===M?D.Long.prototype.toString.call(e.intValue):t.longs===P?new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber(!0):e.intValue,t.oneofs&&(r.total=`intValue`)),e.created!=null&&O.hasOwnProperty.call(e,`created`)&&(r.created=z.google.protobuf.Timestamp.toObject(e.created,t,n+1)),e.exemplar!=null&&O.hasOwnProperty.call(e,`exemplar`)&&(r.exemplar=z.openmetrics.Exemplar.toObject(e.exemplar,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.CounterValue`},e})(),e.HistogramValue=(function(){let e=function(e){if(this.buckets=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.doubleValue=null,e.prototype.intValue=null,e.prototype.count=D.Long?D.Long.fromBits(0,0,!0):0,e.prototype.created=null,e.prototype.buckets=D.emptyArray;let t;return O.defineProperty(e.prototype,`sum`,{get:D.oneOfGetter(t=[`doubleValue`,`intValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.count!=null&&O.hasOwnProperty.call(e,`count`)&&(typeof e.count==`object`?e.count.low||e.count.high:e.count!==0)&&t.uint32(24).uint64(e.count),e.created!=null&&O.hasOwnProperty.call(e,`created`)&&z.google.protobuf.Timestamp.encode(e.created,t.uint32(34).fork(),n+1).ldelim(),e.buckets!=null&&e.buckets.length)for(let r=0;r<e.buckets.length;++r)z.openmetrics.HistogramValue.Bucket.encode(e.buckets[r],t.uint32(42).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.HistogramValue,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;o.doubleValue=e.double(),o.sum=`doubleValue`;continue;case 2:if(a!==0)break;o.intValue=e.int64(),o.sum=`intValue`;continue;case 3:if(a!==0)break;(typeof(s=e.uint64())==`object`?s.low||s.high:s!==0)?o.count=s:delete o.count;continue;case 4:if(a!==2)break;o.created=z.google.protobuf.Timestamp.decode(e,e.uint32(),k,r+1,o.created);continue;case 5:if(a!==2)break;o.buckets&&o.buckets.length||(o.buckets=[]),o.buckets.push(z.openmetrics.HistogramValue.Bucket.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.HistogramValue)return e;if(!D.isObject(e))throw j(`.openmetrics.HistogramValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.HistogramValue;if(e.doubleValue!=null&&(n.doubleValue=P(e.doubleValue)),e.intValue!=null&&(D.Long?n.intValue=D.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=L(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),e.count!=null&&(typeof e.count==`object`?e.count.low||e.count.high:P(e.count)!==0)&&(D.Long?n.count=D.Long.fromValue(e.count,!0):typeof e.count==`string`?n.count=L(e.count,10):typeof e.count==`number`?n.count=e.count:typeof e.count==`object`&&(n.count=new D.LongBits(e.count.low>>>0,e.count.high>
1>>0).toNumber(!0))),e.created!=null){if(!D.isObject(e.created))throw j(`.openmetrics.HistogramValue.created: object expected`);n.created=z.google.protobuf.Timestamp.fromObject(e.created,t+1)}if(e.buckets){if(!I.isArray(e.buckets))throw j(`.openmetrics.HistogramValue.buckets: array expected`);n.buckets=I(e.buckets.length);for(let r=0;r<e.buckets.length;++r){if(!D.isObject(e.buckets[r]))throw j(`.openmetrics.HistogramValue.buckets: object expected`);n.buckets[r]=z.openmetrics.HistogramValue.Bucket.fromObject(e.buckets[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.buckets=[]),t.defaults){if(D.Long){let e=new D.Long(0,0,!0);r.count=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.count=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.created=null}if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!F(e.doubleValue)?M(e.doubleValue):e.doubleValue,t.oneofs&&(r.sum=`doubleValue`)),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&(R!==void 0&&t.longs===R?r.intValue=typeof e.intValue==`number`?R(e.intValue):D.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?r.intValue=t.longs===M?M(e.intValue):e.intValue:r.intValue=t.longs===M?D.Long.prototype.toString.call(e.intValue):t.longs===P?new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.sum=`intValue`)),e.count!=null&&O.hasOwnProperty.call(e,`count`)&&(R!==void 0&&t.longs===R?r.count=typeof e.count==`number`?R(e.count):D.Long.fromBits(e.count.low>>>0,e.count.high>>>0,!0).toBigInt():typeof e.count==`number`?r.count=t.longs===M?M(e.count):e.count:r.count=t.longs===M?D.Long.prototype.toString.call(e.count):t.longs===P?new D.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),e.created!=null&&O.hasOwnProperty.call(e,`created`)&&(r.created=z.google.protobuf.Timestamp.toObject(e.created,t,n+1)),e.buckets&&e.buckets.length){r.buckets=I(e.buckets.length);for(let i=0;i<e.buckets.length;++i)r.buckets[i]=z.openmetrics.HistogramValue.Bucket.toObject(e.buckets[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.HistogramValue`},e.Bucket=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.count=D.Long?D.Long.fromBits(0,0,!0):0,e.prototype.upperBound=0,e.prototype.exemplar=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.count!=null&&O.hasOwnProperty.call(e,`count`)&&(typeof e.count==`object`?e.count.low||e.count.high:e.count!==0)&&t.uint32(8).uint64(e.count),e.upperBound!=null&&O.hasOwnProperty.call(e,`upperBound`)&&!O.is(e.upperBound,0)&&t.uint32(17).double(e.upperBound),e.exemplar!=null&&O.hasOwnProperty.call(e,`exemplar`)&&z.openmetrics.Exemplar.encode(e.exemplar,t.uint32(26).fork(),n+1).ldelim(),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.HistogramValue.Bucket,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(typeof(s=e.uint64())==`object`?s.low||s.high:s!==0)?o.count=s:delete o.count;continue;case 2:if(a!==1)break;O.is(s=e.double(),0)?delete o.upperBound:o.upperBound=s;continue;case 3:if(a!==2)break;o.exemplar=z.openmetrics.Exemplar.decode(e,e.uint32(),k,r+1,o.exemplar);continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.HistogramValue.Bucket)return e;if(!D.isObject(e))throw j(`.openmetrics.HistogramValue.Bucket: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.HistogramValue.Bucket;if(e.count!=null&&(typeof e.count==`object`?e.count.low||e.count.high:P(e.count)!==0)&&(D.Long?n.count=D.Long.fromValue(e.count,!0):typeof e.count==`string`?n.count=L(e.count,10):typeof e.count==`number`?n.count=e.count:typeof e.count==`object`&&(n.count=new D.LongBits(e.count.low>>>0,e.count.high>
1>>0).toNumber(!0))),e.upperBound!=null&&(O.is(P(e.upperBound),0)||(n.upperBound=P(e.upperBound))),e.exemplar!=null){if(!D.isObject(e.exemplar))throw j(`.openmetrics.HistogramValue.Bucket.exemplar: object expected`);n.exemplar=z.openmetrics.Exemplar.fromObject(e.exemplar,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if(t.defaults){if(D.Long){let e=new D.Long(0,0,!0);r.count=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.count=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.upperBound=0,r.exemplar=null}return e.count!=null&&O.hasOwnProperty.call(e,`count`)&&(R!==void 0&&t.longs===R?r.count=typeof e.count==`number`?R(e.count):D.Long.fromBits(e.count.low>>>0,e.count.high>>>0,!0).toBigInt():typeof e.count==`number`?r.count=t.longs===M?M(e.count):e.count:r.count=t.longs===M?D.Long.prototype.toString.call(e.count):t.longs===P?new D.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),e.upperBound!=null&&O.hasOwnProperty.call(e,`upperBound`)&&(r.upperBound=t.json&&!F(e.upperBound)?M(e.upperBound):e.upperBound),e.exemplar!=null&&O.hasOwnProperty.call(e,`exemplar`)&&(r.exemplar=z.openmetrics.Exemplar.toObject(e.exemplar,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.HistogramValue.Bucket`},e})(),e})(),e.Exemplar=(function(){let e=function(e){if(this.label=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.value=0,e.prototype.timestamp=null,e.prototype.label=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.value!=null&&O.hasOwnProperty.call(e,`value`)&&!O.is(e.value,0)&&t.uint32(9).double(e.value),e.timestamp!=null&&O.hasOwnProperty.call(e,`timestamp`)&&z.google.protobuf.Timestamp.encode(e.timestamp,t.uint32(18).fork(),n+1).ldelim(),e.label!=null&&e.label.length)for(let r=0;r<e.label.length;++r)z.openmetrics.Label.encode(e.label[r],t.uint32(26).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.Exemplar,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;O.is(s=e.double(),0)?delete o.value:o.value=s;continue;case 2:if(a!==2)break;o.timestamp=z.google.protobuf.Timestamp.decode(e,e.uint32(),k,r+1,o.timestamp);continue;case 3:if(a!==2)break;o.label&&o.label.length||(o.label=[]),o.label.push(z.openmetrics.Label.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.Exemplar)return e;if(!D.isObject(e))throw j(`.openmetrics.Exemplar: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.Exemplar;if(e.value!=null&&(O.is(P(e.value),0)||(n.value=P(e.value))),e.timestamp!=null){if(!D.isObject(e.timestamp))throw j(`.openmetrics.Exemplar.timestamp: object expected`);n.timestamp=z.google.protobuf.Timestamp.fromObject(e.timestamp,t+1)}if(e.label){if(!I.isArray(e.label))throw j(`.openmetrics.Exemplar.label: array expected`);n.label=I(e.label.length);for(let r=0;r<e.label.length;++r){if(!D.isObject(e.label[r]))throw j(`.openmetrics.Exemplar.label: object expected`);n.label[r]=z.openmetrics.Label.fromObject(e.label[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.label=[]),t.defaults&&(r.value=0,r.timestamp=null),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=t.json&&!F(e.value)?M(e.value):e.value),e.timestamp!=null&&O.hasOwnProperty.call(e,`timestamp`)&&(r.timestamp=z.google.protobuf.Timestamp.toObject(e.timestamp,t,n+1)),e.label&&e.label.length){r.label=I(e.label.length);for(let i=0;i<e.label.length;++i)r.label[i]=z.openmetrics.Label.toObject(e.label[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.Exemplar`},e})(),e.StateSetValue=(function(){let e=function(e){if(this.states=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.states=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.states!=null&&e.states.length)for(let r=0;r<e.states.length;++r)z.openmetrics.StateSetValue.State.encode(e.states[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.StateSetValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.states&&o.states.length||(o.states=[]),o.states.push(z.openmetrics.StateSetValue.State.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.StateSetValue)return e;if(!D.isObject(e))throw j(`.openmetrics.StateSetValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.StateSetValue;if(e.states){if(!I.isArray(e.states))throw j(`.openmetrics.StateSetValue.states: array expected`);n.states=I(e.states.length);for(let r=0;r<e.states.length;++r){if(!D.isObject(e.states[r]))throw j(`.openmetrics.StateSetValue.states: object expected`);n.states[r]=z.openmetrics.StateSetValue.State.fromObject(e.states[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.states=[]),e.states&&e.states.length){r.states=I(e.states.length);for(let i=0;i<e.states.length;++i)r.states[i]=z.openmetrics.StateSetValue.State.toObject(e.states[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.StateSetValue`},e.State=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.enabled=!1,e.prototype.name=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.enabled!=null&&O.hasOwnProperty.call(e,`enabled`)&&e.enabled!==!1&&t.uint32(8).bool(e.enabled),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(18).string(e.name),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.StateSetValue.State,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(s=e.bool())?o.enabled=s:delete o.enabled;continue;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.name=s:delete o.name;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.StateSetValue.State)return e;if(!D.isObject(e))throw j(`.openmetrics.StateSetValue.State: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.StateSetValue.State;return e.enabled!=null&&e.enabled&&(n.enabled=N(e.enabled)),e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=M(e.name)),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.enabled=!1,r.name=``),e.enabled!=null&&O.hasOwnProperty.call(e,`enabled`)&&(r.enabled=e.enabled),e.name!=null&&O.hasOwnProperty.call(e,`name`)&&(r.name=e.name),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.StateSetValue.State`},e})(),e})(),e.InfoValue=(function(){let e=function(e){if(this.info=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.info=D.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.info!=null&&e.info.length)for(let r=0;r<e.info.length;++r)z.openmetrics.Label.encode(e.info[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.InfoValue;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.info&&o.info.length||(o.info=[]),o.info.push(z.openmetrics.Label.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.InfoValue)return e;if(!D.isObject(e))throw j(`.openmetrics.InfoValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.InfoValue;if(e.info){if(!I.isArray(e.info))throw j(`.openmetrics.InfoValue.info: array expected`);n.info=I(e.info.length);for(let r=0;r<e.info.length;++r){if(!D.isObject(e.info[r]))throw j(`.openmetrics.InfoValue.info: object expected`);n.info[r]=z.openmetrics.Label.fromObject(e.info[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.info=[]),e.info&&e.info.length){r.info=I(e.info.length);for(let i=0;i<e.info.length;++i)r.info[i]=z.openmetrics.Label.toObject(e.info[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.InfoValue`},e})(),e.SummaryValue=(function(){let e=function(e){if(this.quantile=[],e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.doubleValue=null,e.prototype.intValue=null,e.prototype.count=D.Long?D.Long.fromBits(0,0,!0):0,e.prototype.created=null,e.prototype.quantile=D.emptyArray;let t;return O.defineProperty(e.prototype,`sum`,{get:D.oneOfGetter(t=[`doubleValue`,`intValue`]),set:D.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.count!=null&&O.hasOwnProperty.call(e,`count`)&&(typeof e.count==`object`?e.count.low||e.count.high:e.count!==0)&&t.uint32(24).uint64(e.count),e.created!=null&&O.hasOwnProperty.call(e,`created`)&&z.google.protobuf.Timestamp.encode(e.created,t.uint32(34).fork(),n+1).ldelim(),e.quantile!=null&&e.quantile.length)for(let r=0;r<e.quantile.length;++r)z.openmetrics.SummaryValue.Quantile.encode(e.quantile[r],t.uint32(42).fork(),n+1).ldelim();if(e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.SummaryValue,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;o.doubleValue=e.double(),o.sum=`doubleValue`;continue;case 2:if(a!==0)break;o.intValue=e.int64(),o.sum=`intValue`;continue;case 3:if(a!==0)break;(typeof(s=e.uint64())==`object`?s.low||s.high:s!==0)?o.count=s:delete o.count;continue;case 4:if(a!==2)break;o.created=z.google.protobuf.Timestamp.decode(e,e.uint32(),k,r+1,o.created);continue;case 5:if(a!==2)break;o.quantile&&o.quantile.length||(o.quantile=[]),o.quantile.push(z.openmetrics.SummaryValue.Quantile.decode(e,e.uint32(),k,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.SummaryValue)return e;if(!D.isObject(e))throw j(`.openmetrics.SummaryValue: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.SummaryValue;if(e.doubleValue!=null&&(n.doubleValue=P(e.doubleValue)),e.intValue!=null&&(D.Long?n.intValue=D.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=L(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),e.count!=null&&(typeof e.count==`object`?e.count.low||e.count.high:P(e.count)!==0)&&(D.Long?n.count=D.Long.fromValue(e.count,!0):typeof e.count==`string`?n.count=L(e.count,10):typeof e.count==`number`?n.count=e.count:typeof e.count==`object`&&(n.count=new D.LongBits(e.count.low>>>0,e.count.high>
1>>0).toNumber(!0))),e.created!=null){if(!D.isObject(e.created))throw j(`.openmetrics.SummaryValue.created: object expected`);n.created=z.google.protobuf.Timestamp.fromObject(e.created,t+1)}if(e.quantile){if(!I.isArray(e.quantile))throw j(`.openmetrics.SummaryValue.quantile: array expected`);n.quantile=I(e.quantile.length);for(let r=0;r<e.quantile.length;++r){if(!D.isObject(e.quantile[r]))throw j(`.openmetrics.SummaryValue.quantile: object expected`);n.quantile[r]=z.openmetrics.SummaryValue.Quantile.fromObject(e.quantile[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.quantile=[]),t.defaults){if(D.Long){let e=new D.Long(0,0,!0);r.count=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.count=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.created=null}if(e.doubleValue!=null&&O.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!F(e.doubleValue)?M(e.doubleValue):e.doubleValue,t.oneofs&&(r.sum=`doubleValue`)),e.intValue!=null&&O.hasOwnProperty.call(e,`intValue`)&&(R!==void 0&&t.longs===R?r.intValue=typeof e.intValue==`number`?R(e.intValue):D.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?r.intValue=t.longs===M?M(e.intValue):e.intValue:r.intValue=t.longs===M?D.Long.prototype.toString.call(e.intValue):t.longs===P?new D.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.sum=`intValue`)),e.count!=null&&O.hasOwnProperty.call(e,`count`)&&(R!==void 0&&t.longs===R?r.count=typeof e.count==`number`?R(e.count):D.Long.fromBits(e.count.low>>>0,e.count.high>>>0,!0).toBigInt():typeof e.count==`number`?r.count=t.longs===M?M(e.count):e.count:r.count=t.longs===M?D.Long.prototype.toString.call(e.count):t.longs===P?new D.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),e.created!=null&&O.hasOwnProperty.call(e,`created`)&&(r.created=z.google.protobuf.Timestamp.toObject(e.created,t,n+1)),e.quantile&&e.quantile.length){r.quantile=I(e.quantile.length);for(let i=0;i<e.quantile.length;++i)r.quantile[i]=z.openmetrics.SummaryValue.Quantile.toObject(e.quantile[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.SummaryValue`},e.Quantile=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.quantile=0,e.prototype.value=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.quantile!=null&&O.hasOwnProperty.call(e,`quantile`)&&!O.is(e.quantile,0)&&t.uint32(9).double(e.quantile),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&!O.is(e.value,0)&&t.uint32(17).double(e.value),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.openmetrics.SummaryValue.Quantile,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;O.is(s=e.double(),0)?delete o.quantile:o.quantile=s;continue;case 2:if(a!==1)break;O.is(s=e.double(),0)?delete o.value:o.value=s;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.openmetrics.SummaryValue.Quantile)return e;if(!D.isObject(e))throw j(`.openmetrics.SummaryValue.Quantile: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.openmetrics.SummaryValue.Quantile;return e.quantile!=null&&(O.is(P(e.quantile),0)||(n.quantile=P(e.quantile))),e.value!=null&&(O.is(P(e.value),0)||(n.value=P(e.value))),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};return t.defaults&&(r.quantile=0,r.value=0),e.quantile!=null&&O.hasOwnProperty.call(e,`quantile`)&&(r.quantile=t.json&&!F(e.quantile)?M(e.quantile):e.quantile),e.value!=null&&O.hasOwnProperty.call(e,`value`)&&(r.value=t.json&&!F(e.value)?M(e.value):e.value),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/openmetrics.SummaryValue.Quantile`},e})(),e})(),e})(),z.google=(()=>{let e={};return e.protobuf=(function(){let e={};return e.Timestamp=(function(){let e=function(e){if(e)for(let t=O.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.seconds=D.Long?D.Long.fromBits(0,0,!1):0,e.prototype.nanos=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=E.create(),n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);if(e.seconds!=null&&O.hasOwnProperty.call(e,`seconds`)&&(typeof e.seconds==`object`?e.seconds.low||e.seconds.high:e.seconds!==0)&&t.uint32(8).int64(e.seconds),e.nanos!=null&&O.hasOwnProperty.call(e,`nanos`)&&e.nanos!==0&&t.uint32(16).int32(e.nanos),e.$unknowns!=null&&O.hasOwnProperty.call(e,`$unknowns`))for(let n=0;n<e.$unknowns.length;++n)t.raw(e.$unknowns[n]);return t},e.decode=function(e,t,n,r,i){if(e instanceof T||(e=T.create(e)),r===k&&(r=0),r>T.recursionLimit)throw A(`max depth exceeded`);let a=t===k?e.len:e.pos+t,o=i||new z.google.protobuf.Timestamp,s;for(;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=k;break}let a=i&7;switch(i>>>=3){case 1:if(a!==0)break;(typeof(s=e.int64())==`object`?s.low||s.high:s!==0)?o.seconds=s:delete o.seconds;continue;case 2:if(a!==0)break;(s=e.int32())?o.nanos=s:delete o.nanos;continue}e.skipType(a,r,i),e.discardUnknown||(D.makeProp(o,`$unknowns`,!1),(o.$unknowns||=[]).push(e.raw(t,e.pos)))}if(n!==k)throw A(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof z.google.protobuf.Timestamp)return e;if(!D.isObject(e))throw j(`.google.protobuf.Timestamp: object expected`);if(t===k&&(t=0),t>D.recursionLimit)throw A(`max depth exceeded`);let n=new z.google.protobuf.Timestamp;return e.seconds!=null&&(typeof e.seconds==`object`?e.seconds.low||e.seconds.high:P(e.seconds)!==0)&&(D.Long?n.seconds=D.Long.fromValue(e.seconds,!1):typeof e.seconds==`string`?n.seconds=L(e.seconds,10):typeof e.seconds==`number`?n.seconds=e.seconds:typeof e.seconds==`object`&&(n.seconds=new D.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),e.nanos!=null&&P(e.nanos)!==0&&(n.nanos=e.nanos|0),n},e.toObject=function(e,t,n){if(t||={},n===k&&(n=0),n>D.recursionLimit)throw A(`max depth exceeded`);let r={};if(t.defaults){if(D.Long){let e=new D.Long(0,0,!1);r.seconds=t.longs===M?e.toString():t.longs===P?e.toNumber():R!==void 0&&t.longs===R?e.toBigInt():e}else r.seconds=t.longs===M?`0`:R!==void 0&&t.longs===R?R(`0`):0;r.nanos=0}return e.seconds!=null&&O.hasOwnProperty.call(e,`seconds`)&&(R!==void 0&&t.longs===R?r.seconds=typeof e.seconds==`number`?R(e.seconds):D.Long.fromBits(e.seconds.low>>>0,e.seconds.high>>>0,!1).toBigInt():typeof e.seconds==`number`?r.seconds=t.longs===M?M(e.seconds):e.seconds:r.seconds=t.longs===M?D.Long.prototype.toString.call(e.seconds):t.longs===P?new D.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),e.nanos!=null&&O.hasOwnProperty.call(e,`nanos`)&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return e.toObject(this,w.util.toJSONOptions)},e.getTypeUrl=function(e){return e===k&&(e=`type.googleapis.com`),e+`/google.protobuf.Timestamp`},e})(),e})(),e})(),z.RootContainer=(()=>{let e=O.create(null),t=O.create(e);return t[e[0]=`MAIN`]=0,t[e[1]=`SIDEBAR`]=1,t[e[2]=`EVENT`]=2,t[e[3]=`BOTTOM`]=3,t})();export{De as A,ve as B,Se as C,Ce as D,Oe as E,G as F,S as G,U as H,J as I,g as J,x as K,ge as L,q as M,me as N,fe as O,he as P,n as Q,_e as R,B as S,de as T,te as U,W as V,C as W,s as X,h as Y,o as Z,X as _,ne as a,be as b,Z as c,Te as d,oe as f,le as g,ce as h,H as i,pe as j,Ee as k,ae as l,K as m,Q as n,re as o,se as p,v as q,V as r,ie as s,ee as t,we as u,ye as v,ue as w,xe as x,$ as y,Y as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.