PageSourceSearch

https://cz-politicky-index.onrender.com/static/js/protobuf.Bpsvwqxh.js

js cz-politicky-index.onrender.com collected 2026-10-03 11:40:00 UTC 820,720 bytes, 1 lines download raw bytes

1import{o as e,t}from"./rolldown-runtime.C0FnF6B9.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}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}}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=new TextDecoder(`utf-8`,{ignoreBOM:!0}),r,i=64;try{r=new TextDecoder(`utf-8`,{fatal:!0,ignoreBOM:!0})}catch{r=n}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 a(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,r){if(r-t<1)return``;if(r-t>=i)return a(n,e,t,r);for(var o=``,s=t,c,l,u,d,f,p,m,h;s+7<r;s+=8){if(c=e[s],l=e[s+1],u=e[s+2],d=e[s+3],f=e[s+4],p=e[s+5],m=e[s+6],h=e[s+7],(c|l|u|d|f|p|m|h)&128)return o+a(n,e,s,r);o+=String.fromCharCode(c,l,u,d,f,p,m,h)}for(;s<r;++s){if(c=e[s],c&128)return o+a(n,e,s,r);o+=String.fromCharCode(c)}return o},t.readStrict=function(e,t,n){if(n-t<1)return``;if(n-t>=i)return a(r,e,t,n);for(var o=``,s=t,c,l,u,d,f,p,m,h;s+7<n;s+=8){if(c=e[s],l=e[s+1],u=e[s+2],d=e[s+3],f=e[s+4],p=e[s+5],m=e[s+6],h=e[s+7],(c|l|u|d|f|p|m|h)&128)return o+a(r,e,s,n);o+=String.fromCharCode(c,l,u,d,f,p,m,h)}for(;s<n;++s){if(c=e[s],c&128)return o+a(r,e,s,n);o+=String.fromCharCode(c)}return o},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,557 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)}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)},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(s.initialBufferSize),this.view=null,this.states=null}s.initialBufferSize=128,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 this.pos=e&&e.length?e.pop():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)};function u(e){for(var t=0,n=0;n<4;++n){if(e.pos>=e.len)throw o(e);var r=e.buf[e.pos++];if(t=(t|(r&127)<<n*7)>>>0,r<128)return t}throw o(e)}s.prototype.uint32=function(){if(this.len-this.pos<5){if(this.pos>=this.len)throw o(this);if(this.buf[this.pos]>=128)return u(this)}
1var 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(){if(this.len-this.pos<5){if(this.pos>=this.len)throw o(this);if(this.buf[this.pos]>=128)return u(this)}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 d(){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 f(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 f(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw o(this,4);return f(this.buf,this.pos+=4)|0};function p(){if(this.pos+8>this.len)throw o(this,8);return new i(f(this.buf,this.pos+=4),f(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=[]);var t=this.uint32()+this.pos,n=this.len,r=this.buf,i=this.pos,a;if(t>n)throw o(this,t-this.pos);for(this.len=t;i<t;)a=r[i++],a<128?e.push(a):(this.pos=i-1,e.push(this.uint32()),i=this.pos);if(this.pos=i,i!==t)throw RangeError(`index out of range`);return this.len=n,e},s.prototype.int32s=function(e){e===void 0&&(e=[]);var t=this.uint32()+this.pos,n=this.len,r=this.buf,i=this.pos,a;if(t>n)throw o(this,t-this.pos);for(this.len=t;i<t;)a=r[i++],a<128?e.push(a):(this.pos=i-1,e.push(this.int32()),i=this.pos);if(this.pos=i,i!==t)throw RangeError(`index out of range`);return this.len=n,e},s.prototype.sint32s=function(e){e===void 0&&(e=[]);var t=this.uint32()+this.pos,n=this.len;if(t>n)throw o(this,t-this.pos);for(this.len=t;this.pos<t;)e.push(this.sint32());if(this.pos!==t)throw RangeError(`index out of range`);return this.len=n,e},s.prototype.bools=function(e){e===void 0&&(e=[]);var t=this.uint32()+this.pos,n=this.len,r=this.buf,i=this.pos,a;if(t>n)throw o(this,t-this.pos);for(this.len=t;i<t;)a=r[i++],a<128?e.push(a!==0):(this.pos=i-1,e.push(this.bool()),i=this.pos);if(this.pos=i,i!==t)throw RangeError(`index out of range`);return this.len=n,e};var m=8,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){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=_(this,r,g);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++]=f(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>>>
12,i=e.length,a=this.pos;e.length=i+r;var s=_(this,r,g);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++]=f(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=_(this,i,m);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=_(this,i,m);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=[]);var t=this.uint32()+this.pos,n=this.len;if(t>n)throw o(this,t-this.pos);for(this.len=t;this.pos<t;)e.push(this.uint64());if(this.pos!==t)throw RangeError(`index out of range`);return this.len=n,e},s.prototype.int64s=function(e){e===void 0&&(e=[]);var t=this.uint32()+this.pos,n=this.len;if(t>n)throw o(this,t-this.pos);for(this.len=t;this.pos<t;)e.push(this.int64());if(this.pos!==t)throw RangeError(`index out of range`);return this.len=n,e},s.prototype.sint64s=function(e){e===void 0&&(e=[]);var t=this.uint32()+this.pos,n=this.len;if(t>n)throw o(this,t-this.pos);for(this.len=t;this.pos<t;)e.push(this.sint64());if(this.pos!==t)throw RangeError(`index out of range`);return this.len=n,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 d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return p.call(this)[t](!0)},sfixed64:function(){return p.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,configurable:!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,
1configurable:!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=t(((e,t)=>{t.exports=C()})),T=e(w(),1),E=T.Reader,D=T.Writer,O=T.util,k=O.global.Object,A=O.global.undefined,j=O.global.Error,M=O.global.RangeError,N=O.global.TypeError,P=O.global.String,F=O.global.Boolean,I=O.global.Number,L=O.global.isFinite,R=O.global.Array,z=O.global.parseInt,B=O.global.BigInt,V=T.roots.default||(T.roots.default={}),ee=V.Alert=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&e.format!==0&&t.uint32(16).int32(e.format),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&V.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(34).fork(),n+1).ldelim(),e.title!=null&&k.hasOwnProperty.call(e,`title`)&&e.title!==``&&t.uint32(42).string(e.title),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Alert;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.streamlit.WidthConfig.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Alert)return e;if(!O.isObject(e))throw N(`.Alert: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Alert;if(e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.format!==0&&(typeof e.format!=`string`||V.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=P(e.icon)),e.widthConfig!=null){if(!O.isObject(e.widthConfig))throw N(`.Alert.widthConfig: object expected`);n.widthConfig=V.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return e.title!=null&&(typeof e.title!=`string`||e.title.length)&&(n.title=P(e.title)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.format=t.enums===P?`UNUSED`:0,r.icon=``,r.widthConfig=null,r.title=``),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=t.enums===P?V.Alert.Format[e.format]===A?e.format:V.Alert.Format[e.format]:e.format),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=V.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.title!=null&&k.hasOwnProperty.call(e,`title`)&&(r.title=e.title),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Alert`},e.Format=(function(){let e=k.create(null),t=k.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=V.streamlit=(()=>{let e={};return e.WidthConfig=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`widthSpec`,{get:O.oneOfGetter(t=[`useStretch`,`useContent`,`pixelWidth`,`remWidth`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.useStretch!=null&&k.hasOwnProperty.call(e,`useStretch`)&&t.uint32(8).bool(e.useStretch),e.useContent!=null&&k.hasOwnProperty.call(e,`useContent`)&&t.uint32(16).bool(e.useContent),e.pixelWidth!=null&&k.hasOwnProperty.call(e,`pixelWidth`)&&t.uint32(24).uint32(e.pixelWidth),e.remWidth!=null&&k.hasOwnProperty.call(e,`remWidth`)&&t.uint32(37).float(e.remWidth),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.streamlit.WidthConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.streamlit.WidthConfig)return e;if(!O.isObject(e))throw N(`.streamlit.WidthConfig: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.streamlit.WidthConfig;return e.useStretch!=null&&(n.useStretch=F(e.useStretch)),e.useContent!=null&&(n.useContent=F(e.useContent)),e.pixelWidth!=null&&(n.pixelWidth=e.pixelWidth>>>0),e.remWidth!=null&&(n.remWidth=I(e.remWidth)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.useStretch!=null&&k.hasOwnProperty.call(e,`useStretch`)&&(r.useStretch=e.useStretch,t.oneofs&&(r.widthSpec=`useStretch`)),e.useContent!=null&&k.hasOwnProperty.call(e,`useContent`)&&(r.useContent=e.useContent,t.oneofs&&(r.widthSpec=`useContent`)),e.pixelWidth!=null&&k.hasOwnProperty.call(e,`pixelWidth`)&&(r.pixelWidth=e.pixelWidth,t.oneofs&&(r.widthSpec=`pixelWidth`)),e.remWidth!=null&&k.hasOwnProperty.call(e,`remWidth`)&&(r.remWidth=t.json&&!L(e.remWidth)?P(e.remWidth):e.remWidth,t.oneofs&&(r.widthSpec=`remWidth`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/streamlit.WidthConfig`},e})(),e.GapSize=(function(){let e=k.create(null),t=k.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=k.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 k.defineProperty(e.prototype,`gapSpec`,{get:O.oneOfGetter(t=[`gapSize`,`pixelGap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.gapSize!=null&&k.hasOwnProperty.call(e,`gapSize`)&&t.uint32(8).int32(e.gapSize),e.pixelGap!=null&&k.hasOwnProperty.call(e,`pixelGap`)&&t.uint32(16).uint32(e.pixelGap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.streamlit.GapConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.streamlit.GapConfig)return e;if(!O.isObject(e))throw N(`.streamlit.GapConfig: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.gapSize!=null&&k.hasOwnProperty.call(e,`gapSize`)&&(r.gapSize=t.enums===P?V.streamlit.GapSize[e.gapSize]===A?e.gapSize:V.streamlit.GapSize[e.gapSize]:e.gapSize,t.oneofs&&(r.gapSpec=`gapSize`)),e.pixelGap!=null&&k.hasOwnProperty.call(e,`pixelGap`)&&(r.pixelGap=e.pixelGap,t.oneofs&&(r.gapSpec=`pixelGap`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/streamlit.Ga
1pConfig`},e})(),e.HeightConfig=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`heightSpec`,{get:O.oneOfGetter(t=[`useStretch`,`useContent`,`pixelHeight`,`remHeight`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.useStretch!=null&&k.hasOwnProperty.call(e,`useStretch`)&&t.uint32(8).bool(e.useStretch),e.useContent!=null&&k.hasOwnProperty.call(e,`useContent`)&&t.uint32(16).bool(e.useContent),e.pixelHeight!=null&&k.hasOwnProperty.call(e,`pixelHeight`)&&t.uint32(24).uint32(e.pixelHeight),e.remHeight!=null&&k.hasOwnProperty.call(e,`remHeight`)&&t.uint32(37).float(e.remHeight),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.streamlit.HeightConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.streamlit.HeightConfig)return e;if(!O.isObject(e))throw N(`.streamlit.HeightConfig: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.streamlit.HeightConfig;return e.useStretch!=null&&(n.useStretch=F(e.useStretch)),e.useContent!=null&&(n.useContent=F(e.useContent)),e.pixelHeight!=null&&(n.pixelHeight=e.pixelHeight>>>0),e.remHeight!=null&&(n.remHeight=I(e.remHeight)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.useStretch!=null&&k.hasOwnProperty.call(e,`useStretch`)&&(r.useStretch=e.useStretch,t.oneofs&&(r.heightSpec=`useStretch`)),e.useContent!=null&&k.hasOwnProperty.call(e,`useContent`)&&(r.useContent=e.useContent,t.oneofs&&(r.heightSpec=`useContent`)),e.pixelHeight!=null&&k.hasOwnProperty.call(e,`pixelHeight`)&&(r.pixelHeight=e.pixelHeight,t.oneofs&&(r.heightSpec=`pixelHeight`)),e.remHeight!=null&&k.hasOwnProperty.call(e,`remHeight`)&&(r.remHeight=t.json&&!L(e.remHeight)?P(e.remHeight):e.remHeight,t.oneofs&&(r.heightSpec=`remHeight`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/streamlit.HeightConfig`},e})(),e.ButtonLikeIconPosition=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`LEFT`]=0,t[e[1]=`RIGHT`]=1,t})(),e.SelectWidgetFilterMode=(function(){let e=k.create(null),t=k.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=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.alignment!=null&&k.hasOwnProperty.call(e,`alignment`)&&e.alignment!==0&&t.uint32(8).int32(e.alignment),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.streamlit.TextAlignmentConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.streamlit.TextAlignmentConfig)return e;if(!O.isObject(e))throw N(`.streamlit.TextAlignmentConfig: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.streamlit.TextAlignmentConfig;if(e.alignment!==0&&(typeof e.alignment!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.alignment=t.enums===P?`UNSPECIFIED`:0),e.alignment!=null&&k.hasOwnProperty.call(e,`alignment`)&&(r.alignment=t.enums===P?V.streamlit.TextAlignmentConfig.Alignment[e.alignment]===A?e.alignment:V.streamlit.TextAlignmentConfig.Alignment[e.alignment]:e.alignment),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/streamlit.TextAlignmentConfig`},e.Alignment=(function(){let e=k.create(null),t=k.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})();V.AppPage=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_externalUrl`,{get:O.oneOfGetter(t=[`externalUrl`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(10).string(e.pageScriptHash),e.pageName!=null&&k.hasOwnProperty.call(e,`pageName`)&&e.pageName!==``&&t.uint32(18).string(e.pageName),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.isDefault!=null&&k.hasOwnProperty.call(e,`isDefault`)&&e.isDefault!==!1&&t.uint32(32).bool(e.isDefault),e.sectionHeader!=null&&k.hasOwnProperty.call(e,`sectionHeader`)&&e.sectionHeader!==``&&t.uint32(42).string(e.sectionHeader),e.urlPathname!=null&&k.hasOwnProperty.call(e,`urlPathname`)&&e.urlPathname!==``&&t.uint32(50).string(e.urlPathname),e.isHidden!=null&&k.hasOwnProperty.call(e,`isHidden`)&&e.isHidden!==!1&&t.uint32(56).bool(e.isHidden),e.externalUrl!=null&&k.hasOwnProperty.call(e,`externalUrl`)&&t.uint32(66).string(e.externalUrl),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.AppPage;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.AppPage)return e;if(!O.isObject(e))throw N(`.AppPage: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.AppPage;return e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=P(e.pageScriptHash)),e.pageName!=null&&(typeof e.pageName!=`string`||e.pageName.length)&&(n.pageName=P(e.pageName)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.isDefault!=null&&e.isDefault&&(n.isDefault=F(e.isDefault)),e.sectionHeader!=null&&(typeof e.sectionHeader!=`string`||e.sectionHeader.length)&&(n.sectionHeader=P(e.sectionHeader)),e.urlPathname!=null&&(typeof e.urlPathname!=`string`||e.urlPathname.length)&&(n.urlPathname=P(e.urlPathname)),e.isHidden!=null&&e.isHidden&&(n.isHidden=F(e.isHidden)),e.externalUrl!=null&&(n.externalUrl=P(e.externalUrl)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.pageName!=null&&k.hasOwnProperty.call(e,`pageName`)&&(r.pageName=e.pageName),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.isDefault!=null&&k.hasOwnProperty.call(e,`isDefault`)&&(r.isDefault=e.isDefault),e.sectionHeader!=null&&k.hasOwnProperty.call(e,`sectionHeader`)&&(r.sectionHeader=e.sectionHeader),e.urlPathname!=null&&k.hasOwnProperty.call(e,`urlPathname`)&&(r.urlPathname=e.urlPathname),e.isHidden!=null&&k.hasOwnProperty.call(e,`isHidden`)&&(r.isHidden=e.isHidden),e.externalUrl!=null&&k.hasOwnProperty.call(e,`externalUrl`)&&(r.externalUrl=e.externalUrl),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/AppPage`},e})(),V.ArrowData=(()=>{let e=function(e){if(e)for(let t=k.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=O.newBuffer([]),e.prototype.styler=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&k.hasOwnProperty.call(e,`data`)&&e.data.length&&t.uint32(10).bytes(e.data),e.styler!=null&&k.hasOwnProperty.call(e,`styler`)&&V.ArrowData.PandasStyler.encode(e.styler,t.uint32(18).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ArrowData;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ArrowData.PandasStyler.decode(e,e.uint32(),A,r+1,o.styler);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ArrowData)return e;if(!O.isObject(e))throw N(`.ArrowData: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ArrowData;if(e.data!=null&&e.data.length&&(typeof e.data==`string`?O.base64.decode(e.data,n.data=O.newBuffer(O.base64.length(e.data)),0):e.data.length>=0&&(n.data=e.data)),e.styler!=null){if(!O.isObject(e.styler))throw N(`.ArrowData.styler: object expected`);n.styler=V.ArrowData.PandasStyler.fromObject(e.styler,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(t.bytes===P?r.data=``:(r.data=[],t.bytes!==R&&(r.data=O.newBuffer(r.data))),r.styler=null),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=t.bytes===P?O.base64.encode(e.data,
10,e.data.length):t.bytes===R?R.prototype.slice.call(e.data):e.data),e.styler!=null&&k.hasOwnProperty.call(e,`styler`)&&(r.styler=V.ArrowData.PandasStyler.toObject(e.styler,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ArrowData`},e.PandasStyler=(function(){let e=function(e){if(e)for(let t=k.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=O.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.uuid!=null&&k.hasOwnProperty.call(e,`uuid`)&&e.uuid!==``&&t.uint32(10).string(e.uuid),e.caption!=null&&k.hasOwnProperty.call(e,`caption`)&&e.caption!==``&&t.uint32(18).string(e.caption),e.styles!=null&&k.hasOwnProperty.call(e,`styles`)&&e.styles!==``&&t.uint32(26).string(e.styles),e.displayValues!=null&&k.hasOwnProperty.call(e,`displayValues`)&&e.displayValues.length&&t.uint32(34).bytes(e.displayValues),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ArrowData.PandasStyler;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ArrowData.PandasStyler)return e;if(!O.isObject(e))throw N(`.ArrowData.PandasStyler: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ArrowData.PandasStyler;return e.uuid!=null&&(typeof e.uuid!=`string`||e.uuid.length)&&(n.uuid=P(e.uuid)),e.caption!=null&&(typeof e.caption!=`string`||e.caption.length)&&(n.caption=P(e.caption)),e.styles!=null&&(typeof e.styles!=`string`||e.styles.length)&&(n.styles=P(e.styles)),e.displayValues!=null&&e.displayValues.length&&(typeof e.displayValues==`string`?O.base64.decode(e.displayValues,n.displayValues=O.newBuffer(O.base64.length(e.displayValues)),0):e.displayValues.length>=0&&(n.displayValues=e.displayValues)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.uuid=``,r.caption=``,r.styles=``,t.bytes===P?r.displayValues=``:(r.displayValues=[],t.bytes!==R&&(r.displayValues=O.newBuffer(r.displayValues)))),e.uuid!=null&&k.hasOwnProperty.call(e,`uuid`)&&(r.uuid=e.uuid),e.caption!=null&&k.hasOwnProperty.call(e,`caption`)&&(r.caption=e.caption),e.styles!=null&&k.hasOwnProperty.call(e,`styles`)&&(r.styles=e.styles),e.displayValues!=null&&k.hasOwnProperty.call(e,`displayValues`)&&(r.displayValues=t.bytes===P?O.base64.encode(e.displayValues,0,e.displayValues.length):t.bytes===R?R.prototype.slice.call(e.displayValues):e.displayValues),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ArrowData.PandasStyler`},e})(),e})(),V.ArrowNamedDataSet=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&V.ArrowData.encode(e.data,t.uint32(18).fork(),n+1).ldelim(),e.hasName!=null&&k.hasOwnProperty.call(e,`hasName`)&&e.hasName!==!1&&t.uint32(24).bool(e.hasName),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ArrowNamedDataSet;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ArrowData.decode(e,e.uint32(),A,r+1,o.data);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ArrowNamedDataSet)return e;if(!O.isObject(e))throw N(`.ArrowNamedDataSet: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ArrowNamedDataSet;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.hasName!=null&&e.hasName&&(n.hasName=F(e.hasName)),e.data!=null){if(!O.isObject(e.data))throw N(`.ArrowNamedDataSet.data: object expected`);n.data=V.ArrowData.fromObject(e.data,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.data=null,r.hasName=!1),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=V.ArrowData.toObject(e.data,t,n+1)),e.hasName!=null&&k.hasOwnProperty.call(e,`hasName`)&&(r.hasName=e.hasName),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ArrowNamedDataSet`},e})(),V.Audio=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_widthConfig`,{get:O.oneOfGetter(t=[`widthConfig`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.startTime!=null&&k.hasOwnProperty.call(e,`startTime`)&&e.startTime!==0&&t.uint32(24).int32(e.startTime),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(42).string(e.url),e.endTime!=null&&k.hasOwnProperty.call(e,`endTime`)&&e.endTime!==0&&t.uint32(48).int32(e.endTime),e.loop!=null&&k.hasOwnProperty.call(e,`loop`)&&e.loop!==!1&&t.uint32(56).bool(e.loop),e.autoplay!=null&&k.hasOwnProperty.call(e,`autoplay`)&&e.autoplay!==!1&&t.uint32(64).bool(e.autoplay),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(74).string(e.id),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&V.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(82).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Audio;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 9:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 10:if(a!==2)break;o.widthConfig=V.streamlit.WidthConfig.decode(e,e.uint32(),A,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Audio)return e;if(!O.isObject(e))throw N(`.Audio: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Audio;if(e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.startTime!=null&&I(e.startTime)!==0&&(n.startTime=e.startTime|0),e.endTime!=null&&I(e.endTime)!==0&&(n.endTime=e.endTime|0),e.loop!=null&&e.loop&&(n.loop=F(e.loop)),e.autoplay!=null&&e.autoplay&&(n.autoplay=F(e.autoplay)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.widthConfig!=null){if(!O.isObject(e.widthConfig))throw N(`.Audio.widthConfig: object expected`);n.widthConfig=V.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`startTime`)&&(r.startTime=e.startTime),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.endTime!=null&&k.hasOwnProperty.call(e,`endTime`)&&(r.endTime=e.endTime),e.loop!=null&&k.hasOwnProperty.call(e,`loop`)&&(r.loop=e.loop),e.autoplay!=null&&k.hasOwnProperty.call(e,`autoplay`)&&(r.autoplay=e.autoplay),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=V.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Audio`},e})(),V.AudioInput=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_sampleRate`,{get:O.oneOfGetter(t=[`sampleRate`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(26).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(34).string(e.formId),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(50).fork(),n+1).ldelim(),e.sampleRate!=null&&k.hasOwnProperty.call(e,`sampleRate`)&&t.uint32(56).int32(e.sampleRate),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.AudioInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.AudioInput)return e;if(!O.isObject(e))throw N(`.AudioInput: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.AudioInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.AudioInput.labelVisibility: object expected`);n.labelVisibility=V.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===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.sampleRate!=null&&k.hasOwnProperty.call(e,`sampleRate`)&&(r.sampleRate=e.sampleRate),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/AudioInput`},e})();var H=V.LabelVisibility=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==0&&t.uint32(8).int32(e.value),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.LabelVisibility;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.LabelVisibility)return e;if(!O.isObject(e))throw N(`.LabelVisibility: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.LabelVisibility;if(e.value!==0&&(typeof e.value!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.value=t.enums===P?`VISIBLE`:0),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=t.enums===P?V.LabelVisibility.LabelVisibilityOptions[e.value]===A?e.value:V.LabelVisibility.LabelVisibilityOptions[e.value]:e.value),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/LabelVisibility`},e.LabelVisibilityOptions=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`VISIBLE`]=0,t[e[1]=`HIDDEN`]=1,t[e[2]=`COLLAPSED`]=2,t})(),e})();V.AuthRedirect=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.AuthRedirect;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.AuthRedirect)return e;if(!O.isObject(e))throw N(`.AuthRedirect: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.AuthRedirect;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.url=``),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/AuthRedirect`},e})(),V.AutoRerun=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.interval!=null&&k.hasOwnProperty.call(e,`interval`)&&!k.is(e.interval,0)&&t.uint32(13).float(e.interval),e.fragmentId!=null&&k.hasOwnProperty.call(e,`fragmentId`)&&e.fragmentId!==``&&t.uint32(18).string(e.fragmentId),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.AutoRerun;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==5)break;k.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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.AutoRerun)return e;if(!O.isObject(e))throw N(`.AutoRerun: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.AutoRerun;return e.interval!=null&&(k.is(I(e.interval),0)||(n.interval=I(e.interval))),e.fragmentId!=null&&(typeof e.fragmentId!=`string`||e.fragmentId.length)&&(n.fragmentId=P(e.fragmentId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.interval=0,r.fragmentId=``),e.interval!=null&&k.hasOwnProperty.call(e,`interval`)&&(r.interval=t.json&&!L(e.interval)?P(e.interval):e.interval),e.fragmentId!=null&&k.hasOwnProperty.call(e,`fragmentId`)&&(r.fragmentId=e.fragmentId),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/AutoRerun`},e})(),V.StopAutoRerun=(()=>{let e=function(e){if(this.fragmentIds=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.StopAutoRerun;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.StopAutoRerun)return e;if(!O.isObject(e))throw N(`.StopAutoRerun: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.StopAutoRerun;if(e.fragmentIds){if(!R.isArray(e.fragmentIds))throw N(`.StopAutoRerun.fragmentIds: array expected`);n.fragmentIds=R(e.fragmentIds.length);for(let t=0;t<e.fragmentIds.length;++t)n.fragmentIds[t]=P(e.fragmentIds[t])}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fragmentIds=[]),e.fragmentIds&&e.fragmentIds.length){r.fragmentIds=R(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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/StopAutoRerun`},e})();var U=V.BackMsg=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`type`,{get:O.oneOfGetter(t=[`clearCache`,`setRunOnSave`,`stopScript`,`rerunScript`,`loadGitInfo`,`debugDisconnectWebsocket`,`debugShutdownRuntime`,`fileUrlsRequest`,`appHeartbeat`,`backendOperationRequest`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.clearCache!=null&&k.hasOwnProperty.call(e,`clearCache`)&&t.uint32(40).bool(e.clearCache),e.setRunOnSave!=null&&k.hasOwnProperty.call(e,`setRunOnSave`)&&t.uint32(48).bool(e.setRunOnSave),e.stopScript!=null&&k.hasOwnProperty.call(e,`stopScript`)&&t.uint32(56).bool(e.stopScript),e.rerunScript!=null&&k.hasOwnProperty.call(e,`rerunScript`)&&V.ClientState.encode(e.rerunScript,t.uint32(90).fork(),n+1).ldelim(),e.loadGitInfo!=null&&k.hasOwnProperty.call(e,`loadGitInfo`)&&t.uint32(96).bool(e.loadGitInfo),e.debugLastBackmsgId!=null&&k.hasOwnProperty.call(e,`debugLastBackmsgId`)&&e.debugL
1astBackmsgId!==``&&t.uint32(106).string(e.debugLastBackmsgId),e.debugDisconnectWebsocket!=null&&k.hasOwnProperty.call(e,`debugDisconnectWebsocket`)&&t.uint32(112).bool(e.debugDisconnectWebsocket),e.debugShutdownRuntime!=null&&k.hasOwnProperty.call(e,`debugShutdownRuntime`)&&t.uint32(120).bool(e.debugShutdownRuntime),e.fileUrlsRequest!=null&&k.hasOwnProperty.call(e,`fileUrlsRequest`)&&V.FileURLsRequest.encode(e.fileUrlsRequest,t.uint32(130).fork(),n+1).ldelim(),e.appHeartbeat!=null&&k.hasOwnProperty.call(e,`appHeartbeat`)&&t.uint32(136).bool(e.appHeartbeat),e.backendOperationRequest!=null&&k.hasOwnProperty.call(e,`backendOperationRequest`)&&V.BackendOperationRequest.encode(e.backendOperationRequest,t.uint32(154).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.BackMsg;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ClientState.decode(e,e.uint32(),A,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=V.FileURLsRequest.decode(e,e.uint32(),A,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=V.BackendOperationRequest.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.BackMsg)return e;if(!O.isObject(e))throw N(`.BackMsg: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.BackMsg;if(e.clearCache!=null&&(n.clearCache=F(e.clearCache)),e.setRunOnSave!=null&&(n.setRunOnSave=F(e.setRunOnSave)),e.stopScript!=null&&(n.stopScript=F(e.stopScript)),e.rerunScript!=null){if(!O.isObject(e.rerunScript))throw N(`.BackMsg.rerunScript: object expected`);n.rerunScript=V.ClientState.fromObject(e.rerunScript,t+1)}if(e.loadGitInfo!=null&&(n.loadGitInfo=F(e.loadGitInfo)),e.debugDisconnectWebsocket!=null&&(n.debugDisconnectWebsocket=F(e.debugDisconnectWebsocket)),e.debugShutdownRuntime!=null&&(n.debugShutdownRuntime=F(e.debugShutdownRuntime)),e.fileUrlsRequest!=null){if(!O.isObject(e.fileUrlsRequest))throw N(`.BackMsg.fileUrlsRequest: object expected`);n.fileUrlsRequest=V.FileURLsRequest.fromObject(e.fileUrlsRequest,t+1)}if(e.appHeartbeat!=null&&(n.appHeartbeat=F(e.appHeartbeat)),e.backendOperationRequest!=null){if(!O.isObject(e.backendOperationRequest))throw N(`.BackMsg.backendOperationRequest: object expected`);n.backendOperationRequest=V.BackendOperationRequest.fromObject(e.backendOperationRequest,t+1)}return e.debugLastBackmsgId!=null&&(typeof e.debugLastBackmsgId!=`string`||e.debugLastBackmsgId.length)&&(n.debugLastBackmsgId=P(e.debugLastBackmsgId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};
1return t.defaults&&(r.debugLastBackmsgId=``),e.clearCache!=null&&k.hasOwnProperty.call(e,`clearCache`)&&(r.clearCache=e.clearCache,t.oneofs&&(r.type=`clearCache`)),e.setRunOnSave!=null&&k.hasOwnProperty.call(e,`setRunOnSave`)&&(r.setRunOnSave=e.setRunOnSave,t.oneofs&&(r.type=`setRunOnSave`)),e.stopScript!=null&&k.hasOwnProperty.call(e,`stopScript`)&&(r.stopScript=e.stopScript,t.oneofs&&(r.type=`stopScript`)),e.rerunScript!=null&&k.hasOwnProperty.call(e,`rerunScript`)&&(r.rerunScript=V.ClientState.toObject(e.rerunScript,t,n+1),t.oneofs&&(r.type=`rerunScript`)),e.loadGitInfo!=null&&k.hasOwnProperty.call(e,`loadGitInfo`)&&(r.loadGitInfo=e.loadGitInfo,t.oneofs&&(r.type=`loadGitInfo`)),e.debugLastBackmsgId!=null&&k.hasOwnProperty.call(e,`debugLastBackmsgId`)&&(r.debugLastBackmsgId=e.debugLastBackmsgId),e.debugDisconnectWebsocket!=null&&k.hasOwnProperty.call(e,`debugDisconnectWebsocket`)&&(r.debugDisconnectWebsocket=e.debugDisconnectWebsocket,t.oneofs&&(r.type=`debugDisconnectWebsocket`)),e.debugShutdownRuntime!=null&&k.hasOwnProperty.call(e,`debugShutdownRuntime`)&&(r.debugShutdownRuntime=e.debugShutdownRuntime,t.oneofs&&(r.type=`debugShutdownRuntime`)),e.fileUrlsRequest!=null&&k.hasOwnProperty.call(e,`fileUrlsRequest`)&&(r.fileUrlsRequest=V.FileURLsRequest.toObject(e.fileUrlsRequest,t,n+1),t.oneofs&&(r.type=`fileUrlsRequest`)),e.appHeartbeat!=null&&k.hasOwnProperty.call(e,`appHeartbeat`)&&(r.appHeartbeat=e.appHeartbeat,t.oneofs&&(r.type=`appHeartbeat`)),e.backendOperationRequest!=null&&k.hasOwnProperty.call(e,`backendOperationRequest`)&&(r.backendOperationRequest=V.BackendOperationRequest.toObject(e.backendOperationRequest,t,n+1),t.oneofs&&(r.type=`backendOperationRequest`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/BackMsg`},e})(),W=V.BackendOperationRequest=(()=>{let e=function(e){if(e)for(let t=k.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,e.prototype.dataframeChunk=null;let t;return k.defineProperty(e.prototype,`payload`,{get:O.oneOfGetter(t=[`deferredFile`,`installSkills`,`dismissSkillsNudge`,`dataframeChunk`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.requestId!=null&&k.hasOwnProperty.call(e,`requestId`)&&e.requestId!==``&&t.uint32(10).string(e.requestId),e.sessionId!=null&&k.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(18).string(e.sessionId),e.deferredFile!=null&&k.hasOwnProperty.call(e,`deferredFile`)&&V.DeferredFileRequestPayload.encode(e.deferredFile,t.uint32(26).fork(),n+1).ldelim(),e.installSkills!=null&&k.hasOwnProperty.call(e,`installSkills`)&&V.InstallSkillsRequestPayload.encode(e.installSkills,t.uint32(34).fork(),n+1).ldelim(),e.dismissSkillsNudge!=null&&k.hasOwnProperty.call(e,`dismissSkillsNudge`)&&V.DismissSkillsNudgeRequestPayload.encode(e.dismissSkillsNudge,t.uint32(42).fork(),n+1).ldelim(),e.dataframeChunk!=null&&k.hasOwnProperty.call(e,`dataframeChunk`)&&V.DataframeChunkRequestPayload.encode(e.dataframeChunk,t.uint32(50).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.BackendOperationRequest;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.DeferredFileRequestPayload.decode(e,e.uint32(),A,r+1,o.deferredFile),o.payload=`deferredFile`;continue;case 4:if(a!==2)break;o.installSkills=V.InstallSkillsRequestPayload.decode(e,e.uint32(),A,r+1,o.installSkills),o.payload=`installSkills`;continue;case 5:if(a!==2)break;o.dismissSkillsNudge=V.DismissSkillsNudgeRequestPayload.decode(e,e.uint32(),A,r+1,o.dismissSkillsNudge),o.payload=`dismissSkillsNudge`;continue;case 6:if(a!==2)break;o.dataframeChunk=V.DataframeChunkRequestPayload.decode(e,e.uint32(),A,r+1,o.dataframeChunk),o.payload=`dataframeChunk`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.BackendOperationRequest)return e;if(!O.isObject(e))throw N(`.BackendOperationRequest: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.BackendOperationRequest;if(e.requestId!=null&&(typeof e.requestId!=`string`||e.requestId.length)&&(n.requestId=P(e.requestId)),e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=P(e.sessionId)),e.deferredFile!=null){if(!O.isObject(e.deferredFile))throw N(`.BackendOperationRequest.deferredFile: object expected`);n.deferredFile=V.DeferredFileRequestPayload.fromObject(e.deferredFile,t+1)}if(e.installSkills!=null){if(!O.isObject(e.installSkills))throw N(`.BackendOperationRequest.installSkills: object expected`);n.installSkills=V.InstallSkillsRequestPayload.fromObject(e.installSkills,t+1)}if(e.dismissSkillsNudge!=null){if(!O.isObject(e.dismissSkillsNudge))throw N(`.BackendOperationRequest.dismissSkillsNudge: object expected`);n.dismissSkillsNudge=V.DismissSkillsNudgeRequestPayload.fromObject(e.dismissSkillsNudge,t+1)}if(e.dataframeChunk!=null){if(!O.isObject(e.dataframeChunk))throw N(`.BackendOperationRequest.dataframeChunk: object expected`);n.dataframeChunk=V.DataframeChunkRequestPayload.fromObject(e.dataframeChunk,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.requestId=``,r.sessionId=``),e.requestId!=null&&k.hasOwnProperty.call(e,`requestId`)&&(r.requestId=e.requestId),e.sessionId!=null&&k.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),e.deferredFile!=null&&k.hasOwnProperty.call(e,`deferredFile`)&&(r.deferredFile=V.DeferredFileRequestPayload.toObject(e.deferredFile,t,n+1),t.oneofs&&(r.payload=`deferredFile`)),e.installSkills!=null&&k.hasOwnProperty.call(e,`installSkills`)&&(r.installSkills=V.InstallSkillsRequestPayload.toObject(e.installSkills,t,n+1),t.oneofs&&(r.payload=`installSkills`)),e.dismissSkillsNudge!=null&&k.hasOwnProperty.call(e,`dismissSkillsNudge`)&&(r.dismissSkillsNudge=V.DismissSkillsNudgeRequestPayload.toObject(e.dismissSkillsNudge,t,n+1),t.oneofs&&(r.payload=`dismissSkillsNudge`)),e.dataframeChunk!=null&&k.hasOwnProperty.call(e,`dataframeChunk`)&&(r.dataframeChunk=V.DataframeChunkRequestPayload.toObject(e.dataframeChunk,t,n+1),t.oneofs&&(r.payload=`dataframeChunk`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/BackendOperationRequest`},e})();V.DeferredFileRequestPayload=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.fileId!=null&&k.hasOwnProperty.call(e,`fileId`)&&e.fileId!==``&&t.uint32(10).string(e.fileId),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DeferredFileRequestPayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DeferredFileRequestPayload)return e;if(!O.isObject(e))throw N(`.DeferredFileRequestPayload: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DeferredFileRequestPayload;return e.fileId!=null&&(typeof e.fileId!=`string`||e.fileId.length)&&(n.fileId=P(e.fileId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.fileId=``),e.fileId!=null&&k.hasOwnProperty.call(e,`fileId`)&&(r.fileId=e.fileId),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DeferredFileRequestPayload`},e})(),V.InstallSkillsRequestPayload=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.InstallSkillsRequestPayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}e.skipType(i&7,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.InstallSkillsRequestPayload)return e;if(!O.isObject(e))throw N(`.InstallSkillsRequestPayload: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);return new V.InstallSkillsRequestPayload},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/InstallSkillsRequestPayload`},e})(),V.DismissSkillsNudgeRequestPayload=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DismissSkillsNudgeRequestPayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}e.skipType(i&7,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DismissSkillsNudgeRequestPayload)return e;if(!O.isObject(e))throw N(`.DismissSkillsNudgeRequestPayload: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);return new V.DismissSkillsNudgeRequestPayload},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DismissSkillsNudgeRequestPayload`},e})(),V.DataframeChunkRequestPayload=(()=>{let e=function(e){if(e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.sourceId=``,e.prototype.offset=O.Long?O.Long.fromBits(0,0,!0):0,e.prototype.limit=0,e.prototype.sort=null;let t;return k.defineProperty(e.prototype,`_sort`,{get:O.oneOfGetter(t=[`sort`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.sourceId!=null&&k.hasOwnProperty.call(e,`sourceId`)&&e.sourceId!==``&&t.uint32(10).string(e.sourceId),e.offset!=null&&k.hasOwnProperty.call(e,`offset`)&&(typeof e.offset==`object`?e.offset.low||e.offset.high:e.offset!==0)&&t.uint32(16).uint64(e.offset),e.limit!=null&&k.hasOwnProperty.call(e,`limit`)&&e.limit!==0&&t.uint32(24).uint32(e.limit),e.sort!=null&&k.hasOwnProperty.call(e,`sort`)&&V.SortState.encode(e.sort,t.uint32(34).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DataframeChunkRequestPayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.sourceId=s:delete o.sourceId;continue;case 2:if(a!==0)break;(typeof(s=e.uint64())==`object`?s.low||s.high:s!==0)?o.offset=s:delete o.offset;continue;case 3:if(a!==0)break;(s=e.uint32())?o.limit=s:delete o.limit;continue;case 4:if(a!==2)break;o.sort=V.SortState.decode(e,e.uint32(),A,r+1,o.sort),o._sort=`sort`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DataframeChunkRequestPayload)return e;if(!O.isObject(e))throw N(`.DataframeChunkRequestPayload: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DataframeChunkRequestPayload;if(e.sourceId!=null&&(typeof e.sourceId!=`string`||e.sourceId.length)&&(n.sourceId=P(e.sourceId)
1),e.offset!=null&&(typeof e.offset==`object`?e.offset.low||e.offset.high:I(e.offset)!==0)&&(O.Long?n.offset=O.Long.fromValue(e.offset,!0):typeof e.offset==`string`?n.offset=z(e.offset,10):typeof e.offset==`number`?n.offset=e.offset:typeof e.offset==`object`&&(n.offset=new O.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0))),e.limit!=null&&I(e.limit)!==0&&(n.limit=e.limit>>>0),e.sort!=null){if(!O.isObject(e.sort))throw N(`.DataframeChunkRequestPayload.sort: object expected`);n.sort=V.SortState.fromObject(e.sort,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if(t.defaults){if(r.sourceId=``,O.Long){let e=new O.Long(0,0,!0);r.offset=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.offset=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.limit=0}return e.sourceId!=null&&k.hasOwnProperty.call(e,`sourceId`)&&(r.sourceId=e.sourceId),e.offset!=null&&k.hasOwnProperty.call(e,`offset`)&&(r.offset=B!==void 0&&t.longs===B?typeof e.offset==`number`?B(e.offset):O.Long.fromBits(e.offset.low>>>0,e.offset.high>>>0,!0).toBigInt():typeof e.offset==`number`?t.longs===P?P(e.offset):e.offset:t.longs===P?O.Long.prototype.toString.call(e.offset):t.longs===I?new O.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0):e.offset),e.limit!=null&&k.hasOwnProperty.call(e,`limit`)&&(r.limit=e.limit),e.sort!=null&&k.hasOwnProperty.call(e,`sort`)&&(r.sort=V.SortState.toObject(e.sort,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DataframeChunkRequestPayload`},e})(),V.ContextInfo=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_timezone`,{get:O.oneOfGetter(t=[`timezone`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_timezoneOffset`,{get:O.oneOfGetter(t=[`timezoneOffset`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_locale`,{get:O.oneOfGetter(t=[`locale`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_url`,{get:O.oneOfGetter(t=[`url`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_isEmbedded`,{get:O.oneOfGetter(t=[`isEmbedded`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_colorScheme`,{get:O.oneOfGetter(t=[`colorScheme`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.timezone!=null&&k.hasOwnProperty.call(e,`timezone`)&&t.uint32(10).string(e.timezone),e.timezoneOffset!=null&&k.hasOwnProperty.call(e,`timezoneOffset`)&&t.uint32(16).int32(e.timezoneOffset),e.locale!=null&&k.hasOwnProperty.call(e,`locale`)&&t.uint32(26).string(e.locale),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&t.uint32(34).string(e.url),e.isEmbedded!=null&&k.hasOwnProperty.call(e,`isEmbedded`)&&t.uint32(40).bool(e.isEmbedded),e.colorScheme!=null&&k.hasOwnProperty.call(e,`colorScheme`)&&t.uint32(50).string(e.colorScheme),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ContextInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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`;continue;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ContextInfo)return e;if(!O.isObject(e))throw N(`.ContextInfo: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ContextInfo;return e.timezone!=null&&(n.timezone=P(e.timezone)),e.timezoneOffset!=null&&(n.timezoneOffset=e.timezoneOffset|0),e.locale!=null&&(n.locale=P(e.locale)),e.url!=null&&(n.url=P(e.url)),e.isEmbedded!=null&&(n.isEmbedded=F(e.isEmbedded)),e.colorScheme!=null&&(n.colorScheme=P(e.colorScheme)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.timezone!=null&&k.hasOwnProperty.call(e,`timezone`)&&(r.timezone=e.timezone),e.timezoneOffset!=null&&k.hasOwnProperty.call(e,`timezoneOffset`)&&(r.timezoneOffset=e.timezoneOffset),e.locale!=null&&k.hasOwnProperty.call(e,`locale`)&&(r.locale=e.locale),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.isEmbedded!=null&&k.hasOwnProperty.call(e,`isEmbedded`)&&(r.isEmbedded=e.isEmbedded),e.colorScheme!=null&&k.hasOwnProperty.call(e,`colorScheme`)&&(r.colorScheme=e.colorScheme),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ContextInfo`},e})(),V.ClientState=(()=>{let e=function(e){if(this.cachedMessageHashes=[],e)for(let t=k.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=O.emptyArray,e.prototype.contextInfo=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.queryString!=null&&k.hasOwnProperty.call(e,`queryString`)&&e.queryString!==``&&t.uint32(10).string(e.queryString),e.widgetStates!=null&&k.hasOwnProperty.call(e,`widgetStates`)&&V.WidgetStates.encode(e.widgetStates,t.uint32(18).fork(),n+1).ldelim(),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(26).string(e.pageScriptHash),e.pageName!=null&&k.hasOwnProperty.call(e,`pageName`)&&e.pageName!==``&&t.uint32(34).string(e.pageName),e.fragmentId!=null&&k.hasOwnProperty.call(e,`fragmentId`)&&e.fragmentId!==``&&t.uint32(42).string(e.fragmentId),e.isAutoRerun!=null&&k.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&&k.hasOwnProperty.call(e,`contextInfo`)&&V.ContextInfo.encode(e.contextInfo,t.uint32(66).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ClientState;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.WidgetStates.decode(e,e.uint32(),A,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=V.ContextInfo.decode(e,e.uint32(),A,r+1,o.contextInfo);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ClientState)return e;if(!O.isObject(e))throw N(`.ClientState: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ClientState;if(e.queryString!=null&&(typeof e.queryString!=`string`||e.queryString.length)&&(n.queryString=P(e.queryString)),e.widgetStates!=null){if(!O.isObject(e.widgetStates))throw N(`.ClientState.widgetStates: object expected`);n.widgetStates=V.WidgetStates.fromObject(e.widgetStates,t+1)}if(e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=P(e.pageScriptHash)),e.pageName!=null&&(typeof e.pageName!=`string`||e.pageName.length)&&(n.pageName=P(e.pageName)),e.fragmentId!=null&&(typeof e.fragmentId!=`string`||e.fragmentId.length)&&(n.fragmentId=P(e.fragmentId)),e.isAutoRerun!=null&&e.isAutoRerun&&(n.isAutoRerun=F(e.isAutoRerun)),e.cachedMessageHashes){if(!R.isArray(e.cachedMessageHashes))throw N(`.ClientState.cachedMessageHashes: array expected`);n.cachedMessageHashes=R(e.cachedMessageHashes.length);for(let t=0;t<e.cachedMessageHashes.length;++t)n.cachedMessageHashes[t]=P(e.cachedMessageHashes[t])}if(e.contextInfo!=null){if(!O.isObject(e.contextInfo))throw N(`.ClientState.contextInfo: object expected`);n.contextInfo=V.ContextInfo.fromObject(e.contextInfo,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`queryString`)&&(r.queryString=e.queryString),e.widgetStates!=null&&k.hasOwnProperty.call(e,`widgetStates`)&&(r.widgetStates=V.WidgetStates.toObject(e.widgetStates,t,n+1)),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.pageName!=null&&k.hasOwnProperty.call(e,`pageName`)&&(r.pageName=e.pageName),e.fragmentId!=null&&k.hasOwnProperty.call(e,`fragmentId`)&&(r.fragmentId=e.fragmentId),e.isAutoRerun!=null&&k.hasOwnProperty.call(e,`isAutoRerun`)&&(r.isAutoRerun=e.isAutoRerun),e.cachedMessageHashes&&e.cachedMessageHashes.length){r.cachedMessageHashes=R(e.cachedMessageHashes.length);for(let t=0;t<e.cachedMessageHashes.length;++t)r.cachedMessageHashes[t]=e.cachedMessageHashes[t]}return e.contextInfo!=null&&k.hasOwnProperty.call(e,`contextInfo`)&&(r.contextInfo=V.ContextInfo.toObject(e.contextInfo,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ClientState`},e})();var G=V.WidgetStates=(()=>{let e=function(e){if(this.widgets=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.widgets!=null&&e.widgets.length)for(let r=0;r<e.widgets.length;++r)V.WidgetState.encode(e.widgets[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.WidgetStates;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.widgets&&o.widgets.length||(o.widgets=[]),o.widgets.push(V.WidgetState.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.WidgetStates)return e;if(!O.isObject(e))throw N(`.WidgetStates: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.WidgetStates;if(e.widgets){if(!R.isArray(e.widgets))throw N(`.WidgetStates.widgets: array expected`);n.widgets=R(e.widgets.length);for(let r=0;r<e.widgets.length;++r){if(!O.isObject(e.widgets[r]))throw N(`.WidgetStates.widgets: object expected`);n.widgets[r]=V.WidgetState.fromObject(e.widgets[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.widgets=[]),e.widgets&&e.widgets.length){r.widgets=R(e.widgets.length);for(let i=0;i<e.widgets.length;++i)r.widgets[i]=V.WidgetState.toObject(e.widgets[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/WidgetStates`},e})(),K=V.WidgetState=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`value`,{get:O.oneOfGetter(t=[`triggerValue`,`boolValue`,`doubleValue`,`intValue`,`stringValue`,`doubleArrayValue`,`intArrayValue`,`stringArrayValue`,`jsonValue`,`arrowValue`,`bytesValue`,`fileUploaderStateValue`,`stringTriggerValue`,`chatInputValue`,`jsonTriggerValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.triggerValue!=null&&k.hasOwnProperty.call(e,`triggerValue`)&&t.uint32(16).bool(e.triggerValue),e.boolValue!=null&&k.hasOwnProperty.call(e,`boolValue`)&&t.uint32(24).bool(e.boolValue),e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(33).double(e.doubleValue),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&t.uint32(40).sint64(e.intValue),e.stringValue!=null&&k.hasOwnProperty.call(e,`stringValue`)&&t.uint32(50).string(e.stringValue),e.doubleArrayValue!=null&&k.hasOwnProperty.call(e,`doubleArrayValue`)&&V.DoubleArray.encode(e.doubleArrayValue,t.uint32(58).fork(),n+1).ldelim(),e.intArrayValue!=null&&k.hasOwnProperty.call(e,`intArrayValue`)&&V.SInt64Array.encode(e.intArrayValue,t.uint32(66).fork(),n+1).ldelim(),e.stringArrayValue!=null&&k.hasOwnProperty.call(e,`stringArrayValue`)&&V.StringArray.encode(e.stringArrayValue,t.uint32(74).fork(),n+1).ldelim(),e.jsonValue!=null&&k.hasOwnProperty.call(e,`jsonValue`)&&t.uint32(82).string(e.jsonValue),e.arrowValue!=null&&k.hasOwnProperty.call(e,`arrowValue`)&&V.ArrowTable.encode(e.arrowValue,t.uint32(90).fork(),n+1).ldelim(),e.bytesValue!=null&&k.hasOwnProperty.call(e,`bytesValue`)&&t.uint32(98).bytes(e.bytesValue),e.fileUploaderStateValue!=null&&k.hasOwnProperty.call(e,`fileUploaderStateValue`)&&V.FileUploaderState.encode(e.fileUploaderStateValue,t.uint32(106).fork(),n+1).ldelim(),e.stringTriggerValue!=null&&k.hasOwnProperty.call(e,`stringTriggerValue`)&&V.StringTriggerValue.encode(e.stringTriggerValue,t.uint32(114).fork(),n+1).ldelim(),e.chatInputValue!=null&&k.hasOwnProperty.call(e,`chatInputValue`)&&V.ChatInputValue.encode(e.chatInputValue,t.uint32(122).fork(),n+1).ldelim(),e.jsonTriggerValue!=null&&k.hasOwnProperty.call(e,`jsonTriggerValue`)&&t.uint32(130).string(e.jsonTriggerValue),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.WidgetState;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.DoubleArray.decode(e,e.uint32(),A,r+1,o.doubleArrayValue),o.value=`doubleArrayValue`;continue;case 8:if(a!==2)break;o.intArrayValue=V.SInt64Array.decode(e,e.uint32(),A,r+1,o.intArrayValue),o.value=`intArrayValue`;continue;
1case 9:if(a!==2)break;o.stringArrayValue=V.StringArray.decode(e,e.uint32(),A,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=V.ArrowTable.decode(e,e.uint32(),A,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=V.FileUploaderState.decode(e,e.uint32(),A,r+1,o.fileUploaderStateValue),o.value=`fileUploaderStateValue`;continue;case 14:if(a!==2)break;o.stringTriggerValue=V.StringTriggerValue.decode(e,e.uint32(),A,r+1,o.stringTriggerValue),o.value=`stringTriggerValue`;continue;case 15:if(a!==2)break;o.chatInputValue=V.ChatInputValue.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.WidgetState)return e;if(!O.isObject(e))throw N(`.WidgetState: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.WidgetState;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.triggerValue!=null&&(n.triggerValue=F(e.triggerValue)),e.boolValue!=null&&(n.boolValue=F(e.boolValue)),e.doubleValue!=null&&(n.doubleValue=I(e.doubleValue)),e.intValue!=null&&(O.Long?n.intValue=O.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=z(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),e.stringValue!=null&&(n.stringValue=P(e.stringValue)),e.doubleArrayValue!=null){if(!O.isObject(e.doubleArrayValue))throw N(`.WidgetState.doubleArrayValue: object expected`);n.doubleArrayValue=V.DoubleArray.fromObject(e.doubleArrayValue,t+1)}if(e.intArrayValue!=null){if(!O.isObject(e.intArrayValue))throw N(`.WidgetState.intArrayValue: object expected`);n.intArrayValue=V.SInt64Array.fromObject(e.intArrayValue,t+1)}if(e.stringArrayValue!=null){if(!O.isObject(e.stringArrayValue))throw N(`.WidgetState.stringArrayValue: object expected`);n.stringArrayValue=V.StringArray.fromObject(e.stringArrayValue,t+1)}if(e.jsonValue!=null&&(n.jsonValue=P(e.jsonValue)),e.arrowValue!=null){if(!O.isObject(e.arrowValue))throw N(`.WidgetState.arrowValue: object expected`);n.arrowValue=V.ArrowTable.fromObject(e.arrowValue,t+1)}if(e.bytesValue!=null&&(typeof e.bytesValue==`string`?O.base64.decode(e.bytesValue,n.bytesValue=O.newBuffer(O.base64.length(e.bytesValue)),0):e.bytesValue.length>=0&&(n.bytesValue=e.bytesValue)),e.fileUploaderStateValue!=null){if(!O.isObject(e.fileUploaderStateValue))throw N(`.WidgetState.fileUploaderStateValue: object expected`);n.fileUploaderStateValue=V.FileUploaderState.fromObject(e.fileUploaderStateValue,t+1)}if(e.stringTriggerValue!=null){if(!O.isObject(e.stringTriggerValue))throw N(`.WidgetState.stringTriggerValue: object expected`);n.stringTriggerValue=V.StringTriggerValue.fromObject(e.stringTriggerValue,t+1)}if(e.chatInputValue!=null){if(!O.isObject(e.chatInputValue))throw N(`.WidgetState.chatInputValue: object expected`);n.chatInputValue=V.ChatInputValue.fromObject(e.chatInputValue,t+1)}return e.jsonTriggerValue!=null&&(n.jsonTriggerValue=P(e.jsonTriggerValue)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.id=``),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.triggerValue!=null&&k.hasOwnProperty.call(e,`triggerValue`)&&(r.triggerValue=e.triggerValue,t.oneofs&&(r.value=`triggerValue`)),e.boolValue!=null&&k.hasOwnProperty.call(e,`boolValue`)&&(r.boolValue=e.boolValue,t.oneofs&&(r.value=`boolValue`)),e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!L(e.doubleValue)?P(e.doubleValue):e.doubleValue,t.oneofs&&(r.value=`doubleValue`)),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&(r.intValue=B!==void 0&&t.longs===B?typeof e.intValue==`number`?B(e.intValue):O.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?t.longs===P?P(e.intValue):e.intValue:t.longs===P?O.Long.prototype.toString.call(e.intValue):t.longs===I?new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.value=`intValue`)),e.stringValue!=null&&k.hasOwnProperty.call(e,`stringValue`)&&(r.stringValue=e.stringValue,t.oneofs&&(r.value=`stringValue`)),e.doubleArrayValue!=null&&k.hasOwnProperty.call(e,`doubleArrayValue`)&&(r.doubleArrayValue=V.DoubleArray.toObject(e.doubleArrayValue,t,n+1),t.oneofs&&(r.value=`doubleArrayValue`)),e.intArrayValue!=null&&k.hasOwnProperty.call(e,`intArrayValue`)&&(r.intArrayValue=V.SInt64Array.toObject(e.intArrayValue,t,n+1),t.oneofs&&(r.value=`intArrayValue`)),e.stringArrayValue!=null&&k.hasOwnProperty.call(e,`stringArrayValue`)&&(r.stringArrayValue=V.StringArray.toObject(e.stringArrayValue,t,n+1),t.oneofs&&(r.value=`stringArrayValue`)),e.jsonValue!=null&&k.hasOwnProperty.call(e,`jsonValue`)&&(r.jsonValue=e.jsonValue,t.oneofs&&(r.value=`jsonValue`)),e.arrowValue!=null&&k.hasOwnProperty.call(e,`arrowValue`)&&(r.arrowValue=V.ArrowTable.toObject(e.arrowValue,t,n+1),t.oneofs&&(r.value=`arrowValue`)),e.bytesValue!=null&&k.hasOwnProperty.call(e,`bytesValue`)&&(r.bytesValue=t.bytes===P?O.base64.encode(e.bytesValue,0,e.bytesValue.length):t.bytes===R?R.prototype.slice.call(e.bytesValue):e.bytesValue,t.oneofs&&(r.value=`bytesValue`)),e.fileUploaderStateValue!=null&&k.hasOwnProperty.call(e,`fileUploaderStateValue`)&&(r.fileUploaderStateValue=V.FileUploaderState.toObject(e.fileUploaderStateValue,t,n+1),t.oneofs&&(r.value=`fileUploaderStateValue`)),e.stringTriggerValue!=null&&k.hasOwnProperty.call(e,`stringTriggerValue`)&&(r.stringTriggerValue=V.StringTriggerValue.toObject(e.stringTriggerValue,t,n+1),t.oneofs&&(r.value=`stringTriggerValue`)),e.chatInputValue!=null&&k.hasOwnProperty.call(e,`chatInputValue`)&&(r.chatInputValue=V.ChatInputValue.toObject(e.chatInputValue,t,n+1),t.oneofs&&(r.value=`chatInputValue`)),e.jsonTriggerValue!=null&&k.hasOwnProperty.call(e,`jsonTriggerValue`)&&(r.jsonTriggerValue=e.jsonTriggerValue,t.oneofs&&(r.value=`jsonTriggerValue`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/WidgetState`},e})(),q=V.StringArray=(()=>{let e=function(e){if(this.data=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.StringArray;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.StringArray)return e;if(!O.isObject(e))throw N(`.StringArray: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.StringArray;if(e.data){if(!R.isArray(e.data))throw N(`.StringArray.data: array expected`);n.data=R(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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=R(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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/StringArray`},e})(),J=V.DoubleArray=(()=>{let e=function(e){if(this.data=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).doubles(e.data),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DoubleArray;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DoubleArray)return e;if(!O.isObject(e))throw N(`.DoubleArray: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DoubleArray;
1if(e.data){if(!R.isArray(e.data))throw N(`.DoubleArray.data: array expected`);n.data=R(e.data.length);for(let t=0;t<e.data.length;++t)n.data[t]=I(e.data[t])}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=R(e.data.length);for(let n=0;n<e.data.length;++n)r.data[n]=t.json&&!L(e.data[n])?P(e.data[n]):e.data[n]}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DoubleArray`},e})();V.Int32Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).int32s(e.data),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Int32Array;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Int32Array)return e;if(!O.isObject(e))throw N(`.Int32Array: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Int32Array;if(e.data){if(!R.isArray(e.data))throw N(`.Int32Array.data: array expected`);n.data=R(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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=R(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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Int32Array`},e})(),V.Int64Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).int64s(e.data),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Int64Array;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Int64Array)return e;if(!O.isObject(e))throw N(`.Int64Array: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Int64Array;if(e.data){if(!R.isArray(e.data))throw N(`.Int64Array.data: array expected`);n.data=R(e.data.length);for(let t=0;t<e.data.length;++t)O.Long?n.data[t]=O.Long.fromValue(e.data[t],!1):typeof e.data[t]==`string`?n.data[t]=z(e.data[t],10):typeof e.data[t]==`number`?n.data[t]=e.data[t]:typeof e.data[t]==`object`&&(n.data[t]=new O.LongBits(e.data[t].low>>>0,e.data[t].high>>>0).toNumber())}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=R(e.data.length);for(let n=0;n<e.data.length;++n)B!==void 0&&t.longs===B?r.data[n]=typeof e.data[n]==`number`?B(e.data[n]):O.Long.fromBits(e.data[n].low>>>0,e.data[n].high>>>0,!1).toBigInt():typeof e.data[n]==`number`?r.data[n]=t.longs===P?P(e.data[n]):e.data[n]:r.data[n]=t.longs===P?O.Long.prototype.toString.call(e.data[n]):t.longs===I?new O.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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Int64Array`},e})();var Y=V.SInt64Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).sint64s(e.data),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.SInt64Array;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.SInt64Array)return e;if(!O.isObject(e))throw N(`.SInt64Array: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.SInt64Array;if(e.data){if(!R.isArray(e.data))throw N(`.SInt64Array.data: array expected`);n.data=R(e.data.length);for(let t=0;t<e.data.length;++t)O.Long?n.data[t]=O.Long.fromValue(e.data[t],!1):typeof e.data[t]==`string`?n.data[t]=z(e.data[t],10):typeof e.data[t]==`number`?n.data[t]=e.data[t]:typeof e.data[t]==`object`&&(n.data[t]=new O.LongBits(e.data[t].low>>>0,e.data[t].high>>>0).toNumber())}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=R(e.data.length);for(let n=0;n<e.data.length;++n)B!==void 0&&t.longs===B?r.data[n]=typeof e.data[n]==`number`?B(e.data[n]):O.Long.fromBits(e.data[n].low>>>0,e.data[n].high>>>0,!1).toBigInt():typeof e.data[n]==`number`?r.data[n]=t.longs===P?P(e.data[n]):e.data[n]:r.data[n]=t.longs===P?O.Long.prototype.toString.call(e.data[n]):t.longs===I?new O.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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/SInt64Array`},e})();V.UInt32Array=(()=>{let e=function(e){if(this.data=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&e.data.length&&t.uint32(10).uint32s(e.data),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.UInt32Array;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.UInt32Array)return e;if(!O.isObject(e))throw N(`.UInt32Array: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.UInt32Array;if(e.data){if(!R.isArray(e.data))throw N(`.UInt32Array.data: array expected`);n.data=R(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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.data=[]),e.data&&e.data.length){r.data=R(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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/UInt32Array`},e})();var X=V.StringTriggerValue=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_data`,{get:O.oneOfGetter(t=[`data`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&k.hasOwnProperty.call(e,`data`)&&t.uint32(10).string(e.data),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.StringTriggerValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.StringTriggerValue)return e;if(!O.isObject(e))throw N(`.StringTriggerValue: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.StringTriggerValue;return e.data!=null&&(n.data=P(e.data)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=e.data),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/StringTriggerValue`},e})();V.FileURLsRequest=(()=>{let e=function(e){if(this.fileNames=[],e)for(let t=k.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=O.emptyArray,e.prototype.sessionId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.requestId!=null&&k.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&&k.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(26).string(e.sessionId),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FileURLsRequest;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FileURLsRequest)return e;if(!O.isObject(e))throw N(`.FileURLsRequest: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FileURLsRequest;if(e.requestId!=null&&(typeof e.requestId!=`string`||e.requestId.length)&&(n.requestId=P(e.requestId)),e.fileNames){if(!R.isArray(e.fileNames))throw N(`.FileURLsRequest.fileNames: array expected`);n.fileNames=R(e.fileNames.length);for(let t=0;t<e.fileNames.length;++t)n.fileNames[t]=P(e.fileNames[t])}return e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=P(e.sessionId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fileNames=[]),t.defaults&&(r.requestId=``,r.sessionId=``),e.requestId!=null&&k.hasOwnProperty.call(e,`requestId`)&&(r.requestId=e.requestId),e.fileNames&&e.fileNames.length){r.fileNames=R(e.fileNames.length);for(let t=0;t<e.fileNames.length;++t)r.fileNames[t]=e.fileNames[t]}return e.sessionId!=null&&k.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FileURLsRequest`},e})(),V.FileURLs=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.fileId!=null&&k.hasOwnProperty.call(e,`fileId`)&&e.fileId!==``&&t.uint32(10).string(e.fileId),e.uploadUrl!=null&&k.hasOwnProperty.call(e,`uploadUrl`)&&e.uploadUrl!==``&&t.uint32(18).string(e.uploadUrl),e.deleteUrl!=null&&k.hasOwnProperty.call(e,`deleteUrl`)&&e.deleteUrl!==``&&t.uint32(26).string(e.deleteUrl),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FileURLs;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FileURLs)return e;if(!O.isObject(e))throw N(`.FileURLs: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FileURLs;return e.fileId!=null&&(typeof e.fileId!=`string`||e.fileId.length)&&(n.fileId=P(e.fileId)),e.uploadUrl!=null&&(typeof e.uploadUrl!=`string`||e.uploadUrl.length)&&(n.uploadUrl=P(e.uploadUrl)),e.deleteUrl!=null&&(typeof e.deleteUrl!=`string`||e.deleteUrl.length)&&(n.deleteUrl=P(e.deleteUrl)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.fileId=``,r.uploadUrl=``,r.deleteUrl=``),e.fileId!=null&&k.hasOwnProperty.call(e,`fileId`)&&(r.fileId=e.fileId),e.uploadUrl!=null&&k.hasOwnProperty.call(e,`uploadUrl`)&&(r.uploadUrl=e.uploadUrl),e.deleteUrl!=null&&k.hasOwnProperty.call(e,`deleteUrl`)&&(r.deleteUrl=e.deleteUrl),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FileURLs`},e})(),V.FileURLsResponse=(()=>{let e=function(e){if(this.fileUrls=[],e)for(let t=k.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=O.emptyArray,e.prototype.errorMsg=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.responseId!=null&&k.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)V.FileURLs.encode(e.fileUrls[r],t.uint32(18).fork(),n+1).ldelim();if(e.errorMsg!=null&&k.hasOwnProperty.call(e,`errorMsg`)&&e.errorMsg!==``&&t.uint32(26).string(e.errorMsg),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FileURLsResponse;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.FileURLs.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FileURLsResponse)return e;if(!O.isObject(e))throw N(`.FileURLsResponse: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FileURLsResponse;if(e.responseId!=null&&(typeof e.responseId!=`string`||e.responseId.length)&&(n.responseId=P(e.responseId)),e.fileUrls){if(!R.isArray(e.fileUrls))throw N(`.FileURLsResponse.fileUrls: array expected`);n.fileUrls=R(e.fileUrls.length);for(let r=0;r<e.fileUrls.length;++r){if(!O.isObject(e.fileUrls[r]))throw N(`.FileURLsResponse.fileUrls: object expected`);n.fileUrls[r]=V.FileURLs.fromObject(e.fileUrls[r],t+1)}}return e.errorMsg!=null&&(typeof e.errorMsg!=`string`||e.errorMsg.length)&&(n.errorMsg=P(e.errorMsg)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.fileUrls=[]),t.defaults&&(r.responseId=``,r.errorMsg=``),e.responseId!=null&&k.hasOwnProperty.call(e,`responseId`)&&(r.responseId=e.responseId),e.fileUrls&&e.fileUrls.length){r.fileUrls=R(e.fileUrls.length);for(let i=0;i<e.fileUrls.length;++i)r.fileUrls[i]=V.FileURLs.toObject(e.fileUrls[i],t,n+1)}return e.errorMsg!=null&&k.hasOwnProperty.call(e,`errorMsg`)&&(r.errorMsg=e.errorMsg),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FileURLsResponse`},e})();var Z=V.UploadedFileInfo=(()=>{let e=function(e){if(e)for(let t=k.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=O.Long?O.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(18).string(e.name),e.size!=null&&k.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&&k.hasOwnProperty.call(e,`fileId`)&&e.fileId!==``&&t.uint32(34).string(e.fileId),e.fileUrls!=null&&k.hasOwnProperty.call(e,`fileUrls`)&&V.FileURLs.encode(e.fileUrls,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.UploadedFileInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.FileURLs.decode(e,e.uint32(),A,r+1,o.fileUrls);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.UploadedFileInfo)return e;if(!O.isObject(e))throw N(`.UploadedFileInfo: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.UploadedFileInfo;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.size!=null&&(typeof e.size==`object`?e.size.low||e.size.high:I(e.size)!==0)&&(O.Long?n.size=O.Long.fromValue(e.size,!0):typeof e.size==`string`?n.size=z(e.size,10):typeof e.size==`number`?n.size=e.size:typeof e.size==`object`&&(n.size=new O.LongBits(e.size.low>>>0,e.size.high>>>0).toNumber(!0))),e.fileId!=null&&(typeof e.fileId!=`string`||e.fileId.length)&&(n.fileId=P(e.fileId)),e.fileUrls!=null){if(!O.isObject(e.fileUrls))throw N(`.UploadedFileInfo.fileUrls: object expected`);n.fileUrls=V.FileURLs.fromObject(e.fileUrls,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if(t.defaults){if(r.name=``,O.Long){let e=new O.Long(0,0,!0);r.size=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.size=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.fileId=``,r.fileUrls=null}return e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.size!=null&&k.hasOwnProperty.call(e,`size`)&&(r.size=B!==void 0&&t.longs===B?typeof e.size==`number`?B(e.size):O.Long.fromBits(e.size.low>>>0,e.size.high>>>0,!0).toBigInt():typeof e.size==`number`?t.longs===P?P(e.size):e.size:t.longs===P?O.Long.prototype.toString.call(e.size):t.longs===I?new O.LongBits(e.size.low>>>0,e.size.high>>>0).toNumber(!0):e.size),e.fileId!=null&&k.hasOwnProperty.call(e,`fileId`)&&(r.fileId=e.fileId),e.fileUrls!=null&&k.hasOwnProperty.call(e,`fileUrls`)&&(r.fileUrls=V.FileURLs.toObject(e.fileUrls,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/UploadedFileInfo`},e})(),Q=V.FileUploaderState=(()=>{let e=function(e){if(this.uploadedFileInfo=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.uploadedFileInfo!=null&&e.uploadedFileInfo.length)for(let r=0;r<e.uploadedFileInfo.length;++r)V.UploadedFileInfo.encode(e.uploadedFileInfo[r],t.uint32(18).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FileUploaderState;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 2:if(a!==2)break;o.uploadedFileInfo&&o.uploadedFileInfo.length||(o.uploadedFileInfo=[]),o.uploadedFileInfo.push(V.UploadedFileInfo.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FileUploaderState)return e;if(!O.isObject(e))throw N(`.FileUploaderState: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FileUploaderState;if(e.uploadedFileInfo){if(!R.isArray(e.uploadedFileInfo))throw N(`.FileUploaderState.uploadedFileInfo: array expected`);n.uploadedFileInfo=R(e.uploadedFileInfo.length);for(let r=0;r<e.uploadedFileInfo.length;++r){if(!O.isObject(e.uploadedFileInfo[r]))throw N(`.FileUploaderState.uploadedFileInfo: object expected`);n.uploadedFileInfo[r]=V.UploadedFileInfo.fromObject(e.uploadedFileInfo[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.uploadedFileInfo=[]),e.uploadedFileInfo&&e.uploadedFileInfo.length){r.uploadedFileInfo=R(e.uploadedFileInfo.length);for(let i=0;i<e.uploadedFileInfo.length;++i)r.uploadedFileInfo[i]=V.UploadedFileInfo.toObject(e.uploadedFileInfo[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FileUploaderState`},e})(),ne=V.ChatInputValue=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_data`,{get:O.oneOfGetter(t=[`data`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_fileUploaderState`,{get:O.oneOfGetter(t=[`fileUploaderState`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_audioFileInfo`,{get:O.oneOfGetter(t=[`audioFileInfo`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&k.hasOwnProperty.call(e,`data`)&&t.uint32(10).string(e.data),e.fileUploaderState!=null&&k.hasOwnProperty.call(e,`fileUploaderState`)&&V.FileUploaderState.encode(e.fileUploaderState,t.uint32(18).fork(),n+1).ldelim(),e.audioFileInfo!=null&&k.hasOwnProperty.call(e,`audioFileInfo`)&&V.UploadedFileInfo.encode(e.audioFileInfo,t.uint32(26).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ChatInputValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.FileUploaderState.decode(e,e.uint32(),A,r+1,o.fileUploaderState),o._fileUploaderState=`fileUploaderState`;continue;case 3:if(a!==2)break;o.audioFileInfo=V.UploadedFileInfo.decode(e,e.uint32(),A,r+1,o.audioFileInfo),o._audioFileInfo=`audioFileInfo`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ChatInputValue)return e;if(!O.isObject(e))throw N(`.ChatInputValue: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ChatInputValue;if(e.data!=null&&(n.data=P(e.data)),e.fileUploaderState!=null){if(!O.isObject(e.fileUploaderState))throw N(`.ChatInputValue.fileUploaderState: object expected`);n.fileUploaderState=V.FileUploaderState.fromObject(e.fileUploaderState,t+1)}if(e.audioFileInfo!=null){if(!O.isObject(e.audioFileInfo))throw N(`.ChatInputValue.audioFileInfo: object expected`);n.audioFileInfo=V.UploadedFileInfo.fromObject(e.audioFileInfo,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=e.data),e.fileUploaderState!=null&&k.hasOwnProperty.call(e,`fileUploaderState`)&&(r.fileUploaderState=V.FileUploaderState.toObject(e.fileUploaderState,t,n+1)),e.audioFileInfo!=null&&k.hasOwnProperty.call(e,`audioFileInfo`)&&(r.audioFileInfo=V.UploadedFileInfo.toObject(e.audioFileInfo,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ChatInputValue`},e})();V.ComponentInstance=(()=>{let e=function(e){if(this.specialArgs=[],e)for(let t=k.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=O.emptyArray,e.prototype.componentName=``,e.prototype.url=``,e.prototype.formId=``,e.prototype.tabIndex=null;let t;return k.defineProperty(e.prototype,`_tabIndex`,{get:O.oneOfGetter(t=[`tabIndex`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.jsonArgs!=null&&k.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)V.SpecialArg.encode(e.specialArgs[r],t.uint32(26).fork(),n+1).ldelim();if(e.componentName!=null&&k.hasOwnProperty.call(e,`componentName`)&&e.componentName!==``&&t.uint32(34).string(e.componentName),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(42).string(e.url),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.tabIndex!=null&&k.hasOwnProperty.call(e,`tabIndex`)&&t.uint32(56).int32(e.tabIndex),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ComponentInstance;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.SpecialArg.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ComponentInstance)return e;if(!O.isObject(e))throw N(`.ComponentInstance: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ComponentInstance;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.jsonArgs!=null&&(typeof e.jsonArgs!=`string`||e.jsonArgs.length)&&(n.jsonArgs=P(e.jsonArgs)),e.specialArgs){if(!R.isArray(e.specialArgs))throw N(`.ComponentInstance.specialArgs: array expected`);n.specialArgs=R(e.specialArgs.length);for(let r=0;r<e.specialArgs.length;++r){if(!O.isObject(e.specialArgs[r]))throw N(`.ComponentInstance.specialArgs: object expected`);n.specialArgs[r]=V.SpecialArg.fromObject(e.specialArgs[r],t+1)}}return e.componentName!=null&&(typeof e.componentName!=`string`||e.componentName.length)&&(n.componentName=P(e.componentName)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.tabIndex!=null&&(n.tabIndex=e.tabIndex|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.jsonArgs!=null&&k.hasOwnProperty.call(e,`jsonArgs`)&&(r.jsonArgs=e.jsonArgs),e.specialArgs&&e.specialArgs.length){r.specialArgs=R(e.specialArgs.length);for(let i=0;i<e.specialArgs.length;++i)r.specialArgs[i]=V.SpecialArg.toObject(e.specialArgs[i],t,n+1)}return e.componentName!=null&&k.hasOwnProperty.call(e,`componentName`)&&(r.componentName=e.componentName),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.tabIndex!=null&&k.hasOwnProperty.call(e,`tabIndex`)&&(r.tabIndex=e.tabIndex),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ComponentInstance`},e})(),V.SpecialArg=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`value`,{get:O.oneOfGetter(t=[`arrowDataframe`,`bytes`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.key!=null&&k.hasOwnProperty.call(e,`key`)&&e.key!==``&&t.uint32(10).string(e.key),e.arrowDataframe!=null&&k.hasOwnProperty.call(e,`arrowDataframe`)&&V.ArrowDataframe.encode(e.arrowDataframe,t.uint32(18).fork(),n+1).ldelim(),e.bytes!=null&&k.hasOwnProperty.call(e,`bytes`)&&t.uint32(26).bytes(e.bytes),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.SpecialArg;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ArrowDataframe.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.SpecialArg)return e;if(!O.isObject(e))throw N(`.SpecialArg: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.SpecialArg;if(e.key!=null&&(typeof e.key!=`string`||e.key.length)&&(n.key=P(e.key)),e.arrowDataframe!=null){if(!O.isObject(e.arrowDataframe))throw N(`.SpecialArg.arrowDataframe: object expected`);n.arrowDataframe=V.ArrowDataframe.fromObject(e.arrowDataframe,t+1)}return e.bytes!=null&&(typeof e.bytes==`string`?O.base64.decode(e.bytes,n.bytes=O.newBuffer(O.base64.length(e.bytes)),0):e.bytes.length>=0&&(n.bytes=e.bytes)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.key=``),e.key!=null&&k.hasOwnProperty.call(e,`key`)&&(r.key=e.key),e.arrowDataframe!=null&&k.hasOwnProperty.call(e,`arrowDataframe`)&&(r.arrowDataframe=V.ArrowDataframe.toObject(e.arrowDataframe,t,n+1),t.oneofs&&(r.value=`arrowDataframe`)),e.bytes!=null&&k.hasOwnProperty.call(e,`bytes`)&&(r.bytes=t.bytes===P?O.base64.encode(e.bytes,0,e.bytes.length):t.bytes===R?R.prototype.slice.call(e.bytes):e.bytes,t.oneofs&&(r.value=`bytes`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/SpecialArg`},e})();var re=V.ArrowDataframe=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&k.hasOwnProperty.call(e,`data`)&&V.ArrowTable.encode(e.data,t.uint32(10).fork(),n+1).ldelim(),e.height!=null&&k.hasOwnProperty.call(e,`height`)&&e.height!==0&&t.uint32(16).uint32(e.height),e.width!=null&&k.hasOwnProperty.call(e,`width`)&&e.width!==0&&t.uint32(24).uint32(e.width),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ArrowDataframe;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.data=V.ArrowTable.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ArrowDataframe)return e;if(!O.isObject(e))throw N(`.ArrowDataframe: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ArrowDataframe;if(e.data!=null){if(!O.isObject(e.data))throw N(`.ArrowDataframe.data: object expected`);n.data=V.ArrowTable.fromObject(e.data,t+1)}return e.height!=null&&I(e.height)!==0&&(n.height=e.height>>>0),e.width!=null&&I(e.width)!==0&&(n.width=e.width>>>0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.data=null,r.height=0,r.width=0),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=V.ArrowTable.toObject(e.data,t,n+1)),e.height!=null&&k.hasOwnProperty.call(e,`height`)&&(r.height=e.height),e.width!=null&&k.hasOwnProperty.call(e,`width`)&&(r.width=e.width),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ArrowDataframe`},e})();V.ArrowTable=(()=>{let e=function(e){if(e)for(let t=k.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=O.newBuffer([]),e.prototype.index=O.newBuffer([]),e.prototype.columns=O.newBuffer([]),e.prototype.styler=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.data!=null&&k.hasOwnProperty.call(e,`data`)&&e.data.length&&t.uint32(10).bytes(e.data),e.index!=null&&k.hasOwnProperty.call(e,`index`)&&e.index.length&&t.uint32(18).bytes(e.index),e.columns!=null&&k.hasOwnProperty.call(e,`columns`)&&e.columns.length&&t.uint32(26).bytes(e.columns),e.styler!=null&&k.hasOwnProperty.call(e,`styler`)&&V.ArrowTableStyler.encode(e.styler,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ArrowTable;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ArrowTableStyler.decode(e,e.uint32(),A,r+1,o.styler);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ArrowTable)return e;if(!O.isObject(e))throw N(`.ArrowTable: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ArrowTable;if(e.data!=null&&e.data.length&&(typeof e.data==`string`?O.base64.decode(e.data,n.data=O.newBuffer(O.base64.length(e.data)),0):e.data.length>=0&&(n.data=e.data)),e.index!=null&&e.index.length&&(typeof e.index==`string`?O.base64.decode(e.index,n.index=O.newBuffer(O.base64.length(e.index)),0):e.index.length>=0&&(n.index=e.index)),e.columns!=null&&e.columns.length&&(typeof e.columns==`string`?O.base64.decode(e.columns,n.columns=O.newBuffer(O.base64.length(e.columns)),0):e.columns.length>=0&&(n.columns=e.columns)),e.styler!=null){if(!O.isObject(e.styler))throw N(`.ArrowTable.styler: object expected`);n.styler=V.ArrowTableStyler.fromObject(e.styler,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(t.bytes===P?r.data=``:(r.data=[],t.bytes!==R&&(r.data=O.newBuffer(r.data))),t.bytes===P?r.index=``:(r.index=[],t.bytes!==R&&(r.index=O.newBuffer(r.index))),t.bytes===P?r.columns=``:(r.columns=[],t.bytes!==R&&(r.columns=O.newBuffer(r.columns))),r.styler=null),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=t.bytes===P?O.base64.encode(e.data,0,e.data.length):t.bytes===R?R.prototype.slice.call(e.data):e.data),e.index!=null&&k.hasOwnProperty.call(e,`index`)&&(r.index=t.bytes===P?O.base64.encode(e.index,0,e.index.length):t.bytes===R?R.prototype.slice.call(e.index):e.index),e.columns!=null&&k.hasOwnProperty.call(e,`columns`)&&(r.columns=t.bytes===P?O.base64.encode(e.columns,0,e.columns.length):t.bytes===R?R.prototype.slice.call(e.columns):e.columns),e.styler!=null&&k.hasOwnProperty.call(e,`styler`)&&(r.styler=V.ArrowTableStyler.toObject(e.styler,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ArrowTable`},e})(),V.ArrowTableStyler=(()=>{let e=function(e){if(e)for(let t=k.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=O.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.uuid!=null&&k.hasOwnProperty.call(e,`uuid`)&&e.uuid!==``&&t.uint32(10).string(e.uuid),e.caption!=null&&k.hasOwnProperty.call(e,`caption`)&&e.caption!==``&&t.uint32(18).string(e.caption),e.styles!=null&&k.hasOwnProperty.call(e,`styles`)&&e.styles!==``&&t.uint32(26).string(e.styles),e.displayValues!=null&&k.hasOwnProperty.call(e,`displayValues`)&&e.displayValues.length&&t.uint32(34).bytes(e.displayValues),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ArrowTableStyler;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ArrowTableStyler)return e;if(!O.isObject(e))throw N(`.ArrowTableStyler: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ArrowTableStyler;return e.uuid!=null&&(typeof e.uuid!=`string`||e.uuid.length)&&(n.uuid=P(e.uuid)),e.caption!=null&&(typeof e.caption!=`
1string`||e.caption.length)&&(n.caption=P(e.caption)),e.styles!=null&&(typeof e.styles!=`string`||e.styles.length)&&(n.styles=P(e.styles)),e.displayValues!=null&&e.displayValues.length&&(typeof e.displayValues==`string`?O.base64.decode(e.displayValues,n.displayValues=O.newBuffer(O.base64.length(e.displayValues)),0):e.displayValues.length>=0&&(n.displayValues=e.displayValues)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.uuid=``,r.caption=``,r.styles=``,t.bytes===P?r.displayValues=``:(r.displayValues=[],t.bytes!==R&&(r.displayValues=O.newBuffer(r.displayValues)))),e.uuid!=null&&k.hasOwnProperty.call(e,`uuid`)&&(r.uuid=e.uuid),e.caption!=null&&k.hasOwnProperty.call(e,`caption`)&&(r.caption=e.caption),e.styles!=null&&k.hasOwnProperty.call(e,`styles`)&&(r.styles=e.styles),e.displayValues!=null&&k.hasOwnProperty.call(e,`displayValues`)&&(r.displayValues=t.bytes===P?O.base64.encode(e.displayValues,0,e.displayValues.length):t.bytes===R?R.prototype.slice.call(e.displayValues):e.displayValues),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ArrowTableStyler`},e})();var ie=V.Dataframe=(()=>{let e=function(e){if(this.columnOrder=[],this.selectionMode=[],this.buttonClickWidgets={},e)for(let t=k.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=O.emptyArray,e.prototype.selectionMode=O.emptyArray,e.prototype.rowHeight=null,e.prototype.placeholder=null,e.prototype.selectionState=null,e.prototype.selectionDefault=null,e.prototype.buttonClickWidgets=O.emptyObject,e.prototype.lazyData=null;let t;return k.defineProperty(e.prototype,`_rowHeight`,{get:O.oneOfGetter(t=[`rowHeight`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_placeholder`,{get:O.oneOfGetter(t=[`placeholder`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_selectionState`,{get:O.oneOfGetter(t=[`selectionState`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_selectionDefault`,{get:O.oneOfGetter(t=[`selectionDefault`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_lazyData`,{get:O.oneOfGetter(t=[`lazyData`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&V.ArrowData.encode(e.arrowData,t.uint32(10).fork(),n+1).ldelim(),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(18).string(e.id),e.columns!=null&&k.hasOwnProperty.call(e,`columns`)&&e.columns!==``&&t.uint32(26).string(e.columns),e.editingMode!=null&&k.hasOwnProperty.call(e,`editingMode`)&&e.editingMode!==0&&t.uint32(32).int32(e.editingMode),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.formId!=null&&k.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&&k.hasOwnProperty.call(e,`rowHeight`)&&t.uint32(72).uint32(e.rowHeight),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&t.uint32(82).string(e.placeholder),e.selectionState!=null&&k.hasOwnProperty.call(e,`selectionState`)&&t.uint32(90).string(e.selectionState),e.selectionDefault!=null&&k.hasOwnProperty.call(e,`selectionDefault`)&&t.uint32(98).string(e.selectionDefault),e.buttonClickWidgets!=null&&k.hasOwnProperty.call(e,`buttonClickWidgets`))for(let n=k.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.lazyData!=null&&k.hasOwnProperty.call(e,`lazyData`)&&V.LazyDataframe.encode(e.lazyData,t.uint32(114).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s,c;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Dataframe;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let l=i&7;switch(i>>>=3){case 1:if(l!==2)break;o.arrowData=V.ArrowData.decode(e,e.uint32(),A,r+1,o.arrowData);continue;case 2:if(l!==2)break;(c=e.stringVerify()).length?o.id=c:delete o.id;continue;case 3:if(l!==2)break;(c=e.stringVerify()).length?o.columns=c:delete o.columns;continue;case 4:if(l!==0)break;(c=e.int32())?o.editingMode=c:delete o.editingMode;continue;case 5:if(l!==0)break;(c=e.bool())?o.disabled=c:delete o.disabled;continue;case 6:if(l!==2)break;(c=e.stringVerify()).length?o.formId=c:delete o.formId;continue;case 7:if(l!==2)break;o.columnOrder&&o.columnOrder.length||(o.columnOrder=[]),o.columnOrder.push(e.stringVerify());continue;case 8:if(l===2){o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),e.int32s(o.selectionMode);continue}if(l!==0)break;o.selectionMode&&o.selectionMode.length||(o.selectionMode=[]),o.selectionMode.push(e.int32());continue;case 9:if(l!==0)break;o.rowHeight=e.uint32(),o._rowHeight=`rowHeight`;continue;case 10:if(l!==2)break;o.placeholder=e.stringVerify(),o._placeholder=`placeholder`;continue;case 11:if(l!==2)break;o.selectionState=e.stringVerify(),o._selectionState=`selectionState`;continue;case 12:if(l!==2)break;o.selectionDefault=e.stringVerify(),o._selectionDefault=`selectionDefault`;continue;case 13:{if(l!==2)break;o.buttonClickWidgets===O.emptyObject&&(o.buttonClickWidgets={});let t=e.uint32()+e.pos;if(t>e.len)throw M(`index out of range`);for(e.len=t,s=``,c=``;e.pos<t;){let t=e.tag();switch(l=t&7,t>>>=3){case 1:if(l!==2)break;s=e.stringVerify();continue;case 2:if(l!==2)break;c=e.stringVerify();continue}e.skipType(l,r,t)}if(e.pos!==t)throw M(`index out of range`);e.len=a,s===`__proto__`&&O.makeProp(o.buttonClickWidgets,s),o.buttonClickWidgets[s]=c;continue}case 14:if(l!==2)break;o.lazyData=V.LazyDataframe.decode(e,e.uint32(),A,r+1,o.lazyData),o._lazyData=`lazyData`;continue}e.skipType(l,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Dataframe)return e;if(!O.isObject(e))throw N(`.Dataframe: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Dataframe;if(e.arrowData!=null){if(!O.isObject(e.arrowData))throw N(`.Dataframe.arrowData: object expected`);n.arrowData=V.ArrowData.fromObject(e.arrowData,t+1)}if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.columns!=null&&(typeof e.columns!=`string`||e.columns.length)&&(n.columns=P(e.columns)),e.editingMode!==0&&(typeof e.editingMode!=`string`||V.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=F(e.disabled)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.columnOrder){if(!R.isArray(e.columnOrder))throw N(`.Dataframe.columnOrder: array expected`);n.columnOrder=R(e.columnOrder.length);for(let t=0;t<e.columnOrder.length;++t)n.columnOrder[t]=P(e.columnOrder[t])}if(e.selectionMode){if(!R.isArray(e.selectionMode))throw N(`.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=P(e.placeholder)),e.selectionState!=null&&(n.selectionState=P(e.selectionState)),e.selectionDefault!=null&&(n.selectionDefault=P(e.selectionDefault)),e.buttonClickWidgets){if(!O.isObject(e.buttonClickWidgets))throw N(`.Dataframe.buttonClickWidgets: object expected`);n.buttonClickWidgets={};for(let t=k.keys(e.buttonClickWidgets),r=0;r<t.length;++r)t[r]===`__proto__`&&O.makeProp(n.buttonClickWidgets,t[r]),n.buttonClickWidgets[t[r]]=P(e.buttonClickWidgets[t[r]])}if(e.lazyData!=null){if(!O.isObject(e.lazyData))throw N(`.Dataframe.lazyData: object expected`);n.lazyData=V.LazyDataframe.fromObject(e.lazyData,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`READ_ONLY`:0,r.disabled=!1,r.formId=``),e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=V.ArrowData.toObject(e.arrowData,t,n+1)),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.columns!=null&&k.hasOwnProperty.call(e,`columns`)&&(r.columns=e.columns),e.editingMode!=null&&k.hasOwnProperty.call(e,`editingMode`)&&(r.editingMode=t.enums===P?V.Dataframe.EditingMode[e.editingMode]===A?e.editingMode:V.Dataframe.EditingMode[e.editingMode]:e.editingMode),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.columnOrder&&e.columnOrder.length){r.columnOrder=R(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=R(e.selectionMode.length);for(let n=0;n<e.selectionMode.length;++n)r.selectionMode[n]=t.enums===P?V.Dataframe.SelectionMode[e.selectionMode[n]]===A?e.selectionMode[n]:V.Dataframe.SelectionMode[e.selectionMode[n]]:e.selectionMode[n]}e.rowHeight!=null&&k.hasOwnProperty.call(e,`rowHeight`)&&(r.rowHeight=e.rowHeight),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.selectionState!=null&&k.hasOwnProperty.call(e,`selectionState`)&&(r.selectionState=e.selectionState),e.selectionDefault!=null&&k.hasOwnProperty.call(e,`selectionDefault`)&&(r.selectionDefault=e.selectionDefault);let i;if(e.buttonClickWidgets&&(i=k.keys(e.buttonClickWidgets)).length){r.buttonClickWidgets={};for(let t=0;t<i.length;++t)i[t]===`__proto__`&&O.makeProp(r.buttonClickWidgets,i[t]),r.buttonClickWidgets[i[t]]=e.buttonClickWidgets[i[t]]}return e.lazyData!=null&&k.hasOwnProperty.call(e,`lazyData`)&&(r.lazyData=V.LazyDataframe.toObject(e.lazyData,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Dataframe`},e.EditingMode=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.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})();V.LazyDataframe=(()=>{let e=function(e){if(e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.sourceId=``,e.prototype.rowCount=null,e.prototype.pageSize=0,e.prototype.accessMode=0,e.prototype.initialChunk=null,e.prototype.sortable=!1;let t;return k.defineProperty(e.prototype,`_rowCount`,{get:O.oneOfGetter(t=[`rowCount`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.sourceId!=null&&k.hasOwnProperty.call(e,`sourceId`)&&e.sourceId!==``&&t.uint32(10).string(e.sourceId),e.rowCount!=null&&k.hasOwnProperty.call(e,`rowCount`)&&t.uint32(16).uint64(e.rowCount),e.pageSize!=null&&k.hasOwnProperty.call(e,`pageSize`)&&e.pageSize!==0&&t.uint32(24).uint32(e.pageSize),e.accessMode!=null&&k.hasOwnProperty.call(e,`accessMode`)&&e.accessMode!==0&&t.uint32(32).int32(e.accessMode),e.initialChunk!=null&&k.hasOwnProperty.call(e,`initialChunk`)&&V.ArrowData.encode(e.initialChunk,t.uint32(42).fork(),n+1).ldelim(),e.sortable!=null&&k.hasOwnProperty.call(e,`sortable`)&&e.sortable!==!1&&t.uint32(48).bool(e.sortable),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.LazyDataframe;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.sourceId=s:delete o.sourceId;continue;case 2:if(a!==0)break;o.rowCount=e.uint64(),o._rowCount=`rowCount`;continue;case 3:if(a!==0)break;(s=e.uint32())?o.pageSize=s:delete o.pageSize;continue;case 4:if(a!==0)break;(s=e.int32())?o.accessMode=s:delete o.accessMode;continue;case 5:if(a!==2)break;o.initialChunk=V.ArrowData.decode(e,e.uint32(),A,r+1,o.initialChunk);continue;case 6:if(a!==0)break;(s=e.bool())?o.sortable=s:delete o.sortable;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.LazyDataframe)return e;if(!O.isObject(e))throw N(`.LazyDataframe: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.LazyDataframe;if(e.sourceId!=null&&(typeof e.sourceId!=`string`||e.sourceId.length)&&(n.sourceId=P(e.sourceId)),e.rowCount!=null&&(O.Long?n.rowCount=O.Long.fromValue(e.rowCount,!0):typeof e.rowCount==`string`?n.rowCount=z(e.rowCount,10):typeof e.rowCount==`number`?n.rowCount=e.rowCount:typeof e.rowCount==`object`&&(n.rowCount=new O.LongBits(e.rowCount.low>>>0,e.rowCount.high>>>0).toNumber(!0))),e.pageSize!=null&&I(e.pageSize)!==0&&(n.pageSize=e.pageSize>>>0),e.accessMode!==0&&(typeof e.accessMode!=`string`||V.LazyDataframe.AccessMode[e.accessMode]!==0))switch(e.accessMode){case`ACCESS_MODE_UNSPECIFIED`:case 0:n.accessMode=0;break;case`RANDOM_ACCESS`:case 1:n.accessMode=1;break;case`SEQUENTIAL`:case 2:n.accessMode=2;break;default:typeof e.accessMode==`number`&&(e.accessMode|0)===e.accessMode&&(n.accessMode=e.accessMode)}if(e.initialChunk!=null){if(!O.isObject(e.initialChunk))throw N(`.LazyDataframe.initialChunk: object expected`);n.initialChunk=V.ArrowData.fromObject(e.initialChunk,t+1)}return e.sortable!=null&&e.sortable&&(n.sortable=F(e.sortable)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.sourceId=``,r.pageSize=0,r.accessMode=t.enums===P?`ACCESS_MODE_UNSPECIFIED`:0,r.initialChunk=null,r.sortable=!1),e.sourceId!=null&&k.hasOwnProperty.call(e,`sourceId`)&&(r.sourceId=e.sourceId),e.rowCount!=null&&k.hasOwnProperty.call(e,`rowCount`)&&(r.rowCount=B!==void 0&&t.longs===B?typeof e.rowCount==`number`?B(e.rowCount):O.Long.fromBits(e.rowCount.low>>>0,e.rowCount.high>>>0,!0).toBigInt():typeof e.rowCount==`number`?t.longs===P?P(e.rowCount):e.rowCount:t.longs===P?O.Long.prototype.toString.call(e.rowCount):t.longs===I?new O.LongBits(e.rowCount.low>>>0,e.rowCount.high>>>0).toNumber(!0):e.rowCount),e.pageSize!=null&&k.hasOwnProperty.call(e,`pageSize`)&&(r.pageSize=e.pageSize),e.accessMode!=null&&k.hasOwnProperty.call(e,`accessMode`)&&(r.accessMode=t.enums===P?V.LazyDataframe.AccessMode[e.accessMode]===A?e.accessMode:V.LazyDataframe.AccessMode[e.accessMode]:e.accessMode),e.initialChunk!=null&&k.hasOwnProperty.call(e,`initialChunk`)&&(r.initialChunk=V.ArrowData.toObject(e.initialChunk,t,n+1)),e.sortable!=null&&k.hasOwnProperty.call(e,`sortable`)&&(r.sortable=e.sortable),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/LazyDataframe`},e.AccessMode=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`ACCESS_MODE_UNSPECIFIED`]=0,t[e[1]=`RANDOM_ACCESS`]=1,t[e[2]=`SEQUENTIAL`]=2,t})(),e})();var ae=V.SortState=(()=>{let e=function(e){if(e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.column=``,e.prototype.direction=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.column!=null&&k.hasOwnProperty.call(e,`column`)&&e.column!==``&&t.uint32(10).string(e.column),e.direction!=null&&k.hasOwnProperty.call(e,`direction`)&&e.direction!==0&&t.uint32(16).int32(e.direction),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.SortState;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.column=s:delete o.column;continue;case 2:if(a!==0)break;(s=e.int32())?o.direction=s:delete o.direction;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.SortState)return e;if(!O.isObject(e))throw N(`.SortState: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.SortState;if(e.column!=null&&(typeof e.column!=`string`||e.column.length)&&(n.column=P(e.column)),e.direction!==0&&(typeof e.direction!=`string`||V.SortState.SortDirection[e.direction]!==0))switch(e.direction){case`SORT_DIRECTION_UNSPECIFIED`:case 0:n.direction=0;break;case`ASCENDING`:case 1:n.direction=1;break;case`DESCENDING`:case 2:n.direction=2;break;default:typeof e.direction==`number`&&(e.direction|0)===e.direction&&(n.direction=e.direction)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.column=``,r.direction=t.enums===P?`SORT_DIRECTION_UNSPECIFIED`:0),e.column!=null&&k.hasOwnProperty.call(e,`column`)&&(r.column=e.column),e.direction!=null&&k.hasOwnProperty.call(e,`direction`)&&(r.direction=t.enums===P?V.SortState.SortDirection[e.direction]===A?e.direction:V.SortState.SortDirection[e.direction]:e.direction),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/SortState`},e.SortDirection=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`SORT_DIRECTION_UNSPECIFIED`]=0,t[e[1]=`ASCENDING`]=1,t[e[2]=`DESCENDING`]=2,t})(),e})();V.Balloons=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.show!=null&&k.hasOwnProperty.call(e,`show`)&&e.show!==!1&&t.uint32(24).bool(e.show),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Balloons;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Balloons)return e;if(!O.isObject(e))throw N(`.Balloons: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Balloons;return e.show!=null&&e.show&&(n.show=F(e.show)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.show=!1),e.show!=null&&k.hasOwnProperty.call(e,`show`)&&(r.show=e.show),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Balloons`},e})(),V.MixedData=(()=>{let e=function(e){if(this.arrowBlobs={},e)for(let t=k.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=O.emptyObject,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.json!=null&&k.hasOwnProperty.call(e,`json`)&&e.json!==``&&t.uint32(10).string(e.json),e.arrowBlobs!=null&&k.hasOwnProperty.call(e,`arrowBlobs`))for(let r=k.keys(e.arrowBlobs),i=0;i<r.length;++i)t.uint32(18).fork().uint32(10).string(r[i]),V.ArrowData.encode(e.arrowBlobs[r[i]],t.uint32(18).fork(),n+1).ldelim().ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s,c;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.MixedData;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let l=i&7;switch(i>>>=3){case 1:if(l!==2)break;(c=e.stringVerify()).length?o.json=c:delete o.json;continue;case 2:{if(l!==2)break;o.arrowBlobs===O.emptyObject&&(o.arrowBlobs={});let t=e.uint32()+e.pos;if(t>e.len)throw M(`index out of range`);for(e.len=t,s=``,c=null;e.pos<t;){let t=e.tag();switch(l=t&7,t>>>=3){case 1:if(l!==2)break;s=e.stringVerify();continue;case 2:if(l!==2)break;c=V.ArrowData.decode(e,e.uint32(),A,r+1,c);continue}e.skipType(l,r,t)}if(e.pos!==t)throw M(`index out of range`);e.len=a,s===`__proto__`&&O.makeProp(o.arrowBlobs,s),o.arrowBlobs[s]=c||new V.ArrowData;continue}}e.skipType(l,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.MixedData)return e;if(!O.isObject(e))throw N(`.MixedData: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.MixedData;if(e.json!=null&&(typeof e.json!=`string`||e.json.length)&&(n.json=P(e.json)),e.arrowBlobs){if(!O.isObject(e.arrowBlobs))throw N(`.MixedData.arrowBlobs: object expected`);n.arrowBlobs={};for(let r=k.keys(e.arrowBlobs),i=0;i<r.length;++i){if(r[i]===`__proto__`&&O.makeProp(n.arrowBlobs,r[i]),!O.isObject(e.arrowBlobs[r[i]]))throw N(`.MixedData.arrowBlobs: object expected`);n.arrowBlobs[r[i]]=V.ArrowData.fromObject(e.arrowBlobs[r[i]],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};(t.objects||t.defaults)&&(r.arrowBlobs={}),t.defaults&&(r.json=``),e.json!=null&&k.hasOwnProperty.call(e,`json`)&&(r.json=e.json);let i;if(e.arrowBlobs&&(i=k.keys(e.arrowBlobs)).length){r.arrowBlobs={};for(let a=0;a<i.length;++a)i[a]===`__proto__`&&O.makeProp(r.arrowBlobs,i[a]),r.arrowBlobs[i[a]]=V.ArrowData.toObject(e.arrowBlobs[i[a]],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/MixedData`},e})(),V.BidiComponent=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_jsContent`,{get:O.oneOfGetter(t=[`jsContent`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_jsSourcePath`,{get:O.oneOfGetter(t=[`jsSourcePath`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_htmlContent`,{get:O.oneOfGetter(t=[`htmlContent`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_cssContent`,{get:O.oneOfGetter(t=[`cssContent`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_cssSourcePath`,{get:O.oneOfGetter(t=[`cssSourcePath`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`data`,{get:O.oneOfGetter(t=[`json`,`arrowData`,`bytes`,`mixed`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.componentName!=null&&k.hasOwnProperty.call(e,`componentName`)&&e.componentName!==``&&t.uint32(18).string(e.componentName),e.jsContent!=null&&k.hasOwnProperty.call(e,`jsContent`)&&t.uint32(26).string(e.jsContent),e.jsSourcePath!=null&&k.hasOwnProperty.call(e,`jsSourcePath`)&&t.uint32(34).string(e.jsSourcePath),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.htmlContent!=null&&k.hasOwnProperty.call(e,`htmlContent`)&&t.uint32(50).string(e.htmlContent),e.cssContent!=null&&k.hasOwnProperty.call(e,`cssContent`)&&t.uint32(58).string(e.cssContent),e.cssSourcePath!=null&&k.hasOwnProperty.call(e,`cssSourcePath`)&&t.uint32(66).string(e.cssSourcePath),e.isolateStyles!=null&&k.hasOwnProperty.call(e,`isolateStyles`)&&e.isolateStyles!==!1&&t.uint32(72).bool(e.isolateStyles),e.json!=null&&k.hasOwnProperty.call(e,`json`)&&t.uint32(82).string(e.json),e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&V.ArrowData.encode(e.arrowData,t.uint32(90).fork(),n+1).ldelim(),e.bytes!=null&&k.hasOwnProperty.call(e,`bytes`)&&t.uint32(98).bytes(e.bytes),e.mixed!=null&&k.hasOwnProperty.call(e,`mixed`)&&V.MixedData.encode(e.mixed,t.uint32(106).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.BidiComponent;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ArrowData.decode(e,e.uint32(),A,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=V.MixedData.decode(e,e.uint32(),A,r+1,o.mixed),o.data=`mixed`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.BidiComponent)return e;if(!O.isObject(e))throw N(`.BidiComponent: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.BidiComponent;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.componentName!=null&&(typeof e.componentName!=`string`||e.componentName.length)&&(n.componentName=P(e.componentName)),e.jsContent!=null&&(n.jsContent=P(e.jsContent)),e.jsSourcePath!=null&&(n.jsSourcePath=P(e.jsSourcePath)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.htmlContent!=null&&(n.htmlContent=P(e.htmlContent)),e.cssContent!=null&&(n.cssContent=P(e.cssContent)),e.cssSourcePath!=null&&(n.cssSourcePath=P(e.cssSourcePath)),e.isolateStyles!=null&&e.isolateStyles&&(n.isolateStyles=F(e.isolateStyles)),e.json!=null&&(n.json=P(e.json)),e.arrowData!=null){if(!O.isObject(e.arrowData))throw N(`.BidiComponent.arrowData: object expected`);n.arrowData=V.ArrowData.fromObject(e.arrowData,t+1)}if(e.bytes!=null&&(typeof e.bytes==`string`?O.base64.decode(e.bytes,n.bytes=O.newBuffer(O.base64.length(e.bytes)),0):e.bytes.length>=0&&(n.bytes=e.bytes)),e.mixed!=null){if(!O.isObject(e.mixed))throw N(`.BidiComponent.mixed: object expected`);n.mixed=V.MixedData.fromObject(e.mixed,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.componentName=``,r.formId=``,r.isolateStyles=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.componentName!=null&&k.hasOwnProperty.call(e,`componentName`)&&(r.componentName=e.componentName),e.jsContent!=null&&k.hasOwnProperty.call(e,`jsContent`)&&(r.jsContent=e.jsContent),e.jsSourcePath!=null&&k.hasOwnProperty.call(e,`jsSourcePath`)&&(r.jsSourcePath=e.jsSourcePath),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.htmlContent!=null&&k.hasOwnProperty.call(e,`htmlContent`)&&(r.htmlContent=e.htmlContent),e.cssContent!=null&&k.hasOwnProperty.call(e,`cssContent`)&&(r.cssContent=e.cssContent),e.cssSourcePath!=null&&k.hasOwnProperty.call(e,`cssSourcePath`)&&(r.cssSourcePath=e.cssSourcePath),e.isolateStyles!=null&&k.hasOwnProperty.call(e,`isolateStyles`)&&(r.isolateStyles=e.isolateStyles),e.json!=null&&k.hasOwnProperty.call(e,`json`)&&(r.json=e.json,t.oneofs&&(r.data=`json`)),e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=V.ArrowData.toObject(e.arrowData,t,n+1),t.oneofs&&(r.data=`arrowData`)),e.bytes!=null&&k.hasOwnProperty.call(e,`bytes`)&&(r.bytes=t.bytes===P?O.base64.encode(e.bytes,0,e.bytes.length):t.bytes===R?R.prototype.slice.call(e.bytes):e.bytes,t.oneofs&&(r.data=`bytes`)),e.mixed!=null&&k.hasOwnProperty.call(e,`mixed`)&&(r.mixed=V.MixedData.toObject(e.mixed,t,n+1),t.oneofs&&(r.data=`mixed`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/BidiComponent`},e})();var oe=V.Block=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`type`,{get:O.oneOfGetter(t=[`vertical`,`horizontal`,`column`,`expandable`,`form`,`tabContainer`,`tab`,`chatMessage`,`popover`,`dialog`,`flexContainer`,`transparent`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_id`,{get:O.oneOfGetter(t=[`id`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_heightConfig`,{get:O.oneOfGetter(t=[`heightConfig`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_widthConfig`,{get:O.oneOfGetter(t=[`widthConfig`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_autoscroll`,{get:O.oneOfGetter(t=[`autoscroll`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.vertical!=null&&k.hasOwnProperty.call(e,`vertical`)&&V.Block.Vertical.encode(e.vertical,t.uint32(10).fork(),n+1).ldelim(),e.horizontal!=null&&k.hasOwnProperty.call(e,`horizontal`)&&V.Block.Horizontal.encode(e.horizontal,t.uint32(18).fork(),n+1).ldelim(),e.column!=null&&k.hasOwnProperty.call(e,`column`)&&V.Block.Column.encode(e.column,t.uint32(26).fork(),n+1).ldelim(),e.expandable!=null&&k.hasOwnProperty.call(e,`expandable`)&&V.Block.Expandable.encode(e.expandable,t.uint32(34).fork(),n+1).ldelim(),e.form!=null&&k.hasOwnProperty.call(e,`form`)&&V.Block.Form.encode(e.form,t.uint32(42).fork(),n+1).ldelim(),e.tabContainer!=null&&k.hasOwnProperty.call(e,`tabContainer`)&&V.Block.TabContainer.encode(e.tabContainer,t.uint32(50).fork(),n+1).ldelim(),e.tab!=null&&k.hasOwnProperty.call(e,`tab`)&&V.Block.Tab.encode(e.tab,t.uint32(58).fork(),n+1).ldelim(),e.allowEmpty!=null&&k.hasOwnProperty.call(e,`allowEmpty`)&&e.allowEmpty!==!1&&t.uint32(64).bool(e.allowEmpty),e.chatMessage!=null&&k.hasOwnProperty.call(e,`chatMessage`)&&V.Block.ChatMessage.encode(e.chatMessage,t.uint32(74).fork(),n+1).ldelim(),e.popover!=null&&k.hasOwnProperty.call(e,`popover`)&&V.Block.Popover.encode(e.popover,t.uint32(82).fork(),n+1).ldelim(),e.dialog!=null&&k.hasOwnProperty.call(e,`dialog`)&&V.Block.Dialog.encode(e.dialog,t.uint32(90).fork(),n+1).ldelim(),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&t.uint32(98).string(e.id),e.flexContainer!=null&&k.hasOwnProperty.call(e,`flexContainer`)&&V.Block.FlexContainer.encode(e.flexContainer,t.uint32(106).fork(),n+1).ldelim(),e.heightConfig!=null&&k.hasOwnProperty.call(e,`heightConfig`)&&V.streamlit.HeightConfig.encode(e.heightConfig,t.uint32(114).fork(),n+1).ldelim(),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&V.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(122).fork(),n+1).ldelim(),e.autoscroll!=null&&k.hasOwnProperty.call(e,`autoscroll`)&&t.uint32(128).bool(e.autoscroll),e.transparent!=null&&k.hasOwnProperty.call(e,`transparent`)&&V.Block.Transparent.encode(e.transparent,t.uint32(138).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.vertical=V.Block.Vertical.decode(e,e.uint32(),A,r+1,o.vertical),o.type=`vertical`;continue;case 2:if(a!==2)break;o.horizontal=V.Block.Horizontal.decode(e,e.uint32(),A,r+1,o.horizontal),o.type=`horizontal`;continue;case 3:if(a!==2)break;o.column=V.Block.Column.decode(e,e.uint32(),A,r+1,o.column),o.type=`column`;continue;case 4:if(a!==2)break;o.expandable=V.Block.Expandable.decode(e,e.uint32(),A,r+1,o.expandable),o.type=`expandable`;continue;case 5:if(a!==2)break;o.form=V.Block.Form.decode(e,e.uint32(),A,r+1,o.form),o.type=`form`;continue;case 6:if(a!==2)break;o.tabContainer=V.Block.TabContainer.decode(e,e.uint32(),A,r+1,o.tabContainer),o.type=`tabContainer`;continue;case 7:if(a!==2)break;o.tab=V.Block.Tab.decode(e,e.uint32(),A,r+1,o.tab),o.type=`tab`;continue;
1case 9:if(a!==2)break;o.chatMessage=V.Block.ChatMessage.decode(e,e.uint32(),A,r+1,o.chatMessage),o.type=`chatMessage`;continue;case 10:if(a!==2)break;o.popover=V.Block.Popover.decode(e,e.uint32(),A,r+1,o.popover),o.type=`popover`;continue;case 11:if(a!==2)break;o.dialog=V.Block.Dialog.decode(e,e.uint32(),A,r+1,o.dialog),o.type=`dialog`;continue;case 13:if(a!==2)break;o.flexContainer=V.Block.FlexContainer.decode(e,e.uint32(),A,r+1,o.flexContainer),o.type=`flexContainer`;continue;case 17:if(a!==2)break;o.transparent=V.Block.Transparent.decode(e,e.uint32(),A,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=V.streamlit.HeightConfig.decode(e,e.uint32(),A,r+1,o.heightConfig),o._heightConfig=`heightConfig`;continue;case 15:if(a!==2)break;o.widthConfig=V.streamlit.WidthConfig.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block)return e;if(!O.isObject(e))throw N(`.Block: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block;if(e.vertical!=null){if(!O.isObject(e.vertical))throw N(`.Block.vertical: object expected`);n.vertical=V.Block.Vertical.fromObject(e.vertical,t+1)}if(e.horizontal!=null){if(!O.isObject(e.horizontal))throw N(`.Block.horizontal: object expected`);n.horizontal=V.Block.Horizontal.fromObject(e.horizontal,t+1)}if(e.column!=null){if(!O.isObject(e.column))throw N(`.Block.column: object expected`);n.column=V.Block.Column.fromObject(e.column,t+1)}if(e.expandable!=null){if(!O.isObject(e.expandable))throw N(`.Block.expandable: object expected`);n.expandable=V.Block.Expandable.fromObject(e.expandable,t+1)}if(e.form!=null){if(!O.isObject(e.form))throw N(`.Block.form: object expected`);n.form=V.Block.Form.fromObject(e.form,t+1)}if(e.tabContainer!=null){if(!O.isObject(e.tabContainer))throw N(`.Block.tabContainer: object expected`);n.tabContainer=V.Block.TabContainer.fromObject(e.tabContainer,t+1)}if(e.tab!=null){if(!O.isObject(e.tab))throw N(`.Block.tab: object expected`);n.tab=V.Block.Tab.fromObject(e.tab,t+1)}if(e.chatMessage!=null){if(!O.isObject(e.chatMessage))throw N(`.Block.chatMessage: object expected`);n.chatMessage=V.Block.ChatMessage.fromObject(e.chatMessage,t+1)}if(e.popover!=null){if(!O.isObject(e.popover))throw N(`.Block.popover: object expected`);n.popover=V.Block.Popover.fromObject(e.popover,t+1)}if(e.dialog!=null){if(!O.isObject(e.dialog))throw N(`.Block.dialog: object expected`);n.dialog=V.Block.Dialog.fromObject(e.dialog,t+1)}if(e.flexContainer!=null){if(!O.isObject(e.flexContainer))throw N(`.Block.flexContainer: object expected`);n.flexContainer=V.Block.FlexContainer.fromObject(e.flexContainer,t+1)}if(e.transparent!=null){if(!O.isObject(e.transparent))throw N(`.Block.transparent: object expected`);n.transparent=V.Block.Transparent.fromObject(e.transparent,t+1)}if(e.allowEmpty!=null&&e.allowEmpty&&(n.allowEmpty=F(e.allowEmpty)),e.id!=null&&(n.id=P(e.id)),e.heightConfig!=null){if(!O.isObject(e.heightConfig))throw N(`.Block.heightConfig: object expected`);n.heightConfig=V.streamlit.HeightConfig.fromObject(e.heightConfig,t+1)}if(e.widthConfig!=null){if(!O.isObject(e.widthConfig))throw N(`.Block.widthConfig: object expected`);n.widthConfig=V.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return e.autoscroll!=null&&(n.autoscroll=F(e.autoscroll)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.allowEmpty=!1),e.vertical!=null&&k.hasOwnProperty.call(e,`vertical`)&&(r.vertical=V.Block.Vertical.toObject(e.vertical,t,n+1),t.oneofs&&(r.type=`vertical`)),e.horizontal!=null&&k.hasOwnProperty.call(e,`horizontal`)&&(r.horizontal=V.Block.Horizontal.toObject(e.horizontal,t,n+1),t.oneofs&&(r.type=`horizontal`)),e.column!=null&&k.hasOwnProperty.call(e,`column`)&&(r.column=V.Block.Column.toObject(e.column,t,n+1),t.oneofs&&(r.type=`column`)),e.expandable!=null&&k.hasOwnProperty.call(e,`expandable`)&&(r.expandable=V.Block.Expandable.toObject(e.expandable,t,n+1),t.oneofs&&(r.type=`expandable`)),e.form!=null&&k.hasOwnProperty.call(e,`form`)&&(r.form=V.Block.Form.toObject(e.form,t,n+1),t.oneofs&&(r.type=`form`)),e.tabContainer!=null&&k.hasOwnProperty.call(e,`tabContainer`)&&(r.tabContainer=V.Block.TabContainer.toObject(e.tabContainer,t,n+1),t.oneofs&&(r.type=`tabContainer`)),e.tab!=null&&k.hasOwnProperty.call(e,`tab`)&&(r.tab=V.Block.Tab.toObject(e.tab,t,n+1),t.oneofs&&(r.type=`tab`)),e.allowEmpty!=null&&k.hasOwnProperty.call(e,`allowEmpty`)&&(r.allowEmpty=e.allowEmpty),e.chatMessage!=null&&k.hasOwnProperty.call(e,`chatMessage`)&&(r.chatMessage=V.Block.ChatMessage.toObject(e.chatMessage,t,n+1),t.oneofs&&(r.type=`chatMessage`)),e.popover!=null&&k.hasOwnProperty.call(e,`popover`)&&(r.popover=V.Block.Popover.toObject(e.popover,t,n+1),t.oneofs&&(r.type=`popover`)),e.dialog!=null&&k.hasOwnProperty.call(e,`dialog`)&&(r.dialog=V.Block.Dialog.toObject(e.dialog,t,n+1),t.oneofs&&(r.type=`dialog`)),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.flexContainer!=null&&k.hasOwnProperty.call(e,`flexContainer`)&&(r.flexContainer=V.Block.FlexContainer.toObject(e.flexContainer,t,n+1),t.oneofs&&(r.type=`flexContainer`)),e.heightConfig!=null&&k.hasOwnProperty.call(e,`heightConfig`)&&(r.heightConfig=V.streamlit.HeightConfig.toObject(e.height
1Config,t,n+1)),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=V.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.autoscroll!=null&&k.hasOwnProperty.call(e,`autoscroll`)&&(r.autoscroll=e.autoscroll),e.transparent!=null&&k.hasOwnProperty.call(e,`transparent`)&&(r.transparent=V.Block.Transparent.toObject(e.transparent,t,n+1),t.oneofs&&(r.type=`transparent`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block`},e.Vertical=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.border!=null&&k.hasOwnProperty.call(e,`border`)&&e.border!==!1&&t.uint32(8).bool(e.border),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Vertical;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Vertical)return e;if(!O.isObject(e))throw N(`.Block.Vertical: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Vertical;return e.border!=null&&e.border&&(n.border=F(e.border)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.border=!1),e.border!=null&&k.hasOwnProperty.call(e,`border`)&&(r.border=e.border),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Vertical`},e})(),e.Horizontal=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.gap!=null&&k.hasOwnProperty.call(e,`gap`)&&e.gap!==``&&t.uint32(10).string(e.gap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Horizontal;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Horizontal)return e;if(!O.isObject(e))throw N(`.Block.Horizontal: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Horizontal;return e.gap!=null&&(typeof e.gap!=`string`||e.gap.length)&&(n.gap=P(e.gap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.gap=``),e.gap!=null&&k.hasOwnProperty.call(e,`gap`)&&(r.gap=e.gap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Horizontal`},e})(),e.FlexContainer=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.border!=null&&k.hasOwnProperty.call(e,`border`)&&e.border!==!1&&t.uint32(8).bool(e.border),e.gapConfig!=null&&k.hasOwnProperty.call(e,`gapConfig`)&&V.streamlit.Ga
1pConfig.encode(e.gapConfig,t.uint32(18).fork(),n+1).ldelim(),e.scale!=null&&k.hasOwnProperty.call(e,`scale`)&&!k.is(e.scale,0)&&t.uint32(29).float(e.scale),e.direction!=null&&k.hasOwnProperty.call(e,`direction`)&&e.direction!==0&&t.uint32(32).int32(e.direction),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&e.wrap!==!1&&t.uint32(40).bool(e.wrap),e.justify!=null&&k.hasOwnProperty.call(e,`justify`)&&e.justify!==0&&t.uint32(56).int32(e.justify),e.align!=null&&k.hasOwnProperty.call(e,`align`)&&e.align!==0&&t.uint32(64).int32(e.align),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.FlexContainer;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.streamlit.GapConfig.decode(e,e.uint32(),A,r+1,o.gapConfig);continue;case 3:if(a!==5)break;k.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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.FlexContainer)return e;if(!O.isObject(e))throw N(`.Block.FlexContainer: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.FlexContainer;if(e.border!=null&&e.border&&(n.border=F(e.border)),e.gapConfig!=null){if(!O.isObject(e.gapConfig))throw N(`.Block.FlexContainer.gapConfig: object expected`);n.gapConfig=V.streamlit.GapConfig.fromObject(e.gapConfig,t+1)}if(e.scale!=null&&(k.is(I(e.scale),0)||(n.scale=I(e.scale))),e.direction!==0&&(typeof e.direction!=`string`||V.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=F(e.wrap)),e.justify!==0&&(typeof e.justify!=`string`||V.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`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.border=!1,r.gapConfig=null,r.scale=0,r.direction=t.enums===P?`DIRECTION_UNDEFINED`:0,r.wrap=!1,r.justify=t.enums===P?`JUSTIFY_UNDEFINED`:0,r.align=t.enums===P?`ALIGN_UNDEFINED`:0),e.border!=null&&k.hasOwnProperty.call(e,`border`)&&(r.border=e.border),e.gapConfig!=null&&k.hasOwnProperty.call(e,`gapConfig`)&&(r.gapConfig=V.streamlit.GapConfig.toObject(e.gapConfig,t,n+1)),e.scale!=null&&k.hasOwnProperty.call(e,`scale`)&&(r.scale=t.json&&!L(e.scale)?P(e.scale):e.scale),e.direction!=null&&k.hasOwnProperty.call(e,`direction`)&&(r.direction=t.enums===P?V.Block.FlexContainer.Direction[e.direction]===A?e.direction:V.Block.FlexContainer.Direction[e.direction]:e.direction),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),e.justify!=null&&k.hasOwnProperty.call(e,`justify`)&&(r.justify=t.enums===P?V.Block.FlexContainer.Justify[e.justify]===A?e.justify:V.Block.FlexContainer.Justify[e.justify]:e.justify),e.align!=null&&k.hasOwnProperty.call(e,`align`)&&(r.align=t.enums===P?V.Block.FlexContainer.Align[e.align]===A?e.align:V.Block.FlexContainer.Align[e.align]:e.align),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.FlexContainer`},e.Direction=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.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=k.create(null),t=k.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=k.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 k.defineProperty(e.prototype,`_gapConfig`,{get:O.oneOfGetter(t=[`gapConfig`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.weight!=null&&k.hasOwnProperty.call(e,`weight`)&&!k.is(e.weight,0)&&t.uint32(9).double(e.weight),e.verticalAlignment!=null&&k.hasOwnProperty.call(e,`verticalAlignment`)&&e.verticalAlignment!==0&&t.uint32(24).int32(e.verticalAlignment),e.showBorder!=null&&k.hasOwnProperty.call(e,`showBorder`)&&e.showBorder!==!1&&t.uint32(32).bool(e.showBorder),e.gapConfig!=null&&k.hasOwnProperty.call(e,`gapConfig`)&&V.streamlit.Ga
1pConfig.encode(e.gapConfig,t.uint32(42).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Column;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;k.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=V.streamlit.GapConfig.decode(e,e.uint32(),A,r+1,o.gapConfig),o._gapConfig=`gapConfig`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Column)return e;if(!O.isObject(e))throw N(`.Block.Column: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Column;if(e.weight!=null&&(k.is(I(e.weight),0)||(n.weight=I(e.weight))),e.verticalAlignment!==0&&(typeof e.verticalAlignment!=`string`||V.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=F(e.showBorder)),e.gapConfig!=null){if(!O.isObject(e.gapConfig))throw N(`.Block.Column.gapConfig: object expected`);n.gapConfig=V.streamlit.GapConfig.fromObject(e.gapConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.weight=0,r.verticalAlignment=t.enums===P?`TOP`:0,r.showBorder=!1),e.weight!=null&&k.hasOwnProperty.call(e,`weight`)&&(r.weight=t.json&&!L(e.weight)?P(e.weight):e.weight),e.verticalAlignment!=null&&k.hasOwnProperty.call(e,`verticalAlignment`)&&(r.verticalAlignment=t.enums===P?V.Block.Column.VerticalAlignment[e.verticalAlignment]===A?e.verticalAlignment:V.Block.Column.VerticalAlignment[e.verticalAlignment]:e.verticalAlignment),e.showBorder!=null&&k.hasOwnProperty.call(e,`showBorder`)&&(r.showBorder=e.showBorder),e.gapConfig!=null&&k.hasOwnProperty.call(e,`gapConfig`)&&(r.gapConfig=V.streamlit.GapConfig.toObject(e.gapConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Column`},e.VerticalAlignment=(function(){let e=k.create(null),t=k.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=k.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,e.prototype.state=0;let t;return k.defineProperty(e.prototype,`_expanded`,{get:O.oneOfGetter(t=[`expanded`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_id`,{get:O.oneOfGetter(t=[`id`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.expanded!=null&&k.hasOwnProperty.call(e,`expanded`)&&t.uint32(16).bool(e.expanded),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&t.uint32(34).string(e.id),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(40).int32(e.type),e.state!=null&&k.hasOwnProperty.call(e,`state`)&&e.state!==0&&t.uint32(48).int32(e.state),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Expandable;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 6:if(a!==0)break;(s=e.int32())?o.state=s:delete o.state;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Expandable)return e;if(!O.isObject(e))throw N(`.Block.Expandable: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Expandable;if(e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.expanded!=null&&(n.expanded=F(e.expanded)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.id!=null&&(n.id=P(e.id)),e.type!==0&&(typeof e.type!=`string`||V.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;case`STEP`:case 2:n.type=2;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}if(e.state!==0&&(typeof e.state!=`string`||V.Block.Expandable.State[e.state]!==0))switch(e.state){case`STATE_UNDEFINED`:case 0:n.state=0;break;case`RUNNING`:case 1:n.state=1;break;case`COMPLETE`:case 2:n.state=2;break;case`ERROR`:case 3:n.state=3;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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.label=``,r.icon=``,r.type=t.enums===P?`DEFAULT`:0,r.state=t.enums===P?`STATE_UNDEFINED`:0),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.expanded!=null&&k.hasOwnProperty.call(e,`expanded`)&&(r.expanded=e.expanded),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.Block.Expandable.Type[e.type]===A?e.type:V.Block.Expandable.Type[e.type]:e.type),e.state!=null&&k.hasOwnProperty.call(e,`state`)&&(r.state=t.enums===P?V.Block.Expandable.State[e.state]===A?e.state:V.Block.Expandable.State[e.state]:e.state),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Expandable`},e.Type=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`COMPACT`]=1,t[e[2]=`STEP`]=2,t})(),e.State=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`STATE_UNDEFINED`]=0,t[e[1]=`RUNNING`]=1,t[e[2]=`COMPLETE`]=2,t[e[3]=`ERROR`]=3,t})(),e})(),e.Dialog=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_isOpen`,{get:O.oneOfGetter(t=[`isOpen`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.title!=null&&k.hasOwnProperty.call(e,`title`)&&e.title!==``&&t.uint32(10).string(e.title),e.dismissible!=null&&k.hasOwnProperty.call(e,`dismissible`)&&e.dismissible!==!1&&t.uint32(16).bool(e.dismissible),e.width!=null&&k.hasOwnProperty.call(e,`width`)&&e.width!==0&&t.uint32(24).int32(e.width),e.isOpen!=null&&k.hasOwnProperty.call(e,`isOpen`)&&t.uint32(32).bool(e.isOpen),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(42).string(e.id),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(50).string(e.icon),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Dialog;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Dialog)return e;if(!O.isObject(e))throw N(`.Block.Dialog: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Dialog;if(e.title!=null&&(typeof e.title!=`string`||e.title.length)&&(n.title=P(e.title)),e.dismissible!=null&&e.dismissible&&(n.dismissible=F(e.dismissible)),e.width!==0&&(typeof e.width!=`string`||V.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=F(e.isOpen)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.title=``,r.dismissible=!1,r.width=t.enums===P?`SMALL`:0,r.id=``,r.icon=``),e.title!=null&&k.hasOwnProperty.call(e,`title`)&&(r.title=e.title),e.dismissible!=null&&k.hasOwnProperty.call(e,`dismissible`)&&(r.dismissible=e.dismissible),e.width!=null&&k.hasOwnProperty.call(e,`width`)&&(r.width=t.enums===P?V.Block.Dialog.DialogWidth[e.width]===A?e.width:V.Block.Dialog.DialogWidth[e.width]:e.width),e.isOpen!=null&&k.hasOwnProperty.call(e,`isOpen`)&&(r.isOpen=e.isOpen),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Dialog`},e.DialogWidth=(function(){let e=k.create(null),t=k.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=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(10).string(e.formId),e.clearOnSubmit!=null&&k.hasOwnProperty.call(e,`clearOnSubmit`)&&e.clearOnSubmit!==!1&&t.uint32(16).bool(e.clearOnSubmit),e.border!=null&&k.hasOwnProperty.call(e,`border`)&&e.border!==!1&&t.uint32(24).bool(e.border),e.enterToSubmit!=null&&k.hasOwnProperty.call(e,`enterToSubmit`)&&e.enterToSubmit!==!1&&t.uint32(32).bool(e.enterToSubmit),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Form;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;continue;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Form)return e;if(!O.isObject(e))throw N(`.Block.Form: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Form;return e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.clearOnSubmit!=null&&e.clearOnSubmit&&(n.clearOnSubmit=F(e.clearOnSubmit)),e.border!=null&&e.border&&(n.border=F(e.border)),e.enterToSubmit!=null&&e.enterToSubmit&&(n.enterToSubmit=F(e.enterToSubmit)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.formId=``,r.clearOnSubmit=!1,r.border=!1,r.enterToSubmit=!1),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.clearOnSubmit!=null&&k.hasOwnProperty.call(e,`clearOnSubmit`)&&(r.clearOnSubmit=e.clearOnSubmit),e.border!=null&&k.hasOwnProperty.call(e,`border`)&&(r.border=e.border),e.enterToSubmit!=null&&k.hasOwnProperty.call(e,`enterToSubmit`)&&(r.enterToSubmit=e.enterToSubmit),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Form`},e})(),e.TabContainer=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_id`,{get:O.oneOfGetter(t=[`id`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.defaultTabIndex!=null&&k.hasOwnProperty.call(e,`defaultTabIndex`)&&e.defaultTabIndex!==0&&t.uint32(8).int32(e.defaultTabIndex),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&t.uint32(18).string(e.id),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.TabContainer;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.TabContainer)return e;if(!O.isObject(e))throw N(`.Block.TabContainer: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.TabContainer;return e.defaultTabIndex!=null&&I(e.defaultTabIndex)!==0&&(n.defaultTabIndex=e.defaultTabIndex|0),e.id!=null&&(n.id=P(e.id)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.defaultTabIndex=0),e.defaultTabIndex!=null&&k.hasOwnProperty.call(e,`defaultTabIndex`)&&(r.defaultTabIndex=e.defaultTabIndex),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.TabContainer`},e})(),e.Tab=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Tab;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Tab)return e;if(!O.isObject(e))throw N(`.Block.Tab: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Tab;return e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.label=``),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Tab`},e})(),e.Popover=(function(){let e=function(e){if(e)for(let t=k.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,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_open`,{get:O.oneOfGetter(t=[`open`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_id`,{get:O.oneOfGetter(t=[`id`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(26).string(e.help),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(42).string(e.icon),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(50).string(e.type),e.open!=null&&k.hasOwnProperty.call(e,`open`)&&t.uint32(56).bool(e.open),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&t.uint32(66).string(e.id),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(72).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Popover;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 9:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Popover)return e;if(!O.isObject(e))throw N(`.Block.Popover: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.Popover;return e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.open!=null&&(n.open=F(e.open)),e.id!=null&&(n.id=P(e.id)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.label=``,r.help=``,r.disabled=!1,r.icon=``,r.type=``),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.open!=null&&k.hasOwnProperty.call(e,`open`)&&(r.open=e.open),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Popover`},e})(),e.ChatMessage=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.avatar!=null&&k.hasOwnProperty.call(e,`avatar`)&&e.avatar!==``&&t.uint32(18).string(e.avatar),e.avatarType!=null&&k.hasOwnProperty.call(e,`avatarType`)&&e.avatarType!==0&&t.uint32(24).int32(e.avatarType),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.ChatMessage;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.ChatMessage)return e;if(!O.isObject(e))throw N(`.Block.ChatMessage: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Block.ChatMessage;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.avatar!=null&&(typeof e.avatar!=`string`||e.avatar.length)&&(n.avatar=P(e.avatar)),e.avatarType!==0&&(typeof e.avatarType!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.avatar=``,r.avatarType=t.enums===P?`IMAGE`:0),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.avatar!=null&&k.hasOwnProperty.call(e,`avatar`)&&(r.avatar=e.avatar),e.avatarType!=null&&k.hasOwnProperty.call(e,`avatarType`)&&(r.avatarType=t.enums===P?V.Block.ChatMessage.AvatarType[e.avatarType]===A?e.avatarType:V.Block.ChatMessage.AvatarType[e.avatarType]:e.avatarType),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.ChatMessage`},e.AvatarType=(function(){let e=k.create(null),t=k.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=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Block.Transparent;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}e.skipType(i&7,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Block.Transparent)return e;if(!O.isObject(e))throw N(`.Block.Transparent: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);return new V.Block.Transparent},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Block.Transparent`},e})(),e})();V.Button=(()=>{let e=function(e){if(e)for(let t=k.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.isFormSubmitter=!1,e.prototype.type=``,e.prototype.disabled=!1,e.prototype.icon=``,e.prototype.shortcut=``,e.prototype.iconPosition=0,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&e.default!==!1&&t.uint32(24).bool(e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.isFormSubmitter!=null&&k.hasOwnProperty.call(e,`isFormSubmitter`)&&e.isFormSubmitter!==!1&&t.uint32(48).bool(e.isFormSubmitter),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(58).string(e.type),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(82).string(e.icon),e.shortcut!=null&&k.hasOwnProperty.call(e,`shortcut`)&&e.shortcut!==``&&t.uint32(90).string(e.shortcut),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(96).int32(e.iconPosition),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(104).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Button;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;(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;case 13:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Button)return e;if(!O.isObject(e))throw N(`.Button: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Button;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&e.default&&(n.default=F(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.isFormSubmitter!=null&&e.isFormSubmitter&&(n.isFormSubmitter=F(e.isFormSubmitter)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.shortcut!=null&&(typeof e.shortcut!=`string`||e.shortcut.length)&&(n.shortcut=P(e.shortcut)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||V.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.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`LEFT`:0),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.isFormSubmitter!=null&&k.hasOwnProperty.call(e,`isFormSubmitter`)&&(r.isFormSubmitter=e.isFormSubmitter),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.shortcut!=null&&k.hasOwnProperty.call(e,`shortcut`)&&(r.shortcut=e.shortcut),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===P?V.streamlit.ButtonLikeIconPosition[e.iconPosition]===A?e.iconPosition:V.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Button`},e})();var se=V.ButtonGroup=(()=>{let e=function(e){if(this.options=[],this.default=[],this.rawValues=[],e)for(let t=k.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=O.emptyArray,e.prototype.default=O.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=O.emptyArray,e.prototype.queryParamKey=null,e.prototype.required=!1,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_help`,{get:O.oneOfGetter(t=[`help`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.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)V.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&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.clickMode!=null&&k.hasOwnProperty.call(e,`clickMode`)&&e.clickMode!==0&&t.uint32(40).int32(e.clickMode),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.style!=null&&k.hasOwnProperty.call(e,`style`)&&e.style!==0&&t.uint32(80).int32(e.style),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(90).string(e.label),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(98).fork(),n+1).ldelim(),e.help!=null&&k.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&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.required!=null&&k.hasOwnProperty.call(e,`required`)&&e.required!==!1&&t.uint32(128).bool(e.required),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(136).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ButtonGroup;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.ButtonGroup.Option.decode(e,e.uint32(),A,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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 17:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ButtonGroup)return e;if(!O.isObject(e))throw N(`.ButtonGroup: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ButtonGroup;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.options){if(!R.isArray(e.options))throw N(`.ButtonGroup.options: array expected`);n.options=R(e.options.length);for(let r=0;r<e.options.length;++r){if(!O.isObject(e.options[r]))throw N(`.ButtonGroup.options: object expected`);n.options[r]=V.ButtonGroup.Option.fromObject(e.options[r],t+1)}}if(e.default){if(!R.isArray(e.default))throw N(`.ButtonGroup.default: array expected`);n.default=R(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=F(e.disabled)),e.clickMode!==0&&(typeof e.clickMode!=`string`||V.ButtonGroup.ClickMode[e.clickMode]!==0))switch(e.clickMode){case`SINGLE_SELECT`:case 0:n.clickMode=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=P(e.formId)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.style!==0&&(typeof e.style!=`string`||V.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=P(e.label)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.ButtonGroup.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.help!=null&&(n.help=P(e.help)),e.rawValues){if(!R.isArray(e.rawValues))throw N(`.ButtonGroup.rawValues: array expected`);n.rawValues=R(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)n.rawValues[t]=P(e.rawValues[t])}return e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.required!=null&&e.required&&(n.required=F(e.required)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`SINGLE_SELECT`:0,r.formId=``,r.setValue=!1,r.style=t.enums===P?`SEGMENTED_CONTROL`:0,r.label=``,r.labelVisibility=null,r.required=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.options&&e.options.length){r.options=R(e.options.length);for(let i=0;i<e.options.length;++i)r.options[i]=V.ButtonGroup.Option.toObject(e.options[i],t,n+1)}if(e.default&&e.default.length){r.default=R(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.clickMode!=null&&k.hasOwnProperty.call(e,`clickMode`)&&(r.clickMode=t.enums===P?V.ButtonGroup.ClickMode[e.clickMode]===A?e.clickMode:V.ButtonGroup.ClickMode[e.clickMode]:e.clickMode),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.style!=null&&k.hasOwnProperty.call(e,`style`)&&(r.style=t.enums===P?V.ButtonGroup.Style[e.style]===A?e.style:V.ButtonGroup.Style[e.style]:e.style),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.rawValues&&e.rawValues.length){r.rawValues=R(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)r.rawValues[t]=e.rawValues[t]}return e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.required!=null&&k.hasOwnProperty.call(e,`required`)&&(r.required=e.required),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ButtonGroup`},e.ClickMode=(function(){let e=k.create(null),t=k.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=k.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 k.defineProperty(e.prototype,`_contentIcon`,{get:O.oneOfGetter(t=[`contentIcon`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.content!=null&&k.hasOwnProperty.call(e,`content`)&&e.content!==``&&t.uint32(10).string(e.content),e.contentIcon!=null&&k.hasOwnProperty.call(e,`contentIcon`)&&t.uint32(26).string(e.contentIcon),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ButtonGroup.Option;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ButtonGroup.Option)return e;if(!O.isObject(e))throw N(`.ButtonGroup.Option: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ButtonGroup.Option;return e.content!=null&&(typeof e.content!=`string`||e.content.length)&&(n.content=P(e.content)),e.contentIcon!=null&&(n.contentIcon=P(e.contentIcon)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.content=``),e.content!=null&&k.hasOwnProperty.call(e,`content`)&&(r.content=e.content),e.contentIcon!=null&&k.hasOwnProperty.call(e,`contentIcon`)&&(r.contentIcon=e.contentIcon),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ButtonGroup.Option`},e})(),e.Style=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`SEGMENTED_CONTROL`]=0,t[e[1]=`PILLS`]=1,t})(),e})();V.CameraInput=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_resolutionHeight`,{get:O.oneOfGetter(t=[`resolutionHeight`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(26).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(34).string(e.formId),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(50).fork(),n+1).ldelim(),e.resolutionHeight!=null&&k.hasOwnProperty.call(e,`resolutionHeight`)&&t.uint32(56).int32(e.resolutionHeight),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.CameraInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.CameraInput)return e;if(!O.isObject(e))throw N(`.CameraInput: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.CameraInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.CameraInput.labelVisibility: object expected`);n.labelVisibility=V.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===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.resolutionHeight!=null&&k.hasOwnProperty.call(e,`resolutionHeight`)&&(r.resolutionHeight=e.resolutionHeight),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/CameraInput`},e})();var ce=V.ChatInput=(()=>{let e=function(e){if(this.fileType=[],e)for(let t=k.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=O.emptyArray,e.prototype.maxUploadSizeMb=0,e.prototype.acceptAudio=!1,e.prototype.audioSampleRate=null,e.prototype.submitMode=0;let t;return k.defineProperty(e.prototype,`_audioSampleRate`,{get:O.oneOfGetter(t=[`audioSampleRate`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(18).string(e.placeholder),e.maxChars!=null&&k.hasOwnProperty.call(e,`maxChars`)&&e.maxChars!==0&&t.uint32(24).uint32(e.maxChars),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(42).string(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(48).bool(e.setValue),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&e.default!==``&&t.uint32(58).string(e.default),e.acceptFile!=null&&k.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&&k.hasOwnProperty.call(e,`maxUploadSizeMb`)&&e.maxUploadSizeMb!==0&&t.uint32(88).int32(e.maxUploadSizeMb),e.acceptAudio!=null&&k.hasOwnProperty.call(e,`acceptAudio`)&&e.acceptAudio!==!1&&t.uint32(96).bool(e.acceptAudio),e.audioSampleRate!=null&&k.hasOwnProperty.call(e,`audioSampleRate`)&&t.uint32(104).int32(e.audioSampleRate),e.submitMode!=null&&k.hasOwnProperty.call(e,`submitMode`)&&e.submitMode!==0&&t.uint32(112).int32(e.submitMode),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ChatInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ChatInput)return e;if(!O.isObject(e))throw N(`.ChatInput: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ChatInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=P(e.placeholder)),e.maxChars!=null&&I(e.maxChars)!==0&&(n.maxChars=e.maxChars>>>0),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=P(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.default!=null&&(typeof e.default!=`string`||e.default.length)&&(n.default=P(e.default)),e.acceptFile!==0&&(typeof e.acceptFile!=`string`||V.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(!R.isArray(e.fileType))throw N(`.ChatInput.fileType: array expected`);n.fileType=R(e.fileType.length);for(let t=0;t<e.fileType.length;++t)n.fileType[t]=P(e.fileType[t])}if(e.maxUploadSizeMb!=null&&I(e.maxUploadSizeMb)!==0&&(n.maxUploadSizeMb=e.maxUploadSizeMb|0),e.acceptAudio!=null&&e.acceptAudio&&(n.acceptAudio=F(e.acceptAudio)),e.audioSampleRate!=null&&(n.audioSampleRate=e.audioSampleRate|0),e.submitMode!==0&&(typeof e.submitMode!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`NONE`:0,r.maxUploadSizeMb=0,r.acceptAudio=!1,r.submitMode=t.enums===P?`SUBMIT_MODE_SUBMIT`:0),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.maxChars!=null&&k.hasOwnProperty.call(e,`maxChars`)&&(r.maxChars=e.maxChars),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.acceptFile!=null&&k.hasOwnProperty.call(e,`acceptFile`)&&(r.acceptFile=t.enums===P?V.ChatInput.AcceptFile[e.acceptFile]===A?e.acceptFile:V.ChatInput.AcceptFile[e.acceptFile]:e.acceptFile),e.fileType&&e.fileType.length){r.fileType=R(e.fileType.length);for(let t=0;t<e.fileType.length;++t)r.fileType[t]=e.fileType[t]}return e.maxUploadSizeMb!=null&&k.hasOwnProperty.call(e,`maxUploadSizeMb`)&&(r.maxUploadSizeMb=e.maxUploadSizeMb),e.acceptAudio!=null&&k.hasOwnProperty.call(e,`acceptAudio`)&&(r.acceptAudio=e.acceptAudio),e.audioSampleRate!=null&&k.hasOwnProperty.call(e,`audioSampleRate`)&&(r.audioSampleRate=e.audioSampleRate),e.submitMode!=null&&k.hasOwnProperty.call(e,`submitMode`)&&(r.submitMode=t.enums===P?V.ChatInput.
1SubmitMode[e.submitMode]===A?e.submitMode:V.ChatInput.SubmitMode[e.submitMode]:e.submitMode),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ChatInput`},e.AcceptFile=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.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})(),le=V.Checkbox=(()=>{let e=function(e){if(e)for(let t=k.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,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&e.default!==!1&&t.uint32(24).bool(e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==!1&&t.uint32(48).bool(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(74).fork(),n+1).ldelim(),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(80).int32(e.type),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(90).string(e.queryParamKey),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(96).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Checkbox;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 12:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Checkbox)return e;if(!O.isObject(e))throw N(`.Checkbox: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Checkbox;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&e.default&&(n.default=F(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&e.value&&(n.value=F(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.Checkbox.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.type!==0&&(typeof e.type!=`string`||V.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=P(e.queryParamKey)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`DEFAULT`:0),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.Checkbox.StyleType[e.type]===A?e.type:V.Checkbox.StyleType[e.type]:e.type),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Checkbox`},e.StyleType=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`TOGGLE`]=1,t})(),e})();V.Code=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.codeText!=null&&k.hasOwnProperty.call(e,`codeText`)&&e.codeText!==``&&t.uint32(10).string(e.codeText),e.language!=null&&k.hasOwnProperty.call(e,`language`)&&e.language!==``&&t.uint32(18).string(e.language),e.showLineNumbers!=null&&k.hasOwnProperty.call(e,`showLineNumbers`)&&e.showLineNumbers!==!1&&t.uint32(24).bool(e.showLineNumbers),e.wrapLines!=null&&k.hasOwnProperty.call(e,`wrapLines`)&&e.wrapLines!==!1&&t.uint32(32).bool(e.wrapLines),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Code;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Code)return e;if(!O.isObject(e))throw N(`.Code: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Code;return e.codeText!=null&&(typeof e.codeText!=`string`||e.codeText.length)&&(n.codeText=P(e.codeText)),e.language!=null&&(typeof e.language!=`string`||e.language.length)&&(n.language=P(e.language)),e.showLineNumbers!=null&&e.showLineNumbers&&(n.showLineNumbers=F(e.showLineNumbers)),e.wrapLines!=null&&e.wrapLines&&(n.wrapLines=F(e.wrapLines)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.codeText=``,r.language=``,r.showLineNumbers=!1,r.wrapLines=!1),e.codeText!=null&&k.hasOwnProperty.call(e,`codeText`)&&(r.codeText=e.codeText),e.language!=null&&k.hasOwnProperty.call(e,`language`)&&(r.language=e.language),e.showLineNumbers!=null&&k.hasOwnProperty.call(e,`showLineNumbers`)&&(r.showLineNumbers=e.showLineNumbers),e.wrapLines!=null&&k.hasOwnProperty.call(e,`wrapLines`)&&(r.wrapLines=e.wrapLines),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Code`},e})(),V.ColorPicker=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&e.default!==``&&t.uint32(26).string(e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(50).string(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(74).fork(),n+1).ldelim(),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(82).string(e.queryParamKey),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ColorPicker;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 9:if(a!==2)break;o.labelVisibility=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ColorPicker)return e;if(!O.isObject(e))throw N(`.ColorPicker: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ColorPicker;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&(typeof e.default!=`string`||e.default.length)&&(n.default=P(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=P(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.ColorPicker.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ColorPicker`},e})(),V.DateInput=(()=>{let e=function(e){if(this.default=[],this.value=[],e)for(let t=k.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=O.emptyArray,e.prototype.min=``,e.prototype.max=``,e.prototype.isRange=!1,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=O.emptyArray,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.format=``,e.prototype.queryParamKey=null;let t;return k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.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&&k.hasOwnProperty.call(e,`min`)&&e.min!==``&&t.uint32(34).string(e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&e.max!==``&&t.uint32(42).string(e.max),e.isRange!=null&&k.hasOwnProperty.call(e,`isRange`)&&e.isRange!==!1&&t.uint32(48).bool(e.isRange),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(58).string(e.help),e.formId!=null&&k.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&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(80).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(88).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(98).fork(),n+1).ldelim(),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(106).string(e.format),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(114).string(e.queryParamKey),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DateInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DateInput)return e;if(!O.isObject(e))throw N(`.DateInput: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DateInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default){if(!R.isArray(e.default))throw N(`.DateInput.default: array expected`);n.default=R(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=P(e.default[t])}if(e.min!=null&&(typeof e.min!=`string`||e.min.length)&&(n.min=P(e.min)),e.max!=null&&(typeof e.max!=`string`||e.max.length)&&(n.max=P(e.max)),e.isRange!=null&&e.isRange&&(n.isRange=F(e.isRange)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value){if(!R.isArray(e.value))throw N(`.DateInput.value: array expected`);n.value=R(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=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.DateInput.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=P(e.format)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default&&e.default.length){r.default=R(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.min!=null&&k.hasOwnProperty.call(e,`min`)&&(r.min=e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&(r.max=e.max),e.isRange!=null&&k.hasOwnProperty.call(e,`isRange`)&&(r.isRange=e.isRange),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value&&e.value.length){r.value=R(e.value.length);for(let t=0;t<e.value.length;++t)r.value[t]=e.value[t]}return e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DateInput`},e})(),V.DateTimeInput=(()=>{let e=function(e){if(this.default=[],this.value=[],e)for(let t=k.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=O.emptyArray,e.prototype.min=``,e.prototype.max=``,e.prototype.help=``,e.prototype.formId=``,e.prototype.value=O.emptyArray,e.prototype.setValue=!1,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.format=``,e.prototype.step=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.isRange=!1,e.prototype.queryParamKey=null;let t;return k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.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&&k.hasOwnProperty.call(e,`min`)&&e.min!==``&&t.uint32(34).string(e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&e.max!==``&&t.uint32(42).string(e.max),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.formId!=null&&k.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&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(72).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(80).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(90).fork(),n+1).ldelim(),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(98).string(e.format),e.step!=null&&k.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&&k.hasOwnProperty.call(e,`isRange`)&&e.isRange!==!1&&t.uint32(112).bool(e.isRange),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DateTimeInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DateTimeInput)return e;if(!O.isObject(e))throw N(`.DateTimeInput: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DateTimeInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default){if(!R.isArray(e.default))throw N(`.DateTimeInput.default: array expected`);n.default=R(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=P(e.default[t])}if(e.min!=null&&(typeof e.min!=`string`||e.min.length)&&(n.min=P(e.min)),e.max!=null&&(typeof e.max!=`string`||e.max.length)&&(n.max=P(e.max)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value){if(!R.isArray(e.value))throw N(`.DateTimeInput.value: array expected`);n.value=R(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=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.DateTimeInput.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=P(e.format)),e.step!=null&&(typeof e.step==`object`?e.step.low||e.step.high:I(e.step)!==0)&&(O.Long?n.step=O.Long.fromValue(e.step,!1):typeof e.step==`string`?n.step=z(e.step,10):typeof e.step==`number`?n.step=e.step:typeof e.step==`object`&&(n.step=new O.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber())),e.isRange!=null&&e.isRange&&(n.isRange=F(e.isRange)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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=``,O.Long){let e=new O.Long(0,0,!1);r.step=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.step=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.isRange=!1}if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default&&e.default.length){r.default=R(e.default.length);for(let t=0;t<e.default.length;++t)r.default[t]=e.default[t]}if(e.min!=null&&k.hasOwnProperty.call(e,`min`)&&(r.min=e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&(r.max=e.max),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value&&e.value.length){r.value=R(e.value.length);for(let t=0;t<e.value.length;++t)r.value[t]=e.value[t]}return e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.step!=null&&k.hasOwnProperty.call(e,`step`)&&(r.step=B!==void 0&&t.longs===B?typeof e.step==`number`?B(e.step):O.Long.fromBits(e.step.low>>>0,e.step.high>>>0,!1).toBigInt():typeof e.step==`number`?t.longs===P?P(e.step):e.step:t.longs===P?O.Long.prototype.toString.call(e.step):t.longs===I?new O.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber():e.step),e.isRange!=null&&k.hasOwnProperty.call(e,`isRange`)&&(r.isRange=e.isRange),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DateTimeInput`},e})();var ue=V.DeckGlJsonChart=(()=>{let e=function(e){if(this.selectionMode=[],e)for(let t=k.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=O.emptyArray,e.prototype.formId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.json!=null&&k.hasOwnProperty.call(e,`json`)&&e.json!==``&&t.uint32(10).string(e.json),e.tooltip!=null&&k.hasOwnProperty.call(e,`tooltip`)&&e.tooltip!==``&&t.uint32(18).string(e.tooltip),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(42).string(e.id),e.mapboxToken!=null&&k.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&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(82).string(e.formId),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DeckGlJsonChart;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DeckGlJsonChart)return e;if(!O.isObject(e))throw N(`.DeckGlJsonChart: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DeckGlJsonChart;if(e.json!=null&&(typeof e.json!=`string`||e.json.length)&&(n.json=P(e.json)),e.tooltip!=null&&(typeof e.tooltip!=`string`||e.tooltip.length)&&(n.tooltip=P(e.tooltip)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.mapboxToken!=null&&(typeof e.mapboxToken!=`string`||e.mapboxToken.length)&&(n.mapboxToken=P(e.mapboxToken)),e.selectionMode){if(!R.isArray(e.selectionMode))throw N(`.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=P(e.formId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`json`)&&(r.json=e.json),e.tooltip!=null&&k.hasOwnProperty.call(e,`tooltip`)&&(r.tooltip=e.tooltip),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.mapboxToken!=null&&k.hasOwnProperty.call(e,`mapboxToken`)&&(r.mapboxToken=e.mapboxToken),e.selectionMode&&e.selectionMode.length){r.selectionMode=R(e.selectionMode.length);for(let n=0;n<e.selectionMode.length;++n)r.selectionMode[n]=t.enums===P?V.DeckGlJsonChart.SelectionMode[e.selectionMode[n]]===A?e.selectionMode[n]:V.DeckGlJsonChart.SelectionMode[e.selectionMode[n]]:e.selectionMode[n]}return e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DeckGlJsonChart`},e.SelectionMode=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`SINGLE_OBJECT`]=0,t[e[1]=`MULTI_OBJECT`]=1,t})(),e})();V.Delta=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`type`,{get:O.oneOfGetter(t=[`newElement`,`addBlock`,`newTransient`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.newElement!=null&&k.hasOwnProperty.call(e,`newElement`)&&V.Element.encode(e.newElement,t.uint32(26).fork(),n+1).ldelim(),e.addBlock!=null&&k.hasOwnProperty.call(e,`addBlock`)&&V.Block.encode(e.addBlock,t.uint32(50).fork(),n+1).ldelim(),e.fragmentId!=null&&k.hasOwnProperty.call(e,`fragmentId`)&&e.fragmentId!==``&&t.uint32(66).string(e.fragmentId),e.newTransient!=null&&k.hasOwnProperty.call(e,`newTransient`)&&V.Transient.encode(e.newTransient,t.uint32(74).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Delta;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 3:if(a!==2)break;o.newElement=V.Element.decode(e,e.uint32(),A,r+1,o.newElement),o.type=`newElement`;continue;case 6:if(a!==2)break;o.addBlock=V.Block.decode(e,e.uint32(),A,r+1,o.addBlock),o.type=`addBlock`;continue;
1case 9:if(a!==2)break;o.newTransient=V.Transient.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Delta)return e;if(!O.isObject(e))throw N(`.Delta: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Delta;if(e.newElement!=null){if(!O.isObject(e.newElement))throw N(`.Delta.newElement: object expected`);n.newElement=V.Element.fromObject(e.newElement,t+1)}if(e.addBlock!=null){if(!O.isObject(e.addBlock))throw N(`.Delta.addBlock: object expected`);n.addBlock=V.Block.fromObject(e.addBlock,t+1)}if(e.newTransient!=null){if(!O.isObject(e.newTransient))throw N(`.Delta.newTransient: object expected`);n.newTransient=V.Transient.fromObject(e.newTransient,t+1)}return e.fragmentId!=null&&(typeof e.fragmentId!=`string`||e.fragmentId.length)&&(n.fragmentId=P(e.fragmentId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.fragmentId=``),e.newElement!=null&&k.hasOwnProperty.call(e,`newElement`)&&(r.newElement=V.Element.toObject(e.newElement,t,n+1),t.oneofs&&(r.type=`newElement`)),e.addBlock!=null&&k.hasOwnProperty.call(e,`addBlock`)&&(r.addBlock=V.Block.toObject(e.addBlock,t,n+1),t.oneofs&&(r.type=`addBlock`)),e.fragmentId!=null&&k.hasOwnProperty.call(e,`fragmentId`)&&(r.fragmentId=e.fragmentId),e.newTransient!=null&&k.hasOwnProperty.call(e,`newTransient`)&&(r.newTransient=V.Transient.toObject(e.newTransient,t,n+1),t.oneofs&&(r.type=`newTransient`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Delta`},e})();var de=V.Element=(()=>{let e=function(e){if(e)for(let t=k.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,e.prototype.echartsChart=null;let t;return k.defineProperty(e.prototype,`_heightConfig`,{get:O.oneOfGetter(t=[`heightConfig`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_widthConfig`,{get:O.oneOfGetter(t=[`widthConfig`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_textAlignmentConfig`,{get:O.oneOfGetter(t=[`textAlignmentConfig`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_hasOneShotEffect`,{get:O.oneOfGetter(t=[`hasOneShotEffect`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`type`,{get:O.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.echartsChart`.split(`.`)),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.text!=null&&k.hasOwnProperty.call(e,`text`)&&V.Text.encode(e.text,t.uint32(10).fork(),n+1).ldelim(),e.empty!=null&&k.hasOwnProperty.call(e,`empty`)&&V.Empty.encode(e.empty,t.uint32(18).fork(),n+1).ldelim(),e.progress!=null&&k.hasOwnProperty.call(e,`progress`)&&V.Progress.encode(e.progress,t.uint32(42).fork(),n+1).ldelim(),e.imgs!=null&&k.hasOwnProperty.call(e,`imgs`)&&V.ImageList.encode(e.imgs,t.uint32(50).fork(),n+1).ldelim(),e.helpInfo!=null&&k.hasOwnProperty.call(e,`helpInfo`)&&V.Help.encode(e.helpInfo,t.uint32(58).fork(),n+1).ldelim(),e.exception!=null&&k.hasOwnProperty.call(e,`exception`)&&V.Exception.encode(e.exception,t.uint32(66).fork(),n+1).ldelim(),e.balloons!=null&&k.hasOwnProperty.call(e,`balloons`)&&V.Balloons.encode(e.balloons,t.uint32(98).fork(),n+1).ldelim(),e.audio!=null&&k.hasOwnProperty.call(e,`audio`)&&V.Audio.encode(e.audio,t.uint32(106).fork(),n+1).ldelim(),e.video!=null&&k.hasOwnProperty.call(e,`video`)&&V.Video.encode(e.video,t.uint32(114).fork(),n+1).ldelim(),e.plotlyChart!=null&&k.hasOwnProperty.call(e,`plotlyChart`)&&V.PlotlyChart.encode(e.plotlyChart,t.uint32(130).fork(),n+1).ldelim(),e.graphvizChart!=null&&k.hasOwnProperty.call(e,`graphvizChart`)&&V.GraphVizChart.encode(e.graphvizChart,t.uint32(146).fork(),n+1).ldelim(),e.button!=null&&k.hasOwnProperty.call(e,`button`)&&V.Button.encode(e.button,t.uint32(154).fork(),n+1).ldelim(),e.checkbox!=null&&k.hasOwnProperty.call(e,`checkbox`)&&V.Checkbox.encode(e.checkbox,t.uint32(162).fork(),n+1).ldelim(),e.slider!=null&&k.hasOwnProperty.call(e,`slider`)&&V.Slider.encode(e.slider,t.uint32(170).fork(),n+1).ldelim(),e.textArea!=null&&k.hasOwnProperty.call(e,`textArea`)&&V.TextArea.encode(e.textArea,t.uint32(178).fork(),n+1).ldelim(),e.radio!=null&&k.hasOwnProperty.call(e,`radio`)&&V.Radio.encode(e.radio,t.uint32(186).fork(),n+1).ldelim(),e.textInput!=null&&k.hasOwnProperty.call(e,`textInput`)&&V.TextInput.encode(e.textInput,t.uint32(194).fork(),n+1).ldelim(),e.selectbox!=null&&k.hasOwnProperty.call(e,`selectbox`)&&V.Selectbox.encode(e.selectbox,t.uint32(202).fork(),n+1).ldelim(),e.timeInput!=null&&k.hasOwnProperty.call(e,`timeInput`)&&V.TimeInput.encode(e.timeInput,t.uint32(210).fork(),n+1).ldelim(),e.dateInput!=null&&k.hasOwnProperty.call(e,`dateInput`)&&V.DateInput.encode(e.dateInput,t.uint32(218).fork(),n+1).ldelim(),e.multiselect!=null&&k.hasOwnProperty.call(e,`multiselect`)&&V.MultiSelect.encode(e.multiselect,t.uint32(226).fork(),n+1).ldelim(),e.markdown!=null&&k.hasOwnProperty.call(e,`markdown`)&&V.Markdown.encode(e.markdown,t.uint32(234).fork(),n+1).ldelim(),e.alert!=null&&k.hasOwnProperty.call(e,`alert`)&&V.Alert.encode(e.alert,t.uint32(242).fork(),n+1).ldelim(),e.json!=null&&k.hasOwnProperty.call(e,`json`)&&V.Json.encode(e.json,t.uint32(250).fork(),n+1).ldelim(),e.numberInput!=null&&k.hasOwnProperty.call(e,`numberInput`)&&V.NumberInput.encode(e.numberInput,t.uint32(258).fork(),n+1).ldelim(),e.fileUploader!=null&&k.hasOwnProperty.call(e,`fileUploader`)&&V.FileUploader.encode(e.fileUploader,t.uint32(266).fork(),n+1).ldelim(),e.deckGlJsonChart!=null&&k.hasOwnProperty.call(e,`deckGlJsonChart`)&&V.DeckGlJsonChart.encode(e.deckGlJsonChart,t.uint32(274).fork(),n+1).ldelim(),e.colorPicker!=null&&k.hasOwnProperty.call(e,`colorPicker`)&&V.ColorPicker.encode(e.colorPicker,t.uint32(282).fork(),n+1).ldelim(),e.favicon!=null&&k.hasOwnProperty.call(e,`favicon`)&&V.Favicon.encode(e.favicon,t.uint32(290).fork(),n+1).ldelim(),e.componentInstance!=null&&k.hasOwnProperty.call(e,`componentInstance`)&&V.ComponentInstance.encode(e.componentInstance,t.uint32(298).fork(),n+1).ldelim(),e.iframe!=null&&k.hasOwnProperty.call(e,`iframe`)&&V.I
1Frame.encode(e.iframe,t.uint32(306).fork(),n+1).ldelim(),e.table!=null&&k.hasOwnProperty.call(e,`table`)&&V.Table.encode(e.table,t.uint32(314).fork(),n+1).ldelim(),e.dataframe!=null&&k.hasOwnProperty.call(e,`dataframe`)&&V.Dataframe.encode(e.dataframe,t.uint32(322).fork(),n+1).ldelim(),e.vegaLiteChart!=null&&k.hasOwnProperty.call(e,`vegaLiteChart`)&&V.VegaLiteChart.encode(e.vegaLiteChart,t.uint32(330).fork(),n+1).ldelim(),e.metric!=null&&k.hasOwnProperty.call(e,`metric`)&&V.Metric.encode(e.metric,t.uint32(338).fork(),n+1).ldelim(),e.downloadButton!=null&&k.hasOwnProperty.call(e,`downloadButton`)&&V.DownloadButton.encode(e.downloadButton,t.uint32(346).fork(),n+1).ldelim(),e.spinner!=null&&k.hasOwnProperty.call(e,`spinner`)&&V.Spinner.encode(e.spinner,t.uint32(354).fork(),n+1).ldelim(),e.cameraInput!=null&&k.hasOwnProperty.call(e,`cameraInput`)&&V.CameraInput.encode(e.cameraInput,t.uint32(362).fork(),n+1).ldelim(),e.snow!=null&&k.hasOwnProperty.call(e,`snow`)&&V.Snow.encode(e.snow,t.uint32(370).fork(),n+1).ldelim(),e.heading!=null&&k.hasOwnProperty.call(e,`heading`)&&V.Heading.encode(e.heading,t.uint32(378).fork(),n+1).ldelim(),e.code!=null&&k.hasOwnProperty.call(e,`code`)&&V.Code.encode(e.code,t.uint32(386).fork(),n+1).ldelim(),e.chatInput!=null&&k.hasOwnProperty.call(e,`chatInput`)&&V.ChatInput.encode(e.chatInput,t.uint32(394).fork(),n+1).ldelim(),e.toast!=null&&k.hasOwnProperty.call(e,`toast`)&&V.Toast.encode(e.toast,t.uint32(402).fork(),n+1).ldelim(),e.linkButton!=null&&k.hasOwnProperty.call(e,`linkButton`)&&V.LinkButton.encode(e.linkButton,t.uint32(410).fork(),n+1).ldelim(),e.skeleton!=null&&k.hasOwnProperty.call(e,`skeleton`)&&V.Skeleton.encode(e.skeleton,t.uint32(418).fork(),n+1).ldelim(),e.pageLink!=null&&k.hasOwnProperty.call(e,`pageLink`)&&V.PageLink.encode(e.pageLink,t.uint32(426).fork(),n+1).ldelim(),e.html!=null&&k.hasOwnProperty.call(e,`html`)&&V.Html.encode(e.html,t.uint32(434).fork(),n+1).ldelim(),e.buttonGroup!=null&&k.hasOwnProperty.call(e,`buttonGroup`)&&V.ButtonGroup.encode(e.buttonGroup,t.uint32(442).fork(),n+1).ldelim(),e.audioInput!=null&&k.hasOwnProperty.call(e,`audioInput`)&&V.AudioInput.encode(e.audioInput,t.uint32(450).fork(),n+1).ldelim(),e.heightConfig!=null&&k.hasOwnProperty.call(e,`heightConfig`)&&V.streamlit.HeightConfig.encode(e.heightConfig,t.uint32(458).fork(),n+1).ldelim(),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&V.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(466).fork(),n+1).ldelim(),e.bidiComponent!=null&&k.hasOwnProperty.call(e,`bidiComponent`)&&V.BidiComponent.encode(e.bidiComponent,t.uint32(474).fork(),n+1).ldelim(),e.space!=null&&k.hasOwnProperty.call(e,`space`)&&V.Space.encode(e.space,t.uint32(482).fork(),n+1).ldelim(),e.textAlignmentConfig!=null&&k.hasOwnProperty.call(e,`textAlignmentConfig`)&&V.streamlit.TextAlignmentConfig.encode(e.textAlignmentConfig,t.uint32(490).fork(),n+1).ldelim(),e.dateTimeInput!=null&&k.hasOwnProperty.call(e,`dateTimeInput`)&&V.DateTimeInput.encode(e.dateTimeInput,t.uint32(498).fork(),n+1).ldelim(),e.feedback!=null&&k.hasOwnProperty.call(e,`feedback`)&&V.Feedback.encode(e.feedback,t.uint32(506).fork(),n+1).ldelim(),e.menuButton!=null&&k.hasOwnProperty.call(e,`menuButton`)&&V.MenuButton.encode(e.menuButton,t.uint32(514).fork(),n+1).ldelim(),e.hasOneShotEffect!=null&&k.hasOwnProperty.call(e,`hasOneShotEffect`)&&t.uint32(520).bool(e.hasOneShotEffect),e.pagination!=null&&k.hasOwnProperty.call(e,`pagination`)&&V.Pagination.encode(e.pagination,t.uint32(530).fork(),n+1).ldelim(),e.echartsChart!=null&&k.hasOwnProperty.call(e,`echartsChart`)&&V.EChartsChart.encode(e.echartsChart,t.uint32(538).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Element;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 57:if(a!==2)break;o.heightConfig=V.streamlit.HeightConfig.decode(e,e.uint32(),A,r+1,o.heightConfig),o._heightConfig=`height
1Config`;continue;case 58:if(a!==2)break;o.widthConfig=V.streamlit.WidthConfig.decode(e,e.uint32(),A,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue;case 61:if(a!==2)break;o.textAlignmentConfig=V.streamlit.TextAlignmentConfig.decode(e,e.uint32(),A,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=V.Alert.decode(e,e.uint32(),A,r+1,o.alert),o.type=`alert`;continue;case 40:if(a!==2)break;o.dataframe=V.Dataframe.decode(e,e.uint32(),A,r+1,o.dataframe),o.type=`dataframe`;continue;case 39:if(a!==2)break;o.table=V.Table.decode(e,e.uint32(),A,r+1,o.table),o.type=`table`;continue;case 41:if(a!==2)break;o.vegaLiteChart=V.VegaLiteChart.decode(e,e.uint32(),A,r+1,o.vegaLiteChart),o.type=`vegaLiteChart`;continue;case 13:if(a!==2)break;o.audio=V.Audio.decode(e,e.uint32(),A,r+1,o.audio),o.type=`audio`;continue;case 56:if(a!==2)break;o.audioInput=V.AudioInput.decode(e,e.uint32(),A,r+1,o.audioInput),o.type=`audioInput`;continue;case 12:if(a!==2)break;o.balloons=V.Balloons.decode(e,e.uint32(),A,r+1,o.balloons),o.type=`balloons`;continue;case 59:if(a!==2)break;o.bidiComponent=V.BidiComponent.decode(e,e.uint32(),A,r+1,o.bidiComponent),o.type=`bidiComponent`;continue;case 19:if(a!==2)break;o.button=V.Button.decode(e,e.uint32(),A,r+1,o.button),o.type=`button`;continue;case 55:if(a!==2)break;o.buttonGroup=V.ButtonGroup.decode(e,e.uint32(),A,r+1,o.buttonGroup),o.type=`buttonGroup`;continue;case 43:if(a!==2)break;o.downloadButton=V.DownloadButton.decode(e,e.uint32(),A,r+1,o.downloadButton),o.type=`downloadButton`;continue;case 45:if(a!==2)break;o.cameraInput=V.CameraInput.decode(e,e.uint32(),A,r+1,o.cameraInput),o.type=`cameraInput`;continue;case 49:if(a!==2)break;o.chatInput=V.ChatInput.decode(e,e.uint32(),A,r+1,o.chatInput),o.type=`chatInput`;continue;case 20:if(a!==2)break;o.checkbox=V.Checkbox.decode(e,e.uint32(),A,r+1,o.checkbox),o.type=`checkbox`;continue;case 35:if(a!==2)break;o.colorPicker=V.ColorPicker.decode(e,e.uint32(),A,r+1,o.colorPicker),o.type=`colorPicker`;continue;case 37:if(a!==2)break;o.componentInstance=V.ComponentInstance.decode(e,e.uint32(),A,r+1,o.componentInstance),o.type=`componentInstance`;continue;case 27:if(a!==2)break;o.dateInput=V.DateInput.decode(e,e.uint32(),A,r+1,o.dateInput),o.type=`dateInput`;continue;case 34:if(a!==2)break;o.deckGlJsonChart=V.DeckGlJsonChart.decode(e,e.uint32(),A,r+1,o.deckGlJsonChart),o.type=`deckGlJsonChart`;continue;case 7:if(a!==2)break;o.helpInfo=V.Help.decode(e,e.uint32(),A,r+1,o.helpInfo),o.type=`helpInfo`;continue;case 2:if(a!==2)break;o.empty=V.Empty.decode(e,e.uint32(),A,r+1,o.empty),o.type=`empty`;continue;case 8:if(a!==2)break;o.exception=V.Exception.decode(e,e.uint32(),A,r+1,o.exception),o.type=`exception`;continue;case 36:if(a!==2)break;o.favicon=V.Favicon.decode(e,e.uint32(),A,r+1,o.favicon),o.type=`favicon`;continue;case 63:if(a!==2)break;o.feedback=V.Feedback.decode(e,e.uint32(),A,r+1,o.feedback),o.type=`feedback`;continue;case 33:if(a!==2)break;o.fileUploader=V.FileUploader.decode(e,e.uint32(),A,r+1,o.fileUploader),o.type=`fileUploader`;continue;case 18:if(a!==2)break;o.graphvizChart=V.GraphVizChart.decode(e,e.uint32(),A,r+1,o.graphvizChart),o.type=`graphvizChart`;continue;case 54:if(a!==2)break;o.html=V.Html.decode(e,e.uint32(),A,r+1,o.html),o.type=`html`;continue;case 38:if(a!==2)break;o.iframe=V.IFrame.decode(e,e.uint32(),A,r+1,o.iframe),o.type=`iframe`;continue;case 6:if(a!==2)break;o.imgs=V.ImageList.decode(e,e.uint32(),A,r+1,o.imgs),o.type=`imgs`;continue;case 31:if(a!==2)break;o.json=V.Json.decode(e,e.uint32(),A,r+1,o.json),o.type=`json`;continue;case 51:if(a!==2)break;o.linkButton=V.LinkButton.decode(e,e.uint32(),A,r+1,o.linkButton),o.type=`linkButton`;continue;case 29:if(a!==2)break;o.markdown=V.Markdown.decode(e,e.uint32(),A,r+1,o.markdown),o.type=`markdown`;continue;case 42:if(a!==2)break;o.metric=V.Metric.decode(e,e.uint32(),A,r+1,o.metric),o.type=`metric`;continue;case 28:if(a!==2)break;o.multiselect=V.MultiSelect.decode(e,e.uint32(),A,r+1,o.multiselect),o.type=`multiselect`;continue;case 32:if(a!==2)break;o.numberInput=V.NumberInput.decode(e,e.uint32(),A,r+1,o.numberInput),o.type=`numberInput`;continue;case 53:if(a!==2)break;o.pageLink=V.PageLink.decode(e,e.uint32(),A,r+1,o.pageLink),o.type=`pageLink`;continue;case 16:if(a!==2)break;o.plotlyChart=V.PlotlyChart.decode(e,e.uint32(),A,r+1,o.plotlyChart),o.type=`plotlyChart`;continue;case 5:if(a!==2)break;o.progress=V.Progress.decode(e,e.uint32(),A,r+1,o.progress),o.type=`progress`;continue;case 23:if(a!==2)break;o.radio=V.Radio.decode(e,e.uint32(),A,r+1,o.radio),o.type=`radio`;continue;case 25:if(a!==2)break;o.selectbox=V.Selectbox.decode(e,e.uint32(),A,r+1,o.selectbox),o.type=`selectbox`;continue;case 52:if(a!==2)break;o.skeleton=V.Skeleton.decode(e,e.uint32(),A,r+1,o.skeleton),o.type=`skeleton`;continue;case 21:if(a!==2)break;o.slider=V.Slider.decode(e,e.uint32(),A,r+1,o.slider),o.type=`slider`;continue;case 46:if(a!==2)break;o.snow=V.Snow.decode(e,e.uint32(),A,r+1,o.snow),o.type=`snow`;continue;case 60:if(a!==2)break;o.space=V.Space.decode(e,e.uint32(),A,r+1,o.space),o.type=`space`;continue;case 44:if(a!==2)break;o.spinner=V.Spinner.decode(e,e.uint32(),A,r+1,o.spinner),o.type=`spinner`;continue;case 1:if(a!==2)break;o.text=V.Text.decode(e,e.uint32(),A,r+1,o.text),o.type=`text`;continue;case 22:if(a!==2)break;o.textArea=V.TextArea.decode(e,e.uint32(),A,r+1,o.textArea),o.type=`textArea`;continue;case 24:if(a!==2)break;o.textInput=V.TextInput.decode(e,e.uint32(),A,r+1,o.textInput),o.type=`textInput`;continue;case 26:if(a!==2)break;o.timeInput=V.TimeInput.decode(e,e.uint32(),A,r+1,o.timeInput),o.type=`timeInput`;continue;case 62:if(a!==2)break;o.dateTimeInput=V.DateTimeInput.decode(e,e.uint32(),A,r+1,o.dateTimeInput),o.type=`dateTimeInput`;continue;case 50:if(a!==2)break;o.toast=V.Toast.decode(e,e.uint32(),A,r+1,o.toast),o.type=`toast`;continue;case 14:if(a!==2)break;o.video=V.Video.decode(e,e.uint32(),A,r+1,o.video),o.type=`video`;continue;case 47:if(a!==2)break;o.heading=V.Heading.decode(e,e.uint32(),A,r+1,o.heading),o.type=`heading`;continue;case 48:if(a!==2)break;o.code=V.Code.decode(e,e.uint32(),A,r+1,o.code),o.type=`code`;continue;case 64:if(a!==2)break;o.menuButton=V.MenuButton.decode(e,e.uint32(),A,r+1,o.menuButton),o.type=`menuButton`;continue;case 66:if(a!==2)break;o.pagination=V.Pagination.decode(e,e.uint32(),A,r+1,o.pagination),o.type=`pagination`;continue;case 67:if(a!==2)break;o.echartsChart=V.EChartsChart.decode(e,e.uint32(),A,r+1,o.echartsChart),o.type=`echartsChart`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Element)return e;if(!O.isObject(e))throw N(`.Element: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Element;if(e.heightConfig!=null){if(!O.isObject(e.heightConfig))throw N(`.Element.heightConfig: object expected`);n.heightConfig=V.streamlit.HeightConfig.fromObject(e.heightConfig,t+1)}if(e.widthConfig!=null){if(!O.isObject(e.widthConfig))throw N(`.Element.widthConfig: object expected`);n.widthConfig=V.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}if(e.textAlignmentConfig!=null){if(!O.isObject(e.textAlignmentConfig))throw N(`.Element.textAlignmentConfig: object expected`);n.textAlignmentConfig=V.streamlit.TextAlignmentConfig.fromObject(e.textAlignmentConfig,t+1)}if(e.hasOneShotEffect!=null&&(n.hasOneShotEffect=F(e.hasOneShotEffect)),e.alert!=null){if(!O.isObject(e.alert))throw N(`.Element.alert: object expected`);n.alert=V.Alert.fromObject(e.alert,t+1)}if(e.dataframe!=null){if(!O.isObject(e.dataframe))throw N(`.Element.dataframe: object expected`);n.dataframe=V.Dataframe.fromObject(e.dataframe,t+1)}if(e.table!=null){if(!O.isObject(e.table))throw N(`.Element.table: object expected`);n.table=V.Table.fromObject(e.table,t+1)}if(e.vegaLiteChart!=null){if(!O.isObject(e.vegaLiteChart))throw N(`.Element.vegaLiteChart: object expected`);n.vegaLiteChart=V.VegaLiteChart.fromObject(e.vegaLiteChart,t+1)}if(e.audio!=null){if(!O.isObject(e.audio))throw N(`.Element.audio: object expected`);n.audio=V.Audio.fromObject(e.audio,t+1)}if(e.audioInput!=null){if(!O.isObject(e.audioInput))throw N(`.Element.audioInput: object expected`);n.audioInput=V.AudioInput.fromObject(e.audioInput,t+1)}if(e.balloons!=null){if(!O.isObject(e.balloons))throw N(`.Element.balloons: object expected`);n.balloons=V.Balloons.fromObject(e.balloons,t+1)}if(e.bidiComponent!=null){if(!O.isObject(e.bidiComponent))throw N(`.Element.bidiComponent: object expected`);n.bidiComponent=V.BidiComponent.fromObject(e.bidiComponent,t+1)}if(e.button!=null){if(!O.isObject(e.button))throw N(`.Element.button: object expected`);n.button=V.Button.fromObject(e.button,t+1)}if(e.buttonGroup!=null){if(!O.isObject(e.buttonGroup))throw N(`.Element.buttonGroup: object expected`);n.buttonGroup=V.ButtonGroup.fromObject(e.buttonGroup,t+1)}if(e.downloadButton!=null){if(!O.isObject(e.downloadButton))throw N(`.Element.downloadButton: object expected`);n.downloadButton=V.DownloadButton.fromObject(e.downloadButton,t+1)}if(e.cameraInput!=null){if(!O.isObject(e.cameraInput))throw N(`.Element.cameraInput: object expected`);n.cameraInput=V.CameraInput.fromObject(e.cameraInput,t+1)}if(e.chatInput!=null){if(!O.isObject(e.chatInput))throw N(`.Element.chatInput: object expected`);n.chatInput=V.ChatInput.fromObject(e.chatInput,t+1)}if(e.checkbox!=null){if(!O.isObject(e.checkbox))throw N(`.Element.checkbox: object expected`);n.checkbox=V.Checkbox.fromObject(e.checkbox,t+1)}if(e.colorPicker!=null){if(!O.isObject(e.colorPicker))throw N(`.Element.colorPicker: object expected`);n.colorPicker=V.ColorPicker.fromObject(e.colorPicker,t+1)}if(e.componentInstance!=null){if(!O.isObject(e.componentInstance))throw N(`.Element.componentInstance: object expected`);n.componentInstance=V.ComponentInstance.fromObject(e.componentInstance,t+1)}if(e.dateInput!=null){if(!O.isObject(e.dateInput))throw N(`.Element.dateInput: object expected`);n.dateInput=V.DateInput.fromObject(e.dateInput,t+1)}if(e.deckGlJsonChart!=null){if(!O.isObject(e.deckGlJsonChart))throw N(`.Element.deckGlJsonChart: object expected`);n.deckGlJsonChart=V.DeckGlJsonChart.fromObject(e.deckGlJsonChart,t+1)}if(e.helpInfo!=null){if(!O.isObject(e.helpInfo))throw N(`.Element.helpInfo: object expected`);n.helpInfo=V.Help.fromObject(e.helpInfo,t+1)}if(e.empty!=null){if(!O.isObject(e.empty))throw N(`.Element.empty: object expected`);n.empty=V.Empty.fromObject(e.empty,t+1)}if(e.exception!=null){if(!O.isObject(e.exception))throw N(`.Element.exception: object expected`);n.exception=V.Exception.fromObject(e.exception,t+1)}if(e.favicon!=null){if(!O.isObject(e.favicon))throw N(`.Element.favicon: object expected`);n.favicon=V.Favicon.fromObject(e.favicon,t+1)}if(e.feedback!=null){if(!O.isObject(e.feedback))throw N(`.Element.feedback: object expected`);n.feedback=V.Feedback.fromObject(e.feedback,t+1)}if(e.fileUploader!=null){if(!O.isObject(e.fileUploader))throw N(`.Element.fileUploader: object expected`);n.fileUploader=V.FileUploader.fromObject(e.fileUploader,t+1)}if(e.graphvizChart!=null){if(!O.isObject(e.graphvizChart))throw N(`.Element.graphvizChart: object expected`);n.graphvizChart=V.GraphVizChart.fromObject(e.graphvizChart,t+1)}if(e.html!=null){if(!O.isObject(e.html))throw N(`.Element.html: object expected`);n.html=V.Html.fromObject(e.html,t+1)}if(e.iframe!=null){if(!O.isObject(e.iframe))throw N(`.Element.iframe: object expected`);n.iframe=V.IFrame.fromObject(e.iframe,t+1)}if(e.imgs!=null){if(!O.isObject(e.imgs))throw N(`.Element.imgs: object expected`);n.imgs=V.ImageList.fromObject(e.imgs,t+1)}if(e.json!=null){if(!O.isObject(e.json))throw N(`.Element.json: object expected`);n.json=V.Json.fromObject(e.json,t+1)}if(e.linkButton!=null){if(!O.isObject(e.linkButton))throw N(`.Element.linkButton: object expected`);n.linkButton=V.LinkButton.fromObject(e.linkButton,t+1)}if(e.markdown!=null){if(!O.isObject(e.markdown))throw N(`.Element.markdown: object expected`);n.markdown=V.Markdown.fromObject(e.markdown,t+1)}if(e.metric!=null){if(!O.isObject(e.metric))throw N(`.Element.metric: object expected`);n.metric=V.Metric.fromObject(e.metric,t+1)}if(e.multiselect!=null){if(!O.isObject(e.multiselect))throw N(`.Element.multiselect: object expected`);n.multiselect=V.MultiSelect.fromObject(e.multiselect,t+1)}if(e.numberInput!=null){if(!O.isObject(e.numberInput))throw N(`.Element.numberInput: object expected`);n.numberInput=V.NumberInput.fromObject(e.numberInput,t+1)}if(e.pageLink!=null){if(!O.isObject(e.pageLink))throw N(`.Element.pageLink: object expected`);n.pageLink=V.PageLink.fromObject(e.pageLink,t+1)}if(e.plotlyChart!=null){if(!O.isObject(e.plotlyChart))throw N(`.Element.plotlyChart: object expected`);n.plotlyChart=V.PlotlyChart.fromObject(e.plotlyChart,t+1)}if(e.progress!=null){if(!O.isObject(e.progress))throw N(`.Element.progress: object expected`);n.progress=V.Progress.fromObject(e.progress,t+1)}if(e.radio!=null){if(!O.isObject(e.radio))throw N(`.Element.radio: object expected`);n.radio=V.Radio.fromObject(e.radio,t+1)}if(e.selectbox!=null){if(!O.isObject(e.selectbox))throw N(`.Element.selectbox: object expected`);n.selectbox=V.Selectbox.fromObject(e.selectbox,t+1)}if(e.skeleton!=null){if(!O.isObject(e.skeleton))throw N(`.Element.skeleton: object expected`);n.skeleton=V.Skeleton.fromObject(e.skeleton,t+1)}if(e.slider!=null){if(!O.isObject(e.slider))throw N(`.Element.slider: object expected`);n.slider=V.Slider.fromObject(e.slider,t+1)}if(e.snow!=null){if(!O.isObject(e.snow))throw N(`.Element.snow: object expected`);n.snow=V.Snow.fromObject(e.snow,t+1)}if(e.space!=null){if(!O.isObject(e.space))throw N(`.Element.space
1: object expected`);n.space=V.Space.fromObject(e.space,t+1)}if(e.spinner!=null){if(!O.isObject(e.spinner))throw N(`.Element.spinner: object expected`);n.spinner=V.Spinner.fromObject(e.spinner,t+1)}if(e.text!=null){if(!O.isObject(e.text))throw N(`.Element.text: object expected`);n.text=V.Text.fromObject(e.text,t+1)}if(e.textArea!=null){if(!O.isObject(e.textArea))throw N(`.Element.textArea: object expected`);n.textArea=V.TextArea.fromObject(e.textArea,t+1)}if(e.textInput!=null){if(!O.isObject(e.textInput))throw N(`.Element.textInput: object expected`);n.textInput=V.TextInput.fromObject(e.textInput,t+1)}if(e.timeInput!=null){if(!O.isObject(e.timeInput))throw N(`.Element.timeInput: object expected`);n.timeInput=V.TimeInput.fromObject(e.timeInput,t+1)}if(e.dateTimeInput!=null){if(!O.isObject(e.dateTimeInput))throw N(`.Element.dateTimeInput: object expected`);n.dateTimeInput=V.DateTimeInput.fromObject(e.dateTimeInput,t+1)}if(e.toast!=null){if(!O.isObject(e.toast))throw N(`.Element.toast: object expected`);n.toast=V.Toast.fromObject(e.toast,t+1)}if(e.video!=null){if(!O.isObject(e.video))throw N(`.Element.video: object expected`);n.video=V.Video.fromObject(e.video,t+1)}if(e.heading!=null){if(!O.isObject(e.heading))throw N(`.Element.heading: object expected`);n.heading=V.Heading.fromObject(e.heading,t+1)}if(e.code!=null){if(!O.isObject(e.code))throw N(`.Element.code: object expected`);n.code=V.Code.fromObject(e.code,t+1)}if(e.menuButton!=null){if(!O.isObject(e.menuButton))throw N(`.Element.menuButton: object expected`);n.menuButton=V.MenuButton.fromObject(e.menuButton,t+1)}if(e.pagination!=null){if(!O.isObject(e.pagination))throw N(`.Element.pagination: object expected`);n.pagination=V.Pagination.fromObject(e.pagination,t+1)}if(e.echartsChart!=null){if(!O.isObject(e.echartsChart))throw N(`.Element.echartsChart: object expected`);n.echartsChart=V.EChartsChart.fromObject(e.echartsChart,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.text!=null&&k.hasOwnProperty.call(e,`text`)&&(r.text=V.Text.toObject(e.text,t,n+1),t.oneofs&&(r.type=`text`)),e.empty!=null&&k.hasOwnProperty.call(e,`empty`)&&(r.empty=V.Empty.toObject(e.empty,t,n+1),t.oneofs&&(r.type=`empty`)),e.progress!=null&&k.hasOwnProperty.call(e,`progress`)&&(r.progress=V.Progress.toObject(e.progress,t,n+1),t.oneofs&&(r.type=`progress`)),e.imgs!=null&&k.hasOwnProperty.call(e,`imgs`)&&(r.imgs=V.ImageList.toObject(e.imgs,t,n+1),t.oneofs&&(r.type=`imgs`)),e.helpInfo!=null&&k.hasOwnProperty.call(e,`helpInfo`)&&(r.helpInfo=V.Help.toObject(e.helpInfo,t,n+1),t.oneofs&&(r.type=`helpInfo`)),e.exception!=null&&k.hasOwnProperty.call(e,`exception`)&&(r.exception=V.Exception.toObject(e.exception,t,n+1),t.oneofs&&(r.type=`exception`)),e.balloons!=null&&k.hasOwnProperty.call(e,`balloons`)&&(r.balloons=V.Balloons.toObject(e.balloons,t,n+1),t.oneofs&&(r.type=`balloons`)),e.audio!=null&&k.hasOwnProperty.call(e,`audio`)&&(r.audio=V.Audio.toObject(e.audio,t,n+1),t.oneofs&&(r.type=`audio`)),e.video!=null&&k.hasOwnProperty.call(e,`video`)&&(r.video=V.Video.toObject(e.video,t,n+1),t.oneofs&&(r.type=`video`)),e.plotlyChart!=null&&k.hasOwnProperty.call(e,`plotlyChart`)&&(r.plotlyChart=V.PlotlyChart.toObject(e.plotlyChart,t,n+1),t.oneofs&&(r.type=`plotlyChart`)),e.graphvizChart!=null&&k.hasOwnProperty.call(e,`graphvizChart`)&&(r.graphvizChart=V.GraphVizChart.toObject(e.graphvizChart,t,n+1),t.oneofs&&(r.type=`graphvizChart`)),e.button!=null&&k.hasOwnProperty.call(e,`button`)&&(r.button=V.Button.toObject(e.button,t,n+1),t.oneofs&&(r.type=`button`)),e.checkbox!=null&&k.hasOwnProperty.call(e,`checkbox`)&&(r.checkbox=V.Checkbox.toObject(e.checkbox,t,n+1),t.oneofs&&(r.type=`checkbox`)),e.slider!=null&&k.hasOwnProperty.call(e,`slider`)&&(r.slider=V.Slider.toObject(e.slider,t,n+1),t.oneofs&&(r.type=`slider`)),e.textArea!=null&&k.hasOwnProperty.call(e,`textArea`)&&(r.textArea=V.TextArea.toObject(e.textArea,t,n+1),t.oneofs&&(r.type=`textArea`)),e.radio!=null&&k.hasOwnProperty.call(e,`radio`)&&(r.radio=V.Radio.toObject(e.radio,t,n+1),t.oneofs&&(r.type=`radio`)),e.textInput!=null&&k.hasOwnProperty.call(e,`textInput`)&&(r.textInput=V.TextInput.toObject(e.textInput,t,n+1),t.oneofs&&(r.type=`textInput`)),e.selectbox!=null&&k.hasOwnProperty.call(e,`selectbox`)&&(r.selectbox=V.Selectbox.toObject(e.selectbox,t,n+1),t.oneofs&&(r.type=`selectbox`)),e.timeInput!=null&&k.hasOwnProperty.call(e,`timeInput`)&&(r.timeInput=V.TimeInput.toObject(e.timeInput,t,n+1),t.oneofs&&(r.type=`timeInput`)),e.dateInput!=null&&k.hasOwnProperty.call(e,`dateInput`)&&(r.dateInput=V.DateInput.toObject(e.dateInput,t,n+1),t.oneofs&&(r.type=`dateInput`)),e.multiselect!=null&&k.hasOwnProperty.call(e,`multiselect`)&&(r.multiselect=V.MultiSelect.toObject(e.multiselect,t,n+1),t.oneofs&&(r.type=`multiselect`)),e.markdown!=null&&k.hasOwnProperty.call(e,`markdown`)&&(r.markdown=V.Markdown.toObject(e.markdown,t,n+1),t.oneofs&&(r.type=`markdown`)),e.alert!=null&&k.hasOwnProperty.call(e,`alert`)&&(r.alert=V.Alert.toObject(e.alert,t,n+1),t.oneofs&&(r.type=`alert`)),e.json!=null&&k.hasOwnProperty.call(e,`json`)&&(r.json=V.Json.toObject(e.json,t,n+1),t.oneofs&&(r.type=`json`)),e.numberInput!=null&&k.hasOwnProperty.call(e,`numberInput`)&&(r.numberInput=V.NumberInput.toObject(e.numberInput,t,n+1),t.oneofs&&(r.type=`numberInput`)),e.fileUploader!=null&&k.hasOwnProperty.call(e,`fileUploader`)&&(r.fileUploader=V.FileUploader.toObject(e.fileUploader,t,n+1),t.oneofs&&(r.type=`fileUploader`)),e.deckGlJsonChart!=null&&k.hasOwnProperty.call(e,`deckGlJsonChart`)&&(r.deckGlJsonChart=V.DeckGlJsonChart.toObject(e.deckGlJsonChart,t,n+1),t.oneofs&&(r.type=`deckGlJsonChart`)),e.colorPicker!=null&&k.hasOwnProperty.call(e,`colorPicker`)&&(r.colorPicker=V.ColorPicker.toObject(e.colorPicker,t,n+1),t.oneofs&&(r.type=`colorPicker`)),e.favicon!=null&&k.hasOwnProperty.call(e,`favicon`)&&(r.favicon=V.Favicon.toObject(e.favicon,t,n+1),t.oneofs&&(r.type=`favicon`)),e.componentInstance!=null&&k.hasOwnProperty.call(e,`componentInstance`)&&(r.componentInstance=V.ComponentInstance.toObject(e.componentInstance,t,n+1),t.oneofs&&(r.type=`componentInstance`)),e.iframe!=null&&k.hasOwnProperty.call(e,`iframe`)&&(r.iframe=V.IFrame.toObject(e.iframe,t,n+1),t.oneofs&&(r.type=`iframe`)),e.table!=null&&k.hasOwnProperty.call(e,`table`)&&(r.table=V.Table.toObject(e.table,t,n+1),t.oneofs&&(r.type=`table`)),e.dataframe!=null&&k.hasOwnProperty.call(e,`dataframe`)&&(r.dataframe=V.Dataframe.toObject(e.dataframe,t,n+1),t.oneofs&&(r.type=`dataframe`)),e.vegaLiteChart!=null&&k.hasOwnProperty.call(e,`vegaLiteChart`)&&(r.vegaLiteChart=V.VegaLiteChart.toObject(e.vegaLiteChart,t,n+1),t.oneofs&&(r.type=`vegaLiteChart`)),e.metric!=null&&k.hasOwnProperty.call(e,`metric`)&&(r.metric=V.Metric.toObject(e.metric,t,n+1),t.oneofs&&(r.type=`metric`)),e.downloadButton!=null&&k.hasOwnProperty.call(e,`downloadButton`)&&(r.downloadButton=V.DownloadButton.toObject(e.downloadButton,t,n+1),t.oneofs&&(r.type=`downloadButton`)),e.spinner!=null&&k.hasOwnProperty.call(e,`spinner`)&&(r.spinner=V.Spinner.toObject(e.spinner,t,n+1),t.oneofs&&(r.type=`spinner`)),e.cameraInput!=null&&k.hasOwnProperty.call(e,`cameraInput`)&&(r.cameraInput=V.CameraInput.toObject(e.cameraInput,t,n+1),t.oneofs&&(r.type=`cameraInput`)),e.snow!=null&&k.hasOwnProperty.call(e,`snow`)&&(r.snow=V.Snow.toObject(e.snow,t,n+1),t.oneofs&&(r.type=`snow`)),e.heading!=null&&k.hasOwnProperty.call(e,`heading`)&&(r.heading=V.Heading.toObject(e.heading,t,n+1),t.oneofs&&(r.type=`heading`)),e.code!=null&&k.hasOwnProperty.call(e,`code`)&&(r.code=V.Code.toObject(e.code,t,n+1),t.oneofs&&(r.type=`code`)),e.chatInput!=null&&k.hasOwnProperty.call(e,`chatInput`)&&(r.chatInput=V.ChatInput.toObject(e.chatInput,t,n+1),t.oneofs&&(r.type=`chatInput`)),e.toast!=null&&k.hasOwnProperty.call(e,`toast`)&&(r.toast=V.Toast.toObject(e.toast,t,n+1),t.oneofs&&(r.type=`toast`)),e.linkButton!=null&&k.hasOwnProperty.call(e,`linkButton`)&&(r.linkButton=V.LinkButton.toObject(e.linkButton,t,n+1),t.oneofs&&(r.type=`linkButton`)),e.skeleton!=null&&k.hasOwnProperty.call(e,`skeleton`)&&(r.skeleton=V.Skeleton.toObject(e.skeleton,t,n+1),t.oneofs&&(r.type=`skeleton`)),e.pageLink!=null&&k.hasOwnProperty.call(e,`pageLink`)&&(r.pageLink=V.PageLink.toObject(e.pageLink,t,n+1),t.oneofs&&(r.type=`pageLink`)),e.html!=null&&k.hasOwnProperty.call(e,`html`)&&(r.html=V.Html.toObject(e.html,t,n+1),t.oneofs&&(r.type=`html`)),e.buttonGroup!=null&&k.hasOwnProperty.call(e,`buttonGroup`)&&(r.buttonGroup=V.ButtonGroup.toObject(e.buttonGroup,t,n+1),t.oneofs&&(r.type=`buttonGroup`)),e.audioInput!=null&&k.hasOwnProperty.call(e,`audioInput`)&&(r.audioInput=V.AudioInput.toObject(e.audio
1Input,t,n+1),t.oneofs&&(r.type=`audioInput`)),e.heightConfig!=null&&k.hasOwnProperty.call(e,`heightConfig`)&&(r.heightConfig=V.streamlit.HeightConfig.toObject(e.heightConfig,t,n+1)),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=V.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.bidiComponent!=null&&k.hasOwnProperty.call(e,`bidiComponent`)&&(r.bidiComponent=V.BidiComponent.toObject(e.bidiComponent,t,n+1),t.oneofs&&(r.type=`bidiComponent`)),e.space!=null&&k.hasOwnProperty.call(e,`space`)&&(r.space=V.Space.toObject(e.space,t,n+1),t.oneofs&&(r.type=`space`)),e.textAlignmentConfig!=null&&k.hasOwnProperty.call(e,`textAlignmentConfig`)&&(r.textAlignmentConfig=V.streamlit.TextAlignmentConfig.toObject(e.textAlignmentConfig,t,n+1)),e.dateTimeInput!=null&&k.hasOwnProperty.call(e,`dateTimeInput`)&&(r.dateTimeInput=V.DateTimeInput.toObject(e.dateTimeInput,t,n+1),t.oneofs&&(r.type=`dateTimeInput`)),e.feedback!=null&&k.hasOwnProperty.call(e,`feedback`)&&(r.feedback=V.Feedback.toObject(e.feedback,t,n+1),t.oneofs&&(r.type=`feedback`)),e.menuButton!=null&&k.hasOwnProperty.call(e,`menuButton`)&&(r.menuButton=V.MenuButton.toObject(e.menuButton,t,n+1),t.oneofs&&(r.type=`menuButton`)),e.hasOneShotEffect!=null&&k.hasOwnProperty.call(e,`hasOneShotEffect`)&&(r.hasOneShotEffect=e.hasOneShotEffect),e.pagination!=null&&k.hasOwnProperty.call(e,`pagination`)&&(r.pagination=V.Pagination.toObject(e.pagination,t,n+1),t.oneofs&&(r.type=`pagination`)),e.echartsChart!=null&&k.hasOwnProperty.call(e,`echartsChart`)&&(r.echartsChart=V.EChartsChart.toObject(e.echartsChart,t,n+1),t.oneofs&&(r.type=`echartsChart`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Element`},e})();V.DownloadButton=(()=>{let e=function(e){if(e)for(let t=k.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,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_deferredFileId`,{get:O.oneOfGetter(t=[`deferredFileId`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&e.default!==!1&&t.uint32(24).bool(e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(50).string(e.url),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(56).bool(e.disabled),e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&e.useContainerWidth!==!1&&t.uint32(64).bool(e.useContainerWidth),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(74).string(e.type),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(82).string(e.icon),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(88).bool(e.ignoreRerun),e.deferredFileId!=null&&k.hasOwnProperty.call(e,`deferredFileId`)&&t.uint32(98).string(e.deferredFileId),e.shortcut!=null&&k.hasOwnProperty.call(e,`shortcut`)&&e.shortcut!==``&&t.uint32(106).string(e.shortcut),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(112).int32(e.iconPosition),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(120).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DownloadButton;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 15:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DownloadButton)return e;if(!O.isObject(e))throw N(`.DownloadButton: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DownloadButton;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&e.default&&(n.default=F(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.useContainerWidth!=null&&e.useContainerWidth&&(n.useContainerWidth=F(e.useContainerWidth)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=F(e.ignoreRerun)),e.deferredFileId!=null&&(n.deferredFileId=P(e.deferredFileId)),e.shortcut!=null&&(typeof e.shortcut!=`string`||e.shortcut.length)&&(n.shortcut=P(e.shortcut)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||V.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.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`LEFT`:0),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),e.deferredFileId!=null&&k.hasOwnProperty.call(e,`deferredFileId`)&&(r.deferredFileId=e.deferredFileId),e.shortcut!=null&&k.hasOwnProperty.call(e,`shortcut`)&&(r.shortcut=e.shortcut),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===P?V.streamlit.ButtonLikeIconPosition[e.iconPosition]===A?e.iconPosition:V.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DownloadButton`},e})();var fe=V.EChartsChart=(()=>{let e=function(e){if(e)for(let t=k.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.theme=``,e.prototype.id=``,e.prototype.renderer=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(10).string(e.spec),e.theme!=null&&k.hasOwnProperty.call(e,`theme`)&&e.theme!==``&&t.uint32(18).string(e.theme),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(26).string(e.id),e.renderer!=null&&k.hasOwnProperty.call(e,`renderer`)&&e.renderer!==0&&t.uint32(48).int32(e.renderer),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.EChartsChart;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;(s=e.stringVerify()).length?o.theme=s:delete o.theme;continue;case 3:if(a!==2)break;(s=e.stringVerify()).length?o.id=s:delete o.id;continue;case 6:if(a!==0)break;(s=e.int32())?o.renderer=s:delete o.renderer;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.EChartsChart)return e;if(!O.isObject(e))throw N(`.EChartsChart: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.EChartsChart;if(e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=P(e.spec)),e.theme!=null&&(typeof e.theme!=`string`||e.theme.length)&&(n.theme=P(e.theme)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.renderer!==0&&(typeof e.renderer!=`string`||V.EChartsChart.Renderer[e.renderer]!==0))switch(e.renderer){case`CANVAS`:case 0:n.renderer=0;break;case`SVG`:case 1:n.renderer=1;break;default:typeof e.renderer==`number`&&(e.renderer|0)===e.renderer&&(n.renderer=e.renderer)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.spec=``,r.theme=``,r.id=``,r.renderer=t.enums===P?`CANVAS`:0),e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.theme!=null&&k.hasOwnProperty.call(e,`theme`)&&(r.theme=e.theme),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.renderer!=null&&k.hasOwnProperty.call(e,`renderer`)&&(r.renderer=t.enums===P?V.EChartsChart.Renderer[e.renderer]===A?e.renderer:V.EChartsChart.Renderer[e.renderer]:e.renderer),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/EChartsChart`},e.Renderer=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`CANVAS`]=0,t[e[1]=`SVG`]=1,t})(),e})();V.Empty=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Empty;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}e.skipType(i&7,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Empty)return e;if(!O.isObject(e))throw N(`.Empty: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);return new V.Empty},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Empty`},e})(),V.Exception=(()=>{let e=function(e){if(this.stackTrace=[],e)for(let t=k.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=O.emptyArray,e.prototype.isWarning=!1,e.prototype.widthConfig=null,e.prototype.isStreamlitException=!1,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(10).string(e.type),e.message!=null&&k.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&&k.hasOwnProperty.call(e,`messageIsMarkdown`)&&e.messageIsMarkdown!==!1&&t.uint32(32).bool(e.messageIsMarkdown),e.isWarning!=null&&k.hasOwnProperty.call(e,`isWarning`)&&e.isWarning!==!1&&t.uint32(40).bool(e.isWarning),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&V.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(50).fork(),n+1).ldelim(),e.isStreamlitException!=null&&k.hasOwnProperty.call(e,`isStreamlitException`)&&e.isStreamlitException!==!1&&t.uint32(56).bool(e.isStreamlitException),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Exception;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.streamlit.WidthConfig.decode(e,e.uint32(),A,r+1,o.widthConfig);continue;case 7:if(a!==0)break;(s=e.bool())?o.isStreamlitException=s:delete o.isStreamlitException;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Exception)return e;if(!O.isObject(e))throw N(`.Exception: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Exception;if(e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.message!=null&&(typeof e.message!=`string`||e.message.length)&&(n.message=P(e.message)),e.messageIsMarkdown!=null&&e.messageIsMarkdown&&(n.messageIsMarkdown=F(e.messageIsMarkdown)),e.stackTrace){if(!R.isArray(e.stackTrace))throw N(`.Exception.stackTrace: array expected`);n.stackTrace=R(e.stackTrace.length);for(let t=0;t<e.stackTrace.length;++t)n.stackTrace[t]=P(e.stackTrace[t])}if(e.isWarning!=null&&e.isWarning&&(n.isWarning=F(e.isWarning)),e.widthConfig!=null){if(!O.isObject(e.widthConfig))throw N(`.Exception.widthConfig: object expected`);n.widthConfig=V.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return e.isStreamlitException!=null&&e.isStreamlitException&&(n.isStreamlitException=F(e.isStreamlitException)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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,r.isStreamlitException=!1),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.message!=null&&k.hasOwnProperty.call(e,`message`)&&(r.message=e.message),e.stackTrace&&e.stackTrace.length){r.stackTrace=R(e.stackTrace.length);for(let t=0;t<e.stackTrace.length;++t)r.stackTrace[t]=e.stackTrace[t]}return e.messageIsMarkdown!=null&&k.hasOwnProperty.call(e,`messageIsMarkdown`)&&(r.messageIsMarkdown=e.messageIsMarkdown),e.isWarning!=null&&k.hasOwnProperty.call(e,`isWarning`)&&(r.isWarning=e.isWarning),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=V.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),e.isStreamlitException!=null&&k.hasOwnProperty.call(e,`isStreamlitException`)&&(r.isStreamlitException=e.isStreamlitException),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Exception`},e})(),V.Favicon=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Favicon;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Favicon)return e;if(!O.isObject(e))throw N(`.Favicon: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Favicon;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.url=``),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Favicon`},e})();var pe=V.Feedback=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_value`,{get:O.oneOfGetter(t=[`value`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(16).int32(e.type),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&t.uint32(24).uint32(e.default),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(32).bool(e.disabled),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&t.uint32(48).uint32(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Feedback;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Feedback)return e;if(!O.isObject(e))throw N(`.Feedback: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Feedback;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.type!==0&&(typeof e.type!=`string`||V.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=F(e.disabled)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&(n.value=e.value>>>0),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.type=t.enums===P?`THUMBS`:0,r.disabled=!1,r.formId=``,r.setValue=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.Feedback.FeedbackType[e.type]===A?e.type:V.Feedback.FeedbackType[e.type]:e.type),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Feedback`},e.FeedbackType=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`THUMBS`]=0,t[e[1]=`FACES`]=1,t[e[2]=`STARS`]=2,t})(),e})();V.FileUploader=(()=>
1{let e=function(e){if(this.type=[],e)for(let t=k.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=O.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.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&&k.hasOwnProperty.call(e,`maxUploadSizeMb`)&&e.maxUploadSizeMb!==0&&t.uint32(32).int32(e.maxUploadSizeMb),e.multipleFiles!=null&&k.hasOwnProperty.call(e,`multipleFiles`)&&e.multipleFiles!==!1&&t.uint32(48).bool(e.multipleFiles),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(58).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(66).string(e.formId),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(82).fork(),n+1).ldelim(),e.acceptDirectory!=null&&k.hasOwnProperty.call(e,`acceptDirectory`)&&e.acceptDirectory!==!1&&t.uint32(88).bool(e.acceptDirectory),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FileUploader;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FileUploader)return e;if(!O.isObject(e))throw N(`.FileUploader: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FileUploader;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.type){if(!R.isArray(e.type))throw N(`.FileUploader.type: array expected`);n.type=R(e.type.length);for(let t=0;t<e.type.length;++t)n.type[t]=P(e.type[t])}if(e.maxUploadSizeMb!=null&&I(e.maxUploadSizeMb)!==0&&(n.maxUploadSizeMb=e.maxUploadSizeMb|0),e.multipleFiles!=null&&e.multipleFiles&&(n.multipleFiles=F(e.multipleFiles)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.FileUploader.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.acceptDirectory!=null&&e.acceptDirectory&&(n.acceptDirectory=F(e.acceptDirectory)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.type&&e.type.length){r.type=R(e.type.length);for(let t=0;t<e.type.length;++t)r.type[t]=e.type[t]}return e.maxUploadSizeMb!=null&&k.hasOwnProperty.call(e,`maxUploadSizeMb`)&&(r.maxUploadSizeMb=e.maxUploadSizeMb),e.multipleFiles!=null&&k.hasOwnProperty.call(e,`multipleFiles`)&&(r.multipleFiles=e.multipleFiles),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.acceptDirectory!=null&&k.hasOwnProperty.call(e,`acceptDirectory`)&&(r.acceptDirectory=e.acceptDirectory),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FileUploader`},e})(),V.GraphVizChart=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(10).string(e.spec),e.elementId!=null&&k.hasOwnProperty.call(e,`elementId`)&&e.elementId!==``&&t.uint32(42).string(e.elementId),e.engine!=null&&k.hasOwnProperty.call(e,`engine`)&&e.engine!==``&&t.uint32(50).string(e.engine),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.GraphVizChart;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.GraphVizChart)return e;if(!O.isObject(e))throw N(`.GraphVizChart: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.GraphVizChart;return e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=P(e.spec)),e.elementId!=null&&(typeof e.elementId!=`string`||e.elementId.length)&&(n.elementId=P(e.elementId)),e.engine!=null&&(typeof e.engine!=`string`||e.engine.length)&&(n.engine=P(e.engine)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.spec=``,r.elementId=``,r.engine=``),e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.elementId!=null&&k.hasOwnProperty.call(e,`elementId`)&&(r.elementId=e.elementId),e.engine!=null&&k.hasOwnProperty.call(e,`engine`)&&(r.engine=e.engine),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/GraphVizChart`},e})(),V.Heading=(()=>{let e=function(e){if(e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.tag=``,e.prototype.anchor=``,e.prototype.body=``,e.prototype.help=``,e.prototype.hideAnchor=!1,e.prototype.divider=``,e.prototype.wrap=null,e.prototype.icon=``;let t;return k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.tag!=null&&k.hasOwnProperty.call(e,`tag`)&&e.tag!==``&&t.uint32(10).string(e.tag),e.anchor!=null&&k.hasOwnProperty.call(e,`anchor`)&&e.anchor!==``&&t.uint32(18).string(e.anchor),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(26).string(e.body),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.hideAnchor!=null&&k.hasOwnProperty.call(e,`hideAnchor`)&&e.hideAnchor!==!1&&t.uint32(40).bool(e.hideAnchor),e.divider!=null&&k.hasOwnProperty.call(e,`divider`)&&e.divider!==``&&t.uint32(50).string(e.divider),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(56).bool(e.wrap),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(66).string(e.icon),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Heading;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;(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;case 7:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue;case 8:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Heading)return e;if(!O.isObject(e))throw N(`.Heading: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Heading;return e.tag!=null&&(typeof e.tag!=`string`||e.tag.length)&&(n.tag=P(e.tag)),e.anchor!=null&&(typeof e.anchor!=`string`||e.anchor.length)&&(n.anchor=P(e.anchor)),e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.hideAnchor!=null&&e.hideAnchor&&(n.hideAnchor=F(e.hideAnchor)),e.divider!=null&&(typeof e.divider!=`string`||e.divider.length)&&(n.divider=P(e.divider)),e.wrap!=null&&(n.wrap=F(e.wrap)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.tag=``,r.anchor=``,r.body=``,r.help=``,r.hideAnchor=!1,r.divider=``,r.icon=``),e.tag!=null&&k.hasOwnProperty.call(e,`tag`)&&(r.tag=e.tag),e.anchor!=null&&k.hasOwnProperty.call(e,`anchor`)&&(r.anchor=e.anchor),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.hideAnchor!=null&&k.hasOwnProperty.call(e,`hideAnchor`)&&(r.hideAnchor=e.hideAnchor),e.divider!=null&&k.hasOwnProperty.call(e,`divider`)&&(r.divider=e.divider),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Heading`},e})(),V.Help=(()=>{let e=function(e){if(this.members=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.docString!=null&&k.hasOwnProperty.call(e,`docString`)&&e.docString!==``&&t.uint32(26).string(e.docString),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(34).string(e.type),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(50).string(e.name),e.value!=null&&k.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)V.Member.encode(e.members[r],t.uint32(66).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Help;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;
1(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(V.Member.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Help)return e;if(!O.isObject(e))throw N(`.Help: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Help;if(e.docString!=null&&(typeof e.docString!=`string`||e.docString.length)&&(n.docString=P(e.docString)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=P(e.value)),e.members){if(!R.isArray(e.members))throw N(`.Help.members: array expected`);n.members=R(e.members.length);for(let r=0;r<e.members.length;++r){if(!O.isObject(e.members[r]))throw N(`.Help.members: object expected`);n.members[r]=V.Member.fromObject(e.members[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`docString`)&&(r.docString=e.docString),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.members&&e.members.length){r.members=R(e.members.length);for(let i=0;i<e.members.length;++i)r.members[i]=V.Member.toObject(e.members[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Help`},e})(),V.Member=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`contents`,{get:O.oneOfGetter(t=[`value`,`docString`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(18).string(e.type),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&t.uint32(26).string(e.value),e.docString!=null&&k.hasOwnProperty.call(e,`docString`)&&t.uint32(34).string(e.docString),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Member;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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.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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Member)return e;if(!O.isObject(e))throw N(`.Member: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Member;return e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.value!=null&&(n.value=P(e.value)),e.docString!=null&&(n.docString=P(e.docString)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.type=``),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value,t.oneofs&&(r.contents=`value`)),e.docString!=null&&k.hasOwnProperty.call(e,`docString`)&&(r.docString=e.docString,t.oneofs&&(r.contents=`docString`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Member`},e})(),V.Html=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.unsafeAllowJavascript!=null&&k.hasOwnProperty.call(e,`unsafeAllowJavascript`)&&e.unsafeAllowJavascript!==!1&&t.uint32(16).bool(e.unsafeAllowJavascript),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Html;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Html)return e;if(!O.isObject(e))throw N(`.Html: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Html;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.unsafeAllowJavascript!=null&&e.unsafeAllowJavascript&&(n.unsafeAllowJavascript=F(e.unsafeAllowJavascript)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.unsafeAllowJavascript=!1),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.unsafeAllowJavascript!=null&&k.hasOwnProperty.call(e,`unsafeAllowJavascript`)&&(r.unsafeAllowJavascript=e.unsafeAllowJavascript),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Html`},e})(),V.IFrame=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`type`,{get:O.oneOfGetter(t=[`src`,`srcdoc`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_tabIndex`,{get:O.oneOfGetter(t=[`tabIndex`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.src!=null&&k.hasOwnProperty.call(e,`src`)&&t.uint32(10).string(e.src),e.srcdoc!=null&&k.hasOwnProperty.call(e,`srcdoc`)&&t.uint32(18).string(e.srcdoc),e.scrolling!=null&&k.hasOwnProperty.call(e,`scrolling`)&&e.scrolling!==!1&&t.uint32(56).bool(e.scrolling),e.tabIndex!=null&&k.hasOwnProperty.call(e,`tabIndex`)&&t.uint32(64).int32(e.tabIndex),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.IFrame;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.IFrame)return e;if(!O.isObject(e))throw N(`.IFrame: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.IFrame;return e.src!=null&&(n.src=P(e.src)),e.srcdoc!=null&&(n.srcdoc=P(e.srcdoc)),e.scrolling!=null&&e.scrolling&&(n.scrolling=F(e.scrolling)),e.tabIndex!=null&&(n.tabIndex=e.tabIndex|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.scrolling=!1),e.src!=null&&k.hasOwnProperty.call(e,`src`)&&(r.src=e.src,t.oneofs&&(r.type=`src`)),e.srcdoc!=null&&k.hasOwnProperty.call(e,`srcdoc`)&&(r.srcdoc=e.srcdoc,t.oneofs&&(r.type=`srcdoc`)),e.scrolling!=null&&k.hasOwnProperty.call(e,`scrolling`)&&(r.scrolling=e.scrolling),e.tabIndex!=null&&k.hasOwnProperty.call(e,`tabIndex`)&&(r.tabIndex=e.tabIndex),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/IFrame`},e})(),V.Image=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.caption!=null&&k.hasOwnProperty.call(e,`caption`)&&e.caption!==``&&t.uint32(18).string(e.caption),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(26).string(e.url),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Image;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Image)return e;if(!O.isObject(e))throw N(`.Image: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Image;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.caption!=null&&(typeof e.caption!=`string`||e.caption.length)&&(n.caption=P(e.caption)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.caption=``,r.url=``),e.caption!=null&&k.hasOwnProperty.call(e,`caption`)&&(r.caption=e.caption),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Image`},e})(),V.ImageList=(()=>{let e=function(e){if(this.imgs=[],e)for(let t=k.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=O.emptyArray,e.prototype.link=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.imgs!=null&&e.imgs.length)for(let r=0;r<e.imgs.length;++r)V.Image.encode(e.imgs[r],t.uint32(10).fork(),n+1).ldelim();if(e.link!=null&&k.hasOwnProperty.call(e,`link`)&&e.link!==``&&t.uint32(26).string(e.link),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ImageList;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.imgs&&o.imgs.length||(o.imgs=[]),o.imgs.push(V.Image.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ImageList)return e;if(!O.isObject(e))throw N(`.ImageList: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ImageList;if(e.imgs){if(!R.isArray(e.imgs))throw N(`.ImageList.imgs: array expected`);n.imgs=R(e.imgs.length);for(let r=0;r<e.imgs.length;++r){if(!O.isObject(e.imgs[r]))throw N(`.ImageList.imgs: object expected`);n.imgs[r]=V.Image.fromObject(e.imgs[r],t+1)}}return e.link!=null&&(typeof e.link!=`string`||e.link.length)&&(n.link=P(e.link)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.imgs=[]),t.defaults&&(r.link=``),e.imgs&&e.imgs.length){r.imgs=R(e.imgs.length);for(let i=0;i<e.imgs.length;++i)r.imgs[i]=V.Image.toObject(e.imgs[i],t,n+1)}return e.link!=null&&k.hasOwnProperty.call(e,`link`)&&(r.link=e.link),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ImageList`},e})(),V.Json=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_maxExpandDepth`,{get:O.oneOfGetter(t=[`maxExpandDepth`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.expanded!=null&&k.hasOwnProperty.call(e,`expanded`)&&e.expanded!==!1&&t.uint32(16).bool(e.expanded),e.maxExpandDepth!=null&&k.hasOwnProperty.call(e,`maxExpandDepth`)&&t.uint32(24).int32(e.maxExpandDepth),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Json;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Json)return e;if(!O.isObject(e))throw N(`.Json: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Json;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.expanded!=null&&e.expanded&&(n.expanded=F(e.expanded)),e.maxExpandDepth!=null&&(n.maxExpandDepth=e.maxExpandDepth|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.expanded=!1),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.expanded!=null&&k.hasOwnProperty.call(e,`expanded`)&&(r.expanded=e.expanded),e.maxExpandDepth!=null&&k.hasOwnProperty.call(e,`maxExpandDepth`)&&(r.maxExpandDepth=e.maxExpandDepth),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Json`},e})(),V.LinkButton=(()=>{let e=function(e){if(e)for(let t=k.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.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.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(50).string(e.url),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(56).bool(e.disabled),e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&e.useContainerWidth!==!1&&t.uint32(64).bool(e.useContainerWidth),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(74).string(e.type),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(82).string(e.icon),e.shortcut!=null&&k.hasOwnProperty.call(e,`shortcut`)&&e.shortcut!==``&&t.uint32(90).string(e.shortcut),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(96).int32(e.iconPosition),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(104).bool(e.ignoreRerun),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(112).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.LinkButton;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 14:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.LinkButton)return e;if(!O.isObject(e))throw N(`.LinkButton: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.LinkButton;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.useContainerWidth!=null&&e.useContainerWidth&&(n.useContainerWidth=F(e.useContainerWidth)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.shortcut!=null&&(typeof e.shortcut!=`string`||e.shortcut.length)&&(n.shortcut=P(e.shortcut)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||V.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=F(e.ignoreRerun)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`LEFT`:0,r.ignoreRerun=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.shortcut!=null&&k.hasOwnProperty.call(e,`shortcut`)&&(r.shortcut=e.shortcut),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===P?V.streamlit.ButtonLikeIconPosition[e.iconPosition]===A?e.iconPosition:V.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/LinkButton`},e})();var me=V.Markdown=(()=>{let e=function(e){if(e)for(let t=k.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.allowHtml=!1,e.prototype.elementType=0,e.prototype.help=``,e.prototype.unterminatedParsing=!1,e.prototype.hideAnchors=!1,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.allowHtml!=null&&k.hasOwnProperty.call(e,`allowHtml`)&&e.allowHtml!==!1&&t.uint32(16).bool(e.allowHtml),e.elementType!=null&&k.hasOwnProperty.call(e,`elementType`)&&e.elementType!==0&&t.uint32(32).int32(e.elementType),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.unterminatedParsing!=null&&k.hasOwnProperty.call(e,`unterminatedParsing`)&&e.unterminatedParsing!==!1&&t.uint32(48).bool(e.unterminatedParsing),e.hideAnchors!=null&&k.hasOwnProperty.call(e,`hideAnchors`)&&e.hideAnchors!==!1&&t.uint32(56).bool(e.hideAnchors),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(64).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Markdown;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 8:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Markdown)return e;if(!O.isObject(e))throw N(`.Markdown: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Markdown;if(e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.allowHtml!=null&&e.allowHtml&&(n.allowHtml=F(e.allowHtml)),e.elementType!==0&&(typeof e.elementType!=`string`||V.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=P(e.help)),e.unterminatedParsing!=null&&e.unterminatedParsing&&(n.unterminatedParsing=F(e.unterminatedParsing)),e.hideAnchors!=null&&e.hideAnchors&&(n.hideAnchors=F(e.hideAnchors)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.allowHtml=!1,r.elementType=t.enums===P?`UNSPECIFIED`:0,r.help=``,r.unterminatedParsing=!1,r.hideAnchors=!1),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.allowHtml!=null&&k.hasOwnProperty.call(e,`allowHtml`)&&(r.allowHtml=e.allowHtml),e.elementType!=null&&k.hasOwnProperty.call(e,`elementType`)&&(r.elementType=t.enums===P?V.Markdown.Type[e.elementType]===A?e.elementType:V.Markdown.Type[e.elementType]:e.elementType),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.unterminatedParsing!=null&&k.hasOwnProperty.call(e,`unterminatedParsing`)&&(r.unterminatedParsing=e.unterminatedParsing),e.hideAnchors!=null&&k.hasOwnProperty.call(e,`hideAnchors`)&&(r.hideAnchors=e.hideAnchors),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Markdown`},e.Type=(function(){let e=k.create(null),t=k.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})();V.MenuButton=(()=>{let e=function(e){if(this.options=[],e)for(let t=k.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.options=O.emptyArray,e.prototype.help=``,e.prototype.type=``,e.prototype.disabled=!1,e.prototype.icon=``,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.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&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==``&&t.uint32(42).string(e.type),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(48).bool(e.disabled),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(58).string(e.icon),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(64).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.MenuButton;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 8:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.MenuButton)return e;if(!O.isObject(e))throw N(`.MenuButton: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.MenuButton;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.options){if(!R.isArray(e.options))throw N(`.MenuButton.options: array expected`);n.options=R(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=P(e.options[t])}return e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.type!=null&&(typeof e.type!=`string`||e.type.length)&&(n.type=P(e.type)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.options&&e.options.length){r.options=R(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}return e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=e.type),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/MenuButton`},e})();var he=V.Metric=(()=>{let e=function(e){if(this.chartData=[],e)for(let t=k.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=O.emptyArray,e.prototype.chartType=0,e.prototype.format=``,e.prototype.deltaDescription=``,e.prototype.icon=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(18).string(e.body),e.delta!=null&&k.hasOwnProperty.call(e,`delta`)&&e.delta!==``&&t.uint32(26).string(e.delta),e.direction!=null&&k.hasOwnProperty.call(e,`direction`)&&e.direction!==0&&t.uint32(32).int32(e.direction),e.color!=null&&k.hasOwnProperty.call(e,`color`)&&e.color!==0&&t.uint32(40).int32(e.color),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(58).fork(),n+1).ldelim(),e.showBorder!=null&&k.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&&k.hasOwnProperty.call(e,`chartType`)&&e.chartType!==0&&t.uint32(80).int32(e.chartType),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(90).string(e.format),e.deltaDescription!=null&&k.hasOwnProperty.call(e,`deltaDescription`)&&e.deltaDescription!==``&&t.uint32(98).string(e.deltaDescription),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(106).string(e.icon),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Metric;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 13:if(a!==2)break;(s=e.stringVerify()).length?o.icon=s:delete o.icon;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Metric)return e;if(!O.isObject(e))throw N(`.Metric: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Metric;if(e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.delta!=null&&(typeof e.delta!=`string`||e.delta.length)&&(n.delta=P(e.delta)),e.direction!==0&&(typeof e.direction!=`string`||V.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`||V.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=P(e.help)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.Metric.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.showBorder!=null&&e.showBorder&&(n.showBorder=F(e.showBorder)),e.chartData){if(!R.isArray(e.chartData))throw N(`.Metric.chartData: array expected`);n.chartData=R(e.chartData.length);for(let t=0;t<e.chartData.length;++t)n.chartData[t]=I(e.chartData[t])}if(e.chartType!==0&&(typeof e.chartType!=`string`||V.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=P(e.format)),e.deltaDescription!=null&&(typeof e.deltaDescription!=`string`||e.deltaDescription.length)&&(n.deltaDescription=P(e.deltaDescription)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.chartData=[]),t.defaults&&(r.label=``,r.body=``,r.delta=``,r.direction=t.enums===P?`DOWN`:0,r.color=t.enums===P?`RED`:0,r.help=``,r.labelVisibility=null,r.showBorder=!1,r.chartType=t.enums===P?`LINE`:0,r.format=``,r.deltaDescription=``,r.icon=``),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.delta!=null&&k.hasOwnProperty.call(e,`delta`)&&(r.delta=e.delta),e.direction!=null&&k.hasOwnProperty.call(e,`direction`)&&(r.direction=t.enums===P?V.Metric.MetricDirection[e.direction]===A?e.direction:V.Metric.MetricDirection[e.direction]:e.direction),e.color!=null&&k.hasOwnProperty.call(e,`color`)&&(r.color=t.enums===P?V.Metric.MetricColor[e.color]===A?e.color:V.Metric.MetricColor[e.color]:e.color),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.showBorder!=null&&k.hasOwnProperty.call(e,`showBorder`)&&(r.showBorder=e.showBorder),e.chartData&&e.chartData.length){r.chartData=R(e.chartData.length);for(let n=0;n<e.chartData.length;++n)r.chartData[n]=t.json&&!L(e.chartData[n])?P(e.chartData[n]):e.chartData[n]}return e.chartType!=null&&k.hasOwnProperty.call(e,`chartType`)&&(r.chartType=t.enums===P?V.Metric.ChartType[e.chartType]===A?e.chartType:V.Metric.ChartType[e.chartType]:e.chartType),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.deltaDescription!=null&&k.hasOwnProperty.call(e,`deltaDescription`)&&(r.deltaDescription=e.deltaDescription),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Metric`},e.MetricDirection=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`DOWN`]=0,t[e[1]=`UP`]=1,t[e[2]=`NONE`]=2,t})(),e.MetricColor=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.create(e);return t[e[0]=`LINE`]=0,t[e[1]=`BAR`]=1,t[e[2]=`AREA`]=2,t})(),e})();V.MultiSelect=(()=>{let e=function(e){if(this.default=[],this.options=[],this.rawValues=[],e)for(let t=k.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=O.emptyArray,e.prototype.options=O.emptyArray,e.prototype.help=``,e.prototype.formId=``,e.prototype.rawValues=O.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,e.prototype.wrap=null,e.prototype.selectAll=null;let t;return k.defineProperty(e.prototype,`_acceptNewOptions`,{get:O.oneOfGetter(t=[`acceptNewOptions`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_selectAll`,{get:O.oneOfGetter(t=[`selectAll`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.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&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(82).fork(),n+1).ldelim(),e.maxSelections!=null&&k.hasOwnProperty.call(e,`maxSelections`)&&e.maxSelections!==0&&t.uint32(88).int32(e.maxSelections),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(98).string(e.placeholder),e.acceptNewOptions!=null&&k.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&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.filterMode!=null&&k.hasOwnProperty.call(e,`filterMode`)&&e.filterMode!==0&&t.uint32(128).int32(e.filterMode),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(136).bool(e.wrap),e.selectAll!=null&&k.hasOwnProperty.call(e,`selectAll`)&&t.uint32(144).int32(e.selectAll),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.MultiSelect;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 17:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue;case 18:if(a!==0)break;o.selectAll=e.int32(),o._selectAll=`selectAll`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.MultiSelect)return e;if(!O.isObject(e))throw N(`.MultiSelect: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.MultiSelect;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default){if(!R.isArray(e.default))throw N(`.MultiSelect.default: array expected`);n.default=R(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=e.default[t]|0}if(e.options){if(!R.isArray(e.options))throw N(`.MultiSelect.options: array expected`);n.options=R(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=P(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.rawValues){if(!R.isArray(e.rawValues))throw N(`.MultiSelect.rawValues: array expected`);n.rawValues=R(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)n.rawValues[t]=P(e.rawValues[t])}if(e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.MultiSelect.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.maxSelections!=null&&I(e.maxSelections)!==0&&(n.maxSelections=e.maxSelections|0),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=P(e.placeholder)),e.acceptNewOptions!=null&&(n.acceptNewOptions=F(e.acceptNewOptions)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.filterMode!==0&&(typeof e.filterMode!=`string`||V.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 e.wrap!=null&&(n.wrap=F(e.wrap)),e.selectAll!=null&&(n.selectAll=e.selectAll|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`FILTER_MODE_FUZZY`:0),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default&&e.default.length){r.default=R(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=R(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}if(e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.maxSelections!=null&&k.hasOwnProperty.call(e,`maxSelections`)&&(r.maxSelections=e.maxSelections),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.acceptNewOptions!=null&&k.hasOwnProperty.call(e,`acceptNewOptions`)&&(r.acceptNewOptions=e.acceptNewOptions),e.rawValues&&e.rawValues.length){r.rawValues=R(e.rawValues.length);for(let t=0;t<e.rawValues.length;++t)r.rawValues[t]=e.rawValues[t]}return e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.filterMode!=null&&k.hasOwnProperty.call(e,`filterMode`)&&(r.filterMode=t.enums===P?V.streamlit.SelectWidgetFilterMode[e.filterMode]===A?e.filterMode:V.streamlit.SelectWidgetFilterMode[e.filterMode]:e.filterMode),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),e.selectAll!=null&&k.hasOwnProperty.call(e,`selectAll`)&&(r.selectAll=e.selectAll),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/MultiSelect`},e})();var ge=V.NumberInput=(()=>{let e=function(e){if(e)for(let t=k.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,e.prototype.ignoreRerun=!1;let t;return k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_value`,{get:O.oneOfGetter(t=[`value`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(26).string(e.formId),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(66).string(e.format),e.hasMin!=null&&k.hasOwnProperty.call(e,`hasMin`)&&e.hasMin!==!1&&t.uint32(88).bool(e.hasMin),e.hasMax!=null&&k.hasOwnProperty.call(e,`hasMax`)&&e.hasMax!==!1&&t.uint32(96).bool(e.hasMax),e.dataType!=null&&k.hasOwnProperty.call(e,`dataType`)&&e.dataType!==0&&t.uint32(104).int32(e.dataType),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&t.uint32(113).double(e.default),e.step!=null&&k.hasOwnProperty.call(e,`step`)&&!k.is(e.step,0)&&t.uint32(121).double(e.step),e.min!=null&&k.hasOwnProperty.call(e,`min`)&&!k.is(e.min,0)&&t.uint32(129).double(e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&!k.is(e.max,0
1)&&t.uint32(137).double(e.max),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(146).string(e.help),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&t.uint32(153).double(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(160).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(168).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(178).fork(),n+1).ldelim(),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(186).string(e.placeholder),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(194).string(e.icon),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(202).string(e.queryParamKey),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(208).bool(e.ignoreRerun),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.NumberInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;k.is(s=e.double(),0)?delete o.step:o.step=s;continue;case 16:if(a!==1)break;k.is(s=e.double(),0)?delete o.min:o.min=s;continue;case 17:if(a!==1)break;k.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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 26:if(a!==0)break;(s=e.bool())?o.ignoreRerun=s:delete o.ignoreRerun;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.NumberInput)return e;if(!O.isObject(e))throw N(`.NumberInput: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.NumberInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=P(e.format)),e.hasMin!=null&&e.hasMin&&(n.hasMin=F(e.hasMin)),e.hasMax!=null&&e.hasMax&&(n.hasMax=F(e.hasMax)),e.dataType!==0&&(typeof e.dataType!=`string`||V.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=I(e.default)),e.step!=null&&(k.is(I(e.step),0)||(n.step=I(e.step))),e.min!=null&&(k.is(I(e.min),0)||(n.min=I(e.min))),e.max!=null&&(k.is(I(e.max),0)||(n.max=I(e.max))),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.value!=null&&(n.value=I(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.NumberInput.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=P(e.placeholder)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=F(e.ignoreRerun)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`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=``,r.ignoreRerun=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.hasMin!=null&&k.hasOwnProperty.call(e,`hasMin`)&&(r.hasMin=e.hasMin),e.hasMax!=null&&k.hasOwnProperty.call(e,`hasMax`)&&(r.hasMax=e.hasMax),e.dataType!=null&&k.hasOwnProperty.call(e,`dataType`)&&(r.dataType=t.enums===P?V.NumberInput.DataType[e.dataType]===A?e.dataType:V.NumberInput.DataType[e.dataType]:e.dataType),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=t.json&&!L(e.default)?P(e.default):e.default),e.step!=null&&k.hasOwnProperty.call(e,`step`)&&(r.step=t.json&&!L(e.step)?P(e.step):e.step),e.min!=null&&k.hasOwnProperty.call(e,`min`)&&(r.min=t.json&&!L(e.min)?P(e.min):e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&(r.max=t.json&&!L(e.max)?P(e.max):e.max),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=t.json&&!L(e.value)?P(e.value):e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/NumberInput`},e.DataType=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`INT`]=0,t[e[1]=`FLOAT`]=1,t})(),e})();V.PageLink=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_useContainerWidth`,{get:O.oneOfGetter(t=[`useContainerWidth`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.page!=null&&k.hasOwnProperty.call(e,`page`)&&e.page!==``&&t.uint32(10).string(e.page),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(26).string(e.icon),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(34).string(e.pageScriptHash),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&t.uint32(48).bool(e.useContainerWidth),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(56).bool(e.disabled),e.external!=null&&k.hasOwnProperty.call(e,`external`)&&e.external!==!1&&t.uint32(64).bool(e.external),e.queryString!=null&&k.hasOwnProperty.call(e,`queryString`)&&e.queryString!==``&&t.uint32(74).string(e.queryString),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&e.iconPosition!==0&&t.uint32(80).int32(e.iconPosition),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageLink;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageLink)return e;if(!O.isObject(e))throw N(`.PageLink: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageLink;if(e.page!=null&&(typeof e.page!=`string`||e.page.length)&&(n.page=P(e.page)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=P(e.pageScriptHash)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.useContainerWidth!=null&&(n.useContainerWidth=F(e.useContainerWidth)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.external!=null&&e.external&&(n.external=F(e.external)),e.queryString!=null&&(typeof e.queryString!=`string`||e.queryString.length)&&(n.queryString=P(e.queryString)),e.iconPosition!==0&&(typeof e.iconPosition!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`LEFT`:0),e.page!=null&&k.hasOwnProperty.call(e,`page`)&&(r.page=e.page),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.external!=null&&k.hasOwnProperty.call(e,`external`)&&(r.external=e.external),e.queryString!=null&&k.hasOwnProperty.call(e,`queryString`)&&(r.queryString=e.queryString),e.iconPosition!=null&&k.hasOwnProperty.call(e,`iconPosition`)&&(r.iconPosition=t.enums===P?V.streamlit.ButtonLikeIconPosition[e.iconPosition]===A?e.iconPosition:V.streamlit.ButtonLikeIconPosition[e.iconPosition]:e.iconPosition),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageLink`},e})(),V.Pagination=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_maxVisiblePages`,{get:O.oneOfGetter(t=[`maxVisiblePages`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.numPages!=null&&k.hasOwnProperty.call(e,`numPages`)&&e.numPages!==0&&t.uint32(16).uint32(e.numPages),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&e.default!==0&&t.uint32(24).uint32(e.default),e.maxVisiblePages!=null&&k.hasOwnProperty.call(e,`maxVisiblePages`)&&t.uint32(32).uint32(e.maxVisiblePages),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(40).bool(e.disabled),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==0&&t.uint32(56).uint32(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(74).string(e.queryParamKey),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Pagination;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Pagination)return e;if(!O.isObject(e))throw N(`.Pagination: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Pagination;return e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.numPages!=null&&I(e.numPages)!==0&&(n.numPages=e.numPages>>>0),e.default!=null&&I(e.default)!==0&&(n.default=e.default>>>0),e.maxVisiblePages!=null&&(n.maxVisiblePages=e.maxVisiblePages>>>0),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&I(e.value)!==0&&(n.value=e.value>>>0),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.numPages!=null&&k.hasOwnProperty.call(e,`numPages`)&&(r.numPages=e.numPages),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.maxVisiblePages!=null&&k.hasOwnProperty.call(e,`maxVisiblePages`)&&(r.maxVisiblePages=e.maxVisiblePages),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Pagination`},e})();var _e=V.PlotlyChart=(()=>{let e=function(e){if(this.selectionMode=[],e)for(let t=k.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=O.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.theme!=null&&k.hasOwnProperty.call(e,`theme`)&&e.theme!==``&&t.uint32(50).string(e.theme),e.id!=null&&k.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&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(74).string(e.formId),e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(82).string(e.spec),e.config!=null&&k.hasOwnProperty.call(e,`config`)&&e.config!==``&&t.uint32(90).string(e.config),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PlotlyChart;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PlotlyChart)return e;
1if(!O.isObject(e))throw N(`.PlotlyChart: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PlotlyChart;if(e.theme!=null&&(typeof e.theme!=`string`||e.theme.length)&&(n.theme=P(e.theme)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.selectionMode){if(!R.isArray(e.selectionMode))throw N(`.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=P(e.formId)),e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=P(e.spec)),e.config!=null&&(typeof e.config!=`string`||e.config.length)&&(n.config=P(e.config)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`theme`)&&(r.theme=e.theme),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.selectionMode&&e.selectionMode.length){r.selectionMode=R(e.selectionMode.length);for(let n=0;n<e.selectionMode.length;++n)r.selectionMode[n]=t.enums===P?V.PlotlyChart.SelectionMode[e.selectionMode[n]]===A?e.selectionMode[n]:V.PlotlyChart.SelectionMode[e.selectionMode[n]]:e.selectionMode[n]}return e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.config!=null&&k.hasOwnProperty.call(e,`config`)&&(r.config=e.config),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PlotlyChart`},e.SelectionMode=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`POINTS`]=0,t[e[1]=`BOX`]=1,t[e[2]=`LASSO`]=2,t})(),e})();V.Progress=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==0&&t.uint32(8).uint32(e.value),e.text!=null&&k.hasOwnProperty.call(e,`text`)&&e.text!==``&&t.uint32(18).string(e.text),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Progress;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Progress)return e;if(!O.isObject(e))throw N(`.Progress: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Progress;return e.value!=null&&I(e.value)!==0&&(n.value=e.value>>>0),e.text!=null&&(typeof e.text!=`string`||e.text.length)&&(n.text=P(e.text)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.value=0,r.text=``),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.text!=null&&k.hasOwnProperty.call(e,`text`)&&(r.text=e.text),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Progress`},e})(),V.Radio=(()=>{let e=function(e){if(this.options=[],this.captions=[],e)for(let t=k.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=O.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=O.emptyArray,e.prototype.queryParamKey=null;let t;return k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_rawValue`,{get:O.oneOfGetter(t=[`rawValue`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.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&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.horizontal!=null&&k.hasOwnProperty.call(e,`horizontal`)&&e.horizontal!==!1&&t.uint32(80).bool(e.horizontal),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.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&&k.hasOwnProperty.call(e,`rawValue`)&&t.uint32(106).string(e.rawValue),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(114).string(e.queryParamKey),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Radio;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Radio)return e;if(!O.isObject(e))throw N(`.Radio: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Radio;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&(n.default=e.default|0),e.options){if(!R.isArray(e.options))throw N(`.Radio.options: array expected`);n.options=R(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=P(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.rawValue!=null&&(n.rawValue=P(e.rawValue)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.horizontal!=null&&e.horizontal&&(n.horizontal=F(e.horizontal)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.Radio.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.captions){if(!R.isArray(e.captions))throw N(`.Radio.captions: array expected`);n.captions=R(e.captions.length);for(let t=0;t<e.captions.length;++t)n.captions[t]=P(e.captions[t])}return e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.options&&e.options.length){r.options=R(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}if(e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.horizontal!=null&&k.hasOwnProperty.call(e,`horizontal`)&&(r.horizontal=e.horizontal),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.captions&&e.captions.length){r.captions=R(e.captions.length);for(let t=0;t<e.captions.length;++t)r.captions[t]=e.captions[t]}return e.rawValue!=null&&k.hasOwnProperty.call(e,`rawValue`)&&(r.rawValue=e.rawValue),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Radio`},e})(),V.Selectbox=(()=>{let e=function(e){if(this.options=[],e)for(let t=k.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=O.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,e.prototype.ignoreRerun=!1;let t;return k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_rawValue`,{get:O.oneOfGetter(t=[`rawValue`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_acceptNewOptions`,{get:O.oneOfGetter(t=[`acceptNewOptions`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.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&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(42).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(50).string(e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(64).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(72).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(82).fork(),n+1).ldelim(),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(90).string(e.placeholder),e.acceptNewOptions!=null&&k.hasOwnProperty.call(e,`acceptNewOptions`)&&t.uint32(96).bool(e.acceptNewOptions),e.rawValue!=null&&k.hasOwnProperty.call(e,`rawValue`)&&t.uint32(106).string(e.rawValue),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(114).string(e.queryParamKey),e.filterMode!=null&&k.hasOwnProperty.call(e,`filterMode`)&&e.filterMode!==0&&t.uint32(120).int32(e.filterMode),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(128).bool(e.ignoreRerun),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Selectbox;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 16:if(a!==0)break;(s=e.bool())?o.ignoreRerun=s:delete o.ignoreRerun;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Selectbox)return e;if(!O.isObject(e))throw N(`.Selectbox: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Selectbox;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&(n.default=e.default|0),e.options){if(!R.isArray(e.options))throw N(`.Selectbox.options: array expected`);n.options=R(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=P(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.rawValue!=null&&(n.rawValue=P(e.rawValue)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.Selectbox.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=P(e.placeholder)),e.acceptNewOptions!=null&&(n.acceptNewOptions=F(e.acceptNewOptions)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.filterMode!==0&&(typeof e.filterMode!=`string`||V.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 e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=F(e.ignoreRerun)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`FILTER_MODE_FUZZY`:0,r.ignoreRerun=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.options&&e.options.length){r.options=R(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}return e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.acceptNewOptions!=null&&k.hasOwnProperty.call(e,`acceptNewOptions`)&&(r.acceptNewOptions=e.acceptNewOptions),e.rawValue!=null&&k.hasOwnProperty.call(e,`rawValue`)&&(r.rawValue=e.rawValue),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.filterMode!=null&&k.hasOwnProperty.call(e,`filterMode`)&&(r.filterMode=t.enums===P?V.streamlit.SelectWidgetFilterMode[e.filterMode]===A?e.filterMode:V.streamlit.SelectWidgetFilterMode[e.filterMode]:e.filterMode),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Selectbox`},e})();var ve=V.Skeleton=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_height`,{get:O.oneOfGetter(t=[`height`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.style!=null&&k.hasOwnProperty.call(e,`style`)&&e.style!==0&&t.uint32(8).int32(e.style),e.height!=null&&k.hasOwnProperty.call(e,`height`)&&t.uint32(16).int32(e.height),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Skeleton;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Skeleton)return e;if(!O.isObject(e))throw N(`.Skeleton: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Skeleton;if(e.style!==0&&(typeof e.style!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.style=t.enums===P?`ELEMENT`:0),e.style!=null&&k.hasOwnProperty.call(e,`style`)&&(r.style=t.enums===P?V.Skeleton.SkeletonStyle[e.style]===A?e.style:V.Skeleton.SkeletonStyle[e.style]:e.style),e.height!=null&&k.hasOwnProperty.call(e,`height`)&&(r.height=e.height),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Skeleton`},e.SkeletonStyle=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`ELEMENT`]=0,t[e[1]=`APP`]=1,t})(),e})(),ye=V.Slider=(()=>{let e=function(e){if(this.default=[],this.value=[],this.options=[],this.rawValue=[],e)for(let t=k.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=O.emptyArray,e.prototype.min=0,e.prototype.max=0,e.prototype.step=0,e.prototype.value=O.emptyArray,e.prototype.setValue=!1,e.prototype.options=O.emptyArray,e.prototype.help=``,e.prototype.disabled=!1,e.prototype.labelVisibility=null,e.prototype.type=0,e.prototype.rawValue=O.emptyArray,e.prototype.queryParamKey=null,e.prototype.ignoreRerun=!1;let t;return k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(18).string(e.formId),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(26).string(e.label),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&e.format!==``&&t.uint32(34).string(e.format),e.dataType!=null&&k.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&&k.hasOwnProperty.call(e,`min`)&&!k.is(e.min,0)&&t.uint32(57).double(e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&!k.is(e.max,0)&&t.uint32(65).double(e.max),e.step!=null&&k.hasOwnProperty.call(e,`step`)&&!k.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&&k.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&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(114).string(e.help),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(120).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(130).fork(),n+1).ldelim(),e.type!=null&&k.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&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(154).string(e.queryParamKey),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(160).bool(e.ignoreRerun),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Slider;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;k.is(s=e.double(),0)?delete o.min:o.min=s;continue;case 8:if(a!==1)break;k.is(s=e.double(),0)?delete o.max:o.max=s;continue;
1case 9:if(a!==1)break;k.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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 20:if(a!==0)break;(s=e.bool())?o.ignoreRerun=s:delete o.ignoreRerun;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Slider)return e;if(!O.isObject(e))throw N(`.Slider: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Slider;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.format!=null&&(typeof e.format!=`string`||e.format.length)&&(n.format=P(e.format)),e.dataType!==0&&(typeof e.dataType!=`string`||V.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(!R.isArray(e.default))throw N(`.Slider.default: array expected`);n.default=R(e.default.length);for(let t=0;t<e.default.length;++t)n.default[t]=I(e.default[t])}if(e.min!=null&&(k.is(I(e.min),0)||(n.min=I(e.min))),e.max!=null&&(k.is(I(e.max),0)||(n.max=I(e.max))),e.step!=null&&(k.is(I(e.step),0)||(n.step=I(e.step))),e.value){if(!R.isArray(e.value))throw N(`.Slider.value: array expected`);n.value=R(e.value.length);for(let t=0;t<e.value.length;++t)n.value[t]=I(e.value[t])}if(e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.options){if(!R.isArray(e.options))throw N(`.Slider.options: array expected`);n.options=R(e.options.length);for(let t=0;t<e.options.length;++t)n.options[t]=P(e.options[t])}if(e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.Slider.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}if(e.type!==0&&(typeof e.type!=`string`||V.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(!R.isArray(e.rawValue))throw N(`.Slider.rawValue: array expected`);n.rawValue=R(e.rawValue.length);for(let t=0;t<e.rawValue.length;++t)n.rawValue[t]=P(e.rawValue[t])}return e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=F(e.ignoreRerun)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`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===P?`UNSPECIFIED`:0,r.ignoreRerun=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=e.format),e.dataType!=null&&k.hasOwnProperty.call(e,`dataType`)&&(r.dataType=t.enums===P?V.Slider.DataType[e.dataType]===A?e.dataType:V.Slider.DataType[e.dataType]:e.dataType),e.default&&e.default.length){r.default=R(e.default.length);for(let n=0;n<e.default.length;++n)r.default[n]=t.json&&!L(e.default[n])?P(e.default[n]):e.default[n]}if(e.min!=null&&k.hasOwnProperty.call(e,`min`)&&(r.min=t.json&&!L(e.min)?P(e.min):e.min),e.max!=null&&k.hasOwnProperty.call(e,`max`)&&(r.max=t.json&&!L(e.max)?P(e.max):e.max),e.step!=null&&k.hasOwnProperty.call(e,`step`)&&(r.step=t.json&&!L(e.step)?P(e.step):e.step),e.value&&e.value.length){r.value=R(e.value.length);for(let n=0;n<e.value.length;++n)r.value[n]=t.json&&!L(e.value[n])?P(e.value[n]):e.value[n]}if(e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.options&&e.options.length){r.options=R(e.options.length);for(let t=0;t<e.options.length;++t)r.options[t]=e.options[t]}if(e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.Slider.Type[e.type]===A?e.type:V.Slider.Type[e.type]:e.type),e.rawValue&&e.rawValue.length){r.rawValue=R(e.rawValue.length);for(let t=0;t<e.rawValue.length;++t)r.rawValue[t]=e.rawValue[t]}return e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Slider`},e.DataType=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.create(e);return t[e[0]=`UNSPECIFIED`]=0,t[e[1]=`SLIDER`]=1,t[e[2]=`SELECT_SLIDER`]=2,t})(),e})();V.Snow=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.show!=null&&k.hasOwnProperty.call(e,`show`)&&e.show!==!1&&t.uint32(8).bool(e.show),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Snow;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Snow)return e;if(!O.isObject(e))throw N(`.Snow: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Snow;return e.show!=null&&e.show&&(n.show=F(e.show)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.show=!1),e.show!=null&&k.hasOwnProperty.call(e,`show`)&&(r.show=e.show),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Snow`},e})(),V.Space=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Space;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}e.skipType(i&7,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Space)return e;if(!O.isObject(e))throw N(`.Space: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);return new V.Space},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Space`},e})(),V.Spinner=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.text!=null&&k.hasOwnProperty.call(e,`text`)&&e.text!==``&&t.uint32(10).string(e.text),e.cache!=null&&k.hasOwnProperty.call(e,`cache`)&&e.cache!==!1&&t.uint32(16).bool(e.cache),e.showTime!=null&&k.hasOwnProperty.call(e,`showTime`)&&e.showTime!==!1&&t.uint32(24).bool(e.showTime),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Spinner;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Spinner)return e;if(!O.isObject(e))throw N(`.Spinner: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Spinner;return e.text!=null&&(typeof e.text!=`string`||e.text.length)&&(n.text=P(e.text)),e.cache!=null&&e.cache&&(n.cache=F(e.cache)),e.showTime!=null&&e.showTime&&(n.showTime=F(e.showTime)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.text=``,r.cache=!1,r.showTime=!1),e.text!=null&&k.hasOwnProperty.call(e,`text`)&&(r.text=e.text),e.cache!=null&&k.hasOwnProperty.call(e,`cache`)&&(r.cache=e.cache),e.showTime!=null&&k.hasOwnProperty.call(e,`showTime`)&&(r.showTime=e.showTime),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Spinner`},e})();var be=V.Table=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&V.ArrowData.encode(e.arrowData,t.uint32(10).fork(),n+1).ldelim(),e.borderMode!=null&&k.hasOwnProperty.call(e,`borderMode`)&&e.borderMode!==0&&t.uint32(16).int32(e.borderMode),e.hideIndex!=null&&k.hasOwnProperty.call(e,`hideIndex`)&&e.hideIndex!==!1&&t.uint32(24).bool(e.hideIndex),e.hideHeader!=null&&k.hasOwnProperty.call(e,`hideHeader`)&&e.hideHeader!==!1&&t.uint32(32).bool(e.hideHeader),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Table;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.arrowData=V.ArrowData.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Table)return e;if(!O.isObject(e))throw N(`.Table: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Table;if(e.arrowData!=null){if(!O.isObject(e.arrowData))throw N(`.Table.arrowData: object expected`);n.arrowData=V.ArrowData.fromObject(e.arrowData,t+1)}if(e.borderMode!==0&&(typeof e.borderMode!=`string`||V.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=F(e.hideIndex)),e.hideHeader!=null&&e.hideHeader&&(n.hideHeader=F(e.hideHeader)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.arrowData=null,r.borderMode=t.enums===P?`ALL`:0,r.hideIndex=!1,r.hideHeader=!1),e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=V.ArrowData.toObject(e.arrowData,t,n+1)),e.borderMode!=null&&k.hasOwnProperty.call(e,`borderMode`)&&(r.borderMode=t.enums===P?V.Table.BorderMode[e.borderMode]===A?e.borderMode:V.Table.BorderMode[e.borderMode]:e.borderMode),e.hideIndex!=null&&k.hasOwnProperty.call(e,`hideIndex`)&&(r.hideIndex=e.hideIndex),e.hideHeader!=null&&k.hasOwnProperty.call(e,`hideHeader`)&&(r.hideHeader=e.hideHeader),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Table`},e.BorderMode=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`ALL`]=0,t[e[1]=`NONE`]=1,t[e[2]=`HORIZONTAL`]=2,t})(),e})();V.Text=(()=>{let e=function(e){if(e)for(let t=k.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.help=``,e.prototype.wrap=null;let t;return k.defineProperty(e.prototype,`_wrap`,{get:O.oneOfGetter(t=[`wrap`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(18).string(e.help),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&t.uint32(24).bool(e.wrap),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Text;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 3:if(a!==0)break;o.wrap=e.bool(),o._wrap=`wrap`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Text)return e;if(!O.isObject(e))throw N(`.Text: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Text;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.wrap!=null&&(n.wrap=F(e.wrap)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.help=``),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.wrap!=null&&k.hasOwnProperty.call(e,`wrap`)&&(r.wrap=e.wrap),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Text`},e})(),V.TextArea=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_value`,{get:O.oneOfGetter(t=[`value`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&t.uint32(26).string(e.default),e.maxChars!=null&&k.hasOwnProperty.call(e,`maxChars`)&&e.maxChars!==0&&t.uint32(40).uint32(e.maxChars),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(58).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&t.uint32(66).string(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(72).bool(e.setValue),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(82).string(e.placeholder),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(88).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(98).fork(),n+1).ldelim(),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(106).string(e.queryParamKey),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.TextArea;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.TextArea)return e;if(!O.isObject(e))throw N(`.TextArea: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.TextArea;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&(n.default=P(e.default)),e.maxChars!=null&&I(e.maxChars)!==0&&(n.maxChars=e.maxChars>>>0),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&(n.value=P(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=P(e.placeholder)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.TextArea.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.maxChars!=null&&k.hasOwnProperty.call(e,`maxChars`)&&(r.maxChars=e.maxChars),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/TextArea`},e})();var $=V.TextInput=(()=>{let e=function(e){if(e)for(let t=k.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,e.prototype.validateRegex=null,e.prototype.validateMessage=null,e.prototype.ignoreRerun=!1,e.prototype.liveDebounceMs=null;let t;return k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_value`,{get:O.oneOfGetter(t=[`value`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_validateRegex`,{get:O.oneOfGetter(t=[`val
1idateRegex`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_validateMessage`,{get:O.oneOfGetter(t=[`validateMessage`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_liveDebounceMs`,{get:O.oneOfGetter(t=[`liveDebounceMs`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&t.uint32(26).string(e.default),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(32).int32(e.type),e.maxChars!=null&&k.hasOwnProperty.call(e,`maxChars`)&&e.maxChars!==0&&t.uint32(40).uint32(e.maxChars),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(50).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(58).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&t.uint32(66).string(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(72).bool(e.setValue),e.autocomplete!=null&&k.hasOwnProperty.call(e,`autocomplete`)&&e.autocomplete!==``&&t.uint32(82).string(e.autocomplete),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&e.placeholder!==``&&t.uint32(90).string(e.placeholder),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(96).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(106).fork(),n+1).ldelim(),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(114).string(e.icon),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(122).string(e.queryParamKey),e.validateRegex!=null&&k.hasOwnProperty.call(e,`validateRegex`)&&t.uint32(130).string(e.validateRegex),e.validateMessage!=null&&k.hasOwnProperty.call(e,`validateMessage`)&&t.uint32(138).string(e.validateMessage),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&e.ignoreRerun!==!1&&t.uint32(144).bool(e.ignoreRerun),e.liveDebounceMs!=null&&k.hasOwnProperty.call(e,`liveDebounceMs`)&&t.uint32(152).uint32(e.liveDebounceMs),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.TextInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 16:if(a!==2)break;o.validateRegex=e.stringVerify(),o._validateRegex=`validateRegex`;continue;case 17:if(a!==2)break;o.validateMessage=e.stringVerify(),o._validateMessage=`validateMessage`;continue;case 18:if(a!==0)break;(s=e.bool())?o.ignoreRerun=s:delete o.ignoreRerun;continue;case 19:if(a!==0)break;o.liveDebounceMs=e.uint32(),o._liveDebounceMs=`liveDebounceMs`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.TextInput)return e;if(!O.isObject(e))throw N(`.TextInput: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.TextInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&(n.default=P(e.default)),e.type!==0&&(typeof e.type!=`string`||V.TextInput.Type[e.type]!==0))switch(e.type){case`DEFAULT`:case 0:n.type=0;break;case`PASSWORD`:case 1:n.type=1;break;case`EMAIL`:case 2:n.type=2;break;case`URL`:case 3:n.type=3;break;case`PHONE`:case 4:n.type=4;break;case`SEARCH`:case 5:n.type=5;break;default:typeof e.type==`number`&&(e.type|0)===e.type&&(n.type=e.type)}if(e.maxChars!=null&&I(e.maxChars)!==0&&(n.maxChars=e.maxChars>>>0),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&(n.value=P(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.autocomplete!=null&&(typeof e.autocomplete!=`string`||e.autocomplete.length)&&(n.autocomplete=P(e.autocomplete)),e.placeholder!=null&&(typeof e.placeholder!=`string`||e.placeholder.length)&&(n.placeholder=P(e.placeholder)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.TextInput.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.validateRegex!=null&&(n.validateRegex=P(e.validateRegex)),e.validateMessage!=null&&(n.validateMessage=P(e.validateMessage)),e.ignoreRerun!=null&&e.ignoreRerun&&(n.ignoreRerun=F(e.ignoreRerun)),e.liveDebounceMs!=null&&(n.liveDebounceMs=e.liveDebounceMs>>>0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.id=``,r.label=``,r.type=t.enums===P?`DEFAULT`:0,r.maxChars=0,r.help=``,r.formId=``,r.setValue=!1,r.autocomplete=``,r.placeholder=``,r.disabled=!1,r.labelVisibility=null,r.icon=``,r.ignoreRerun=!1),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.TextInput.Type[e.type]===A?e.type:V.TextInput.Type[e.type]:e.type),e.maxChars!=null&&k.hasOwnProperty.call(e,`maxChars`)&&(r.maxChars=e.maxChars),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.autocomplete!=null&&k.hasOwnProperty.call(e,`autocomplete`)&&(r.autocomplete=e.autocomplete),e.placeholder!=null&&k.hasOwnProperty.call(e,`placeholder`)&&(r.placeholder=e.placeholder),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.validateRegex!=null&&k.hasOwnProperty.call(e,`validateRegex`)&&(r.validateRegex=e.validateRegex),e.validateMessage!=null&&k.hasOwnProperty.call(e,`validateMessage`)&&(r.validateMessage=e.validateMessage),e.ignoreRerun!=null&&k.hasOwnProperty.call(e,`ignoreRerun`)&&(r.ignoreRerun=e.ignoreRerun),e.liveDebounceMs!=null&&k.hasOwnProperty.call(e,`liveDebounceMs`)&&(r.liveDebounceMs=e.liveDebounceMs),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/TextInput`},e.Type=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`PASSWORD`]=1,t[e[2]=`EMAIL`]=2,t[e[3]=`URL`]=3,t[e[4]=`PHONE`]=4,t[e[5]=`SEARCH`]=5,t})(),e})();V.TimeInput=(()=>{let e=function(e){if(e)for(let t=k.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=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.queryParamKey=null,e.prototype.format=null;let t;return k.defineProperty(e.prototype,`_default`,{get:O.oneOfGetter(t=[`default`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_value`,{get:O.oneOfGetter(t=[`value`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_queryParamKey`,{get:O.oneOfGetter(t=[`queryParamKey`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_format`,{get:O.oneOfGetter(t=[`format`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(10).string(e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(18).string(e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&t.uint32(26).string(e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&e.help!==``&&t.uint32(34).string(e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(42).string(e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&t.uint32(50).string(e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&e.setValue!==!1&&t.uint32(56).bool(e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&e.disabled!==!1&&t.uint32(64).bool(e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&V.LabelVisibility.encode(e.labelVisibility,t.uint32(74).fork(),n+1).ldelim(),e.step!=null&&k.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&&k.hasOwnProperty.call(e,`queryParamKey`)&&t.uint32(90).string(e.queryParamKey),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&t.uint32(98).string(e.format),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.TimeInput;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.LabelVisibility.decode(e,e.uint32(),A,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;case 12:if(a!==2)break;o.format=e.stringVerify(),o._format=`format`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.TimeInput)return e;if(!O.isObject(e))throw N(`.TimeInput: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.TimeInput;if(e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.default!=null&&(n.default=P(e.default)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),e.value!=null&&(n.value=P(e.value)),e.setValue!=null&&e.setValue&&(n.setValue=F(e.setValue)),e.disabled!=null&&e.disabled&&(n.disabled=F(e.disabled)),e.labelVisibility!=null){if(!O.isObject(e.labelVisibility))throw N(`.TimeInput.labelVisibility: object expected`);n.labelVisibility=V.LabelVisibility.fromObject(e.labelVisibility,t+1)}return e.step!=null&&(typeof e.step==`object`?e.step.low||e.step.high:I(e.step)!==0)&&(O.Long?n.step=O.Long.fromValue(e.step,!1):typeof e.step==`string`?n.step=z(e.step,10):typeof e.step==`number`?n.step=e.step:typeof e.step==`object`&&(n.step=new O.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber())),e.queryParamKey!=null&&(n.queryParamKey=P(e.queryParamKey)),e.format!=null&&(n.format=P(e.format)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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,O.Long){let e=new O.Long(0,0,!1);r.step=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.step=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0}return e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.default!=null&&k.hasOwnProperty.call(e,`default`)&&(r.default=e.default),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),e.setValue!=null&&k.hasOwnProperty.call(e,`setValue`)&&(r.setValue=e.setValue),e.disabled!=null&&k.hasOwnProperty.call(e,`disabled`)&&(r.disabled=e.disabled),e.labelVisibility!=null&&k.hasOwnProperty.call(e,`labelVisibility`)&&(r.labelVisibility=V.LabelVisibility.toObject(e.labelVisibility,t,n+1)),e.step!=null&&k.hasOwnProperty.call(e,`step`)&&(r.step=B!==void 0&&t.longs===B?typeof e.step==`number`?B(e.step):O.Long.fromBits(e.step.low>>>0,e.step.high>>>0,!1).toBigInt():typeof e.step==`number`?t.longs===P?P(e.step):e.step:t.longs===P?O.Long.prototype.toString.call(e.step):t.longs===I?new O.LongBits(e.step.low>>>0,e.step.high>>>0).toNumber():e.step),e.queryParamKey!=null&&k.hasOwnProperty.call(e,`queryParamKey`)&&(r.queryParamKey=e.queryParamKey),e.format!=null&&k.hasOwnProperty.call(e,`format`)&&(r.format=e.format),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/TimeInput`},e})(),V.Toast=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_duration`,{get:O.oneOfGetter(t=[`duration`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.body!=null&&k.hasOwnProperty.call(e,`body`)&&e.body!==``&&t.uint32(10).string(e.body),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&e.icon!==``&&t.uint32(18).string(e.icon),e.duration!=null&&k.hasOwnProperty.call(e,`duration`)&&t.uint32(24).int32(e.duration),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Toast;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Toast)return e;if(!O.isObject(e))throw N(`.Toast: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Toast;return e.body!=null&&(typeof e.body!=`string`||e.body.length)&&(n.body=P(e.body)),e.icon!=null&&(typeof e.icon!=`string`||e.icon.length)&&(n.icon=P(e.icon)),e.duration!=null&&(n.duration=e.duration|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.body=``,r.icon=``),e.body!=null&&k.hasOwnProperty.call(e,`body`)&&(r.body=e.body),e.icon!=null&&k.hasOwnProperty.call(e,`icon`)&&(r.icon=e.icon),e.duration!=null&&k.hasOwnProperty.call(e,`duration`)&&(r.duration=e.duration),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Toast`},e})(),V.VegaLiteChart=(()=>{let e=function(e){if(this.datasets=[],this.selectionMode=[],e)for(let t=k.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=O.emptyArray,e.prototype.useContainerWidth=!1,e.prototype.theme=``,e.prototype.id=``,e.prototype.selectionMode=O.emptyArray,e.prototype.formId=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.spec!=null&&k.hasOwnProperty.call(e,`spec`)&&e.spec!==``&&t.uint32(10).string(e.spec),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&V.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)V.ArrowNamedDataSet.encode(e.datasets[r],t.uint32(34).fork(),n+1).ldelim();if(e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&e.useContainerWidth!==!1&&t.uint32(40).bool(e.useContainerWidth),e.theme!=null&&k.hasOwnProperty.call(e,`theme`)&&e.theme!==``&&t.uint32(50).string(e.theme),e.id!=null&&k.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&&k.hasOwnProperty.call(e,`formId`)&&e.formId!==``&&t.uint32(74).string(e.formId),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.VegaLiteChart;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ArrowData.decode(e,e.uint32(),A,r+1,o.data);continue;case 4:if(a!==2)break;o.datasets&&o.datasets.length||(o.datasets=[]),o.datasets.push(V.ArrowNamedDataSet.decode(e,e.uint32(),A,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;case 9:if(a!==2)break;(s=e.stringVerify()).length?o.formId=s:delete o.formId;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.VegaLiteChart)return e;if(!O.isObject(e))throw N(`.VegaLiteChart: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.VegaLiteChart;if(e.spec!=null&&(typeof e.spec!=`string`||e.spec.length)&&(n.spec=P(e.spec)),e.data!=null){if(!O.isObject(e.data))throw N(`.VegaLiteChart.data: object expected`);n.data=V.ArrowData.fromObject(e.data,t+1)}if(e.datasets){if(!R.isArray(e.datasets))throw N(`.VegaLiteChart.datasets: array expected`);n.datasets=R(e.datasets.length);for(let r=0;r<e.datasets.length;++r){if(!O.isObject(e.datasets[r]))throw N(`.VegaLiteChart.datasets: object expected`);n.datasets[r]=V.ArrowNamedDataSet.fromObject(e.datasets[r],t+1)}}if(e.useContainerWidth!=null&&e.useContainerWidth&&(n.useContainerWidth=F(e.useContainerWidth)),e.theme!=null&&(typeof e.theme!=`string`||e.theme.length)&&(n.theme=P(e.theme)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.selectionMode){if(!R.isArray(e.selectionMode))throw N(`.VegaLiteChart.selectionMode: array expected`);n.selectionMode=R(e.selectionMode.length);for(let t=0;t<e.selectionMode.length;++t)n.selectionMode[t]=P(e.selectionMode[t])}return e.formId!=null&&(typeof e.formId!=`string`||e.formId.length)&&(n.formId=P(e.formId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`spec`)&&(r.spec=e.spec),e.data!=null&&k.hasOwnProperty.call(e,`data`)&&(r.data=V.ArrowData.toObject(e.data,t,n+1)),e.datasets&&e.datasets.length){r.datasets=R(e.datasets.length);for(let i=0;i<e.datasets.length;++i)r.datasets[i]=V.ArrowNamedDataSet.toObject(e.datasets[i],t,n+1)}if(e.useContainerWidth!=null&&k.hasOwnProperty.call(e,`useContainerWidth`)&&(r.useContainerWidth=e.useContainerWidth),e.theme!=null&&k.hasOwnProperty.call(e,`theme`)&&(r.theme=e.theme),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.selectionMode&&e.selectionMode.length){r.selectionMode=R(e.selectionMode.length);for(let t=0;t<e.selectionMode.length;++t)r.selectionMode[t]=e.selectionMode[t]}
1return e.formId!=null&&k.hasOwnProperty.call(e,`formId`)&&(r.formId=e.formId),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/VegaLiteChart`},e})(),V.SubtitleTrack=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.label!=null&&k.hasOwnProperty.call(e,`label`)&&e.label!==``&&t.uint32(10).string(e.label),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(18).string(e.url),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.SubtitleTrack;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.SubtitleTrack)return e;if(!O.isObject(e))throw N(`.SubtitleTrack: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.SubtitleTrack;return e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.label=``,r.url=``),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/SubtitleTrack`},e})();var xe=V.Video=(()=>{let e=function(e){if(this.subtitles=[],e)for(let t=k.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=O.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 k.defineProperty(e.prototype,`_widthConfig`,{get:O.oneOfGetter(t=[`widthConfig`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.startTime!=null&&k.hasOwnProperty.call(e,`startTime`)&&e.startTime!==0&&t.uint32(24).int32(e.startTime),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(40).int32(e.type),e.url!=null&&k.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;++r)V.SubtitleTrack.encode(e.subtitles[r],t.uint32(58).fork(),n+1).ldelim();if(e.endTime!=null&&k.hasOwnProperty.call(e,`endTime`)&&e.endTime!==0&&t.uint32(64).int32(e.endTime),e.loop!=null&&k.hasOwnProperty.call(e,`loop`)&&e.loop!==!1&&t.uint32(72).bool(e.loop),e.autoplay!=null&&k.hasOwnProperty.call(e,`autoplay`)&&e.autoplay!==!1&&t.uint32(80).bool(e.autoplay),e.muted!=null&&k.hasOwnProperty.call(e,`muted`)&&e.muted!==!1&&t.uint32(88).bool(e.muted),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&e.id!==``&&t.uint32(98).string(e.id),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&V.streamlit.WidthConfig.encode(e.widthConfig,t.uint32(106).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Video;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.SubtitleTrack.decode(e,e.uint32(),A,r+1));continue;case 8:if(a!==0)break;(s=e.int32())?o.endTime=s:delete o.endTime;continue;
1case 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=V.streamlit.WidthConfig.decode(e,e.uint32(),A,r+1,o.widthConfig),o._widthConfig=`widthConfig`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Video)return e;if(!O.isObject(e))throw N(`.Video: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Video;if(e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.startTime!=null&&I(e.startTime)!==0&&(n.startTime=e.startTime|0),e.type!==0&&(typeof e.type!=`string`||V.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(!R.isArray(e.subtitles))throw N(`.Video.subtitles: array expected`);n.subtitles=R(e.subtitles.length);for(let r=0;r<e.subtitles.length;++r){if(!O.isObject(e.subtitles[r]))throw N(`.Video.subtitles: object expected`);n.subtitles[r]=V.SubtitleTrack.fromObject(e.subtitles[r],t+1)}}if(e.endTime!=null&&I(e.endTime)!==0&&(n.endTime=e.endTime|0),e.loop!=null&&e.loop&&(n.loop=F(e.loop)),e.autoplay!=null&&e.autoplay&&(n.autoplay=F(e.autoplay)),e.muted!=null&&e.muted&&(n.muted=F(e.muted)),e.id!=null&&(typeof e.id!=`string`||e.id.length)&&(n.id=P(e.id)),e.widthConfig!=null){if(!O.isObject(e.widthConfig))throw N(`.Video.widthConfig: object expected`);n.widthConfig=V.streamlit.WidthConfig.fromObject(e.widthConfig,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.subtitles=[]),t.defaults&&(r.startTime=0,r.type=t.enums===P?`UNUSED`:0,r.url=``,r.endTime=0,r.loop=!1,r.autoplay=!1,r.muted=!1,r.id=``),e.startTime!=null&&k.hasOwnProperty.call(e,`startTime`)&&(r.startTime=e.startTime),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.Video.Type[e.type]===A?e.type:V.Video.Type[e.type]:e.type),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.subtitles&&e.subtitles.length){r.subtitles=R(e.subtitles.length);for(let i=0;i<e.subtitles.length;++i)r.subtitles[i]=V.SubtitleTrack.toObject(e.subtitles[i],t,n+1)}return e.endTime!=null&&k.hasOwnProperty.call(e,`endTime`)&&(r.endTime=e.endTime),e.loop!=null&&k.hasOwnProperty.call(e,`loop`)&&(r.loop=e.loop),e.autoplay!=null&&k.hasOwnProperty.call(e,`autoplay`)&&(r.autoplay=e.autoplay),e.muted!=null&&k.hasOwnProperty.call(e,`muted`)&&(r.muted=e.muted),e.id!=null&&k.hasOwnProperty.call(e,`id`)&&(r.id=e.id),e.widthConfig!=null&&k.hasOwnProperty.call(e,`widthConfig`)&&(r.widthConfig=V.streamlit.WidthConfig.toObject(e.widthConfig,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Video`},e.Type=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`UNUSED`]=0,t[e[1]=`NATIVE`]=1,t[e[2]=`YOUTUBE_IFRAME`]=2,t})(),e})();V.Transient=(()=>{let e=function(e){if(this.elements=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.elements!=null&&e.elements.length)for(let r=0;r<e.elements.length;++r)V.Element.encode(e.elements[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Transient;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.elements&&o.elements.length||(o.elements=[]),o.elements.push(V.Element.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Transient)return e;if(!O.isObject(e))throw N(`.Transient: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Transient;if(e.elements){if(!R.isArray(e.elements))throw N(`.Transient.elements: array expected`);n.elements=R(e.elements.length);for(let r=0;r<e.elements.length;++r){if(!O.isObject(e.elements[r]))throw N(`.Transient.elements: object expected`);n.elements[r]=V.Element.fromObject(e.elements[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.elements=[]),e.elements&&e.elements.length){r.elements=R(e.elements.length);for(let i=0;i<e.elements.length;++i)r.elements[i]=V.Element.toObject(e.elements[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Transient`},e})();var Se=V.ForwardMsg=(()=>{let e=function(e){if(e)for(let t=k.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.pageConfigChanged=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 k.defineProperty(e.prototype,`type`,{get:O.oneOfGetter(t=[`newSession`,`delta`,`pageInfoChanged`,`pageConfigChanged`,`scriptFinished`,`gitInfoChanged`,`pageProfile`,`sessionStatusChanged`,`sessionEvent`,`navigation`,`pageNotFound`,`fileUrlsResponse`,`autoRerun`,`stopAutoRerun`,`logo`,`authRedirect`,`parentMessage`,`refHash`,`heartbeatAck`,`backendOperationResponse`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.hash!=null&&k.hasOwnProperty.call(e,`hash`)&&e.hash!==``&&t.uint32(10).string(e.hash),e.metadata!=null&&k.hasOwnProperty.call(e,`metadata`)&&V.ForwardMsgMetadata.encode(e.metadata,t.uint32(18).fork(),n+1).ldelim(),e.newSession!=null&&k.hasOwnProperty.call(e,`newSession`)&&V.NewSession.encode(e.newSession,t.uint32(34).fork(),n+1).ldelim(),e.delta!=null&&k.hasOwnProperty.call(e,`delta`)&&V.Delta.encode(e.delta,t.uint32(42).fork(),n+1).ldelim(),e.scriptFinished!=null&&k.hasOwnProperty.call(e,`scriptFinished`)&&t.uint32(48).int32(e.scriptFinished),e.sessionStatusChanged!=null&&k.hasOwnProperty.call(e,`sessionStatusChanged`)&&V.SessionStatus.encode(e.sessionStatusChanged,t.uint32(74).fork(),n+1).ldelim(),e.sessionEvent!=null&&k.hasOwnProperty.call(e,`sessionEvent`)&&V.SessionEvent.encode(e.sessionEvent,t.uint32(82).fork(),n+1).ldelim(),e.refHash!=null&&k.hasOwnProperty.call(e,`refHash`)&&t.uint32(90).string(e.refHash),e.pageInfoChanged!=null&&k.hasOwnProperty.call(e,`pageInfoChanged`)&&V.PageInfo.encode(e.pageInfoChanged,t.uint32(98).fork(),n+1).ldelim(),e.pageConfigChanged!=null&&k.hasOwnProperty.call(e,`pageConfigChanged`)&&V.PageConfig.encode(e.pageConfigChanged,t.uint32(106).fork(),n+1).ldelim(),e.gitInfoChanged!=null&&k.hasOwnProperty.call(e,`gitInfoChanged`)&&V.GitInfo.encode(e.gitInfoChanged,t.uint32(114).fork(),n+1).ldelim(),e.pageNotFound!=null&&k.hasOwnProperty.call(e,`pageNotFound`)&&V.PageNotFound.encode(e.pageNotFound,t.uint32(122).fork(),n+1).ldelim(),e.debugLastBackmsgId!=null&&k.hasOwnProperty.call(e,`debugLastBackmsgId`)&&e.debugL
1astBackmsgId!==``&&t.uint32(138).string(e.debugLastBackmsgId),e.pageProfile!=null&&k.hasOwnProperty.call(e,`pageProfile`)&&V.PageProfile.encode(e.pageProfile,t.uint32(146).fork(),n+1).ldelim(),e.fileUrlsResponse!=null&&k.hasOwnProperty.call(e,`fileUrlsResponse`)&&V.FileURLsResponse.encode(e.fileUrlsResponse,t.uint32(154).fork(),n+1).ldelim(),e.parentMessage!=null&&k.hasOwnProperty.call(e,`parentMessage`)&&V.ParentMessage.encode(e.parentMessage,t.uint32(162).fork(),n+1).ldelim(),e.autoRerun!=null&&k.hasOwnProperty.call(e,`autoRerun`)&&V.AutoRerun.encode(e.autoRerun,t.uint32(170).fork(),n+1).ldelim(),e.logo!=null&&k.hasOwnProperty.call(e,`logo`)&&V.Logo.encode(e.logo,t.uint32(178).fork(),n+1).ldelim(),e.navigation!=null&&k.hasOwnProperty.call(e,`navigation`)&&V.Navigation.encode(e.navigation,t.uint32(186).fork(),n+1).ldelim(),e.authRedirect!=null&&k.hasOwnProperty.call(e,`authRedirect`)&&V.AuthRedirect.encode(e.authRedirect,t.uint32(194).fork(),n+1).ldelim(),e.heartbeatAck!=null&&k.hasOwnProperty.call(e,`heartbeatAck`)&&t.uint32(208).bool(e.heartbeatAck),e.backendOperationResponse!=null&&k.hasOwnProperty.call(e,`backendOperationResponse`)&&V.BackendOperationResponse.encode(e.backendOperationResponse,t.uint32(218).fork(),n+1).ldelim(),e.stopAutoRerun!=null&&k.hasOwnProperty.call(e,`stopAutoRerun`)&&V.StopAutoRerun.encode(e.stopAutoRerun,t.uint32(226).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ForwardMsg;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.ForwardMsgMetadata.decode(e,e.uint32(),A,r+1,o.metadata);continue;case 4:if(a!==2)break;o.newSession=V.NewSession.decode(e,e.uint32(),A,r+1,o.newSession),o.type=`newSession`;continue;case 5:if(a!==2)break;o.delta=V.Delta.decode(e,e.uint32(),A,r+1,o.delta),o.type=`delta`;continue;case 12:if(a!==2)break;o.pageInfoChanged=V.PageInfo.decode(e,e.uint32(),A,r+1,o.pageInfoChanged),o.type=`pageInfoChanged`;continue;case 13:if(a!==2)break;o.pageConfigChanged=V.PageConfig.decode(e,e.uint32(),A,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=V.GitInfo.decode(e,e.uint32(),A,r+1,o.gitInfoChanged),o.type=`gitInfoChanged`;continue;case 18:if(a!==2)break;o.pageProfile=V.PageProfile.decode(e,e.uint32(),A,r+1,o.pageProfile),o.type=`pageProfile`;continue;case 9:if(a!==2)break;o.sessionStatusChanged=V.SessionStatus.decode(e,e.uint32(),A,r+1,o.sessionStatusChanged),o.type=`sessionStatusChanged`;continue;case 10:if(a!==2)break;o.sessionEvent=V.SessionEvent.decode(e,e.uint32(),A,r+1,o.sessionEvent),o.type=`sessionEvent`;continue;case 23:if(a!==2)break;o.navigation=V.Navigation.decode(e,e.uint32(),A,r+1,o.navigation),o.type=`navigation`;continue;case 15:if(a!==2)break;o.pageNotFound=V.PageNotFound.decode(e,e.uint32(),A,r+1,o.pageNotFound),o.type=`pageNotFound`;continue;case 19:if(a!==2)break;o.fileUrlsResponse=V.FileURLsResponse.decode(e,e.uint32(),A,r+1,o.fileUrlsResponse),o.type=`fileUrlsResponse`;continue;case 21:if(a!==2)break;o.autoRerun=V.AutoRerun.decode(e,e.uint32(),A,r+1,o.autoRerun),o.type=`autoRerun`;continue;case 28:if(a!==2)break;o.stopAutoRerun=V.StopAutoRerun.decode(e,e.uint32(),A,r+1,o.stopAutoRerun),o.type=`stopAutoRerun`;continue;case 22:if(a!==2)break;o.logo=V.Logo.decode(e,e.uint32(),A,r+1,o.logo),o.type=`logo`;continue;case 24:if(a!==2)break;o.authRedirect=V.AuthRedirect.decode(e,e.uint32(),A,r+1,o.authRedirect),o.type=`authRedirect`;continue;case 20:if(a!==2)break;o.parentMessage=V.ParentMessage.decode(e,e.uint32(),A,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=V.BackendOperationResponse.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ForwardMsg)return e;if(!O.isObject(e))throw N(`.ForwardMsg: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ForwardMsg;if(e.hash!=null&&(typeof e.hash!=`string`||e.hash.length)&&(n.hash=P(e.hash)),e.metadata!=null){if(!O.isObject(e.metadata))throw N(`.ForwardMsg.metadata: object expected`);n.metadata=V.ForwardMsgMetadata.fromObject(e.metadata,t+1)}if(e.newSession!=null){if(!O.isObject(e.newSession))throw N(`.ForwardMsg.newSession: object expected`);n.newSession=V.NewSession.fromObject(e.newSession,t+1)}if(e.delta!=null){if(!O.isObject(e.delta))throw N(`.ForwardMsg.delta: object expected`);n.delta=V.Delta.fromObject(e.delta,t+1)}if(e.pageInfoChanged!=null){if(!O.isObject(e.pageInfoChanged))throw N(`.ForwardMsg.pageInfoChanged: object expected`);n.pageInfoChanged=V.PageInfo.fromObject(e.pageInfoChanged,t+1)}if(e.pageConfigChanged!=null){if(!O.isObject(e.pageConfigChanged))throw N(`.ForwardMsg.pageConfigChanged: object expected`);n.pageConfigChanged=V.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(!O.isObject(e.gitInfoChanged))throw N(`.ForwardMsg.gitInfoChanged: object expected`);n.gitInfoChanged=V.GitInfo.fromObject(e.gitInfoChanged,t+1)}if(e.pageProfile!=null){if(!O.isObject(e.pageProfile))throw N(`.ForwardMsg.pageProfile: object expected`);n.pageProfile=V.PageProfile.fromObject(e.pageProfile,t+1)}if(e.sessionStatusChanged!=null){if(!O.isObject(e.sessionStatusChanged))throw N(`.ForwardMsg.sessionStatusChanged: object expected`);n.sessionStatusChanged=V.SessionStatus.fromObject(e.sessionStatusChanged,t+1)}if(e.sessionEvent!=null){if(!O.isObject(e.sessionEvent))throw N(`.ForwardMsg.sessionEvent: object expected`);n.sessionEvent=V.SessionEvent.fromObject(e.sessionEvent,t+1)}if(e.navigation!=null){if(!O.isObject(e.navigation))throw N(`.ForwardMsg.navigation: object expected`);n.navigation=V.Navigation.fromObject(e.navigation,t+1)}if(e.pageNotFound!=null){if(!O.isObject(e.pageNotFound))throw N(`.ForwardMsg.pageNotFound: object expected`);n.pageNotFound=V.PageNotFound.fromObject(e.pageNotFound,t+1)}if(e.fileUrlsResponse!=null){if(!O.isObject(e.fileUrlsResponse))throw N(`.ForwardMsg.fileUrlsResponse: object expected`);n.fileUrlsResponse=V.FileURLsResponse.fromObject(e.fileUrlsResponse,t+1)}if(e.autoRerun!=null){if(!O.isObject(e.autoRerun))throw N(`.ForwardMsg.autoRerun: object expected`);n.autoRerun=V.AutoRerun.fromObject(e.autoRerun,t+1)}if(e.stopAutoRerun!=null){if(!O.isObject(e.stopAutoRerun))throw N(`.ForwardMsg.stopAutoRerun: object expected`);n.stopAutoRerun=V.StopAutoRerun.fromObject(e.stopAutoRerun,t+1)}if(e.logo!=null){if(!O.isObject(e.logo))throw N(`.ForwardMsg.logo: object expected`);n.logo=V.Logo.fromObject(e.logo,t+1)}if(e.authRedirect!=null){if(!O.isObject(e.authRedirect))throw N(`.ForwardMsg.authRedirect: object expected`);n.authRedirect=V.AuthRedirect.fromObject(e.authRedirect,t+1)}if(e.parentMessage!=null){if(!O.isObject(e.parentMessage))throw N(`.ForwardMsg.parentMessage: object expected`);n.parentMessage=V.ParentMessage.fromObject(e.parentMessage,t+1)}if(e.refHash!=null&&(n.refHash=P(e.refHash)),e.heartbeatAck!=null&&(n.heartbeatAck=F(e.heartbeatAck)),e.backendOperationResponse!=null){if(!O.isObject(e.backendOperationResponse))throw N(`.ForwardMsg.backendOperationResponse: object expected`);n.backendOperationResponse=V.BackendOperationResponse.fromObject(e.backendOperationResponse,t+1)}
1return e.debugLastBackmsgId!=null&&(typeof e.debugLastBackmsgId!=`string`||e.debugLastBackmsgId.length)&&(n.debugLastBackmsgId=P(e.debugLastBackmsgId)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.hash=``,r.metadata=null,r.debugLastBackmsgId=``),e.hash!=null&&k.hasOwnProperty.call(e,`hash`)&&(r.hash=e.hash),e.metadata!=null&&k.hasOwnProperty.call(e,`metadata`)&&(r.metadata=V.ForwardMsgMetadata.toObject(e.metadata,t,n+1)),e.newSession!=null&&k.hasOwnProperty.call(e,`newSession`)&&(r.newSession=V.NewSession.toObject(e.newSession,t,n+1),t.oneofs&&(r.type=`newSession`)),e.delta!=null&&k.hasOwnProperty.call(e,`delta`)&&(r.delta=V.Delta.toObject(e.delta,t,n+1),t.oneofs&&(r.type=`delta`)),e.scriptFinished!=null&&k.hasOwnProperty.call(e,`scriptFinished`)&&(r.scriptFinished=t.enums===P?V.ForwardMsg.ScriptFinishedStatus[e.scriptFinished]===A?e.scriptFinished:V.ForwardMsg.ScriptFinishedStatus[e.scriptFinished]:e.scriptFinished,t.oneofs&&(r.type=`scriptFinished`)),e.sessionStatusChanged!=null&&k.hasOwnProperty.call(e,`sessionStatusChanged`)&&(r.sessionStatusChanged=V.SessionStatus.toObject(e.sessionStatusChanged,t,n+1),t.oneofs&&(r.type=`sessionStatusChanged`)),e.sessionEvent!=null&&k.hasOwnProperty.call(e,`sessionEvent`)&&(r.sessionEvent=V.SessionEvent.toObject(e.sessionEvent,t,n+1),t.oneofs&&(r.type=`sessionEvent`)),e.refHash!=null&&k.hasOwnProperty.call(e,`refHash`)&&(r.refHash=e.refHash,t.oneofs&&(r.type=`refHash`)),e.pageInfoChanged!=null&&k.hasOwnProperty.call(e,`pageInfoChanged`)&&(r.pageInfoChanged=V.PageInfo.toObject(e.pageInfoChanged,t,n+1),t.oneofs&&(r.type=`pageInfoChanged`)),e.pageConfigChanged!=null&&k.hasOwnProperty.call(e,`pageConfigChanged`)&&(r.pageConfigChanged=V.PageConfig.toObject(e.pageConfigChanged,t,n+1),t.oneofs&&(r.type=`pageConfigChanged`)),e.gitInfoChanged!=null&&k.hasOwnProperty.call(e,`gitInfoChanged`)&&(r.gitInfoChanged=V.GitInfo.toObject(e.gitInfoChanged,t,n+1),t.oneofs&&(r.type=`gitInfoChanged`)),e.pageNotFound!=null&&k.hasOwnProperty.call(e,`pageNotFound`)&&(r.pageNotFound=V.PageNotFound.toObject(e.pageNotFound,t,n+1),t.oneofs&&(r.type=`pageNotFound`)),e.debugLastBackmsgId!=null&&k.hasOwnProperty.call(e,`debugLastBackmsgId`)&&(r.debugLastBackmsgId=e.debugLastBackmsgId),e.pageProfile!=null&&k.hasOwnProperty.call(e,`pageProfile`)&&(r.pageProfile=V.PageProfile.toObject(e.pageProfile,t,n+1),t.oneofs&&(r.type=`pageProfile`)),e.fileUrlsResponse!=null&&k.hasOwnProperty.call(e,`fileUrlsResponse`)&&(r.fileUrlsResponse=V.FileURLsResponse.toObject(e.fileUrlsResponse,t,n+1),t.oneofs&&(r.type=`fileUrlsResponse`)),e.parentMessage!=null&&k.hasOwnProperty.call(e,`parentMessage`)&&(r.parentMessage=V.ParentMessage.toObject(e.parentMessage,t,n+1),t.oneofs&&(r.type=`parentMessage`)),e.autoRerun!=null&&k.hasOwnProperty.call(e,`autoRerun`)&&(r.autoRerun=V.AutoRerun.toObject(e.autoRerun,t,n+1),t.oneofs&&(r.type=`autoRerun`)),e.logo!=null&&k.hasOwnProperty.call(e,`logo`)&&(r.logo=V.Logo.toObject(e.logo,t,n+1),t.oneofs&&(r.type=`logo`)),e.navigation!=null&&k.hasOwnProperty.call(e,`navigation`)&&(r.navigation=V.Navigation.toObject(e.navigation,t,n+1),t.oneofs&&(r.type=`navigation`)),e.authRedirect!=null&&k.hasOwnProperty.call(e,`authRedirect`)&&(r.authRedirect=V.AuthRedirect.toObject(e.authRedirect,t,n+1),t.oneofs&&(r.type=`authRedirect`)),e.heartbeatAck!=null&&k.hasOwnProperty.call(e,`heartbeatAck`)&&(r.heartbeatAck=e.heartbeatAck,t.oneofs&&(r.type=`heartbeatAck`)),e.backendOperationResponse!=null&&k.hasOwnProperty.call(e,`backendOperationResponse`)&&(r.backendOperationResponse=V.BackendOperationResponse.toObject(e.backendOperationResponse,t,n+1),t.oneofs&&(r.type=`backendOperationResponse`)),e.stopAutoRerun!=null&&k.hasOwnProperty.call(e,`stopAutoRerun`)&&(r.stopAutoRerun=V.StopAutoRerun.toObject(e.stopAutoRerun,t,n+1),t.oneofs&&(r.type=`stopAutoRerun`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ForwardMsg`},e.ScriptFinishedStatus=(function(){let e=k.create(null),t=k.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})();V.BackendOperationResponse=(()=>{let e=function(e){if(e)for(let t=k.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.errorReason=``,e.prototype.deferredFile=null,e.prototype.installSkills=null,e.prototype.dismissSkillsNudge=null,e.prototype.dataframeChunk=null;let t;return k.defineProperty(e.prototype,`payload`,{get:O.oneOfGetter(t=[`deferredFile`,`installSkills`,`dismissSkillsNudge`,`dataframeChunk`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.requestId!=null&&k.hasOwnProperty.call(e,`requestId`)&&e.requestId!==``&&t.uint32(10).string(e.requestId),e.errorMsg!=null&&k.hasOwnProperty.call(e,`errorMsg`)&&e.errorMsg!==``&&t.uint32(18).string(e.errorMsg),e.deferredFile!=null&&k.hasOwnProperty.call(e,`deferredFile`)&&V.DeferredFileResponsePayload.encode(e.deferredFile,t.uint32(26).fork(),n+1).ldelim(),e.installSkills!=null&&k.hasOwnProperty.call(e,`installSkills`)&&V.InstallSkillsResponsePayload.encode(e.installSkills,t.uint32(34).fork(),n+1).ldelim(),e.dismissSkillsNudge!=null&&k.hasOwnProperty.call(e,`dismissSkillsNudge`)&&V.DismissSkillsNudgeResponsePayload.encode(e.dismissSkillsNudge,t.uint32(42).fork(),n+1).ldelim(),e.dataframeChunk!=null&&k.hasOwnProperty.call(e,`dataframeChunk`)&&V.DataframeChunkResponsePayload.encode(e.dataframeChunk,t.uint32(50).fork(),n+1).ldelim(),e.errorReason!=null&&k.hasOwnProperty.call(e,`errorReason`)&&e.errorReason!==``&&t.uint32(58).string(e.errorReason),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.BackendOperationResponse;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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 7:if(a!==2)break;(s=e.stringVerify()).length?o.errorReason=s:delete o.errorReason;continue;case 3:if(a!==2)break;o.deferredFile=V.DeferredFileResponsePayload.decode(e,e.uint32(),A,r+1,o.deferredFile),o.payload=`deferredFile`;continue;case 4:if(a!==2)break;o.installSkills=V.InstallSkillsResponsePayload.decode(e,e.uint32(),A,r+1,o.installSkills),o.payload=`installSkills`;continue;case 5:if(a!==2)break;o.dismissSkillsNudge=V.DismissSkillsNudgeResponsePayload.decode(e,e.uint32(),A,r+1,o.dismissSkillsNudge),o.payload=`dismissSkillsNudge`;continue;case 6:if(a!==2)break;o.dataframeChunk=V.DataframeChunkResponsePayload.decode(e,e.uint32(),A,r+1,o.dataframeChunk),o.payload=`dataframeChunk`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.BackendOperationResponse)return e;if(!O.isObject(e))throw N(`.BackendOperationResponse: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.BackendOperationResponse;if(e.requestId!=null&&(typeof e.requestId!=`string`||e.requestId.length)&&(n.requestId=P(e.requestId)),e.errorMsg!=null&&(typeof e.errorMsg!=`string`||e.errorMsg.length)&&(n.errorMsg=P(e.errorMsg)),e.errorReason!=null&&(typeof e.errorReason!=`string`||e.errorReason.length)&&(n.errorReason=P(e.errorReason)),e.deferredFile!=null){if(!O.isObject(e.deferredFile))throw N(`.BackendOperationResponse.deferredFile: object expected`);n.deferredFile=V.DeferredFileResponsePayload.fromObject(e.deferredFile,t+1)}if(e.installSkills!=null){if(!O.isObject(e.installSkills))throw N(`.BackendOperationResponse.installSkills: object expected`);n.installSkills=V.InstallSkillsResponsePayload.fromObject(e.installSkills,t+1)}if(e.dismissSkillsNudge!=null){if(!O.isObject(e.dismissSkillsNudge))throw N(`.BackendOperationResponse.dismissSkillsNudge: object expected`);n.dismissSkillsNudge=V.DismissSkillsNudgeResponsePayload.fromObject(e.dismissSkillsNudge,t+1)}if(e.dataframeChunk!=null){if(!O.isObject(e.dataframeChunk))throw N(`.BackendOperationResponse.dataframeChunk: object expected`);n.dataframeChunk=V.DataframeChunkResponsePayload.fromObject(e.dataframeChunk,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.requestId=``,r.errorMsg=``,r.errorReason=``),e.requestId!=null&&k.hasOwnProperty.call(e,`requestId`)&&(r.requestId=e.requestId),e.errorMsg!=null&&k.hasOwnProperty.call(e,`errorMsg`)&&(r.errorMsg=e.errorMsg),e.deferredFile!=null&&k.hasOwnProperty.call(e,`deferredFile`)&&(r.deferredFile=V.DeferredFileResponsePayload.toObject(e.deferredFile,t,n+1),t.oneofs&&(r.payload=`deferredFile`)),e.installSkills!=null&&k.hasOwnProperty.call(e,`installSkills`)&&(r.installSkills=V.InstallSkillsResponsePayload.toObject(e.installSkills,t,n+1),t.oneofs&&(r.payload=`installSkills`)),e.dismissSkillsNudge!=null&&k.hasOwnProperty.call(e,`dismissSkillsNudge`)&&(r.dismissSkillsNudge=V.DismissSkillsNudgeResponsePayload.toObject(e.dismissSkillsNudge,t,n+1),t.oneofs&&(r.payload=`dismissSkillsNudge`)),e.dataframeChunk!=null&&k.hasOwnProperty.call(e,`dataframeChunk`)&&(r.dataframeChunk=V.DataframeChunkResponsePayload.toObject(e.dataframeChunk,t,n+1),t.oneofs&&(r.payload=`dataframeChunk`)),e.errorReason!=null&&k.hasOwnProperty.call(e,`errorReason`)&&(r.errorReason=e.errorReason),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/BackendOperationResponse`},e})(),V.DeferredFileResponsePayload=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DeferredFileResponsePayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DeferredFileResponsePayload)return e;if(!O.isObject(e))throw N(`.DeferredFileResponsePayload: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DeferredFileResponsePayload;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.url=``),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DeferredFileResponsePayload`},e})(),V.InstallSkillsResponsePayload=(()=>{let e=function(e){if(e)for(let t=k.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.prototype.fallbackReason=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.detail!=null&&k.hasOwnProperty.call(e,`detail`)&&e.detail!==``&&t.uint32(10).string(e.detail),e.fallbackReason!=null&&k.hasOwnProperty.call(e,`fallbackReason`)&&e.fallbackReason!==``&&t.uint32(18).string(e.fallbackReason),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.InstallSkillsResponsePayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;case 2:if(a!==2)break;(s=e.stringVerify()).length?o.fallbackReason=s:delete o.fallbackReason;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.InstallSkillsResponsePayload)return e;if(!O.isObject(e))throw N(`.InstallSkillsResponsePayload: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.InstallSkillsResponsePayload;return e.detail!=null&&(typeof e.detail!=`string`||e.detail.length)&&(n.detail=P(e.detail)),e.fallbackReason!=null&&(typeof e.fallbackReason!=`string`||e.fallbackReason.length)&&(n.fallbackReason=P(e.fallbackReason)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.detail=``,r.fallbackReason=``),e.detail!=null&&k.hasOwnProperty.call(e,`detail`)&&(r.detail=e.detail),e.fallbackReason!=null&&k.hasOwnProperty.call(e,`fallbackReason`)&&(r.fallbackReason=e.fallbackReason),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/InstallSkillsResponsePayload`},e})(),V.DismissSkillsNudgeResponsePayload=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DismissSkillsNudgeResponsePayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}e.skipType(i&7,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DismissSkillsNudgeResponsePayload)return e;if(!O.isObject(e))throw N(`.DismissSkillsNudgeResponsePayload: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);return new V.DismissSkillsNudgeResponsePayload},e.toObject=function(){return{}},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DismissSkillsNudgeResponsePayload`},e})(),V.DataframeChunkResponsePayload=(()=>{let e=function(e){if(e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};return e.prototype.sourceId=``,e.prototype.offset=O.Long?O.Long.fromBits(0,0,!0):0,e.prototype.endOfStream=!1,e.prototype.arrowData=null,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.sourceId!=null&&k.hasOwnProperty.call(e,`sourceId`)&&e.sourceId!==``&&t.uint32(10).string(e.sourceId),e.offset!=null&&k.hasOwnProperty.call(e,`offset`)&&(typeof e.offset==`object`?e.offset.low||e.offset.high:e.offset!==0)&&t.uint32(16).uint64(e.offset),e.endOfStream!=null&&k.hasOwnProperty.call(e,`endOfStream`)&&e.endOfStream!==!1&&t.uint32(24).bool(e.endOfStream),e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&V.ArrowData.encode(e.arrowData,t.uint32(34).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.DataframeChunkResponsePayload;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;(s=e.stringVerify()).length?o.sourceId=s:delete o.sourceId;continue;case 2:if(a!==0)break;(typeof(s=e.uint64())==`object`?s.low||s.high:s!==0)?o.offset=s:delete o.offset;continue;case 3:if(a!==0)break;(s=e.bool())?o.endOfStream=s:delete o.endOfStream;continue;case 4:if(a!==2)break;o.arrowData=V.ArrowData.decode(e,e.uint32(),A,r+1,o.arrowData);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.DataframeChunkResponsePayload)return e;if(!O.isObject(e))throw N(`.DataframeChunkResponsePayload: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.DataframeChunkResponsePayload;if(e.sourceId!=null&&(typeof e.sourceId!=`string`||e.sourceId.length)&&(n.sourceId=P(e.sourceId)),e.offset!=null&&(typeof e.offset==`object`?e.offset.low||e.offset.high:I(e.offset)!==0)&&(O.Long?n.offset=O.Long.fromValue(e.offset,!0):typeof e.offset==`string`?n.offset=z(e.offset,10):typeof e.offset==`number`?n.offset=e.offset:typeof e.offset==`object`&&(n.offset=new O.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0))),e.endOfStream!=null&&e.endOfStream&&(n.endOfStream=F(e.endOfStream)),e.arrowData!=null){if(!O.isObject(e.arrowData))throw N(`.DataframeChunkResponsePayload.arrowData: object expected`);n.arrowData=V.ArrowData.fromObject(e.arrowData,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if(t.defaults){if(r.sourceId=``,O.Long){let e=new O.Long(0,0,!0);r.offset=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.offset=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.endOfStream=!1,r.arrowData=null}return e.sourceId!=null&&k.hasOwnProperty.call(e,`sourceId`)&&(r.sourceId=e.sourceId),e.offset!=null&&k.hasOwnProperty.call(e,`offset`)&&(r.offset=B!==void 0&&t.longs===B?typeof e.offset==`number`?B(e.offset):O.Long.fromBits(e.offset.low>>>0,e.offset.high>>>0,!0).toBigInt():typeof e.offset==`number`?t.longs===P?P(e.offset):e.offset:t.longs===P?O.Long.prototype.toString.call(e.offset):t.longs===I?new O.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0):e.offset),e.endOfStream!=null&&k.hasOwnProperty.call(e,`endOfStream`)&&(r.endOfStream=e.endOfStream),e.arrowData!=null&&k.hasOwnProperty.call(e,`arrowData`)&&(r.arrowData=V.ArrowData.toObject(e.arrowData,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/DataframeChunkResponsePayload`},e})();var Ce=V.ForwardMsgMetadata=(()=>{let e=function(e){if(this.deltaPath=[],e)for(let t=k.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=O.emptyArray,e.prototype.activeScriptHash=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);
1if(e.cacheable!=null&&k.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&&k.hasOwnProperty.call(e,`activeScriptHash`)&&e.activeScriptHash!==``&&t.uint32(34).string(e.activeScriptHash),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ForwardMsgMetadata;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ForwardMsgMetadata)return e;if(!O.isObject(e))throw N(`.ForwardMsgMetadata: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ForwardMsgMetadata;if(e.cacheable!=null&&e.cacheable&&(n.cacheable=F(e.cacheable)),e.deltaPath){if(!R.isArray(e.deltaPath))throw N(`.ForwardMsgMetadata.deltaPath: array expected`);n.deltaPath=R(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=P(e.activeScriptHash)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.deltaPath=[]),t.defaults&&(r.cacheable=!1,r.activeScriptHash=``),e.cacheable!=null&&k.hasOwnProperty.call(e,`cacheable`)&&(r.cacheable=e.cacheable),e.deltaPath&&e.deltaPath.length){r.deltaPath=R(e.deltaPath.length);for(let t=0;t<e.deltaPath.length;++t)r.deltaPath[t]=e.deltaPath[t]}return e.activeScriptHash!=null&&k.hasOwnProperty.call(e,`activeScriptHash`)&&(r.activeScriptHash=e.activeScriptHash),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ForwardMsgMetadata`},e})(),we=V.ForwardMsgList=(()=>{let e=function(e){if(this.messages=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.messages!=null&&e.messages.length)for(let r=0;r<e.messages.length;++r)V.ForwardMsg.encode(e.messages[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ForwardMsgList;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.messages&&o.messages.length||(o.messages=[]),o.messages.push(V.ForwardMsg.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ForwardMsgList)return e;if(!O.isObject(e))throw N(`.ForwardMsgList: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ForwardMsgList;if(e.messages){if(!R.isArray(e.messages))throw N(`.ForwardMsgList.messages: array expected`);n.messages=R(e.messages.length);for(let r=0;r<e.messages.length;++r){if(!O.isObject(e.messages[r]))throw N(`.ForwardMsgList.messages: object expected`);n.messages[r]=V.ForwardMsg.fromObject(e.messages[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.messages=[]),e.messages&&e.messages.length){r.messages=R(e.messages.length);for(let i=0;i<e.messages.length;++i)r.messages[i]=V.ForwardMsg.toObject(e.messages[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ForwardMsgList`},e})(),Te=V.GitInfo=(()=>{let e=function(e){if(this.untrackedFiles=[],this.uncommittedFiles=[],e)for(let t=k.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=O.emptyArray,e.prototype.uncommittedFiles=O.emptyArray,e.prototype.state=0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.repository!=null&&k.hasOwnProperty.call(e,`repository`)&&e.repository!==``&&t.uint32(10).string(e.repository),e.branch!=null&&k.hasOwnProperty.call(e,`branch`)&&e.branch!==``&&t.uint32(18).string(e.branch),e.module!=null&&k.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&&k.hasOwnProperty.call(e,`state`)&&e.state!==0&&t.uint32(48).int32(e.state),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.GitInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.GitInfo)return e;if(!O.isObject(e))throw N(`.GitInfo: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.GitInfo;if(e.repository!=null&&(typeof e.repository!=`string`||e.repository.length)&&(n.repository=P(e.repository)),e.branch!=null&&(typeof e.branch!=`string`||e.branch.length)&&(n.branch=P(e.branch)),e.module!=null&&(typeof e.module!=`string`||e.module.length)&&(n.module=P(e.module)),e.untrackedFiles){if(!R.isArray(e.untrackedFiles))throw N(`.GitInfo.untrackedFiles: array expected`);n.untrackedFiles=R(e.untrackedFiles.length);for(let t=0;t<e.untrackedFiles.length;++t)n.untrackedFiles[t]=P(e.untrackedFiles[t])}if(e.uncommittedFiles){if(!R.isArray(e.uncommittedFiles))throw N(`.GitInfo.uncommittedFiles: array expected`);n.uncommittedFiles=R(e.uncommittedFiles.length);for(let t=0;t<e.uncommittedFiles.length;++t)n.uncommittedFiles[t]=P(e.uncommittedFiles[t])}if(e.state!==0&&(typeof e.state!=`string`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`DEFAULT`:0),e.repository!=null&&k.hasOwnProperty.call(e,`repository`)&&(r.repository=e.repository),e.branch!=null&&k.hasOwnProperty.call(e,`branch`)&&(r.branch=e.branch),e.module!=null&&k.hasOwnProperty.call(e,`module`)&&(r.module=e.module),e.untrackedFiles&&e.untrackedFiles.length){r.untrackedFiles=R(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=R(e.uncommittedFiles.length);for(let t=0;t<e.uncommittedFiles.length;++t)r.uncommittedFiles[t]=e.uncommittedFiles[t]}return e.state!=null&&k.hasOwnProperty.call(e,`state`)&&(r.state=t.enums===P?V.GitInfo.GitStates[e.state]===A?e.state:V.GitInfo.GitStates[e.state]:e.state),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/GitInfo`},e.GitStates=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`DEFAULT`]=0,t[e[1]=`HEAD_DETACHED`]=1,t[e[2]=`AHEAD_OF_REMOTE`]=2,t})(),e})(),Ee=V.Logo=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.image!=null&&k.hasOwnProperty.call(e,`image`)&&e.image!==``&&t.uint32(10).string(e.image),e.link!=null&&k.hasOwnProperty.call(e,`link`)&&e.link!==``&&t.uint32(18).string(e.link),e.iconImage!=null&&k.hasOwnProperty.call(e,`iconImage`)&&e.iconImage!==``&&t.uint32(26).string(e.iconImage),e.size!=null&&k.hasOwnProperty.call(e,`size`)&&e.size!==``&&t.uint32(34).string(e.size),e.imageType!=null&&k.hasOwnProperty.call(e,`imageType`)&&e.imageType!==0&&t.uint32(40).int32(e.imageType),e.iconImageType!=null&&k.hasOwnProperty.call(e,`iconImageType`)&&e.iconImageType!==0&&t.uint32(48).int32(e.iconImageType),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Logo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Logo)return e;if(!O.isObject(e))throw N(`.Logo: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Logo;if(e.image!=null&&(typeof e.image!=`string`||e.image.length)&&(n.image=P(e.image)),e.link!=null&&(typeof e.link!=`string`||e.link.length)&&(n.link=P(e.link)),e.iconImage!=null&&(typeof e.iconImage!=`string`||e.iconImage.length)&&(n.iconImage=P(e.iconImage)),e.size!=null&&(typeof e.size!=`string`||e.size.length)&&(n.size=P(e.size)),e.imageType!==0&&(typeof e.imageType!=`string`||V.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`||V.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===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.image=``,r.link=``,r.iconImage=``,r.size=``,r.imageType=t.enums===P?`IMAGE`:0,r.iconImageType=t.enums===P?`IMAGE`:0),e.image!=null&&k.hasOwnProperty.call(e,`image`)&&(r.image=e.image),e.link!=null&&k.hasOwnProperty.call(e,`link`)&&(r.link=e.link),e.iconImage!=null&&k.hasOwnProperty.call(e,`iconImage`)&&(r.iconImage=e.iconImage),e.size!=null&&k.hasOwnProperty.call(e,`size`)&&(r.size=e.size),e.imageType!=null&&k.hasOwnProperty.call(e,`imageType`)&&(r.imageType=t.enums===P?V.Logo.ImageType[e.imageType]===A?e.imageType:V.Logo.ImageType[e.imageType]:e.imageType),e.iconImageType!=null&&k.hasOwnProperty.call(e,`iconImageType`)&&(r.iconImageType=t.enums===P?V.Logo.ImageType[e.iconImageType]===A?e.iconImageType:V.Logo.ImageType[e.iconImageType]:e.iconImageType),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Logo`},e.ImageType=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`IMAGE`]=0,t[e[1]=`EMOJI`]=1,t[e[2]=`ICON`]=2,t})(),e})(),De=V.Navigation=(()=>{let e=function(e){if(this.sections=[],this.appPages=[],e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};e.prototype.sections=O.emptyArray,e.prototype.appPages=O.emptyArray,e.prototype.position=0,e.prototype.pageScriptHash=``,e.prototype.expanded=!1,e.prototype.visibleItems=null;let t;return k.defineProperty(e.prototype,`_visibleItems`,{get:O.oneOfGetter(t=[`visibleItems`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`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)V.AppPage.encode(e.appPages[r],t.uint32(18).fork(),n+1).ldelim();if(e.position!=null&&k.hasOwnProperty.call(e,`position`)&&e.position!==0&&t.uint32(24).int32(e.position),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(34).string(e.pageScriptHash),e.expanded!=null&&k.hasOwnProperty.call(e,`expanded`)&&e.expanded!==!1&&t.uint32(40).bool(e.expanded),e.visibleItems!=null&&k.hasOwnProperty.call(e,`visibleItems`)&&t.uint32(48).uint32(e.visibleItems),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Navigation;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.AppPage.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Navigation)return e;if(!O.isObject(e))throw N(`.Navigation: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Navigation;if(e.sections){if(!R.isArray(e.sections))throw N(`.Navigation.sections: array expected`);n.sections=R(e.sections.length);for(let t=0;t<e.sections.length;++t)n.sections[t]=P(e.sections[t])}if(e.appPages){if(!R.isArray(e.appPages))throw N(`.Navigation.appPages: array expected`);n.appPages=R(e.appPages.length);for(let r=0;r<e.appPages.length;++r){if(!O.isObject(e.appPages[r]))throw N(`.Navigation.appPages: object expected`);n.appPages[r]=V.AppPage.fromObject(e.appPages[r],t+1)}}if(e.position!==0&&(typeof e.position!=`string`||V.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=P(e.pageScriptHash)),e.expanded!=null&&e.expanded&&(n.expanded=F(e.expanded)),e.visibleItems!=null&&(n.visibleItems=e.visibleItems>>>0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.sections=[],r.appPages=[]),t.defaults&&(r.position=t.enums===P?`HIDDEN`:0,r.pageScriptHash=``,r.expanded=!1),e.sections&&e.sections.length){r.sections=R(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=R(e.appPages.length);for(let i=0;i<e.appPages.length;++i)r.appPages[i]=V.AppPage.toObject(e.appPages[i],t,n+1)}return e.position!=null&&k.hasOwnProperty.call(e,`position`)&&(r.position=t.enums===P?V.Navigation.Position[e.position]===A?e.position:V.Navigation.Position[e.position]:e.position),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.expanded!=null&&k.hasOwnProperty.call(e,`expanded`)&&(r.expanded=e.expanded),e.visibleItems!=null&&k.hasOwnProperty.call(e,`visibleItems`)&&(r.visibleItems=e.visibleItems),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Navigation`},e.Position=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`HIDDEN`]=0,t[e[1]=`SIDEBAR`]=1,t[e[2]=`TOP`]=2,t})(),e})();V.NewSession=(()=>{let e=function(e){if(this.appPages=[],this.fragmentIdsThisRun=[],e)for(let t=k.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=O.emptyArray,e.prototype.pageScriptHash=``,e.prototype.fragmentIdsThisRun=O.emptyArray,e.prototype.mainScriptHash=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.initialize!=null&&k.hasOwnProperty.call(e,`initialize`)&&V.Initialize.encode(e.initialize,t.uint32(10).fork(),n+1).ldelim(),e.scriptRunId!=null&&k.hasOwnProperty.call(e,`scriptRunId`)&&e.scriptRunId!==``&&t.uint32(18).string(e.scriptRunId),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(26).string(e.name),e.mainScriptPath!=null&&k.hasOwnProperty.call(e,`mainScriptPath`)&&e.mainScriptPath!==``&&t.uint32(34).string(e.mainScriptPath),e.config!=null&&k.hasOwnProperty.call(e,`config`)&&V.Config.encode(e.config,t.uint32(50).fork(),n+1).ldelim(),e.customTheme!=null&&k.hasOwnProperty.call(e,`customTheme`)&&V.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)V.AppPage.encode(e.appPages[r],t.uint32(66).fork(),n+1).ldelim();if(e.pageScriptHash!=null&&k.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&&k.hasOwnProperty.call(e,`mainScriptHash`)&&e.mainScriptHash!==``&&t.uint32(90).string(e.mainScriptHash),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.NewSession;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.initialize=V.Initialize.decode(e,e.uint32(),A,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=V.Config.decode(e,e.uint32(),A,r+1,o.config);continue;case 7:if(a!==2)break;o.customTheme=V.CustomThemeConfig.decode(e,e.uint32(),A,r+1,o.customTheme);continue;case 8:if(a!==2)break;o.appPages&&o.appPages.length||(o.appPages=[]),o.appPages.push(V.AppPage.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.NewSession)return e;if(!O.isObject(e))throw N(`.NewSession: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.NewSession;if(e.initialize!=null){if(!O.isObject(e.initialize))throw N(`.NewSession.initialize: object expected`);n.initialize=V.Initialize.fromObject(e.initialize,t+1)}if(e.scriptRunId!=null&&(typeof e.scriptRunId!=`string`||e.scriptRunId.length)&&(n.scriptRunId=P(e.scriptRunId)),e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.mainScriptPath!=null&&(typeof e.mainScriptPath!=`string`||e.mainScriptPath.length)&&(n.mainScriptPath=P(e.mainScriptPath)),e.config!=null){if(!O.isObject(e.config))throw N(`.NewSession.config: object expected`);n.config=V.Config.fromObject(e.config,t+1)}if(e.customTheme!=null){if(!O.isObject(e.customTheme))throw N(`.NewSession.customTheme: object expected`);n.customTheme=V.CustomThemeConfig.fromObject(e.customTheme,t+1)}if(e.appPages){if(!R.isArray(e.appPages))throw N(`.NewSession.appPages: array expected`);n.appPages=R(e.appPages.length);for(let r=0;r<e.appPages.length;++r){if(!O.isObject(e.appPages[r]))throw N(`.NewSession.appPages: object expected`);n.appPages[r]=V.AppPage.fromObject(e.appPages[r],t+1)}}if(e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=P(e.pageScriptHash)),e.fragmentIdsThisRun){if(!R.isArray(e.fragmentIdsThisRun))throw N(`.NewSession.fragmentIdsThisRun: array expected`);n.fragmentIdsThisRun=R(e.fragmentIdsThisRun.length);for(let t=0;t<e.fragmentIdsThisRun.length;++t)n.fragmentIdsThisRun[t]=P(e.fragmentIdsThisRun[t])}return e.mainScriptHash!=null&&(typeof e.mainScriptHash!=`string`||e.mainScriptHash.length)&&(n.mainScriptHash=P(e.mainScriptHash)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`initialize`)&&(r.initialize=V.Initialize.toObject(e.initialize,t,n+1)),e.scriptRunId!=null&&k.hasOwnProperty.call(e,`scriptRunId`)&&(r.scriptRunId=e.scriptRunId),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.mainScriptPath!=null&&k.hasOwnProperty.call(e,`mainScriptPath`)&&(r.mainScriptPath=e.mainScriptPath),e.config!=null&&k.hasOwnProperty.call(e,`config`)&&(r.config=V.Config.toObject(e.config,t,n+1)),e.customTheme!=null&&k.hasOwnProperty.call(e,`customTheme`)&&(r.customTheme=V.CustomThemeConfig.toObject(e.customTheme,t,n+1)),e.appPages&&e.appPages.length){r.appPages=R(e.appPages.length);for(let i=0;i<e.appPages.length;++i)r.appPages[i]=V.AppPage.toObject(e.appPages[i],t,n+1)}if(e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.fragmentIdsThisRun&&e.fragmentIdsThisRun.length){r.fragmentIdsThisRun=R(e.fragmentIdsThisRun.length);for(let t=0;t<e.fragmentIdsThisRun.length;++t)r.fragmentIdsThisRun[t]=e.fragmentIdsThisRun[t]}return e.mainScriptHash!=null&&k.hasOwnProperty.call(e,`mainScriptHash`)&&(r.mainScriptHash=e.mainScriptHash),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/NewSession`},e})(),V.Initialize=(()=>{let e=function(e){if(e)for(let t=k.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.skillsNudgeSuppressedReason=``,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.userInfo!=null&&k.hasOwnProperty.call(e,`userInfo`)&&V.UserInfo.encode(e.userInfo,t.uint32(10).fork(),n+1).ldelim(),e.environmentInfo!=null&&k.hasOwnProperty.call(e,`environmentInfo`)&&V.EnvironmentInfo.encode(e.environmentInfo,t.uint32(26).fork(),n+1).ldelim(),e.sessionStatus!=null&&k.hasOwnProperty.call(e,`sessionStatus`)&&V.SessionStatus.encode(e.sessionStatus,t.uint32(34).fork(),n+1).ldelim(),e.sessionId!=null&&k.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(50).string(e.sessionId),e.isHello!=null&&k.hasOwnProperty.call(e,`isHello`)&&e.isHello!==!1&&t.uint32(56).bool(e.isHello),e.recommendSkillsInstall!=null&&k.hasOwnProperty.call(e,`recommendSkillsInstall`)&&e.recommendSkillsInstall!==!1&&t.uint32(64).bool(e.recommendSkillsInstall),e.skillsNudgeSuppressedReason!=null&&k.hasOwnProperty.call(e,`skillsNudgeSuppressedReason`)&&e.skillsNudgeSuppressedReason!==``&&t.uint32(82).string(e.skillsNudgeSuppressedReason),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Initialize;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.userInfo=V.UserInfo.decode(e,e.uint32(),A,r+1,o.userInfo);continue;case 3:if(a!==2)break;o.environmentInfo=V.EnvironmentInfo.decode(e,e.uint32(),A,r+1,o.environmentInfo);continue;case 4:if(a!==2)break;o.sessionStatus=V.SessionStatus.decode(e,e.uint32(),A,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;case 10:if(a!==2)break;(s=e.stringVerify()).length?o.skillsNudgeSuppressedReason=s:delete o.skillsNudgeSuppressedReason;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Initialize)return e;if(!O.isObject(e))throw N(`.Initialize: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Initialize;if(e.userInfo!=null){if(!O.isObject(e.userInfo))throw N(`.Initialize.userInfo: object expected`);n.userInfo=V.UserInfo.fromObject(e.userInfo,t+1)}if(e.environmentInfo!=null){if(!O.isObject(e.environmentInfo))throw N(`.Initialize.environmentInfo: object expected`);n.environmentInfo=V.EnvironmentInfo.fromObject(e.environmentInfo,t+1)}if(e.sessionStatus!=null){if(!O.isObject(e.sessionStatus))throw N(`.Initialize.sessionStatus: object expected`);n.sessionStatus=V.SessionStatus.fromObject(e.sessionStatus,t+1)}return e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=P(e.sessionId)),e.isHello!=null&&e.isHello&&(n.isHello=F(e.isHello)),e.recommendSkillsInstall!=null&&e.recommendSkillsInstall&&(n.recommendSkillsInstall=F(e.recommendSkillsInstall)),e.skillsNudgeSuppressedReason!=null&&(typeof e.skillsNudgeSuppressedReason!=`string`||e.skillsNudgeSuppressedReason.length)&&(n.skillsNudgeSuppressedReason=P(e.skillsNudgeSuppressedReason)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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.skillsNudgeSuppressedReason=``),e.userInfo!=null&&k.hasOwnProperty.call(e,`userInfo`)&&(r.userInfo=V.UserInfo.toObject(e.userInfo,t,n+1)),e.environmentInfo!=null&&k.hasOwnProperty.call(e,`environmentInfo`)&&(r.environmentInfo=V.EnvironmentInfo.toObject(e.environmentInfo,t,n+1)),e.sessionStatus!=null&&k.hasOwnProperty.call(e,`sessionStatus`)&&(r.sessionStatus=V.SessionStatus.toObject(e.sessionStatus,t,n+1)),e.sessionId!=null&&k.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),e.isHello!=null&&k.hasOwnProperty.call(e,`isHello`)&&(r.isHello=e.isHello),e.recommendSkillsInstall!=null&&k.hasOwnProperty.call(e,`recommendSkillsInstall`)&&(r.recommendSkillsInstall=e.recommendSkillsInstall),e.skillsNudgeSuppressedReason!=null&&k.hasOwnProperty.call(e,`skillsNudgeSuppressedReason`)&&(r.skillsNudgeSuppressedReason=e.skillsNudgeSuppressedReason),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Initialize`},e})();var Oe=V.Config=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.gatherUsageStats!=null&&k.hasOwnProperty.call(e,`gatherUsageStats`)&&e.gatherUsageStats!==!1&&t.uint32(16).bool(e.gatherUsageStats),e.maxCachedMessageAge!=null&&k.hasOwnProperty.call(e,`maxCachedMessageAge`)&&e.maxCachedMessageAge!==0&&t.uint32(24).int32(e.maxCachedMessageAge),e.allowRunOnSave!=null&&k.hasOwnProperty.call(e,`allowRunOnSave`)&&e.allowRunOnSave!==!1&&t.uint32(40).bool(e.allowRunOnSave),e.hideTopBar!=null&&k.hasOwnProperty.call(e,`hideTopBar`)&&e.hideTopBar!==!1&&t.uint32(48).bool(e.hideTopBar),e.hideSidebarNav!=null&&k.hasOwnProperty.call(e,`hideSidebarNav`)&&e.hideSidebarNav!==!1&&t.uint32(56).bool(e.hideSidebarNav),e.toolbarMode!=null&&k.hasOwnProperty.call(e,`toolbarMode`)&&e.toolbarMode!==0&&t.uint32(64).int32(e.toolbarMode),e.showErrorLinks!=null&&k.hasOwnProperty.call(e,`showErrorLinks`)&&e.showErrorLinks!==0&&t.uint32(72).int32(e.showErrorLinks),e.disableDataExport!=null&&k.hasOwnProperty.call(e,`disableDataExport`)&&e.disableDataExport!==!1&&t.uint32(80).bool(e.disableDataExport),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Config;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Config)return e;if(!O.isObject(e))throw N(`.Config: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Config;if(e.gatherUsageStats!=null&&e.gatherUsageStats&&(n.gatherUsageStats=F(e.gatherUsageStats)),e.maxCachedMessageAge!=null&&I(e.maxCachedMessageAge)!==0&&(n.maxCachedMessageAge=e.maxCachedMessageAge|0),e.allowRunOnSave!=null&&e.allowRunOnSave&&(n.allowRunOnSave=F(e.allowRunOnSave)),e.hideTopBar!=null&&e.hideTopBar&&(n.hideTopBar=F(e.hideTopBar)),e.hideSidebarNav!=null&&e.hideSidebarNav&&(n.hideSidebarNav=F(e.hideSidebarNav)),e.toolbarMode!==0&&(typeof e.toolbarMode!=`string`||V.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`||V.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=F(e.disableDataExport)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`AUTO`:0,r.showErrorLinks=t.enums===P?`SHOW_ERROR_LINKS_UNSPECIFIED`:0,r.disableDataExport=!1),e.gatherUsageStats!=null&&k.hasOwnProperty.call(e,`gatherUsageStats`)&&(r.gatherUsageStats=e.gatherUsageStats),e.maxCachedMessageAge!=null&&k.hasOwnProperty.call(e,`maxCachedMessageAge`)&&(r.maxCachedMessageAge=e.maxCachedMessageAge),e.allowRunOnSave!=null&&k.hasOwnProperty.call(e,`allowRunOnSave`)&&(r.allowRunOnSave=e.allowRunOnSave),e.hideTopBar!=null&&k.hasOwnProperty.call(e,`hideTopBar`)&&(r.hideTopBar=e.hideTopBar),e.hideSidebarNav!=null&&k.hasOwnProperty.call(e,`hideSidebarNav`)&&(r.hideSidebarNav=e.hideSidebarNav),e.toolbarMode!=null&&k.hasOwnProperty.call(e,`toolbarMode`)&&(r.toolbarMode=t.enums===P?V.Config.ToolbarMode[e.toolbarMode]===A?e.toolbarMode:V.Config.ToolbarMode[e.toolbarMode]:e.toolbarMode),e.showErrorLinks!=null&&k.hasOwnProperty.call(e,`showErrorLinks`)&&(r.showErrorLinks=t.enums===P?V.Config.ShowErrorLinks[e.showErrorLinks]===A?e.showErrorLinks:V.Config.ShowErrorLinks[e.showErrorLinks]:e.showErrorLinks),e.disableDataExport!=null&&k.hasOwnProperty.call(e,`disableDataExport`)&&(r.disableDataExport=e.disableDataExport),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Config`},e.ToolbarMode=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.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})(),ke=V.CustomThemeConfig=(()=>{let e=function(e){if(this.fontFaces=[],this.fontSources=[],this.headingFontSizes=[],this.headingFontWeights=[],this.chartCategoricalColors=[],this.chartSequentialColors=[],this.chartDivergingColors=[],e)for(let t=k.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=O.emptyArray,e.prototype.fontSources=O.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=O.emptyArray,e.prototype.headingFontWeights=O.emptyArray,e.prototype.showSidebarBorder=null,e.prototype.codeTextColor=null,e.prototype.codeBackgroundColor=null,e.prototype.dataframeHeaderBackgroundColor=null,e.prototype.chartCategoricalColors=O.emptyArray,e.prototype.chartSequentialColors=O.emptyArray,e.prototype.chartDivergingColors=O.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 k.defineProperty(e.prototype,`_baseRadius`,{get:O.oneOfGetter(t=[`baseRadius`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_buttonRadius`,{get:O.oneOfGetter(t=[`buttonRadius`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_borderColor`,{get:O.oneOfGetter(t=[`borderColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_dataframeBorderColor`,{get:O.oneOfGetter(t=[`dataframeBorderColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_showWidgetBorder`,{get:O.oneOfGetter(t=[`showWidgetBorder`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_linkColor`,{get:O.oneOfGetter(t=[`linkColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_linkUnderline`,{get:O.oneOfGetter(t=[`linkUnderline`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_baseFontSize`,{get:O.oneOfGetter(t=[`baseFontSize`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_baseFontWeight`,{get:O.oneOfGetter(t=[`baseFontWeight`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_codeFontWeight`,{get:O.oneOfGetter(t=[`codeFontWeight`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_codeFontSize`,{get:O.oneOfGetter(t=[`codeFontSize`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_showSidebarBorder`,{get:O.oneOfGetter(t=[`showSidebarBorder`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_codeTextColor`,{get:O.oneOfGetter(t=[`codeTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_codeBackgroundColor`,{get:O.oneOfGetter(t=[`codeBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_dataframeHeaderBackgroundColor`,{get:O.oneOfGetter(t=[`dataframeHeaderBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_redColor`,{get:O.oneOfGetter(t=[`redColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_orangeColor`,{get:O.oneOfGetter(t=[`orangeColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_yellowColor`,{get:O.oneOfGetter(t=[`yellowColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_blueColor`,{get:O.oneOfGetter(t=[`blueColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_greenColor`,{get:O.oneOfGetter(t=[`greenColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_violetColor`,{get:O.oneOfGetter(t=[`violetColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_grayColor`,{get:O.oneOfGetter(t=[`grayColor`]),set:O.oneOfSetter(t)}
1),k.defineProperty(e.prototype,`_redBackgroundColor`,{get:O.oneOfGetter(t=[`redBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_orangeBackgroundColor`,{get:O.oneOfGetter(t=[`orangeBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_yellowBackgroundColor`,{get:O.oneOfGetter(t=[`yellowBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_blueBackgroundColor`,{get:O.oneOfGetter(t=[`blueBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_greenBackgroundColor`,{get:O.oneOfGetter(t=[`greenBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_violetBackgroundColor`,{get:O.oneOfGetter(t=[`violetBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_grayBackgroundColor`,{get:O.oneOfGetter(t=[`grayBackgroundColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_redTextColor`,{get:O.oneOfGetter(t=[`redTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_orangeTextColor`,{get:O.oneOfGetter(t=[`orangeTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_yellowTextColor`,{get:O.oneOfGetter(t=[`yellowTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_blueTextColor`,{get:O.oneOfGetter(t=[`blueTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_greenTextColor`,{get:O.oneOfGetter(t=[`greenTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_violetTextColor`,{get:O.oneOfGetter(t=[`violetTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_grayTextColor`,{get:O.oneOfGetter(t=[`grayTextColor`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_metricValueFontSize`,{get:O.oneOfGetter(t=[`metricValueFontSize`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_metricValueFontWeight`,{get:O.oneOfGetter(t=[`metricValueFontWeight`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_sidebar`,{get:O.oneOfGetter(t=[`sidebar`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_light`,{get:O.oneOfGetter(t=[`light`]),set:O.oneOfSetter(t)}),k.defineProperty(e.prototype,`_dark`,{get:O.oneOfGetter(t=[`dark`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.primaryColor!=null&&k.hasOwnProperty.call(e,`primaryColor`)&&e.primaryColor!==``&&t.uint32(10).string(e.primaryColor),e.secondaryBackgroundColor!=null&&k.hasOwnProperty.call(e,`secondaryBackgroundColor`)&&e.secondaryBackgroundColor!==``&&t.uint32(18).string(e.secondaryBackgroundColor),e.backgroundColor!=null&&k.hasOwnProperty.call(e,`backgroundColor`)&&e.backgroundColor!==``&&t.uint32(26).string(e.backgroundColor),e.textColor!=null&&k.hasOwnProperty.call(e,`textColor`)&&e.textColor!==``&&t.uint32(34).string(e.textColor),e.base!=null&&k.hasOwnProperty.call(e,`base`)&&e.base!==0&&t.uint32(48).int32(e.base),e.headingFont!=null&&k.hasOwnProperty.call(e,`headingFont`)&&e.headingFont!==``&&t.uint32(98).string(e.headingFont),e.bodyFont!=null&&k.hasOwnProperty.call(e,`bodyFont`)&&e.bodyFont!==``&&t.uint32(106).string(e.bodyFont),e.codeFont!=null&&k.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)V.FontFace.encode(e.fontFaces[r],t.uint32(122).fork(),n+1).ldelim();if(e.baseRadius!=null&&k.hasOwnProperty.call(e,`baseRadius`)&&t.uint32(146).string(e.baseRadius),e.borderColor!=null&&k.hasOwnProperty.call(e,`borderColor`)&&t.uint32(154).string(e.borderColor),e.showWidgetBorder!=null&&k.hasOwnProperty.call(e,`showWidgetBorder`)&&t.uint32(160).bool(e.showWidgetBorder),e.linkColor!=null&&k.hasOwnProperty.call(e,`linkColor`)&&t.uint32(170).string(e.linkColor),e.baseFontSize!=null&&k.hasOwnProperty.call(e,`baseFontSize`)&&t.uint32(176).int32(e.baseFontSize),e.showSidebarBorder!=null&&k.hasOwnProperty.call(e,`showSidebarBorder`)&&t.uint32(184).bool(e.showSidebarBorder),e.sidebar!=null&&k.hasOwnProperty.call(e,`sidebar`)&&V.CustomThemeConfig.encode(e.sidebar,t.uint32(194).fork(),n+1).ldelim(),e.codeBackgroun
1dColor!=null&&k.hasOwnProperty.call(e,`codeBackgroundColor`)&&t.uint32(202).string(e.codeBackgroundColor),e.buttonRadius!=null&&k.hasOwnProperty.call(e,`buttonRadius`)&&t.uint32(210).string(e.buttonRadius),e.dataframeBorderColor!=null&&k.hasOwnProperty.call(e,`dataframeBorderColor`)&&t.uint32(218).string(e.dataframeBorderColor),e.codeFontSize!=null&&k.hasOwnProperty.call(e,`codeFontSize`)&&t.uint32(226).string(e.codeFontSize),e.linkUnderline!=null&&k.hasOwnProperty.call(e,`linkUnderline`)&&t.uint32(232).bool(e.linkUnderline),e.baseFontWeight!=null&&k.hasOwnProperty.call(e,`baseFontWeight`)&&t.uint32(240).int32(e.baseFontWeight),e.dataframeHeaderBackgroundColor!=null&&k.hasOwnProperty.call(e,`dataframeHeaderBackgroundColor`)&&t.uint32(250).string(e.dataframeHeaderBackgroundColor),e.codeFontWeight!=null&&k.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)V.FontSource.encode(e.fontSources[r],t.uint32(298).fork(),n+1).ldelim();if(e.redColor!=null&&k.hasOwnProperty.call(e,`redColor`)&&t.uint32(306).string(e.redColor),e.orangeColor!=null&&k.hasOwnProperty.call(e,`orangeColor`)&&t.uint32(314).string(e.orangeColor),e.yellowColor!=null&&k.hasOwnProperty.call(e,`yellowColor`)&&t.uint32(322).string(e.yellowColor),e.blueColor!=null&&k.hasOwnProperty.call(e,`blueColor`)&&t.uint32(330).string(e.blueColor),e.greenColor!=null&&k.hasOwnProperty.call(e,`greenColor`)&&t.uint32(338).string(e.greenColor),e.violetColor!=null&&k.hasOwnProperty.call(e,`violetColor`)&&t.uint32(346).string(e.violetColor),e.grayColor!=null&&k.hasOwnProperty.call(e,`grayColor`)&&t.uint32(354).string(e.grayColor),e.redBackgroundColor!=null&&k.hasOwnProperty.call(e,`redBackgroundColor`)&&t.uint32(362).string(e.redBackgroundColor),e.orangeBackgroundColor!=null&&k.hasOwnProperty.call(e,`orangeBackgroundColor`)&&t.uint32(370).string(e.orangeBackgroundColor),e.yellowBackgroundColor!=null&&k.hasOwnProperty.call(e,`yellowBackgroundColor`)&&t.uint32(378).string(e.yellowBackgroundColor),e.blueBackgroundColor!=null&&k.hasOwnProperty.call(e,`blueBackgroundColor`)&&t.uint32(386).string(e.blueBackgroundColor),e.greenBackgroundColor!=null&&k.hasOwnProperty.call(e,`greenBackgroundColor`)&&t.uint32(394).string(e.green
1BackgroundColor),e.violetBackgroundColor!=null&&k.hasOwnProperty.call(e,`violetBackgroundColor`)&&t.uint32(402).string(e.violetBackgroundColor),e.grayBackgroundColor!=null&&k.hasOwnProperty.call(e,`grayBackgroundColor`)&&t.uint32(410).string(e.grayBackgroundColor),e.redTextColor!=null&&k.hasOwnProperty.call(e,`redTextColor`)&&t.uint32(418).string(e.redTextColor),e.orangeTextColor!=null&&k.hasOwnProperty.call(e,`orangeTextColor`)&&t.uint32(426).string(e.orangeTextColor),e.yellowTextColor!=null&&k.hasOwnProperty.call(e,`yellowTextColor`)&&t.uint32(434).string(e.yellowTextColor),e.blueTextColor!=null&&k.hasOwnProperty.call(e,`blueTextColor`)&&t.uint32(442).string(e.blueTextColor),e.greenTextColor!=null&&k.hasOwnProperty.call(e,`greenTextColor`)&&t.uint32(450).string(e.greenTextColor),e.violetTextColor!=null&&k.hasOwnProperty.call(e,`violetTextColor`)&&t.uint32(458).string(e.violetTextColor),e.grayTextColor!=null&&k.hasOwnProperty.call(e,`grayTextColor`)&&t.uint32(466).string(e.grayTextColor),e.codeTextColor!=null&&k.hasOwnProperty.call(e,`codeTextColor`)&&t.uint32(474).string(e.codeTextColor),e.light!=null&&k.hasOwnProperty.call(e,`light`)&&V.CustomThemeConfig.encode(e.light,t.uint32(482).fork(),n+1).ldelim(),e.dark!=null&&k.hasOwnProperty.call(e,`dark`)&&V.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&&k.hasOwnProperty.call(e,`metricValueFontSize`)&&t.uint32(514).string(e.metricValueFontSize),e.metricValueFontWeight!=null&&k.hasOwnProperty.call(e,`metricValueFontWeight`)&&t.uint32(520).int32(e.metricValueFontWeight),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.CustomThemeConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.FontFace.decode(e,e.uint32(),A,r+1));continue;case 37:if(a!==2)break;o.fontSources&&o.fontSources.length||(o.fontSources=[]),o.fontSources.push(V.FontSource.decode(e,e.uint32(),A,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=V.CustomThemeConfig.decode(e,e.uint32(),A,r+1,o.sidebar),o._sidebar=`sidebar`;continue;case 60:if(a!==2)break;o.light=V.CustomThemeConfig.decode(e,e.uint32(),A,r+1,o.light),o._light=`light`;continue;case 61:if(a!==2)break;o.dark=V.CustomThemeConfig.decode(e,e.uint32(),A,r+1,o.dark),o._dark=`dark`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.CustomThemeConfig)return e;if(!O.isObject(e))throw N(`.CustomThemeConfig: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.CustomThemeConfig;if(e.primaryColor!=null&&(typeof e.primaryColor!=`string`||e.primaryColor.length)&&(n.primaryColor=P(e.primaryColor)),e.secondaryBackgroundColor!=null&&(typeof e.secondaryBackgroun
1dColor!=`string`||e.secondaryBackgroundColor.length)&&(n.secondaryBackgroundColor=P(e.secondaryBackgroundColor)),e.backgroundColor!=null&&(typeof e.backgroundColor!=`string`||e.backgroundColor.length)&&(n.backgroundColor=P(e.backgroundColor)),e.textColor!=null&&(typeof e.textColor!=`string`||e.textColor.length)&&(n.textColor=P(e.textColor)),e.base!==0&&(typeof e.base!=`string`||V.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=P(e.headingFont)),e.bodyFont!=null&&(typeof e.bodyFont!=`string`||e.bodyFont.length)&&(n.bodyFont=P(e.bodyFont)),e.codeFont!=null&&(typeof e.codeFont!=`string`||e.codeFont.length)&&(n.codeFont=P(e.codeFont)),e.fontFaces){if(!R.isArray(e.fontFaces))throw N(`.CustomThemeConfig.fontFaces: array expected`);n.fontFaces=R(e.fontFaces.length);for(let r=0;r<e.fontFaces.length;++r){if(!O.isObject(e.fontFaces[r]))throw N(`.CustomThemeConfig.fontFaces: object expected`);n.fontFaces[r]=V.FontFace.fromObject(e.fontFaces[r],t+1)}}if(e.fontSources){if(!R.isArray(e.fontSources))throw N(`.CustomThemeConfig.fontSources: array expected`);n.fontSources=R(e.fontSources.length);for(let r=0;r<e.fontSources.length;++r){if(!O.isObject(e.fontSources[r]))throw N(`.CustomThemeConfig.fontSources: object expected`);n.fontSources[r]=V.FontSource.fromObject(e.fontSources[r],t+1)}}if(e.baseRadius!=null&&(n.baseRadius=P(e.baseRadius)),e.buttonRadius!=null&&(n.buttonRadius=P(e.buttonRadius)),e.borderColor!=null&&(n.borderColor=P(e.borderColor)),e.dataframeBorderColor!=null&&(n.dataframeBorderColor=P(e.dataframeBorderColor)),e.showWidgetBorder!=null&&(n.showWidgetBorder=F(e.showWidgetBorder)),e.linkColor!=null&&(n.linkColor=P(e.linkColor)),e.linkUnderline!=null&&(n.linkUnderline=F(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=P(e.codeFontSize)),e.headingFontSizes){if(!R.isArray(e.headingFontSizes))throw N(`.CustomThemeConfig.headingFontSizes: array expected`);n.headingFontSizes=R(e.headingFontSizes.length);for(let t=0;t<e.headingFontSizes.length;++t)n.headingFontSizes[t]=P(e.headingFontSizes[t])}if(e.headingFontWeights){if(!R.isArray(e.headingFontWeights))throw N(`.CustomThemeConfig.headingFontWeights: array expected`);n.headingFontWeights=R(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=F(e.showSidebarBorder)),e.codeTextColor!=null&&(n.codeTextColor=P(e.codeTextColor)),e.codeBackgroundColor!=null&&(n.codeBackgroundColor=P(e.codeBackgroundColor)),e.dataframeHeaderBackgroundColor!=null&&(n.dataframeHeaderBackgroundColor=P(e.dataframeHeaderBackgroundColor)),e.chartCategoricalColors){if(!R.isArray(e.chartCategoricalColors))throw N(`.CustomThemeConfig.chartCategoricalColors: array expected`);n.chartCategoricalColors=R(e.chartCategoricalColors.length);for(let t=0;t<e.chartCategoricalColors.length;++t)n.chartCategoricalColors[t]=P(e.chartCategoricalColors[t])}if(e.chartSequentialColors){if(!R.isArray(e.chartSequentialColors))throw N(`.CustomThemeConfig.chartSequentialColors: array expected`);n.chartSequentialColors=R(e.chartSequentialColors.length);for(let t=0;t<e.chartSequentialColors.length;++t)n.chartSequentialColors[t]=P(e.chartSequentialColors[t])}if(e.chartDivergingColors){if(!R.isArray(e.chartDivergingColors))throw N(`.CustomThemeConfig.chartDivergingColors: array expected`);n.chartDivergingColors=R(e.chartDivergingColors.length);for(let t=0;t<e.chartDivergingColors.length;++t)n.chartDivergingColors[t]=P(e.chartDivergingColors[t])}if(e.redColor!=null&&(n.redColor=P(e.redColor)),e.orangeColor!=null&&(n.orangeColor=P(e.orangeColor)),e.yellowColor!=null&&(n.yellowColor=P(e.yellowColor)),e.blueColor!=null&&(n.blueColor=P(e.blueColor)),e.greenColor!=null&&(n.greenColor=P(e.greenColor)),e.violetColor!=null&&(n.violetColor=P(e.violetColor)),e.grayColor!=null&&(n.grayColor=P(e.grayColor)),e.redBackgroun
1dColor!=null&&(n.redBackgroundColor=P(e.redBackgroundColor)),e.orangeBackgroundColor!=null&&(n.orangeBackgroundColor=P(e.orangeBackgroundColor)),e.yellowBackgroundColor!=null&&(n.yellowBackgroundColor=P(e.yellowBackgroundColor)),e.blueBackgroundColor!=null&&(n.blueBackgroundColor=P(e.blueBackgroundColor)),e.greenBackgroundColor!=null&&(n.greenBackgroundColor=P(e.greenBackgroundColor)),e.violetBackgroundColor!=null&&(n.violetBackgroundColor=P(e.violetBackgroundColor)),e.grayBackgroundColor!=null&&(n.grayBackgroundColor=P(e.grayBackgroundColor)),e.redTextColor!=null&&(n.redTextColor=P(e.redTextColor)),e.orangeTextColor!=null&&(n.orangeTextColor=P(e.orangeTextColor)),e.yellowTextColor!=null&&(n.yellowTextColor=P(e.yellowTextColor)),e.blueTextColor!=null&&(n.blueTextColor=P(e.blueTextColor)),e.greenTextColor!=null&&(n.greenTextColor=P(e.greenTextColor)),e.violetTextColor!=null&&(n.violetTextColor=P(e.violetTextColor)),e.grayTextColor!=null&&(n.grayTextColor=P(e.grayTextColor)),e.metricValueFontSize!=null&&(n.metricValueFontSize=P(e.metricValueFontSize)),e.metricValueFontWeight!=null&&(n.metricValueFontWeight=e.metricValueFontWeight|0),e.sidebar!=null){if(!O.isObject(e.sidebar))throw N(`.CustomThemeConfig.sidebar: object expected`);n.sidebar=V.CustomThemeConfig.fromObject(e.sidebar,t+1)}if(e.light!=null){if(!O.isObject(e.light))throw N(`.CustomThemeConfig.light: object expected`);n.light=V.CustomThemeConfig.fromObject(e.light,t+1)}if(e.dark!=null){if(!O.isObject(e.dark))throw N(`.CustomThemeConfig.dark: object expected`);n.dark=V.CustomThemeConfig.fromObject(e.dark,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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===P?`LIGHT`:0,r.headingFont=``,r.bodyFont=``,r.codeFont=``),e.primaryColor!=null&&k.hasOwnProperty.call(e,`primaryColor`)&&(r.primaryColor=e.primaryColor),e.secondaryBackgroundColor!=null&&k.hasOwnProperty.call(e,`secondaryBackgroundColor`)&&(r.secondaryBackgroundColor=e.secondaryBackgroundColor),e.backgroundColor!=null&&k.hasOwnProperty.call(e,`backgroundColor`)&&(r.backgroundColor=e.backgroundColor),e.textColor!=null&&k.hasOwnProperty.call(e,`textColor`)&&(r.textColor=e.textColor),e.base!=null&&k.hasOwnProperty.call(e,`base`)&&(r.base=t.enums===P?V.CustomThemeConfig.BaseTheme[e.base]===A?e.base:V.CustomThemeConfig.BaseTheme[e.base]:e.base),e.headingFont!=null&&k.hasOwnProperty.call(e,`headingFont`)&&(r.headingFont=e.headingFont),e.bodyFont!=null&&k.hasOwnProperty.call(e,`bodyFont`)&&(r.bodyFont=e.bodyFont),e.codeFont!=null&&k.hasOwnProperty.call(e,`codeFont`)&&(r.codeFont=e.codeFont),e.fontFaces&&e.fontFaces.length){r.fontFaces=R(e.fontFaces.length);for(let i=0;i<e.fontFaces.length;++i)r.fontFaces[i]=V.FontFace.toObject(e.fontFaces[i],t,n+1)}if(e.baseRadius!=null&&k.hasOwnProperty.call(e,`baseRadius`)&&(r.baseRadius=e.baseRadius),e.borderColor!=null&&k.hasOwnProperty.call(e,`borderColor`)&&(r.borderColor=e.borderColor),e.showWidgetBorder!=null&&k.hasOwnProperty.call(e,`showWidgetBorder`)&&(r.showWidgetBorder=e.showWidgetBorder),e.linkColor!=null&&k.hasOwnProperty.call(e,`linkColor`)&&(r.linkColor=e.linkColor),e.baseFontSize!=null&&k.hasOwnProperty.call(e,`baseFontSize`)&&(r.baseFontSize=e.baseFontSize),e.showSidebarBorder!=null&&k.hasOwnProperty.call(e,`showSidebarBorder`)&&(r.showSidebarBorder=e.showSidebarBorder),e.sidebar!=null&&k.hasOwnProperty.call(e,`sidebar`)&&(r.sidebar=V.CustomThemeConfig.toObject(e.sidebar,t,n+1)),e.codeBackgroundColor!=null&&k.hasOwnProperty.call(e,`codeBackgroundColor`)&&(r.codeBackgroundColor=e.codeBackgroundColor),e.buttonRadius!=null&&k.hasOwnProperty.call(e,`buttonRadius`)&&(r.buttonRadius=e.buttonRadius),e.dataframeBorderColor!=null&&k.hasOwnProperty.call(e,`dataframeBorderColor`)&&(r.dataframeBorderColor=e.dataframeBorderColor),e.codeFontSize!=null&&k.hasOwnProperty.call(e,`codeFontSize`)&&(r.codeFontSize=e.codeFontSize),e.linkUnderline!=null&&k.hasOwnProperty.call(e,`linkUnderline`)&&(r.linkUnderline=e.linkUnderline),e.baseFontWeight!=null&&k.hasOwnProperty.call(e,`baseFontWeight`)&&(r.baseFontWeight=e.baseFontWeight),e.dataframeHeaderBackgroun
1dColor!=null&&k.hasOwnProperty.call(e,`dataframeHeaderBackgroundColor`)&&(r.dataframeHeaderBackgroundColor=e.dataframeHeaderBackgroundColor),e.codeFontWeight!=null&&k.hasOwnProperty.call(e,`codeFontWeight`)&&(r.codeFontWeight=e.codeFontWeight),e.chartCategoricalColors&&e.chartCategoricalColors.length){r.chartCategoricalColors=R(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=R(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=R(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=R(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=R(e.fontSources.length);for(let i=0;i<e.fontSources.length;++i)r.fontSources[i]=V.FontSource.toObject(e.fontSources[i],t,n+1)}if(e.redColor!=null&&k.hasOwnProperty.call(e,`redColor`)&&(r.redColor=e.redColor),e.orangeColor!=null&&k.hasOwnProperty.call(e,`orangeColor`)&&(r.orangeColor=e.orangeColor),e.yellowColor!=null&&k.hasOwnProperty.call(e,`yellowColor`)&&(r.yellowColor=e.yellowColor),e.blueColor!=null&&k.hasOwnProperty.call(e,`blueColor`)&&(r.blueColor=e.blueColor),e.greenColor!=null&&k.hasOwnProperty.call(e,`greenColor`)&&(r.greenColor=e.greenColor),e.violetColor!=null&&k.hasOwnProperty.call(e,`violetColor`)&&(r.violetColor=e.violetColor),e.grayColor!=null&&k.hasOwnProperty.call(e,`grayColor`)&&(r.grayColor=e.grayColor),e.redBackgroundColor!=null&&k.hasOwnProperty.call(e,`redBackgroundColor`)&&(r.redBackgroundColor=e.redBackgroundColor),e.orangeBackgroundColor!=null&&k.hasOwnProperty.call(e,`orangeBackgroundColor`)&&(r.orangeBackgroundColor=e.orangeBackgroundColor),e.yellowBackgroundColor!=null&&k.hasOwnProperty.call(e,`yellowBackgroundColor`)&&(r.yellowBackgroundColor=e.yellowBackgroundColor),e.blueBackgroundColor!=null&&k.hasOwnProperty.call(e,`blueBackgroundColor`)&&(r.blueBackgroundColor=e.blueBackgroundColor),e.greenBackgroundColor!=null&&k.hasOwnProperty.call(e,`greenBackgroundColor`)&&(r.greenBackgroundColor=e.greenBackgroundColor),e.violetBackgroundColor!=null&&k.hasOwnProperty.call(e,`violetBackgroundColor`)&&(r.violetBackgroundColor=e.violetBackgroundColor),e.grayBackgroundColor!=null&&k.hasOwnProperty.call(e,`grayBackgroundColor`)&&(r.grayBackgroundColor=e.grayBackgroundColor),e.redTextColor!=null&&k.hasOwnProperty.call(e,`redTextColor`)&&(r.redTextColor=e.redTextColor),e.orangeTextColor!=null&&k.hasOwnProperty.call(e,`orangeTextColor`)&&(r.orangeTextColor=e.orangeTextColor),e.yellowTextColor!=null&&k.hasOwnProperty.call(e,`yellowTextColor`)&&(r.yellowTextColor=e.yellowTextColor),e.blueTextColor!=null&&k.hasOwnProperty.call(e,`blueTextColor`)&&(r.blueTextColor=e.blueTextColor),e.greenTextColor!=null&&k.hasOwnProperty.call(e,`greenTextColor`)&&(r.greenTextColor=e.greenTextColor),e.violetTextColor!=null&&k.hasOwnProperty.call(e,`violetTextColor`)&&(r.violetTextColor=e.violetTextColor),e.grayTextColor!=null&&k.hasOwnProperty.call(e,`grayTextColor`)&&(r.grayTextColor=e.grayTextColor),e.codeTextColor!=null&&k.hasOwnProperty.call(e,`codeTextColor`)&&(r.codeTextColor=e.codeTextColor),e.light!=null&&k.hasOwnProperty.call(e,`light`)&&(r.light=V.CustomThemeConfig.toObject(e.light,t,n+1)),e.dark!=null&&k.hasOwnProperty.call(e,`dark`)&&(r.dark=V.CustomThemeConfig.toObject(e.dark,t,n+1)),e.chartDivergingColors&&e.chartDivergingColors.length){r.chartDivergingColors=R(e.chartDivergingColors.length);for(let t=0;t<e.chartDivergingColors.length;++t)r.chartDivergingColors[t]=e.chartDivergingColors[t]}return e.metricValueFontSize!=null&&k.hasOwnProperty.call(e,`metricValueFontSize`)&&(r.metricValueFontSize=e.metricValueFontSize),e.metricValueFontWeight!=null&&k.hasOwnProperty.call(e,`metricValueFontWeight`)&&(r.metricValueFontWeight=e.metricValueFontWeight),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/CustomThemeConfig`},e.BaseTheme=(function(){let e=k.create(null),t=k.create(e);return t[e[0]=`LIGHT`]=0,t[e[1]=`DARK`]=1,t})(),e})();V.FontFace=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.url!=null&&k.hasOwnProperty.call(e,`url`)&&e.url!==``&&t.uint32(10).string(e.url),e.fam
1ily!=null&&k.hasOwnProperty.call(e,`family`)&&e.family!==``&&t.uint32(18).string(e.family),e.style!=null&&k.hasOwnProperty.call(e,`style`)&&e.style!==``&&t.uint32(34).string(e.style),e.weightRange!=null&&k.hasOwnProperty.call(e,`weightRange`)&&e.weightRange!==``&&t.uint32(42).string(e.weightRange),e.unicodeRange!=null&&k.hasOwnProperty.call(e,`unicodeRange`)&&e.unicodeRange!==``&&t.uint32(50).string(e.unicodeRange),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FontFace;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FontFace)return e;if(!O.isObject(e))throw N(`.FontFace: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FontFace;return e.url!=null&&(typeof e.url!=`string`||e.url.length)&&(n.url=P(e.url)),e.family!=null&&(typeof e.family!=`string`||e.family.length)&&(n.family=P(e.family)),e.weightRange!=null&&(typeof e.weightRange!=`string`||e.weightRange.length)&&(n.weightRange=P(e.weightRange)),e.style!=null&&(typeof e.style!=`string`||e.style.length)&&(n.style=P(e.style)),e.unicodeRange!=null&&(typeof e.unicodeRange!=`string`||e.unicodeRange.length)&&(n.unicodeRange=P(e.unicodeRange)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.url=``,r.family=``,r.style=``,r.weightRange=``,r.unicodeRange=``),e.url!=null&&k.hasOwnProperty.call(e,`url`)&&(r.url=e.url),e.family!=null&&k.hasOwnProperty.call(e,`family`)&&(r.family=e.family),e.style!=null&&k.hasOwnProperty.call(e,`style`)&&(r.style=e.style),e.weightRange!=null&&k.hasOwnProperty.call(e,`weightRange`)&&(r.weightRange=e.weightRange),e.unicodeRange!=null&&k.hasOwnProperty.call(e,`unicodeRange`)&&(r.unicodeRange=e.unicodeRange),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FontFace`},e})(),V.FontSource=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.configName!=null&&k.hasOwnProperty.call(e,`configName`)&&e.configName!==``&&t.uint32(10).string(e.configName),e.sourceUrl!=null&&k.hasOwnProperty.call(e,`sourceUrl`)&&e.sourceUrl!==``&&t.uint32(18).string(e.sourceUrl),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.FontSource;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.FontSource)return e;if(!O.isObject(e))throw N(`.FontSource: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.FontSource;return e.configName!=null&&(typeof e.configName!=`string`||e.configName.length)&&(n.configName=P(e.configName)),e.sourceUrl!=null&&(typeof e.sourceUrl!=`string`||e.sourceUrl.length)&&(n.sourceUrl=P(e.sourceUrl)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.configName=``,r.sourceUrl=``),e.configName!=null&&k.hasOwnProperty.call(e,`configName`)&&(r.configName=e.configName),e.sourceUrl!=null&&k.hasOwnProperty.call(e,`sourceUrl`)&&(r.sourceUrl=e.sourceUrl),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/FontSource`},e})(),V.UserInfo=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.installationId!=null&&k.hasOwnProperty.call(e,`installationId`)&&e.installationId!==``&&t.uint32(10).string(e.installationId),e.installationIdV3!=null&&k.hasOwnProperty.call(e,`installationIdV3`)&&e.installationIdV3!==``&&t.uint32(42).string(e.installationIdV3),e.installationIdV4!=null&&k.hasOwnProperty.call(e,`installationIdV4`)&&e.installationIdV4!==``&&t.uint32(50).string(e.installationIdV4),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.UserInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.UserInfo)return e;if(!O.isObject(e))throw N(`.UserInfo: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.UserInfo;return e.installationId!=null&&(typeof e.installationId!=`string`||e.installationId.length)&&(n.installationId=P(e.installationId)),e.installationIdV3!=null&&(typeof e.installationIdV3!=`string`||e.installationIdV3.length)&&(n.installationIdV3=P(e.installationIdV3)),e.installationIdV4!=null&&(typeof e.installationIdV4!=`string`||e.installationIdV4.length)&&(n.installationIdV4=P(e.installationIdV4)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.installationId=``,r.installationIdV3=``,r.installationIdV4=``),e.installationId!=null&&k.hasOwnProperty.call(e,`installationId`)&&(r.installationId=e.installationId),e.installationIdV3!=null&&k.hasOwnProperty.call(e,`installationIdV3`)&&(r.installationIdV3=e.installationIdV3),e.installationIdV4!=null&&k.hasOwnProperty.call(e,`installationIdV4`)&&(r.installationIdV4=e.installationIdV4),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/UserInfo`},e})(),V.EnvironmentInfo=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.streamlitVersion!=null&&k.hasOwnProperty.call(e,`streamlitVersion`)&&e.streamlitVersion!==``&&t.uint32(10).string(e.streamlitVersion),e.pythonVersion!=null&&k.hasOwnProperty.call(e,`pythonVersion`)&&e.pythonVersion!==``&&t.uint32(18).string(e.pythonVersion),e.serverOs!=null&&k.hasOwnProperty.call(e,`serverOs`)&&e.serverOs!==``&&t.uint32(26).string(e.serverOs),e.hasDisplay!=null&&k.hasOwnProperty.call(e,`hasDisplay`)&&e.hasDisplay!==!1&&t.uint32(32).bool(e.hasDisplay),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.EnvironmentInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.EnvironmentInfo)return e;if(!O.isObject(e))throw N(`.EnvironmentInfo: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.EnvironmentInfo;return e.streamlitVersion!=null&&(typeof e.streamlitVersion!=`string`||e.streamlitVersion.length)&&(n.streamlitVersion=P(e.streamlitVersion)),e.pythonVersion!=null&&(typeof e.pythonVersion!=`string`||e.pythonVersion.length)&&(n.pythonVersion=P(e.pythonVersion)),e.serverOs!=null&&(typeof e.serverOs!=`string`||e.serverOs.length)&&(n.serverOs=P(e.serverOs)),e.hasDisplay!=null&&e.hasDisplay&&(n.hasDisplay=F(e.hasDisplay)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.streamlitVersion=``,r.pythonVersion=``,r.serverOs=``,r.hasDisplay=!1),e.streamlitVersion!=null&&k.hasOwnProperty.call(e,`streamlitVersion`)&&(r.streamlitVersion=e.streamlitVersion),e.pythonVersion!=null&&k.hasOwnProperty.call(e,`pythonVersion`)&&(r.pythonVersion=e.pythonVersion),e.serverOs!=null&&k.hasOwnProperty.call(e,`serverOs`)&&(r.serverOs=e.serverOs),e.hasDisplay!=null&&k.hasOwnProperty.call(e,`hasDisplay`)&&(r.hasDisplay=e.hasDisplay),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/EnvironmentInfo`},e})(),V.SessionStatus=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.runOnSave!=null&&k.hasOwnProperty.call(e,`runOnSave`)&&e.runOnSave!==!1&&t.uint32(8).bool(e.runOnSave),e.scriptIsRunning!=null&&k.hasOwnProperty.call(e,`scriptIsRunning`)&&e.scriptIsRunning!==!1&&t.uint32(16).bool(e.scriptIsRunning),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.SessionStatus;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.SessionStatus)return e;if(!O.isObject(e))throw N(`.SessionStatus: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.SessionStatus;return e.runOnSave!=null&&e.runOnSave&&(n.runOnSave=F(e.runOnSave)),e.scriptIsRunning!=null&&e.scriptIsRunning&&(n.scriptIsRunning=F(e.scriptIsRunning)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.runOnSave=!1,r.scriptIsRunning=!1),e.runOnSave!=null&&k.hasOwnProperty.call(e,`runOnSave`)&&(r.runOnSave=e.runOnSave),e.scriptIsRunning!=null&&k.hasOwnProperty.call(e,`scriptIsRunning`)&&(r.scriptIsRunning=e.scriptIsRunning),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/SessionStatus`},e})();var Ae=V.PageConfig=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`_initialSidebarWidth`,{get:O.oneOfGetter(t=[`initialSidebarWidth`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.title!=null&&k.hasOwnProperty.call(e,`title`)&&e.title!==``&&t.uint32(10).string(e.title),e.favicon!=null&&k.hasOwnProperty.call(e,`favicon`)&&e.favicon!==``&&t.uint32(18).string(e.favicon),e.layout!=null&&k.hasOwnProperty.call(e,`layout`)&&e.layout!==0&&t.uint32(24).int32(e.layout),e.initialSidebarState!=null&&k.hasOwnProperty.call(e,`initialSidebarState`)&&e.initialSidebarState!==0&&t.uint32(32).int32(e.initialSidebarState),e.menuItems!=null&&k.hasOwnProperty.call(e,`menuItems`)&&V.PageConfig.MenuItems.encode(e.menuItems,t.uint32(42).fork(),n+1).ldelim(),e.initialSidebarWidth!=null&&k.hasOwnProperty.call(e,`initialSidebarWidth`)&&V.PageConfig.SidebarWidthConfig.encode(e.initialSidebarWidth,t.uint32(50).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.PageConfig.MenuItems.decode(e,e.uint32(),A,r+1,o.menuItems);continue;case 6:if(a!==2)break;o.initialSidebarWidth=V.PageConfig.SidebarWidthConfig.decode(e,e.uint32(),A,r+1,o.initialSidebarWidth),o._initialSidebarWidth=`initialSidebarWidth`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageConfig)return e;if(!O.isObject(e))throw N(`.PageConfig: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageConfig;if(e.title!=null&&(typeof e.title!=`string`||e.title.length)&&(n.title=P(e.title)),e.favicon!=null&&(typeof e.favicon!=`string`||e.favicon.length)&&(n.favicon=P(e.favicon)),e.layout!==0&&(typeof e.layout!=`string`||V.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`||V.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(!O.isObject(e.menuItems))throw N(`.PageConfig.menuItems: object expected`);n.menuItems=V.PageConfig.MenuItems.fromObject(e.menuItems,t+1)}if(e.initialSidebarWidth!=null){if(!O.isObject(e.initialSidebarWidth))throw N(`.PageConfig.initialSidebarWidth: object expected`);n.initialSidebarWidth=V.PageConfig.SidebarWidthConfig.fromObject(e.initialSidebarWidth,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.title=``,r.favicon=``,r.layout=t.enums===P?`CENTERED`:0,r.initialSidebarState=t.enums===P?`AUTO`:0,r.menuItems=null),e.title!=null&&k.hasOwnProperty.call(e,`title`)&&(r.title=e.title),e.favicon!=null&&k.hasOwnProperty.call(e,`favicon`)&&(r.favicon=e.favicon),e.layout!=null&&k.hasOwnProperty.call(e,`layout`)&&(r.layout=t.enums===P?V.PageConfig.Layout[e.layout]===A?e.layout:V.PageConfig.Layout[e.layout]:e.layout),e.initialSidebarState!=null&&k.hasOwnProperty.call(e,`initialSidebarState`)&&(r.initialSidebarState=t.enums===P?V.PageConfig.SidebarState[e.initialSidebarState]===A?e.initialSidebarState:V.PageConfig.SidebarState[e.initialSidebarState]:e.initialSidebarState),e.menuItems!=null&&k.hasOwnProperty.call(e,`menuItems`)&&(r.menuItems=V.PageConfig.MenuItems.toObject(e.menuItems,t,n+1)),e.initialSidebarWidth!=null&&k.hasOwnProperty.call(e,`initialSidebarWidth`)&&(r.initialSidebarWidth=V.PageConfig.SidebarWidthConfig.toObject(e.initialSidebarWidth,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageConfig`},e.MenuItems=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.getHelpUrl!=null&&k.hasOwnProperty.call(e,`getHelpUrl`)&&e.getHelpUrl!==``&&t.uint32(10).string(e.getHelpUrl),e.hideGetHelp!=null&&k.hasOwnProperty.call(e,`hideGetHelp`)&&e.hideGetHelp!==!1&&t.uint32(16).bool(e.hideGetHelp),e.reportABugUrl!=null&&k.hasOwnProperty.call(e,`reportABugUrl`)&&e.reportABugUrl!==``&&t.uint32(26).string(e.reportABugUrl),e.hideReportABug!=null&&k.hasOwnProperty.call(e,`hideReportABug`)&&e.hideReportABug!==!1&&t.uint32(32).bool(e.hideReportABug),e.aboutSectionMd!=null&&k.hasOwnProperty.call(e,`aboutSectionMd`)&&e.aboutSectionMd!==``&&t.uint32(42).string(e.aboutSectionMd),e.clearAboutMd!=null&&k.hasOwnProperty.call(e,`clearAboutMd`)&&e.clearAboutMd!==!1&&t.uint32(48).bool(e.clearAboutMd),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageConfig.MenuItems;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageConfig.MenuItems)return e;if(!O.isObject(e))throw N(`.PageConfig.MenuItems: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageConfig.MenuItems;return e.getHelpUrl!=null&&(typeof e.getHelpUrl!=`string`||e.getHelpUrl.length)&&(n.getHelpUrl=P(e.getHelpUrl)),e.hideGetHelp!=null&&e.hideGetHelp&&(n.hideGetHelp=F(e.hideGetHelp)),e.reportABugUrl!=null&&(typeof e.reportABugUrl!=`string`||e.reportABugUrl.length)&&(n.reportABugUrl=P(e.reportABugUrl)),e.hideReportABug!=null&&e.hideReportABug&&(n.hideReportABug=F(e.hideReportABug)),e.aboutSectionMd!=null&&(typeof e.aboutSectionMd!=`string`||e.aboutSectionMd.length)&&(n.aboutSectionMd=P(e.aboutSectionMd)),e.clearAboutMd!=null&&e.clearAboutMd&&(n.clearAboutMd=F(e.clearAboutMd)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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&&k.hasOwnProperty.call(e,`getHelpUrl`)&&(r.getHelpUrl=e.getHelpUrl),e.hideGetHelp!=null&&k.hasOwnProperty.call(e,`hideGetHelp`)&&(r.hideGetHelp=e.hideGetHelp),e.reportABugUrl!=null&&k.hasOwnProperty.call(e,`reportABugUrl`)&&(r.reportABugUrl=e.reportABugUrl),e.hideReportABug!=null&&k.hasOwnProperty.call(e,`hideReportABug`)&&(r.hideReportABug=e.hideReportABug),e.aboutSectionMd!=null&&k.hasOwnProperty.call(e,`aboutSectionMd`)&&(r.aboutSectionMd=e.aboutSectionMd),e.clearAboutMd!=null&&k.hasOwnProperty.call(e,`clearAboutMd`)&&(r.clearAboutMd=e.clearAboutMd),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageConfig.MenuItems`},e})(),e.Layout=(function(){let e=k.create(null),t=k.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=k.create(null),t=k.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=k.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 k.defineProperty(e.prototype,`widthSpec`,{get:O.oneOfGetter(t=[`pixelWidth`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.pixelWidth!=null&&k.hasOwnProperty.call(e,`pixelWidth`)&&t.uint32(8).uint32(e.pixelWidth),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageConfig.SidebarWidthConfig;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageConfig.SidebarWidthConfig)return e;if(!O.isObject(e))throw N(`.PageConfig.SidebarWidthConfig: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageConfig.SidebarWidthConfig;return e.pixelWidth!=null&&(n.pixelWidth=e.pixelWidth>>>0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.pixelWidth!=null&&k.hasOwnProperty.call(e,`pixelWidth`)&&(r.pixelWidth=e.pixelWidth,t.oneofs&&(r.widthSpec=`pixelWidth`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageConfig.SidebarWidthConfig`},e})(),e})();V.PageInfo=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.queryString!=null&&k.hasOwnProperty.call(e,`queryString`)&&e.queryString!==``&&t.uint32(10).string(e.queryString),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageInfo)return e;if(!O.isObject(e))throw N(`.PageInfo: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageInfo;return e.queryString!=null&&(typeof e.queryString!=`string`||e.queryString.length)&&(n.queryString=P(e.queryString)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.queryString=``),e.queryString!=null&&k.hasOwnProperty.call(e,`queryString`)&&(r.queryString=e.queryString),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageInfo`},e})(),V.PageNotFound=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.pageName!=null&&k.hasOwnProperty.call(e,`pageName`)&&e.pageName!==``&&t.uint32(10).string(e.pageName),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageNotFound;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageNotFound)return e;if(!O.isObject(e))throw N(`.PageNotFound: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageNotFound;return e.pageName!=null&&(typeof e.pageName!=`string`||e.pageName.length)&&(n.pageName=P(e.pageName)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.pageName=``),e.pageName!=null&&k.hasOwnProperty.call(e,`pageName`)&&(r.pageName=e.pageName),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageNotFound`},e})();var je=V.PageProfile=(()=>{let e=function(e){if(this.commands=[],this.config=[],this.attributions=[],this.installedSkills=[],this.installedAgents=[],e)for(let t=k.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=O.emptyArray,e.prototype.execTime=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.prepTime=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.config=O.emptyArray,e.prototype.uncaughtException=``,e.prototype.attributions=O.emptyArray,e.prototype.os=``,e.prototype.timezone=``,e.prototype.headless=!1,e.prototype.isFragmentRun=!1,e.prototype.serverMode=``,e.prototype.installedSkills=O.emptyArray,e.prototype.installedAgents=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.commands!=null&&e.commands.length)for(let r=0;r<e.commands.length;++r)V.Command.encode(e.commands[r],t.uint32(10).fork(),n+1).ldelim();if(e.execTime!=null&&k.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&&k.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&&k.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&&k.hasOwnProperty.call(e,`os`)&&e.os!==``&&t.uint32(66).string(e.os),e.t
1imezone!=null&&k.hasOwnProperty.call(e,`timezone`)&&e.timezone!==``&&t.uint32(74).string(e.timezone),e.headless!=null&&k.hasOwnProperty.call(e,`headless`)&&e.headless!==!1&&t.uint32(80).bool(e.headless),e.isFragmentRun!=null&&k.hasOwnProperty.call(e,`isFragmentRun`)&&e.isFragmentRun!==!1&&t.uint32(88).bool(e.isFragmentRun),e.serverMode!=null&&k.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&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.PageProfile;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.commands&&o.commands.length||(o.commands=[]),o.commands.push(V.Command.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.PageProfile)return e;if(!O.isObject(e))throw N(`.PageProfile: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.PageProfile;if(e.commands){if(!R.isArray(e.commands))throw N(`.PageProfile.commands: array expected`);n.commands=R(e.commands.length);for(let r=0;r<e.commands.length;++r){if(!O.isObject(e.commands[r]))throw N(`.PageProfile.commands: object expected`);n.commands[r]=V.Command.fromObject(e.commands[r],t+1)}}if(e.execTime!=null&&(typeof e.execTime==`object`?e.execTime.low||e.execTime.high:I(e.execTime)!==0)&&(O.Long?n.execTime=O.Long.fromValue(e.execTime,!1):typeof e.execTime==`string`?n.execTime=z(e.execTime,10):typeof e.execTime==`number`?n.execTime=e.execTime:typeof e.execTime==`object`&&(n.execTime=new O.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber())),e.prepTime!=null&&(typeof e.prepTime==`object`?e.prepTime.low||e.prepTime.high:I(e.prepTime)!==0)&&(O.Long?n.prepTime=O.Long.fromValue(e.prepTime,!1):typeof e.prepTime==`string`?n.prepTime=z(e.prepTime,10):typeof e.prepTime==`number`?n.prepTime=e.prepTime:typeof e.prepTime==`object`&&(n.prepTime=new O.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber())),e.config){if(!R.isArray(e.config))throw N(`.PageProfile.config: array expected`);n.config=R(e.config.length);for(let t=0;t<e.config.length;++t)n.config[t]=P(e.config[t])}if(e.uncaughtException!=null&&(typeof e.uncaughtException!=`string`||e.uncaughtException.length)&&(n.uncaughtException=P(e.uncaughtException)),e.attributions){if(!R.isArray(e.attributions))throw N(`.PageProfile.attributions: array expected`);n.attributions=R(e.attributions.length);for(let t=0;t<e.attributions.length;++t)n.attributions[t]=P(e.attributions[t])}if(e.os!=null&&(typeof e.os!=`string`||e.os.length)&&(n.os=P(e.os)),e.timezone!=null&&(typeof e.timezone!=`string`||e.timezone.length)&&(n.timezone=P(e.timezone)),e.headless!=null&&e.headless&&(n.headless=F(e.headless)),e.isFragmentRun!=null&&e.isFragmentRun&&(n.isFragmentRun=F(e.isFragmentRun)),e.serverMode!=null&&(typeof e.serverMode!=`string`||e.serverMode.length)&&(n.serverMode=P(e.serverMode)),e.installedSkills){if(!R.isArray(e.installedSkills))throw N(`.PageProfile.installedSkills: array expected`);n.installedSkills=R(e.installedSkills.length);for(let t=0;t<e.installedSkills.length;++t)n.installedSkills[t]=P(e.installedSkills[t])}if(e.installedAgents){if(!R.isArray(e.installedAgents))throw N(`.PageProfile.installedAgents: array expected`);n.installedAgents=R(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)n.installedAgents[t]=P(e.installedAgents[t])}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.commands=[],r.config=[],r.attributions=[],r.installedSkills=[],r.installedAgents=[]),t.defaults){if(O.Long){let e=new O.Long(0,0,!1);r.execTime=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.execTime=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;if(O.Long){let e=new O.Long(0,0,!1);r.prepTime=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.prepTime=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.uncaughtException=``,r.os=``,r.timezone=``,r.headless=!1,r.isFragmentRun=!1,r.serverMode=``}if(e.commands&&e.commands.length){r.commands=R(e.commands.length);for(let i=0;i<e.commands.length;++i)r.commands[i]=V.Command.toObject(e.commands[i],t,n+1)}if(e.execTime!=null&&k.hasOwnProperty.call(e,`execTime`)&&(r.execTime=B!==void 0&&t.longs===B?typeof e.execTime==`number`?B(e.execTime):O.Long.fromBits(e.execTime.low>>>0,e.execTime.high>
1>>0,!1).toBigInt():typeof e.execTime==`number`?t.longs===P?P(e.execTime):e.execTime:t.longs===P?O.Long.prototype.toString.call(e.execTime):t.longs===I?new O.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber():e.execTime),e.prepTime!=null&&k.hasOwnProperty.call(e,`prepTime`)&&(r.prepTime=B!==void 0&&t.longs===B?typeof e.prepTime==`number`?B(e.prepTime):O.Long.fromBits(e.prepTime.low>>>0,e.prepTime.high>>>0,!1).toBigInt():typeof e.prepTime==`number`?t.longs===P?P(e.prepTime):e.prepTime:t.longs===P?O.Long.prototype.toString.call(e.prepTime):t.longs===I?new O.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber():e.prepTime),e.config&&e.config.length){r.config=R(e.config.length);for(let t=0;t<e.config.length;++t)r.config[t]=e.config[t]}if(e.uncaughtException!=null&&k.hasOwnProperty.call(e,`uncaughtException`)&&(r.uncaughtException=e.uncaughtException),e.attributions&&e.attributions.length){r.attributions=R(e.attributions.length);for(let t=0;t<e.attributions.length;++t)r.attributions[t]=e.attributions[t]}if(e.os!=null&&k.hasOwnProperty.call(e,`os`)&&(r.os=e.os),e.timezone!=null&&k.hasOwnProperty.call(e,`timezone`)&&(r.timezone=e.timezone),e.headless!=null&&k.hasOwnProperty.call(e,`headless`)&&(r.headless=e.headless),e.isFragmentRun!=null&&k.hasOwnProperty.call(e,`isFragmentRun`)&&(r.isFragmentRun=e.isFragmentRun),e.serverMode!=null&&k.hasOwnProperty.call(e,`serverMode`)&&(r.serverMode=e.serverMode),e.installedSkills&&e.installedSkills.length){r.installedSkills=R(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=R(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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/PageProfile`},e})();V.Argument=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.k!=null&&k.hasOwnProperty.call(e,`k`)&&e.k!==``&&t.uint32(10).string(e.k),e.t!=null&&k.hasOwnProperty.call(e,`t`)&&e.t!==``&&t.uint32(18).string(e.t),e.m!=null&&k.hasOwnProperty.call(e,`m`)&&e.m!==``&&t.uint32(26).string(e.m),e.p!=null&&k.hasOwnProperty.call(e,`p`)&&e.p!==0&&t.uint32(40).int32(e.p),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Argument;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Argument)return e;if(!O.isObject(e))throw N(`.Argument: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Argument;return e.k!=null&&(typeof e.k!=`string`||e.k.length)&&(n.k=P(e.k)),e.t!=null&&(typeof e.t!=`string`||e.t.length)&&(n.t=P(e.t)),e.m!=null&&(typeof e.m!=`string`||e.m.length)&&(n.m=P(e.m)),e.p!=null&&I(e.p)!==0&&(n.p=e.p|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.k=``,r.t=``,r.m=``,r.p=0),e.k!=null&&k.hasOwnProperty.call(e,`k`)&&(r.k=e.k),e.t!=null&&k.hasOwnProperty.call(e,`t`)&&(r.t=e.t),e.m!=null&&k.hasOwnProperty.call(e,`m`)&&(r.m=e.m),e.p!=null&&k.hasOwnProperty.call(e,`p`)&&(r.p=e.p),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Argument`},e})(),V.Command=(()=>{let e=function(e){if(this.args=[],e)for(let t=k.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=O.emptyArray,e.prototype.time=O.Long?O.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.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)V.Argument.encode(e.args[r],t.uint32(18).fork(),n+1).ldelim();if(e.time!=null&&k.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&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.Command;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.Argument.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.Command)return e;if(!O.isObject(e))throw N(`.Command: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.Command;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.args){if(!R.isArray(e.args))throw N(`.Command.args: array expected`);n.args=R(e.args.length);for(let r=0;r<e.args.length;++r){if(!O.isObject(e.args[r]))throw N(`.Command.args: object expected`);n.args[r]=V.Argument.fromObject(e.args[r],t+1)}}return e.time!=null&&(typeof e.time==`object`?e.time.low||e.time.high:I(e.time)!==0)&&(O.Long?n.time=O.Long.fromValue(e.time,!1):typeof e.time==`string`?n.time=z(e.time,10):typeof e.time==`number`?n.time=e.time:typeof e.time==`object`&&(n.time=new O.LongBits(e.time.low>>>0,e.time.high>>>0).toNumber())),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.args=[]),t.defaults){if(r.name=``,O.Long){let e=new O.Long(0,0,!1);r.time=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.time=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0}if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.args&&e.args.length){r.args=R(e.args.length);for(let i=0;i<e.args.length;++i)r.args[i]=V.Argument.toObject(e.args[i],t,n+1)}return e.time!=null&&k.hasOwnProperty.call(e,`time`)&&(r.time=B!==void 0&&t.longs===B?typeof e.time==`number`?B(e.time):O.Long.fromBits(e.time.low>>>0,e.time.high>>>0,!1).toBigInt():typeof e.time==`number`?t.longs===P?P(e.time):e.time:t.longs===P?O.Long.prototype.toString.call(e.time):t.longs===I?new O.LongBits(e.time.low>>>0,e.time.high>>>0).toNumber():e.time),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/Command`},e})(),V.ParentMessage=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.message!=null&&k.hasOwnProperty.call(e,`message`)&&e.message!==``&&t.uint32(10).string(e.message),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.ParentMessage;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.ParentMessage)return e;if(!O.isObject(e))throw N(`.ParentMessage: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.ParentMessage;return e.message!=null&&(typeof e.message!=`string`||e.message.length)&&(n.message=P(e.message)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.message=``),e.message!=null&&k.hasOwnProperty.call(e,`message`)&&(r.message=e.message),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/ParentMessage`},e})(),V.SessionEvent=(()=>{let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`type`,{get:O.oneOfGetter(t=[`scriptChangedOnDisk`,`scriptWasManuallyStopped`,`scriptCompilationException`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.scriptChangedOnDisk!=null&&k.hasOwnProperty.call(e,`scriptChangedOnDisk`)&&t.uint32(8).bool(e.scriptChangedOnDisk),e.scriptWasManuallyStopped!=null&&k.hasOwnProperty.call(e,`scriptWasManuallyStopped`)&&t.uint32(16).bool(e.scriptWasManuallyStopped),e.scriptCompilationException!=null&&k.hasOwnProperty.call(e,`scriptCompilationException`)&&V.Exception.encode(e.scriptCompilationException,t.uint32(26).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.SessionEvent;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.Exception.decode(e,e.uint32(),A,r+1,o.scriptCompilationException),o.type=`scriptCompilationException`;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.SessionEvent)return e;if(!O.isObject(e))throw N(`.SessionEvent: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.SessionEvent;if(e.scriptChangedOnDisk!=null&&(n.scriptChangedOnDisk=F(e.scriptChangedOnDisk)),e.scriptWasManuallyStopped!=null&&(n.scriptWasManuallyStopped=F(e.scriptWasManuallyStopped)),e.scriptCompilationException!=null){if(!O.isObject(e.scriptCompilationException))throw N(`.SessionEvent.scriptCompilationException: object expected`);n.scriptCompilationException=V.Exception.fromObject(e.scriptCompilationException,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.scriptChangedOnDisk!=null&&k.hasOwnProperty.call(e,`scriptChangedOnDisk`)&&(r.scriptChangedOnDisk=e.scriptChangedOnDisk,t.oneofs&&(r.type=`scriptChangedOnDisk`)),e.scriptWasManuallyStopped!=null&&k.hasOwnProperty.call(e,`scriptWasManuallyStopped`)&&(r.scriptWasManuallyStopped=e.scriptWasManuallyStopped,t.oneofs&&(r.type=`scriptWasManuallyStopped`)),e.scriptCompilationException!=null&&k.hasOwnProperty.call(e,`scriptCompilationException`)&&(r.scriptCompilationException=V.Exception.toObject(e.scriptCompilationException,t,n+1),t.oneofs&&(r.type=`scriptCompilationException`)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/SessionEvent`},e})();var Me=V.MetricsEvent=(()=>{let e=function(e){if(this.commands=[],this.config=[],this.attributions=[],this.installedSkills=[],this.installedAgents=[],e)for(let t=k.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.surface=``,e.prototype.commands=O.emptyArray,e.prototype.execTime=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.prepTime=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.config=O.emptyArray,e.prototype.uncaughtException=``,e.prototype.attributions=O.emptyArray,e.prototype.os=``,e.prototype.timezone=``,e.prototype.headless=!1,e.prototype.isFragmentRun=!1,e.prototype.numPages=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.pageScriptHash=``,e.prototype.activeTheme=``,e.prototype.totalLoadTime=O.Long?O.Long.fromBits(0,0,!1):0,e.prototype.browserInfo=null,e.prototype.serverMode=``,e.prototype.installedSkills=O.emptyArray,e.prototype.installedAgents=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.event!=null&&k.hasOwnProperty.call(e,`event`)&&e.event!==``&&t.uint32(10).string(e.event),e.anonymousId!=null&&k.hasOwnProperty.call(e,`anonymousId`)&&e.anonymousId!==``&&t.uint32(18).string(e.anonymousId),e.machineIdV3!=null&&k.hasOwnProperty.call(e,`machineIdV3`)&&e.machineIdV3!==``&&t.uint32(26).string(e.machineIdV3),e.reportHash!=null&&k.hasOwnProperty.call(e,`reportHash`)&&e.reportHash!==``&&t.uint32(34).string(e.reportHash),e.dev!=null&&k.hasOwnProperty.call(e,`dev`)&&e.dev!==!1&&t.uint32(40).bool(e.dev),e.source!=null&&k.hasOwnProperty.call(e,`source`)&&e.source!==``&&t.uint32(50).string(e.source),e.streamlitVersion!=null&&k.hasOwnProperty.call(e,`streamlitVersion`)&&e.streamlitVersion!==``&&t.uint32(58).string(e.streamlitVersion),e.isHello!=null&&k.hasOwnProperty.call(e,`isHello`)&&e.isHello!==!1&&t.uint32(64).bool(e.isHello),e.hostedAt!=null&&k.hasOwnProperty.call(e,`hostedAt`)&&e.hostedAt!==``&&t.uint32(74).string(e.hostedAt),e.owner!=null&&k.hasOwnProperty.call(e,`owner`)&&e.owner!==``&&t.uint32(82).string(e.owner),e.repo!=null&&k.hasOwnProperty.call(e,`repo`)&&e.repo!==``&&t.uint32(90).string(e.repo),e.branch!=null&&k.hasOwnProperty.call(e,`branch`)&&e.branch!==``&&t.uint32(98).string(e.branch),e.mainModule!=null&&k.hasOwnProperty.call(e,`mainModule`)&&e.mainModule!==``&&t.uint32(106).string(e.mainModule),e.creatorId!=null&&k.hasOwnProperty.call(e,`creatorId`)&&e.creatorId!==``&&t.uint32(114).string(e.creatorId),e.contextPageUrl!=null&&k.hasOwnProperty.call(e,`contextPageUrl`)&&e.contextPageUrl!==``&&t.uint32(122).string(e.contextPageUrl),e.contextPageTitle!=null&&k.hasOwnProperty.call(e,`contextPageTitle`)&&e.contextPageTitle!==``&&t.uint32(130).string(e.contextPageTitle),e.contextPagePath!=null&&k.hasOwnProperty.call(e,`contextPagePath`)&&e.contextPagePath!==``&&t.uint32(138).string(e.contextPagePath),e.contextPageReferrer!=null&&k.hasOwnProperty.call(e,`contextPageReferrer`)&&e.contextPageReferrer!==``&&t.uint32(146).string(e.contextPageReferrer),e.contextPageSearch!=null&&k.hasOwnProperty.call(e,`contextPageSearch`)&&e.contextPageSearch!==``&&t.uint32(154).string(e.contextPageSearch),e.contextLocale!=null&&k.hasOwnProperty.call(e,`contextLocale`)&&e.contextLocale!==``&&t.uint32(162).string(e.contextLocale),e.contextUserAgent!=null&&k.hasOwnProperty.call(e,`contextUserAgent`)&&e.contextUserAgent!==``&&t.uint32(170).string(e.contextUserAgent),e.label!=null&&k.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)V.Command.encode(e.commands[r],t.uint32(186).fork(),n+1).ldelim();if(e.execTime!=null&&k.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&&k.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&&k.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&&k.hasOwnProperty.call(e,`os`)&&e.os!==``&&t.uint32(234).string(e.os),e.t
1imezone!=null&&k.hasOwnProperty.call(e,`timezone`)&&e.timezone!==``&&t.uint32(242).string(e.timezone),e.headless!=null&&k.hasOwnProperty.call(e,`headless`)&&e.headless!==!1&&t.uint32(248).bool(e.headless),e.isFragmentRun!=null&&k.hasOwnProperty.call(e,`isFragmentRun`)&&e.isFragmentRun!==!1&&t.uint32(256).bool(e.isFragmentRun),e.appId!=null&&k.hasOwnProperty.call(e,`appId`)&&e.appId!==``&&t.uint32(266).string(e.appId),e.numPages!=null&&k.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&&k.hasOwnProperty.call(e,`sessionId`)&&e.sessionId!==``&&t.uint32(282).string(e.sessionId),e.pythonVersion!=null&&k.hasOwnProperty.call(e,`pythonVersion`)&&e.pythonVersion!==``&&t.uint32(290).string(e.pythonVersion),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&e.pageScriptHash!==``&&t.uint32(298).string(e.pageScriptHash),e.activeTheme!=null&&k.hasOwnProperty.call(e,`activeTheme`)&&e.activeTheme!==``&&t.uint32(306).string(e.activeTheme),e.totalLoadTime!=null&&k.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&&k.hasOwnProperty.call(e,`browserInfo`)&&V.BrowserInfo.encode(e.browserInfo,t.uint32(322).fork(),n+1).ldelim(),e.machineIdV4!=null&&k.hasOwnProperty.call(e,`machineIdV4`)&&e.machineIdV4!==``&&t.uint32(330).string(e.machineIdV4),e.serverOs!=null&&k.hasOwnProperty.call(e,`serverOs`)&&e.serverOs!==``&&t.uint32(338).string(e.serverOs),e.hasDisplay!=null&&k.hasOwnProperty.call(e,`hasDisplay`)&&e.hasDisplay!==!1&&t.uint32(344).bool(e.hasDisplay),e.isWebdriver!=null&&k.hasOwnProperty.call(e,`isWebdriver`)&&e.isWebdriver!==!1&&t.uint32(352).bool(e.isWebdriver),e.serverMode!=null&&k.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.surface!=null&&k.hasOwnProperty.call(e,`surface`)&&e.surface!==``&&t.uint32(386).string(e.surface),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.MetricsEvent;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;
1case 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 48:if(a!==2)break;(s=e.stringVerify()).length?o.surface=s:delete o.surface;continue;case 23:if(a!==2)break;o.commands&&o.commands.length||(o.commands=[]),o.commands.push(V.Command.decode(e,e.uint32(),A,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=V.BrowserInfo.decode(e,e.uint32(),A,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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.MetricsEvent)return e;if(!O.isObject(e))throw N(`.MetricsEvent: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.MetricsEvent;if(e.event!=null&&(typeof e.event!=`string`||e.event.length)&&(n.event=P(e.event)),e.anonymousId!=null&&(typeof e.anonymousId!=`string`||e.anonymousId.length)&&(n.anonymousId=P(e.anonymousId)),e.machineIdV3!=null&&(typeof e.machineIdV3!=`string`||e.machineIdV3.length)&&(n.machineIdV3=P(e.machineIdV3)),e.machineIdV4!=null&&(typeof e.machineIdV4!=`string`||e.machineIdV4.length)&&(n.machineIdV4=P(e.machineIdV4)),e.reportHash!=null&&(typeof e.reportHash!=`string`||e.reportHash.length)&&(n.reportHash=P(e.reportHash)),e.dev!=null&&e.dev&&(n.dev=F(e.dev)),e.source!=null&&(typeof e.source!=`string`||e.source.length)&&(n.source=P(e.source)),e.streamlitVersion!=null&&(typeof e.streamlitVersion!=`string`||e.streamlitVersion.length)&&(n.streamlitVersion=P(e.streamlitVersion)),e.isHello!=null&&e.isHello&&(n.isHello=F(e.isHello)),e.appId!=null&&(typeof e.appId!=`string`||e.appId.length)&&(n.appI
1d=P(e.appId)),e.sessionId!=null&&(typeof e.sessionId!=`string`||e.sessionId.length)&&(n.sessionId=P(e.sessionId)),e.pythonVersion!=null&&(typeof e.pythonVersion!=`string`||e.pythonVersion.length)&&(n.pythonVersion=P(e.pythonVersion)),e.serverOs!=null&&(typeof e.serverOs!=`string`||e.serverOs.length)&&(n.serverOs=P(e.serverOs)),e.hasDisplay!=null&&e.hasDisplay&&(n.hasDisplay=F(e.hasDisplay)),e.isWebdriver!=null&&e.isWebdriver&&(n.isWebdriver=F(e.isWebdriver)),e.hostedAt!=null&&(typeof e.hostedAt!=`string`||e.hostedAt.length)&&(n.hostedAt=P(e.hostedAt)),e.owner!=null&&(typeof e.owner!=`string`||e.owner.length)&&(n.owner=P(e.owner)),e.repo!=null&&(typeof e.repo!=`string`||e.repo.length)&&(n.repo=P(e.repo)),e.branch!=null&&(typeof e.branch!=`string`||e.branch.length)&&(n.branch=P(e.branch)),e.mainModule!=null&&(typeof e.mainModule!=`string`||e.mainModule.length)&&(n.mainModule=P(e.mainModule)),e.creatorId!=null&&(typeof e.creatorId!=`string`||e.creatorId.length)&&(n.creatorId=P(e.creatorId)),e.contextPageUrl!=null&&(typeof e.contextPageUrl!=`string`||e.contextPageUrl.length)&&(n.contextPageUrl=P(e.contextPageUrl)),e.contextPageTitle!=null&&(typeof e.contextPageTitle!=`string`||e.contextPageTitle.length)&&(n.contextPageTitle=P(e.contextPageTitle)),e.contextPagePath!=null&&(typeof e.contextPagePath!=`string`||e.contextPagePath.length)&&(n.contextPagePath=P(e.contextPagePath)),e.contextPageReferrer!=null&&(typeof e.contextPageReferrer!=`string`||e.contextPageReferrer.length)&&(n.contextPageReferrer=P(e.contextPageReferrer)),e.contextPageSearch!=null&&(typeof e.contextPageSearch!=`string`||e.contextPageSearch.length)&&(n.contextPageSearch=P(e.contextPageSearch)),e.contextLocale!=null&&(typeof e.contextLocale!=`string`||e.contextLocale.length)&&(n.contextLocale=P(e.contextLocale)),e.contextUserAgent!=null&&(typeof e.contextUserAgent!=`string`||e.contextUserAgent.length)&&(n.contextUserAgent=P(e.contextUserAgent)),e.label!=null&&(typeof e.label!=`string`||e.label.length)&&(n.label=P(e.label)),e.surface!=null&&(typeof e.surface!=`string`||e.surface.length)&&(n.surface=P(e.surface)),e.commands){if(!R.isArray(e.commands))throw N(`.MetricsEvent.commands: array expected`);n.commands=R(e.commands.length);for(let r=0;r<e.commands.length;++r){if(!O.isObject(e.commands[r]))throw N(`.MetricsEvent.commands: object expected`);n.commands[r]=V.Command.fromObject(e.commands[r],t+1)}}if(e.execTime!=null&&(typeof e.execTime==`object`?e.execTime.low||e.execTime.high:I(e.execTime)!==0)&&(O.Long?n.execTime=O.Long.fromValue(e.execTime,!1):typeof e.execTime==`string`?n.execTime=z(e.execTime,10):typeof e.execTime==`number`?n.execTime=e.execTime:typeof e.execTime==`object`&&(n.execTime=new O.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber())),e.prepTime!=null&&(typeof e.prepTime==`object`?e.prepTime.low||e.prepTime.high:I(e.prepTime)!==0)&&(O.Long?n.prepTime=O.Long.fromValue(e.prepTime,!1):typeof e.prepTime==`string`?n.prepTime=z(e.prepTime,10):typeof e.prepTime==`number`?n.prepTime=e.prepTime:typeof e.prepTime==`object`&&(n.prepTime=new O.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber())),e.config){if(!R.isArray(e.config))throw N(`.MetricsEvent.config: array expected`);n.config=R(e.config.length);for(let t=0;t<e.config.length;++t)n.config[t]=P(e.config[t])}if(e.uncaughtException!=null&&(typeof e.uncaughtException!=`string`||e.uncaughtException.length)&&(n.uncaughtException=P(e.uncaughtException)),e.attributions){if(!R.isArray(e.attributions))throw N(`.MetricsEvent.attributions: array expected`);n.attributions=R(e.attributions.length);for(let t=0;t<e.attributions.length;++t)n.attributions[t]=P(e.attributions[t])}if(e.os!=null&&(typeof e.os!=`string`||e.os.length)&&(n.os=P(e.os)),e.timezone!=null&&(typeof e.timezone!=`string`||e.timezone.length)&&(n.timezone=P(e.timezone)),e.headless!=null&&e.headless&&(n.headless=F(e.headless)),e.isFragmentRun!=null&&e.isFragmentRun&&(n.isFragmentRun=F(e.isFragmentRun)),e.numPages!=null&&(typeof e.numPages==`object`?e.numPages.low||e.numPages.high:I(e.numPages)!==0)&&(O.Long?n.numPages=O.Long.fromValue(e.numPages,!1):typeof e.numPages==`string`?n.numPages=z(e.numPages,10):typeof e.numPages==`
1number`?n.numPages=e.numPages:typeof e.numPages==`object`&&(n.numPages=new O.LongBits(e.numPages.low>>>0,e.numPages.high>>>0).toNumber())),e.pageScriptHash!=null&&(typeof e.pageScriptHash!=`string`||e.pageScriptHash.length)&&(n.pageScriptHash=P(e.pageScriptHash)),e.activeTheme!=null&&(typeof e.activeTheme!=`string`||e.activeTheme.length)&&(n.activeTheme=P(e.activeTheme)),e.totalLoadTime!=null&&(typeof e.totalLoadTime==`object`?e.totalLoadTime.low||e.totalLoadTime.high:I(e.totalLoadTime)!==0)&&(O.Long?n.totalLoadTime=O.Long.fromValue(e.totalLoadTime,!1):typeof e.totalLoadTime==`string`?n.totalLoadTime=z(e.totalLoadTime,10):typeof e.totalLoadTime==`number`?n.totalLoadTime=e.totalLoadTime:typeof e.totalLoadTime==`object`&&(n.totalLoadTime=new O.LongBits(e.totalLoadTime.low>>>0,e.totalLoadTime.high>>>0).toNumber())),e.browserInfo!=null){if(!O.isObject(e.browserInfo))throw N(`.MetricsEvent.browserInfo: object expected`);n.browserInfo=V.BrowserInfo.fromObject(e.browserInfo,t+1)}if(e.serverMode!=null&&(typeof e.serverMode!=`string`||e.serverMode.length)&&(n.serverMode=P(e.serverMode)),e.installedSkills){if(!R.isArray(e.installedSkills))throw N(`.MetricsEvent.installedSkills: array expected`);n.installedSkills=R(e.installedSkills.length);for(let t=0;t<e.installedSkills.length;++t)n.installedSkills[t]=P(e.installedSkills[t])}if(e.installedAgents){if(!R.isArray(e.installedAgents))throw N(`.MetricsEvent.installedAgents: array expected`);n.installedAgents=R(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)n.installedAgents[t]=P(e.installedAgents[t])}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`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=``,O.Long){let e=new O.Long(0,0,!1);r.execTime=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.execTime=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;if(O.Long){let e=new O.Long(0,0,!1);r.prepTime=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.prepTime=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;if(r.uncaughtException=``,r.os=``,r.timezone=``,r.headless=!1,r.isFragmentRun=!1,r.appId=``,O.Long){let e=new O.Long(0,0,!1);r.numPages=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.numPages=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;if(r.sessionId=``,r.pythonVersion=``,r.pageScriptHash=``,r.activeTheme=``,O.Long){let e=new O.Long(0,0,!1);r.totalLoadTime=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.totalLoadTime=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.browserInfo=null,r.machineIdV4=``,r.serverOs=``,r.hasDisplay=!1,r.isWebdriver=!1,r.serverMode=``,r.surface=``}if(e.event!=null&&k.hasOwnProperty.call(e,`event`)&&(r.event=e.event),e.anonymousId!=null&&k.hasOwnProperty.call(e,`anonymousId`)&&(r.anonymousId=e.anonymousId),e.machineIdV3!=null&&k.hasOwnProperty.call(e,`machineIdV3`)&&(r.machineIdV3=e.machineIdV3),e.reportHash!=null&&k.hasOwnProperty.call(e,`reportHash`)&&(r.reportHash=e.reportHash),e.dev!=null&&k.hasOwnProperty.call(e,`dev`)&&(r.dev=e.dev),e.source!=null&&k.hasOwnProperty.call(e,`source`)&&(r.source=e.source),e.streamlitVersion!=null&&k.hasOwnProperty.call(e,`streamlitVersion`)&&(r.streamlitVersion=e.streamlitVersion),e.isHello!=null&&k.hasOwnProperty.call(e,`isHello`)&&(r.isHello=e.isHello),e.hostedAt!=null&&k.hasOwnProperty.call(e,`hostedAt`)&&(r.hostedAt=e.hostedAt),e.owner!=null&&k.hasOwnProperty.call(e,`owner`)&&(r.owner=e.owner),e.repo!=null&&k.hasOwnProperty.call(e,`repo`)&&(r.repo=e.repo),e.branch!=null&&k.hasOwnProperty.call(e,`branch`)&&(r.branch=e.branch),e.mainModule!=null&&k.hasOwnProperty.call(e,`mainModule`)&&(r.mainModule=e.mainModule),e.creatorId!=null&&k.hasOwnProperty.call(e,`creatorId`)&&(r.creatorId=e.creatorId),e.contextPageUrl!=null&&k.hasOwnProperty.call(e,`contextPageUrl`)&&(r.contextPageUrl=e.contextPageUrl),e.contextPageTitle!=null&&k.hasOwnProperty.call(e,`contextPageTitle`)&&(r.contextPageTitle=e.contextPageTitle),e.contextPagePath!=null&&k.hasOwnProperty.call(e,`contextPagePath`)&&(r.contextPagePath=e.contextPagePath),e.contextPageReferrer!=null&&k.hasOwnProperty.call(e,`contextPageReferrer`)&&(r.contextPageReferrer=e.contextPageReferrer),e.contextPageSearch!=null&&k.hasOwnProperty.call(e,`contextPageSearch`)&&(r.contextPageSearch=e.contextPageSearch),e.contextLocale!=null&&k.hasOwnProperty.call(e,`contextLocale`)&&(r.contextLocale=e.contextLocale),e.contextUserAgent!=null&&k.hasOwnProperty.call(e,`contextUserAgent`)&&(r.contextUserAgent=e.contextUserAgent),e.label!=null&&k.hasOwnProperty.call(e,`label`)&&(r.label=e.label),e.commands&&e.commands.length){r.commands=R(e.commands.length);for(let i=0;i<e.commands.length;++i)r.commands[i]=V.Command.toObject(e.commands[i],t,n+1)}if(e.execTime!=null&&k.hasOwnProperty.call(e,`execTime`)&&(r.execTime=B!==void 0&&t.longs===B?typeof e.execTime==`number`?B(e.execTime):O.Long.fromBits(e.execTime.low>>>0,e.execTime.high>
1>>0,!1).toBigInt():typeof e.execTime==`number`?t.longs===P?P(e.execTime):e.execTime:t.longs===P?O.Long.prototype.toString.call(e.execTime):t.longs===I?new O.LongBits(e.execTime.low>>>0,e.execTime.high>>>0).toNumber():e.execTime),e.prepTime!=null&&k.hasOwnProperty.call(e,`prepTime`)&&(r.prepTime=B!==void 0&&t.longs===B?typeof e.prepTime==`number`?B(e.prepTime):O.Long.fromBits(e.prepTime.low>>>0,e.prepTime.high>>>0,!1).toBigInt():typeof e.prepTime==`number`?t.longs===P?P(e.prepTime):e.prepTime:t.longs===P?O.Long.prototype.toString.call(e.prepTime):t.longs===I?new O.LongBits(e.prepTime.low>>>0,e.prepTime.high>>>0).toNumber():e.prepTime),e.config&&e.config.length){r.config=R(e.config.length);for(let t=0;t<e.config.length;++t)r.config[t]=e.config[t]}if(e.uncaughtException!=null&&k.hasOwnProperty.call(e,`uncaughtException`)&&(r.uncaughtException=e.uncaughtException),e.attributions&&e.attributions.length){r.attributions=R(e.attributions.length);for(let t=0;t<e.attributions.length;++t)r.attributions[t]=e.attributions[t]}if(e.os!=null&&k.hasOwnProperty.call(e,`os`)&&(r.os=e.os),e.timezone!=null&&k.hasOwnProperty.call(e,`timezone`)&&(r.timezone=e.timezone),e.headless!=null&&k.hasOwnProperty.call(e,`headless`)&&(r.headless=e.headless),e.isFragmentRun!=null&&k.hasOwnProperty.call(e,`isFragmentRun`)&&(r.isFragmentRun=e.isFragmentRun),e.appId!=null&&k.hasOwnProperty.call(e,`appId`)&&(r.appId=e.appId),e.numPages!=null&&k.hasOwnProperty.call(e,`numPages`)&&(r.numPages=B!==void 0&&t.longs===B?typeof e.numPages==`number`?B(e.numPages):O.Long.fromBits(e.numPages.low>>>0,e.numPages.high>>>0,!1).toBigInt():typeof e.numPages==`number`?t.longs===P?P(e.numPages):e.numPages:t.longs===P?O.Long.prototype.toString.call(e.numPages):t.longs===I?new O.LongBits(e.numPages.low>>>0,e.numPages.high>>>0).toNumber():e.numPages),e.sessionId!=null&&k.hasOwnProperty.call(e,`sessionId`)&&(r.sessionId=e.sessionId),e.pythonVersion!=null&&k.hasOwnProperty.call(e,`pythonVersion`)&&(r.pythonVersion=e.pythonVersion),e.pageScriptHash!=null&&k.hasOwnProperty.call(e,`pageScriptHash`)&&(r.pageScriptHash=e.pageScriptHash),e.activeTheme!=null&&k.hasOwnProperty.call(e,`activeTheme`)&&(r.activeTheme=e.activeTheme),e.totalLoadTime!=null&&k.hasOwnProperty.call(e,`totalLoadTime`)&&(r.totalLoadTime=B!==void 0&&t.longs===B?typeof e.totalLoadTime==`number`?B(e.totalLoadTime):O.Long.fromBits(e.totalLoadTime.low>>>0,e.totalLoadTime.high>>>0,!1).toBigInt():typeof e.totalLoadTime==`number`?t.longs===P?P(e.totalLoadTime):e.totalLoadTime:t.longs===P?O.Long.prototype.toString.call(e.totalLoadTime):t.longs===I?new O.LongBits(e.totalLoadTime.low>>>0,e.totalLoadTime.high>>>0).toNumber():e.totalLoadTime),e.browserInfo!=null&&k.hasOwnProperty.call(e,`browserInfo`)&&(r.browserInfo=V.BrowserInfo.toObject(e.browserInfo,t,n+1)),e.machineIdV4!=null&&k.hasOwnProperty.call(e,`machineIdV4`)&&(r.machineIdV4=e.machineIdV4),e.serverOs!=null&&k.hasOwnProperty.call(e,`serverOs`)&&(r.serverOs=e.serverOs),e.hasDisplay!=null&&k.hasOwnProperty.call(e,`hasDisplay`)&&(r.hasDisplay=e.hasDisplay),e.isWebdriver!=null&&k.hasOwnProperty.call(e,`isWebdriver`)&&(r.isWebdriver=e.isWebdriver),e.serverMode!=null&&k.hasOwnProperty.call(e,`serverMode`)&&(r.serverMode=e.serverMode),e.installedSkills&&e.installedSkills.length){r.installedSkills=R(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=R(e.installedAgents.length);for(let t=0;t<e.installedAgents.length;++t)r.installedAgents[t]=e.installedAgents[t]}return e.surface!=null&&k.hasOwnProperty.call(e,`surface`)&&(r.surface=e.surface),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/MetricsEvent`},e})();V.BrowserInfo=(()=>{let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.browserName!=null&&k.hasOwnProperty.call(e,`browserName`)&&e.browserName!==``&&t.uint32(10).string(e.browserName),e.browserVersion!=null&&k.hasOwnProperty.call(e,`browserVersion`)&&e.browserVersion!==``&&t.uint32(18).string(e.browserVersion),e.deviceType!=null&&k.hasOwnProperty.call(e,`deviceType`)&&e.deviceType!==``&&t.uint32(26).string(e.deviceType),e.os!=null&&k.hasOwnProperty.call(e,`os`)&&e.os!==``&&t.uint32(34).string(e.os),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.BrowserInfo;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.BrowserInfo)return e;if(!O.isObject(e))throw N(`.BrowserInfo: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.BrowserInfo;return e.browserName!=null&&(typeof e.browserName!=`string`||e.browserName.length)&&(n.browserName=P(e.browserName)),e.browserVersion!=null&&(typeof e.browserVersion!=`string`||e.browserVersion.length)&&(n.browserVersion=P(e.browserVersion)),e.deviceType!=null&&(typeof e.deviceType!=`string`||e.deviceType.length)&&(n.deviceType=P(e.deviceType)),e.os!=null&&(typeof e.os!=`string`||e.os.length)&&(n.os=P(e.os)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.browserName=``,r.browserVersion=``,r.deviceType=``,r.os=``),e.browserName!=null&&k.hasOwnProperty.call(e,`browserName`)&&(r.browserName=e.browserName),e.browserVersion!=null&&k.hasOwnProperty.call(e,`browserVersion`)&&(r.browserVersion=e.browserVersion),e.deviceType!=null&&k.hasOwnProperty.call(e,`deviceType`)&&(r.deviceType=e.deviceType),e.os!=null&&k.hasOwnProperty.call(e,`os`)&&(r.os=e.os),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/BrowserInfo`},e})(),V.openmetrics=(()=>{let e={};return e.MetricSet=(function(){let e=function(e){if(this.metricFamilies=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.metricFamilies!=null&&e.metricFamilies.length)for(let r=0;r<e.metricFamilies.length;++r)V.openmetrics.MetricFamily.encode(e.metricFamilies[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.MetricSet;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.metricFamilies&&o.metricFamilies.length||(o.metricFamilies=[]),o.metricFamilies.push(V.openmetrics.MetricFamily.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.MetricSet)return e;if(!O.isObject(e))throw N(`.openmetrics.MetricSet: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.MetricSet;if(e.metricFamilies){if(!R.isArray(e.metricFamilies))throw N(`.openmetrics.MetricSet.metricFamilies: array expected`);n.metricFamilies=R(e.metricFamilies.length);for(let r=0;r<e.metricFamilies.length;++r){if(!O.isObject(e.metricFamilies[r]))throw N(`.openmetrics.MetricSet.metricFamilies: object expected`);n.metricFamilies[r]=V.openmetrics.MetricFamily.fromObject(e.metricFamilies[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.metricFamilies=[]),e.metricFamilies&&e.metricFamilies.length){r.metricFamilies=R(e.metricFamilies.length);for(let i=0;i<e.metricFamilies.length;++i)r.metricFamilies[i]=V.openmetrics.MetricFamily.toObject(e.metricFamilies[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.MetricSet`},e})(),e.MetricFamily=(function(){let e=function(e){if(this.metrics=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&e.type!==0&&t.uint32(16).int32(e.type),e.unit!=null&&k.hasOwnProperty.call(e,`unit`)&&e.unit!==``&&t.uint32(26).string(e.unit),e.help!=null&&k.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)V.Metric.encode(e.metrics[r],t.uint32(42).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.MetricFamily;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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(V.Metric.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.MetricFamily)return e;if(!O.isObject(e))throw N(`.openmetrics.MetricFamily: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.MetricFamily;if(e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.type!==0&&(typeof e.type!=`string`||V.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=P(e.unit)),e.help!=null&&(typeof e.help!=`string`||e.help.length)&&(n.help=P(e.help)),e.metrics){if(!R.isArray(e.metrics))throw N(`.openmetrics.MetricFamily.metrics: array expected`);n.metrics=R(e.metrics.length);for(let r=0;r<e.metrics.length;++r){if(!O.isObject(e.metrics[r]))throw N(`.openmetrics.MetricFamily.metrics: object expected`);n.metrics[r]=V.Metric.fromObject(e.metrics[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.metrics=[]),t.defaults&&(r.name=``,r.type=t.enums===P?`UNKNOWN`:0,r.unit=``,r.help=``),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.type!=null&&k.hasOwnProperty.call(e,`type`)&&(r.type=t.enums===P?V.openmetrics.MetricType[e.type]===A?e.type:V.openmetrics.MetricType[e.type]:e.type),e.unit!=null&&k.hasOwnProperty.call(e,`unit`)&&(r.unit=e.unit),e.help!=null&&k.hasOwnProperty.call(e,`help`)&&(r.help=e.help),e.metrics&&e.metrics.length){r.metrics=R(e.metrics.length);for(let i=0;i<e.metrics.length;++i)r.metrics[i]=V.Metric.toObject(e.metrics[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.MetricFamily`},e})(),e.MetricType=(function(){let e=k.create(null),t=k.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=k.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=O.emptyArray,e.prototype.metricPoints=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.labels!=null&&e.labels.length)for(let r=0;r<e.labels.length;++r)V.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)V.openmetrics.MetricPoint.encode(e.metricPoints[r],t.uint32(18).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.Metric;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.labels&&o.labels.length||(o.labels=[]),o.labels.push(V.openmetrics.Label.decode(e,e.uint32(),A,r+1));continue;case 2:if(a!==2)break;o.metricPoints&&o.metricPoints.length||(o.metricPoints=[]),o.metricPoints.push(V.openmetrics.MetricPoint.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.Metric)return e;if(!O.isObject(e))throw N(`.openmetrics.Metric: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.Metric;if(e.labels){if(!R.isArray(e.labels))throw N(`.openmetrics.Metric.labels: array expected`);n.labels=R(e.labels.length);for(let r=0;r<e.labels.length;++r){if(!O.isObject(e.labels[r]))throw N(`.openmetrics.Metric.labels: object expected`);n.labels[r]=V.openmetrics.Label.fromObject(e.labels[r],t+1)}}if(e.metricPoints){if(!R.isArray(e.metricPoints))throw N(`.openmetrics.Metric.metricPoints: array expected`);n.metricPoints=R(e.metricPoints.length);for(let r=0;r<e.metricPoints.length;++r){if(!O.isObject(e.metricPoints[r]))throw N(`.openmetrics.Metric.metricPoints: object expected`);n.metricPoints[r]=V.openmetrics.MetricPoint.fromObject(e.metricPoints[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.labels=[],r.metricPoints=[]),e.labels&&e.labels.length){r.labels=R(e.labels.length);for(let i=0;i<e.labels.length;++i)r.labels[i]=V.openmetrics.Label.toObject(e.labels[i],t,n+1)}if(e.metricPoints&&e.metricPoints.length){r.metricPoints=R(e.metricPoints.length);for(let i=0;i<e.metricPoints.length;++i)r.metricPoints[i]=V.openmetrics.MetricPoint.toObject(e.metricPoints[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.Metric`},e})(),e.Label=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(10).string(e.name),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&e.value!==``&&t.uint32(18).string(e.value),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.Label;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.Label)return e;if(!O.isObject(e))throw N(`.openmetrics.Label: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.Label;return e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),e.value!=null&&(typeof e.value!=`string`||e.value.length)&&(n.value=P(e.value)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.name=``,r.value=``),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=e.value),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.Label`},e})(),e.MetricPoint=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`value`,{get:O.oneOfGetter(t=[`unknownValue`,`gaugeValue`,`counterValue`,`histogramValue`,`stateSetValue`,`infoValue`,`summaryValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.unknownValue!=null&&k.hasOwnProperty.call(e,`unknownValue`)&&V.openmetrics.UnknownValue.encode(e.unknownValue,t.uint32(10).fork(),n+1).ldelim(),e.gauge
1Value!=null&&k.hasOwnProperty.call(e,`gaugeValue`)&&V.openmetrics.GaugeValue.encode(e.gaugeValue,t.uint32(18).fork(),n+1).ldelim(),e.counterValue!=null&&k.hasOwnProperty.call(e,`counterValue`)&&V.openmetrics.CounterValue.encode(e.counterValue,t.uint32(26).fork(),n+1).ldelim(),e.histogramValue!=null&&k.hasOwnProperty.call(e,`histogramValue`)&&V.openmetrics.HistogramValue.encode(e.histogramValue,t.uint32(34).fork(),n+1).ldelim(),e.stateSetValue!=null&&k.hasOwnProperty.call(e,`stateSetValue`)&&V.openmetrics.StateSetValue.encode(e.stateSetValue,t.uint32(42).fork(),n+1).ldelim(),e.infoValue!=null&&k.hasOwnProperty.call(e,`infoValue`)&&V.openmetrics.InfoValue.encode(e.infoValue,t.uint32(50).fork(),n+1).ldelim(),e.summaryValue!=null&&k.hasOwnProperty.call(e,`summaryValue`)&&V.openmetrics.SummaryValue.encode(e.summaryValue,t.uint32(58).fork(),n+1).ldelim(),e.timestamp!=null&&k.hasOwnProperty.call(e,`timestamp`)&&V.google.protobuf.Timestamp.encode(e.timestamp,t.uint32(66).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.MetricPoint;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.unknownValue=V.openmetrics.UnknownValue.decode(e,e.uint32(),A,r+1,o.unknownValue),o.value=`unknownValue`;continue;case 2:if(a!==2)break;o.gaugeValue=V.openmetrics.GaugeValue.decode(e,e.uint32(),A,r+1,o.gaugeValue),o.value=`gaugeValue`;continue;case 3:if(a!==2)break;o.counterValue=V.openmetrics.CounterValue.decode(e,e.uint32(),A,r+1,o.counterValue),o.value=`counterValue`;continue;case 4:if(a!==2)break;o.histogramValue=V.openmetrics.HistogramValue.decode(e,e.uint32(),A,r+1,o.histogramValue),o.value=`histogramValue`;continue;case 5:if(a!==2)break;o.stateSetValue=V.openmetrics.StateSetValue.decode(e,e.uint32(),A,r+1,o.stateSetValue),o.value=`stateSetValue`;continue;case 6:if(a!==2)break;o.infoValue=V.openmetrics.InfoValue.decode(e,e.uint32(),A,r+1,o.infoValue),o.value=`infoValue`;continue;case 7:if(a!==2)break;o.summaryValue=V.openmetrics.SummaryValue.decode(e,e.uint32(),A,r+1,o.summaryValue),o.value=`summaryValue`;continue;case 8:if(a!==2)break;o.timestamp=V.google.protobuf.Timestamp.decode(e,e.uint32(),A,r+1,o.timestamp);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.MetricPoint)return e;if(!O.isObject(e))throw N(`.openmetrics.MetricPoint: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.MetricPoint;if(e.unknownValue!=null){if(!O.isObject(e.unknownValue))throw N(`.openmetrics.MetricPoint.unknownValue: object expected`);n.unknownValue=V.openmetrics.UnknownValue.fromObject(e.unknownValue,t+1)}if(e.gaugeValue!=null){if(!O.isObject(e.gaugeValue))throw N(`.openmetrics.MetricPoint.gaugeValue: object expected`);n.gaugeValue=V.openmetrics.GaugeValue.fromObject(e.gaugeValue,t+1)}if(e.counterValue!=null){if(!O.isObject(e.counterValue))throw N(`.openmetrics.MetricPoint.counterValue: object expected`);n.counterValue=V.openmetrics.CounterValue.fromObject(e.counterValue,t+1)}if(e.histogramValue!=null){if(!O.isObject(e.histogramValue))throw N(`.openmetrics.MetricPoint.histogramValue: object expected`);n.histogramValue=V.openmetrics.HistogramValue.fromObject(e.histogramValue,t+1)}if(e.stateSetValue!=null){if(!O.isObject(e.stateSetValue))throw N(`.openmetrics.MetricPoint.stateSetValue: object expected`);n.stateSetValue=V.openmetrics.StateSetValue.fromObject(e.stateSetValue,t+1)}if(e.infoValue!=null){if(!O.isObject(e.infoValue))throw N(`.openmetrics.MetricPoint.infoValue: object expected`);n.infoValue=V.openmetrics.InfoValue.fromObject(e.infoValue,t+1)}if(e.summaryValue!=null){if(!O.isObject(e.summaryValue))throw N(`.openmetrics.MetricPoint.summaryValue: object expected`);n.summaryValue=V.openmetrics.SummaryValue.fromObject(e.summaryValue,t+1)}if(e.timestamp!=null){if(!O.isObject(e.timestamp))throw N(`.openmetrics.MetricPoint.timestamp: object expected`);n.timestamp=V.google.protobuf.Timestamp.fromObject(e.timestamp,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.timestamp=null),e.unknownValue!=null&&k.hasOwnProperty.call(e,`unknownValue`)&&(r.unknownValue=V.openmetrics.UnknownValue.toObject(e.unknownValue,t,n+1),t.oneofs&&(r.value=`unknownValue`)),e.gauge
1Value!=null&&k.hasOwnProperty.call(e,`gaugeValue`)&&(r.gaugeValue=V.openmetrics.GaugeValue.toObject(e.gaugeValue,t,n+1),t.oneofs&&(r.value=`gaugeValue`)),e.counterValue!=null&&k.hasOwnProperty.call(e,`counterValue`)&&(r.counterValue=V.openmetrics.CounterValue.toObject(e.counterValue,t,n+1),t.oneofs&&(r.value=`counterValue`)),e.histogramValue!=null&&k.hasOwnProperty.call(e,`histogramValue`)&&(r.histogramValue=V.openmetrics.HistogramValue.toObject(e.histogramValue,t,n+1),t.oneofs&&(r.value=`histogramValue`)),e.stateSetValue!=null&&k.hasOwnProperty.call(e,`stateSetValue`)&&(r.stateSetValue=V.openmetrics.StateSetValue.toObject(e.stateSetValue,t,n+1),t.oneofs&&(r.value=`stateSetValue`)),e.infoValue!=null&&k.hasOwnProperty.call(e,`infoValue`)&&(r.infoValue=V.openmetrics.InfoValue.toObject(e.infoValue,t,n+1),t.oneofs&&(r.value=`infoValue`)),e.summaryValue!=null&&k.hasOwnProperty.call(e,`summaryValue`)&&(r.summaryValue=V.openmetrics.SummaryValue.toObject(e.summaryValue,t,n+1),t.oneofs&&(r.value=`summaryValue`)),e.timestamp!=null&&k.hasOwnProperty.call(e,`timestamp`)&&(r.timestamp=V.google.protobuf.Timestamp.toObject(e.timestamp,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.MetricPoint`},e})(),e.UnknownValue=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`value`,{get:O.oneOfGetter(t=[`doubleValue`,`intValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.UnknownValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.UnknownValue)return e;if(!O.isObject(e))throw N(`.openmetrics.UnknownValue: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.UnknownValue;return e.doubleValue!=null&&(n.doubleValue=I(e.doubleValue)),e.intValue!=null&&(O.Long?n.intValue=O.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=z(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!L(e.doubleValue)?P(e.doubleValue):e.doubleValue,t.oneofs&&(r.value=`doubleValue`)),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&(r.intValue=B!==void 0&&t.longs===B?typeof e.intValue==`number`?B(e.intValue):O.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?t.longs===P?P(e.intValue):e.intValue:t.longs===P?O.Long.prototype.toString.call(e.intValue):t.longs===I?new O.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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.UnknownValue`},e})(),e.GaugeValue=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`value`,{get:O.oneOfGetter(t=[`doubleValue`,`intValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.GaugeValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.GaugeValue)return e;if(!O.isObject(e))throw N(`.openmetrics.GaugeValue: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.GaugeValue;return e.doubleValue!=null&&(n.doubleValue=I(e.doubleValue)),e.intValue!=null&&(O.Long?n.intValue=O.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=z(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!L(e.doubleValue)?P(e.doubleValue):e.doubleValue,t.oneofs&&(r.value=`doubleValue`)),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&(r.intValue=B!==void 0&&t.longs===B?typeof e.intValue==`number`?B(e.intValue):O.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?t.longs===P?P(e.intValue):e.intValue:t.longs===P?O.Long.prototype.toString.call(e.intValue):t.longs===I?new O.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,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.GaugeValue`},e})(),e.CounterValue=(function(){let e=function(e){if(e)for(let t=k.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 k.defineProperty(e.prototype,`total`,{get:O.oneOfGetter(t=[`doubleValue`,`intValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).uint64(e.intValue),e.created!=null&&k.hasOwnProperty.call(e,`created`)&&V.google.protobuf.Timestamp.encode(e.created,t.uint32(26).fork(),n+1).ldelim(),e.exemplar!=null&&k.hasOwnProperty.call(e,`exemplar`)&&V.openmetrics.Exemplar.encode(e.exemplar,t.uint32(34).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.CounterValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.google.protobuf.Timestamp.decode(e,e.uint32(),A,r+1,o.created);continue;case 4:if(a!==2)break;o.exemplar=V.openmetrics.Exemplar.decode(e,e.uint32(),A,r+1,o.exemplar);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.CounterValue)return e;if(!O.isObject(e))throw N(`.openmetrics.CounterValue: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.CounterValue;if(e.doubleValue!=null&&(n.doubleValue=I(e.doubleValue)),e.intValue!=null&&(O.Long?n.intValue=O.Long.fromValue(e.intValue,!0):typeof e.intValue==`string`?n.intValue=z(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber(!0))),e.created!=null){if(!O.isObject(e.created))throw N(`.openmetrics.CounterValue.created: object expected`);n.created=V.google.protobuf.Timestamp.fromObject(e.created,t+1)}if(e.exemplar!=null){if(!O.isObject(e.exemplar))throw N(`.openmetrics.CounterValue.exemplar: object expected`);n.exemplar=V.openmetrics.Exemplar.fromObject(e.exemplar,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.created=null,r.exemplar=null),e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!L(e.doubleValue)?P(e.doubleValue):e.doubleValue,t.oneofs&&(r.total=`doubleValue`)),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&(r.intValue=B!==void 0&&t.longs===B?typeof e.intValue==`number`?B(e.intValue):O.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!0).toBigInt():typeof e.intValue==`number`?t.longs===P?P(e.intValue):e.intValue:t.longs===P?O.Long.prototype.toString.call(e.intValue):t.longs===I?new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber(!0):e.intValue,t.oneofs&&(r.total=`intValue`)),e.created!=null&&k.hasOwnProperty.call(e,`created`)&&(r.created=V.google.protobuf.Timestamp.toObject(e.created,t,n+1)),e.exemplar!=null&&k.hasOwnProperty.call(e,`exemplar`)&&(r.exemplar=V.openmetrics.Exemplar.toObject(e.exemplar,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.CounterValue`},e})(),e.HistogramValue=(function(){let e=function(e){if(this.buckets=[],e)for(let t=k.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=O.Long?O.Long.fromBits(0,0,!0):0,e.prototype.created=null,e.prototype.buckets=O.emptyArray;let t;return k.defineProperty(e.prototype,`sum`,{get:O.oneOfGetter(t=[`doubleValue`,`intValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.count!=null&&k.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&&k.hasOwnProperty.call(e,`created`)&&V.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)V.openmetrics.HistogramValue.Bucket.encode(e.buckets[r],t.uint32(42).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.HistogramValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.google.protobuf.Timestamp.decode(e,e.uint32(),A,r+1,o.created);continue;case 5:if(a!==2)break;o.buckets&&o.buckets.length||(o.buckets=[]),o.buckets.push(V.openmetrics.HistogramValue.Bucket.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.HistogramValue)return e;if(!O.isObject(e))throw N(`.openmetrics.HistogramValue: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.HistogramValue;if(e.doubleValue!=null&&(n.doubleValue=I(e.doubleValue)),e.intValue!=null&&(O.Long?n.intValue=O.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=z(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),e.count!=null&&(typeof e.count==`object`?e.count.low||e.count.high:I(e.count)!==0)&&(O.Long?n.count=O.Long.fromValue(e.count,!0):typeof e.count==`string`?n.count=z(e.count,10):typeof e.count==`number`?n.count=e.count:typeof e.count==`object`&&(n.count=new O.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0))),e.created!=null){if(!O.isObject(e.created))throw N(`.openmetrics.HistogramValue.created: object expected`);n.created=V.google.protobuf.Timestamp.fromObject(e.created,t+1)}if(e.buckets){if(!R.isArray(e.buckets))throw N(`.openmetrics.HistogramValue.buckets: array expected`);n.buckets=R(e.buckets.length);for(let r=0;r<e.buckets.length;++r){if(!O.isObject(e.buckets[r]))throw N(`.openmetrics.HistogramValue.buckets: object expected`);n.buckets[r]=V.openmetrics.HistogramValue.Bucket.fromObject(e.buckets[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.buckets=[]),t.defaults){if(O.Long){let e=new O.Long(0,0,!0);r.count=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.count=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.created=null}if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!L(e.doubleValue)?P(e.doubleValue):e.doubleValue,t.oneofs&&(r.sum=`doubleValue`)),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&(r.intValue=B!==void 0&&t.longs===B?typeof e.intValue==`number`?B(e.intValue):O.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?t.longs===P?P(e.intValue):e.intValue:t.longs===P?O.Long.prototype.toString.call(e.intValue):t.longs===I?new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.sum=`intValue`)),e.count!=null&&k.hasOwnProperty.call(e,`count`)&&(r.count=B!==void 0&&t.longs===B?typeof e.count==`number`?B(e.count):O.Long.fromBits(e.count.low>>>0,e.count.high>>>0,!0).toBigInt():typeof e.count==`number`?t.longs===P?P(e.count):e.count:t.longs===P?O.Long.prototype.toString.call(e.count):t.longs===I?new O.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),e.created!=null&&k.hasOwnProperty.call(e,`created`)&&(r.created=V.google.protobuf.Timestamp.toObject(e.created,t,n+1)),e.buckets&&e.buckets.length){r.buckets=R(e.buckets.length);for(let i=0;i<e.buckets.length;++i)r.buckets[i]=V.openmetrics.HistogramValue.Bucket.toObject(e.buckets[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.HistogramValue`},e.Bucket=(function(){let e=function(e){if(e)for(let t=k.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=O.Long?O.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.count!=null&&k.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&&k.hasOwnProperty.call(e,`upperBound`)&&!k.is(e.upperBound,0)&&t.uint32(17).double(e.upperBound),e.exemplar!=null&&k.hasOwnProperty.call(e,`exemplar`)&&V.openmetrics.Exemplar.encode(e.exemplar,t.uint32(26).fork(),n+1).ldelim(),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.HistogramValue.Bucket;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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;k.is(s=e.double(),0)?delete o.upperBound:o.upperBound=s;continue;case 3:if(a!==2)break;o.exemplar=V.openmetrics.Exemplar.decode(e,e.uint32(),A,r+1,o.exemplar);continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.HistogramValue.Bucket)return e;if(!O.isObject(e))throw N(`.openmetrics.HistogramValue.Bucket: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.HistogramValue.Bucket;if(e.count!=null&&(typeof e.count==`object`?e.count.low||e.count.high:I(e.count)!==0)&&(O.Long?n.count=O.Long.fromValue(e.count,!0):typeof e.count==`string`?n.count=z(e.count,10):typeof e.count==`number`?n.count=e.count:typeof e.count==`object`&&(n.count=new O.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0))),e.upperBound!=null&&(k.is(I(e.upperBound),0)||(n.upperBound=I(e.upperBound))),e.exemplar!=null){if(!O.isObject(e.exemplar))throw N(`.openmetrics.HistogramValue.Bucket.exemplar: object expected`);n.exemplar=V.openmetrics.Exemplar.fromObject(e.exemplar,t+1)}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if(t.defaults){if(O.Long){let e=new O.Long(0,0,!0);r.count=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.count=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.upperBound=0,r.exemplar=null}return e.count!=null&&k.hasOwnProperty.call(e,`count`)&&(r.count=B!==void 0&&t.longs===B?typeof e.count==`number`?B(e.count):O.Long.fromBits(e.count.low>>>0,e.count.high>>>0,!0).toBigInt():typeof e.count==`number`?t.longs===P?P(e.count):e.count:t.longs===P?O.Long.prototype.toString.call(e.count):t.longs===I?new O.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),e.upperBound!=null&&k.hasOwnProperty.call(e,`upperBound`)&&(r.upperBound=t.json&&!L(e.upperBound)?P(e.upperBound):e.upperBound),e.exemplar!=null&&k.hasOwnProperty.call(e,`exemplar`)&&(r.exemplar=V.openmetrics.Exemplar.toObject(e.exemplar,t,n+1)),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.HistogramValue.Bucket`},e})(),e})(),e.Exemplar=(function(){let e=function(e){if(this.label=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.value!=null&&k.hasOwnProperty.call(e,`value`)&&!k.is(e.value,0)&&t.uint32(9).double(e.value),e.timestamp!=null&&k.hasOwnProperty.call(e,`timestamp`)&&V.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)V.openmetrics.Label.encode(e.label[r],t.uint32(26).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.Exemplar;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;k.is(s=e.double(),0)?delete o.value:o.value=s;continue;case 2:if(a!==2)break;o.timestamp=V.google.protobuf.Timestamp.decode(e,e.uint32(),A,r+1,o.timestamp);continue;case 3:if(a!==2)break;o.label&&o.label.length||(o.label=[]),o.label.push(V.openmetrics.Label.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.Exemplar)return e;if(!O.isObject(e))throw N(`.openmetrics.Exemplar: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.Exemplar;if(e.value!=null&&(k.is(I(e.value),0)||(n.value=I(e.value))),e.timestamp!=null){if(!O.isObject(e.timestamp))throw N(`.openmetrics.Exemplar.timestamp: object expected`);n.timestamp=V.google.protobuf.Timestamp.fromObject(e.timestamp,t+1)}if(e.label){if(!R.isArray(e.label))throw N(`.openmetrics.Exemplar.label: array expected`);n.label=R(e.label.length);for(let r=0;r<e.label.length;++r){if(!O.isObject(e.label[r]))throw N(`.openmetrics.Exemplar.label: object expected`);n.label[r]=V.openmetrics.Label.fromObject(e.label[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.label=[]),t.defaults&&(r.value=0,r.timestamp=null),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=t.json&&!L(e.value)?P(e.value):e.value),e.timestamp!=null&&k.hasOwnProperty.call(e,`timestamp`)&&(r.timestamp=V.google.protobuf.Timestamp.toObject(e.timestamp,t,n+1)),e.label&&e.label.length){r.label=R(e.label.length);for(let i=0;i<e.label.length;++i)r.label[i]=V.openmetrics.Label.toObject(e.label[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.Exemplar`},e})(),e.StateSetValue=(function(){let e=function(e){if(this.states=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.states!=null&&e.states.length)for(let r=0;r<e.states.length;++r)V.openmetrics.StateSetValue.State.encode(e.states[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.StateSetValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.states&&o.states.length||(o.states=[]),o.states.push(V.openmetrics.StateSetValue.State.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.StateSetValue)return e;if(!O.isObject(e))throw N(`.openmetrics.StateSetValue: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.StateSetValue;if(e.states){if(!R.isArray(e.states))throw N(`.openmetrics.StateSetValue.states: array expected`);n.states=R(e.states.length);for(let r=0;r<e.states.length;++r){if(!O.isObject(e.states[r]))throw N(`.openmetrics.StateSetValue.states: object expected`);n.states[r]=V.openmetrics.StateSetValue.State.fromObject(e.states[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.states=[]),e.states&&e.states.length){r.states=R(e.states.length);for(let i=0;i<e.states.length;++i)r.states[i]=V.openmetrics.StateSetValue.State.toObject(e.states[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.StateSetValue`},e.State=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.enabled!=null&&k.hasOwnProperty.call(e,`enabled`)&&e.enabled!==!1&&t.uint32(8).bool(e.enabled),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&e.name!==``&&t.uint32(18).string(e.name),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.StateSetValue.State;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.StateSetValue.State)return e;if(!O.isObject(e))throw N(`.openmetrics.StateSetValue.State: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.StateSetValue.State;return e.enabled!=null&&e.enabled&&(n.enabled=F(e.enabled)),e.name!=null&&(typeof e.name!=`string`||e.name.length)&&(n.name=P(e.name)),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.enabled=!1,r.name=``),e.enabled!=null&&k.hasOwnProperty.call(e,`enabled`)&&(r.enabled=e.enabled),e.name!=null&&k.hasOwnProperty.call(e,`name`)&&(r.name=e.name),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.StateSetValue.State`},e})(),e})(),e.InfoValue=(function(){let e=function(e){if(this.info=[],e)for(let t=k.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=O.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.info!=null&&e.info.length)for(let r=0;r<e.info.length;++r)V.openmetrics.Label.encode(e.info[r],t.uint32(10).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.InfoValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==2)break;o.info&&o.info.length||(o.info=[]),o.info.push(V.openmetrics.Label.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.InfoValue)return e;if(!O.isObject(e))throw N(`.openmetrics.InfoValue: object expected`);if(t===A&&(t=0),t>
1O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.InfoValue;if(e.info){if(!R.isArray(e.info))throw N(`.openmetrics.InfoValue.info: array expected`);n.info=R(e.info.length);for(let r=0;r<e.info.length;++r){if(!O.isObject(e.info[r]))throw N(`.openmetrics.InfoValue.info: object expected`);n.info[r]=V.openmetrics.Label.fromObject(e.info[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.info=[]),e.info&&e.info.length){r.info=R(e.info.length);for(let i=0;i<e.info.length;++i)r.info[i]=V.openmetrics.Label.toObject(e.info[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.InfoValue`},e})(),e.SummaryValue=(function(){let e=function(e){if(this.quantile=[],e)for(let t=k.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=O.Long?O.Long.fromBits(0,0,!0):0,e.prototype.created=null,e.prototype.quantile=O.emptyArray;let t;return k.defineProperty(e.prototype,`sum`,{get:O.oneOfGetter(t=[`doubleValue`,`intValue`]),set:O.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t,n){if(t||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&t.uint32(9).double(e.doubleValue),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&t.uint32(16).int64(e.intValue),e.count!=null&&k.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&&k.hasOwnProperty.call(e,`created`)&&V.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)V.openmetrics.SummaryValue.Quantile.encode(e.quantile[r],t.uint32(42).fork(),n+1).ldelim();if(e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.SummaryValue;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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=V.google.protobuf.Timestamp.decode(e,e.uint32(),A,r+1,o.created);continue;case 5:if(a!==2)break;o.quantile&&o.quantile.length||(o.quantile=[]),o.quantile.push(V.openmetrics.SummaryValue.Quantile.decode(e,e.uint32(),A,r+1));continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.SummaryValue)return e;if(!O.isObject(e))throw N(`.openmetrics.SummaryValue: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.SummaryValue;if(e.doubleValue!=null&&(n.doubleValue=I(e.doubleValue)),e.intValue!=null&&(O.Long?n.intValue=O.Long.fromValue(e.intValue,!1):typeof e.intValue==`string`?n.intValue=z(e.intValue,10):typeof e.intValue==`number`?n.intValue=e.intValue:typeof e.intValue==`object`&&(n.intValue=new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber())),e.count!=null&&(typeof e.count==`object`?e.count.low||e.count.high:I(e.count)!==0)&&(O.Long?n.count=O.Long.fromValue(e.count,!0):typeof e.count==`string`?n.count=z(e.count,10):typeof e.count==`number`?n.count=e.count:typeof e.count==`object`&&(n.count=new O.LongBits(e.count.low>>>0,e.count.high>
1>>0).toNumber(!0))),e.created!=null){if(!O.isObject(e.created))throw N(`.openmetrics.SummaryValue.created: object expected`);n.created=V.google.protobuf.Timestamp.fromObject(e.created,t+1)}if(e.quantile){if(!R.isArray(e.quantile))throw N(`.openmetrics.SummaryValue.quantile: array expected`);n.quantile=R(e.quantile.length);for(let r=0;r<e.quantile.length;++r){if(!O.isObject(e.quantile[r]))throw N(`.openmetrics.SummaryValue.quantile: object expected`);n.quantile[r]=V.openmetrics.SummaryValue.Quantile.fromObject(e.quantile[r],t+1)}}return n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if((t.arrays||t.defaults)&&(r.quantile=[]),t.defaults){if(O.Long){let e=new O.Long(0,0,!0);r.count=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.count=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.created=null}if(e.doubleValue!=null&&k.hasOwnProperty.call(e,`doubleValue`)&&(r.doubleValue=t.json&&!L(e.doubleValue)?P(e.doubleValue):e.doubleValue,t.oneofs&&(r.sum=`doubleValue`)),e.intValue!=null&&k.hasOwnProperty.call(e,`intValue`)&&(r.intValue=B!==void 0&&t.longs===B?typeof e.intValue==`number`?B(e.intValue):O.Long.fromBits(e.intValue.low>>>0,e.intValue.high>>>0,!1).toBigInt():typeof e.intValue==`number`?t.longs===P?P(e.intValue):e.intValue:t.longs===P?O.Long.prototype.toString.call(e.intValue):t.longs===I?new O.LongBits(e.intValue.low>>>0,e.intValue.high>>>0).toNumber():e.intValue,t.oneofs&&(r.sum=`intValue`)),e.count!=null&&k.hasOwnProperty.call(e,`count`)&&(r.count=B!==void 0&&t.longs===B?typeof e.count==`number`?B(e.count):O.Long.fromBits(e.count.low>>>0,e.count.high>>>0,!0).toBigInt():typeof e.count==`number`?t.longs===P?P(e.count):e.count:t.longs===P?O.Long.prototype.toString.call(e.count):t.longs===I?new O.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber(!0):e.count),e.created!=null&&k.hasOwnProperty.call(e,`created`)&&(r.created=V.google.protobuf.Timestamp.toObject(e.created,t,n+1)),e.quantile&&e.quantile.length){r.quantile=R(e.quantile.length);for(let i=0;i<e.quantile.length;++i)r.quantile[i]=V.openmetrics.SummaryValue.Quantile.toObject(e.quantile[i],t,n+1)}return r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.SummaryValue`},e.Quantile=(function(){let e=function(e){if(e)for(let t=k.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.quantile!=null&&k.hasOwnProperty.call(e,`quantile`)&&!k.is(e.quantile,0)&&t.uint32(9).double(e.quantile),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&!k.is(e.value,0)&&t.uint32(17).double(e.value),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.openmetrics.SummaryValue.Quantile;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;break}let a=i&7;switch(i>>>=3){case 1:if(a!==1)break;k.is(s=e.double(),0)?delete o.quantile:o.quantile=s;continue;case 2:if(a!==1)break;k.is(s=e.double(),0)?delete o.value:o.value=s;continue}e.skipType(a,r,i),e.discardUnknown||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.openmetrics.SummaryValue.Quantile)return e;if(!O.isObject(e))throw N(`.openmetrics.SummaryValue.Quantile: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.openmetrics.SummaryValue.Quantile;return e.quantile!=null&&(k.is(I(e.quantile),0)||(n.quantile=I(e.quantile))),e.value!=null&&(k.is(I(e.value),0)||(n.value=I(e.value))),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};return t.defaults&&(r.quantile=0,r.value=0),e.quantile!=null&&k.hasOwnProperty.call(e,`quantile`)&&(r.quantile=t.json&&!L(e.quantile)?P(e.quantile):e.quantile),e.value!=null&&k.hasOwnProperty.call(e,`value`)&&(r.value=t.json&&!L(e.value)?P(e.value):e.value),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/openmetrics.SummaryValue.Quantile`},e})(),e})(),e})(),V.google=(()=>{let e={};return e.protobuf=(function(){let e={};return e.Timestamp=(function(){let e=function(e){if(e)for(let t=k.keys(e),n=0;n<t.length;++n)e[t[n]]!=null&&t[n]!==`__proto__`&&(this[t[n]]=e[t[n]])};
1return e.prototype.seconds=O.Long?O.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||=D.create(),n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);if(e.seconds!=null&&k.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&&k.hasOwnProperty.call(e,`nanos`)&&e.nanos!==0&&t.uint32(16).int32(e.nanos),e.$unknowns!=null&&k.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 E||(e=E.create(e)),r===A&&(r=0),r>E.recursionLimit)throw j(`max depth exceeded`);let a,o,s;if(t===A)a=e.len;else{if(a=e.pos+t,a>e.len)throw M(`index out of range`);t=e.len,e.len=a}for(o=i||new V.google.protobuf.Timestamp;e.pos<a;){let t=e.pos,i=e.tag();if(i===n){n=A;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||(O.makeProp(o,`$unknowns`,!1),(o.$unknowns||(o.$unknowns=[])).push(e.raw(t,e.pos)))}if(t!==A){if(e.pos!==a)throw M(`index out of range`);e.len=t}if(n!==A)throw j(`missing end group`);return o},e.fromObject=function(e,t){if(e instanceof V.google.protobuf.Timestamp)return e;if(!O.isObject(e))throw N(`.google.protobuf.Timestamp: object expected`);if(t===A&&(t=0),t>O.recursionLimit)throw j(`max depth exceeded`);let n=new V.google.protobuf.Timestamp;return e.seconds!=null&&(typeof e.seconds==`object`?e.seconds.low||e.seconds.high:I(e.seconds)!==0)&&(O.Long?n.seconds=O.Long.fromValue(e.seconds,!1):typeof e.seconds==`string`?n.seconds=z(e.seconds,10):typeof e.seconds==`number`?n.seconds=e.seconds:typeof e.seconds==`object`&&(n.seconds=new O.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),e.nanos!=null&&I(e.nanos)!==0&&(n.nanos=e.nanos|0),n},e.toObject=function(e,t,n){if(t||={},n===A&&(n=0),n>O.recursionLimit)throw j(`max depth exceeded`);let r={};if(t.defaults){if(O.Long){let e=new O.Long(0,0,!1);r.seconds=t.longs===P?e.toString():t.longs===I?e.toNumber():B!==void 0&&t.longs===B?e.toBigInt():e}else r.seconds=t.longs===P?`0`:B!==void 0&&t.longs===B?B(`0`):0;r.nanos=0}return e.seconds!=null&&k.hasOwnProperty.call(e,`seconds`)&&(r.seconds=B!==void 0&&t.longs===B?typeof e.seconds==`number`?B(e.seconds):O.Long.fromBits(e.seconds.low>>>0,e.seconds.high>>>0,!1).toBigInt():typeof e.seconds==`number`?t.longs===P?P(e.seconds):e.seconds:t.longs===P?O.Long.prototype.toString.call(e.seconds):t.longs===I?new O.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),e.nanos!=null&&k.hasOwnProperty.call(e,`nanos`)&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return e.toObject(this,T.util.toJSONOptions)},e.getTypeUrl=function(e){return e===A&&(e=`type.googleapis.com`),e+`/google.protobuf.Timestamp`},e})(),e})(),e})(),V.RootContainer=(()=>{let e=k.create(null),t=k.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{Ae as A,$ as B,H as C,Me as D,he as E,ye as F,te as G,xe as H,ae as I,n as J,w as K,q as L,_e as M,Y as N,De as O,ve as P,X as R,Te as S,me as T,K as U,Z as V,G as W,pe as _,oe as a,we as b,ne as c,ke as d,ie as f,de as g,fe as h,W as i,je as j,ge as k,le as l,J as m,re as n,se as o,ue as p,o as q,U as r,ce as s,ee as t,Oe as u,Q as v,Ee as w,Ce as x,Se as y,be 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.