diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..2a96bada6dc
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+go/vt/vtadmin/web/build/**/* linguist-generated=true
diff --git a/.github/workflows/vtadmin_web_build.yml b/.github/workflows/vtadmin_web_build.yml
index 78c7e37c42e..b9b870b1a6e 100644
--- a/.github/workflows/vtadmin_web_build.yml
+++ b/.github/workflows/vtadmin_web_build.yml
@@ -6,16 +6,16 @@ on:
push:
paths:
- '.github/workflows/vtadmin_web_build.yml'
+ - 'go/vt/vtadmin/web/**'
+ - 'tools/check_vtadmin_web_embed.sh'
- 'web/vtadmin/**'
pull_request:
paths:
- '.github/workflows/vtadmin_web_build.yml'
+ - 'go/vt/vtadmin/web/**'
+ - 'tools/check_vtadmin_web_embed.sh'
- 'web/vtadmin/**'
-defaults:
- run:
- working-directory: ./web/vtadmin
-
jobs:
build:
runs-on: ubuntu-latest
@@ -27,11 +27,8 @@ jobs:
# node-version should match package.json
node-version: '16.13.0'
- - name: Install dependencies
- run: npm ci
-
- - name: Build front-end
- run: npm run build
+ - name: Build front-end and validate embedded files
+ run: tools/check_vtadmin_web_embed.sh
# Cancel pending and in-progress runs of this workflow if a newer ref is pushed to CI.
concurrency:
diff --git a/.gitignore b/.gitignore
index 82552ca82b8..5c4b24c3620 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@ tags
# C build dirs
**/build
+!go/vt/vtadmin/web/build
# generated protobuf files
/go/vt/.proto.tmp
diff --git a/Makefile b/Makefile
index a5bc241de61..77e06065470 100644
--- a/Makefile
+++ b/Makefile
@@ -439,6 +439,10 @@ web_start: web_bootstrap
vtadmin_web_install:
cd web/vtadmin && npm install
+# Builds the vtadmin-web front-end files that are embedded in the vtadmin binary.
+vtadmin_web_embed: vtadmin_web_install
+ ./tools/vtadmin_web_embed.sh
+
# Generate JavaScript/TypeScript bindings for vtadmin-web from the Vitess .proto files.
# Eventually, we'll want to call this target as part of the standard `make proto` target.
# While vtadmin-web is new and unstable, however, we can keep it out of the critical build path.
diff --git a/examples/local/scripts/vtadmin-down.sh b/examples/local/scripts/vtadmin-down.sh
index 2a7944d9d5a..1f394d5c591 100755
--- a/examples/local/scripts/vtadmin-down.sh
+++ b/examples/local/scripts/vtadmin-down.sh
@@ -2,8 +2,5 @@
source ./env.sh
-echo "Stopping vtadmin-web..."
-kill -9 "$(cat "$VTDATAROOT/tmp/vtadmin-web.pid")"
-
-echo "Stopping vtadmin-api..."
-kill -9 "$(cat "$VTDATAROOT/tmp/vtadmin-api.pid")"
+echo "Stopping vtadmin..."
+kill -9 "$(cat "$VTDATAROOT/tmp/vtadmin.pid")"
diff --git a/examples/local/scripts/vtadmin-up.sh b/examples/local/scripts/vtadmin-up.sh
index 5ee04c9a959..68c66fec11c 100755
--- a/examples/local/scripts/vtadmin-up.sh
+++ b/examples/local/scripts/vtadmin-up.sh
@@ -3,14 +3,11 @@
source ./env.sh
log_dir="${VTDATAROOT}/tmp"
-web_dir="../../web/vtadmin"
vtadmin_api_port=14200
-vtadmin_web_port=14201
vtadmin \
--addr ":${vtadmin_api_port}" \
- --http-origin "http://localhost:${vtadmin_web_port}" \
--http-tablet-url-tmpl "http://{{ .Tablet.Hostname }}:15{{ .Tablet.Alias.Uid }}" \
--tracer "opentracing-jaeger" \
--grpc-tracing \
@@ -20,36 +17,15 @@ vtadmin \
--rbac \
--rbac-config="./vtadmin/rbac.yaml" \
--cluster "id=local,name=local,discovery=staticfile,discovery-staticfile-path=./vtadmin/discovery.json,tablet-fqdn-tmpl={{ .Tablet.Hostname }}:15{{ .Tablet.Alias.Uid }}" \
- > "${log_dir}/vtadmin-api.out" 2>&1 &
+ > "${log_dir}/vtadmin.out" 2>&1 &
-vtadmin_api_pid=$!
-echo ${vtadmin_api_pid} > "${log_dir}/vtadmin-api.pid"
+vtadmin_pid=$!
+echo ${vtadmin_pid} > "${log_dir}/vtadmin.pid"
echo "\
-vtadmin-api is running!
- - API: http://localhost:${vtadmin_api_port}
- - Logs: ${log_dir}/vtadmin-api.out
- - PID: ${vtadmin_api_pid}
-"
-
-# As a TODO, it'd be nice to make the assumption that vtadmin-web is already
-# installed and built (since we assume that `make` has already been run for
-# other Vitess components.)
-npm --prefix $web_dir --silent install
-
-REACT_APP_VTADMIN_API_ADDRESS="http://localhost:${vtadmin_api_port}" \
- REACT_APP_ENABLE_EXPERIMENTAL_TABLET_DEBUG_VARS="true" \
- npm run --prefix $web_dir build
-
-"${web_dir}/node_modules/.bin/serve" --no-clipboard -l $vtadmin_web_port -s "${web_dir}/build" \
- > "${log_dir}/vtadmin-web.out" 2>&1 &
-
-vtadmin_web_pid=$!
-echo ${vtadmin_web_pid} > "${log_dir}/vtadmin-web.pid"
-
-echo "\
-vtadmin-web is running!
- - Browser: http://localhost:${vtadmin_web_port}
- - Logs: ${log_dir}/vtadmin-web.out
- - PID: ${vtadmin_web_pid}
+vtadmin is running!
+ - Web: http://localhost:${vtadmin_api_port}
+ - API: http://localhost:${vtadmin_api_port}/api
+ - Logs: ${log_dir}/vtadmin.out
+ - PID: ${vtadmin_pid}
"
diff --git a/go/cmd/vtadmin/main.go b/go/cmd/vtadmin/main.go
index e77448a090b..b7f87af30cf 100644
--- a/go/cmd/vtadmin/main.go
+++ b/go/cmd/vtadmin/main.go
@@ -169,6 +169,7 @@ func main() {
// HTTP server flags
rootCmd.Flags().BoolVar(&httpOpts.DisableCompression, "http-no-compress", false, "whether to disable compression of HTTP API responses")
rootCmd.Flags().BoolVar(&httpOpts.DisableDebug, "http-no-debug", false, "whether to disable /debug/pprof/* and /debug/env HTTP endpoints")
+ rootCmd.Flags().BoolVar(&httpOpts.DisableWeb, "http-no-web", false, "whether to disable the web interface")
rootCmd.Flags().Var(&debug.OmitEnv, "http-debug-omit-env", "name of an environment variable to omit from /debug/env, if http debug endpoints are enabled. specify multiple times to omit multiple env vars")
rootCmd.Flags().Var(&debug.SanitizeEnv, "http-debug-sanitize-env", "name of an environment variable to sanitize in /debug/env, if http debug endpoints are enabled. specify multiple times to sanitize multiple env vars")
rootCmd.Flags().StringSliceVar(&httpOpts.CORSOrigins, "http-origin", []string{}, "repeated, comma-separated flag of allowed CORS origins. omit to disable CORS")
diff --git a/go/vt/vtadmin/api.go b/go/vt/vtadmin/api.go
index 16ca6a4b474..4c7add344e5 100644
--- a/go/vt/vtadmin/api.go
+++ b/go/vt/vtadmin/api.go
@@ -49,6 +49,7 @@ import (
"vitess.io/vitess/go/vt/vtadmin/rbac"
"vitess.io/vitess/go/vt/vtadmin/sort"
"vitess.io/vitess/go/vt/vtadmin/vtadminproto"
+ "vitess.io/vitess/go/vt/vtadmin/web"
"vitess.io/vitess/go/vt/vterrors"
"vitess.io/vitess/go/vt/vtexplain"
@@ -182,6 +183,11 @@ func NewAPI(clusters []*cluster.Cluster, opts Options) *API {
debugRouter.HandleFunc("/clusters", debug.Clusters(dapi))
}
+ if !opts.HTTPOpts.DisableWeb {
+ // Catch-all route for vtadmin-web
+ serv.Router().PathPrefix("/").Handler(web.Handler())
+ }
+
// Middlewares are executed in order of addition. Our ordering (all
// middlewares being optional) is:
// 1. CORS. CORS is a special case and is applied globally, the rest are applied only to the subrouter.
diff --git a/go/vt/vtadmin/http/api.go b/go/vt/vtadmin/http/api.go
index 9c3f53481a8..94fe5ea5aa1 100644
--- a/go/vt/vtadmin/http/api.go
+++ b/go/vt/vtadmin/http/api.go
@@ -40,7 +40,13 @@ type Options struct {
DisableCompression bool
// DisableDebug specifies whether to omit the /debug/pprof/* and /debug/env
// routes.
- DisableDebug bool
+ DisableDebug bool
+
+ // DisableWeb specifies whether to disable the web interface.
+ // This should be true when running VTAdmin as a standalone HTTP/gRPC API,
+ // as when running vtadmin-web and vtadmin-api as separate components.
+ DisableWeb bool
+
ExperimentalOptions struct {
TabletURLTmpl string
}
diff --git a/go/vt/vtadmin/web/build/200.html b/go/vt/vtadmin/web/build/200.html
new file mode 100644
index 00000000000..bebfb98e2d4
--- /dev/null
+++ b/go/vt/vtadmin/web/build/200.html
@@ -0,0 +1 @@
+
VTAdmin You need to enable JavaScript to run this app.
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/404.html b/go/vt/vtadmin/web/build/404.html
new file mode 100644
index 00000000000..1449ff9acae
--- /dev/null
+++ b/go/vt/vtadmin/web/build/404.html
@@ -0,0 +1 @@
+VTAdmin You need to enable JavaScript to run this app.
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/asset-manifest.json b/go/vt/vtadmin/web/build/asset-manifest.json
new file mode 100644
index 00000000000..0128f6c5fba
--- /dev/null
+++ b/go/vt/vtadmin/web/build/asset-manifest.json
@@ -0,0 +1,30 @@
+{
+ "files": {
+ "main.css": "/static/css/main.7469429c.css",
+ "main.js": "/static/js/main.c259521f.js",
+ "static/media/NotoSans-Bold.ttf": "/static/media/NotoSans-Bold.82b1a58ddf26951345dc.ttf",
+ "static/media/NotoSans-SemiBold.ttf": "/static/media/NotoSans-SemiBold.a75c33f62863bf1248a7.ttf",
+ "static/media/NotoSans-Regular.ttf": "/static/media/NotoSans-Regular.e962f548522aa99bb8f9.ttf",
+ "static/media/NotoMono-Regular.ttf": "/static/media/NotoMono-Regular.be3ba1bdffd4edc1f942.ttf",
+ "static/media/bug.svg": "/static/media/bug.d6e8f1f537cd6503352c1f1c6a3e4ddb.svg",
+ "index.html": "/index.html",
+ "static/media/open.svg": "/static/media/open.54a31e2b3c48681fd6436d711e51766c.svg",
+ "static/media/runQuery.svg": "/static/media/runQuery.be70900c1a58ba617ae6b3ae25a3efa0.svg",
+ "static/media/question.svg": "/static/media/question.2c3e7c5fd69873b08b8f54706273ff54.svg",
+ "static/media/search.svg": "/static/media/search.d648292474d4c7312243e8c8e46a7b4d.svg",
+ "static/media/checkSuccess.svg": "/static/media/checkSuccess.9381dbfda2cbb95cd1bee152dfc8cb93.svg",
+ "static/media/alertFail.svg": "/static/media/alertFail.44d2e3a5697952165f2d0ebd8cbdc9fc.svg",
+ "static/media/circleAdd.svg": "/static/media/circleAdd.09f687ada857ac2501113aeb25cad49d.svg",
+ "static/media/info.svg": "/static/media/info.a83a4fd289498ab48ee0d5b62b6461d1.svg",
+ "static/media/delete.svg": "/static/media/delete.588cb9a946f1e2861d082796506ecf96.svg",
+ "static/media/download.svg": "/static/media/download.a69ca68b55ab4becbd2566fbf03848c6.svg",
+ "static/media/chevronDown.svg": "/static/media/chevronDown.c2faa962fb09b981cf368eef6c849f2d.svg",
+ "static/media/chevronUp.svg": "/static/media/chevronUp.e018398dbb2f1fcaac8995eba179c42e.svg",
+ "main.7469429c.css.map": "/static/css/main.7469429c.css.map",
+ "main.c259521f.js.map": "/static/js/main.c259521f.js.map"
+ },
+ "entrypoints": [
+ "static/css/main.7469429c.css",
+ "static/js/main.c259521f.js"
+ ]
+}
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/backups/index.html b/go/vt/vtadmin/web/build/backups/index.html
new file mode 100644
index 00000000000..ac3ba0f57d4
--- /dev/null
+++ b/go/vt/vtadmin/web/build/backups/index.html
@@ -0,0 +1 @@
+Backups | VTAdmin You need to enable JavaScript to run this app. Started at Directory Backup Tablet Status
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/clusters/index.html b/go/vt/vtadmin/web/build/clusters/index.html
new file mode 100644
index 00000000000..17497e388d9
--- /dev/null
+++ b/go/vt/vtadmin/web/build/clusters/index.html
@@ -0,0 +1 @@
+Clusters | VTAdmin You need to enable JavaScript to run this app.
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/favicon.ico b/go/vt/vtadmin/web/build/favicon.ico
new file mode 100644
index 00000000000..ecd6c9efcc3
Binary files /dev/null and b/go/vt/vtadmin/web/build/favicon.ico differ
diff --git a/go/vt/vtadmin/web/build/gates/index.html b/go/vt/vtadmin/web/build/gates/index.html
new file mode 100644
index 00000000000..e3d663907f8
--- /dev/null
+++ b/go/vt/vtadmin/web/build/gates/index.html
@@ -0,0 +1 @@
+Gates | VTAdmin You need to enable JavaScript to run this app. Pool Hostname Cell Keyspaces
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/index.html b/go/vt/vtadmin/web/build/index.html
new file mode 100644
index 00000000000..9830f4683ff
--- /dev/null
+++ b/go/vt/vtadmin/web/build/index.html
@@ -0,0 +1 @@
+Tablets | VTAdmin You need to enable JavaScript to run this app. Keyspace Shard Alias Type Tablet State Hostname Actions
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/keyspaces/index.html b/go/vt/vtadmin/web/build/keyspaces/index.html
new file mode 100644
index 00000000000..5590311ee79
--- /dev/null
+++ b/go/vt/vtadmin/web/build/keyspaces/index.html
@@ -0,0 +1 @@
+Keyspaces | VTAdmin You need to enable JavaScript to run this app.
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/manifest.json b/go/vt/vtadmin/web/build/manifest.json
new file mode 100644
index 00000000000..dac0595e208
--- /dev/null
+++ b/go/vt/vtadmin/web/build/manifest.json
@@ -0,0 +1,15 @@
+{
+ "short_name": "VTAdmin",
+ "name": "VTAdmin",
+ "icons": [
+ {
+ "src": "favicon.ico",
+ "sizes": "64x64 32x32 24x24 16x16",
+ "type": "image/x-icon"
+ }
+ ],
+ "start_url": ".",
+ "display": "standalone",
+ "theme_color": "#000000",
+ "background_color": "#ffffff"
+}
diff --git a/go/vt/vtadmin/web/build/robots.txt b/go/vt/vtadmin/web/build/robots.txt
new file mode 100644
index 00000000000..e9e57dc4d41
--- /dev/null
+++ b/go/vt/vtadmin/web/build/robots.txt
@@ -0,0 +1,3 @@
+# https://www.robotstxt.org/robotstxt.html
+User-agent: *
+Disallow:
diff --git a/go/vt/vtadmin/web/build/schemas/index.html b/go/vt/vtadmin/web/build/schemas/index.html
new file mode 100644
index 00000000000..82527239863
--- /dev/null
+++ b/go/vt/vtadmin/web/build/schemas/index.html
@@ -0,0 +1 @@
+Schemas | VTAdmin You need to enable JavaScript to run this app.
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/static/css/main.7469429c.css b/go/vt/vtadmin/web/build/static/css/main.7469429c.css
new file mode 100644
index 00000000000..ddf37930d3f
--- /dev/null
+++ b/go/vt/vtadmin/web/build/static/css/main.7469429c.css
@@ -0,0 +1,5 @@
+@font-face{font-display:swap;font-family:NotoSans;src:local("NotoSans-Regular"),url(/static/media/NotoSans-Regular.e962f548522aa99bb8f9.ttf) format("truetype")}@font-face{font-display:swap;font-family:NotoSans;font-weight:500;src:local("NotoSans-SemiBold"),url(/static/media/NotoSans-SemiBold.a75c33f62863bf1248a7.ttf) format("truetype")}@font-face{font-display:swap;font-family:NotoSans;font-weight:700;src:local("NotoSans-Bold"),url(/static/media/NotoSans-Bold.82b1a58ddf26951345dc.ttf) format("truetype")}@font-face{font-display:swap;font-family:NotoMono;src:local("NotoMono-Regular"),url(/static/media/NotoMono-Regular.be3ba1bdffd4edc1f942.ttf) format("truetype")}
+
+/*! tailwindcss v3.0.18 | MIT License | https://tailwindcss.com
+ */*,:after,:before{border:0 solid #edf2f7;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;tab-size:4}body{line-height:inherit}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#cbd5e0;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#cbd5e0;opacity:1}input::placeholder,textarea::placeholder{color:#cbd5e0;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.btn,.btn:visited{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:rgb(61 90 254/var(--tw-bg-opacity));border-color:rgb(61 90 254/var(--tw-border-opacity));border-radius:.5rem;border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity));cursor:pointer;display:inline-block;font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-weight:600;line-height:1.625;outline:2px solid transparent;outline-offset:2px;padding:.5rem 1.5rem;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:-webkit-min-content;width:min-content}.btn:focus,.btn:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(129 135 255/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.btn,.btn:visited{-webkit-appearance:button;appearance:button;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.btn:disabled{background:#cbd5e0;background:var(--colorDisabled);border-color:#cbd5e0;border-color:var(--colorDisabled);cursor:not-allowed}.btn-lg{font-size:1.6rem;line-height:2;padding-left:2rem;padding-right:2rem}.btn-sm{border-width:1px;font-size:1.2rem;line-height:1.375;padding:.25rem 1rem}.btn svg{fill:currentColor;display:inline-block;height:2rem;margin-left:-.5rem;margin-right:.25rem;vertical-align:middle}.btn-lg svg{height:2.5rem;margin-left:-.5rem;margin-right:.5rem}.btn-sm svg{height:1.5rem;margin-left:-.75rem;margin-right:0}.btn-secondary,.btn-secondary:visited{background-color:transparent!important}.btn-secondary,.btn-secondary:disabled,.btn-secondary:visited{--tw-text-opacity:1;color:rgb(61 90 254/var(--tw-text-opacity))}.btn-secondary:disabled{color:#cbd5e0;color:var(--colorDisabled)}.btn-danger:focus,.btn-danger:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(255 102 89/var(--tw-ring-opacity))}.btn-danger,.btn-danger:visited{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(211 47 47/var(--tw-bg-opacity));border-color:rgb(211 47 47/var(--tw-border-opacity))}.btn-danger.btn-secondary:enabled,.btn-danger.btn-secondary:visited{--tw-text-opacity:1;color:rgb(211 47 47/var(--tw-text-opacity))}.btn-success:focus,.btn-success:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(76 186 106/var(--tw-ring-opacity))}.btn-success,.btn-success:visited{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(0 137 62/var(--tw-bg-opacity));border-color:rgb(0 137 62/var(--tw-border-opacity))}.btn-success.btn-secondary:enabled,.btn-success.btn-secondary:visited{--tw-text-opacity:1;color:rgb(0 137 62/var(--tw-text-opacity))}.btn-warning:focus,.btn-warning:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(255 221 113/var(--tw-ring-opacity))}.btn-warning,.btn-warning:visited{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(255 171 64/var(--tw-bg-opacity));border-color:rgb(255 171 64/var(--tw-border-opacity))}.btn-warning.btn-secondary:enabled,.btn-warning.btn-secondary:visited{--tw-text-opacity:1;color:rgb(255 171 64/var(--tw-text-opacity))}.toggle{border-color:transparent;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:19px;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:37px}.toggle:focus{outline:2px solid transparent;outline-offset:2px}.toggle.on{--tw-bg-opacity:1;background-color:rgb(61 90 254/var(--tw-bg-opacity))}.toggle.off{--tw-bg-opacity:1;background-color:rgb(203 213 224/var(--tw-bg-opacity))}.toggle-button{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:inline-block;height:15px;pointer-events:none;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:15px}.toggle-button,.toggle-button.on{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toggle-button.on{--tw-translate-x:1.75rem}.toggle-button.off{--tw-translate-x:0px;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.right-10{right:2.5rem}.bottom-6{bottom:1.5rem}.left-0{left:0}.right-0{right:0}.z-20{z-index:20}.z-10{z-index:10}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.my-12{margin-bottom:3rem;margin-top:3rem}.my-4{margin-bottom:1rem;margin-top:1rem}.my-8{margin-bottom:2rem;margin-top:2rem}.my-16{margin-bottom:4rem;margin-top:4rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.ml-4{margin-left:1rem}.mr-4{margin-right:1rem}.ml-8{margin-left:2rem}.mb-2{margin-bottom:.5rem}.mt-2{margin-top:.5rem}.mb-24{margin-bottom:6rem}.mt-8{margin-top:2rem}.mt-12{margin-top:3rem}.mb-8{margin-bottom:2rem}.mr-2{margin-right:.5rem}.mt-3{margin-top:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.mt-4{margin-top:1rem}.mt-0{margin-top:0}.mb-16{margin-bottom:4rem}.mt-6{margin-top:1.5rem}.mt-24{margin-top:6rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.\!table{display:table!important}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-\[40px\]{height:40px}.h-8{height:2rem}.h-6{height:1.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-40{height:10rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-8{width:2rem}.w-6{width:1.5rem}.w-full{width:100%}.w-12{width:3rem}.w-max{width:-webkit-max-content;width:max-content}.w-40{width:10rem}.w-min{width:-webkit-min-content;width:min-content}.w-1\/3{width:33.333333%}.max-w-screen-xl{max-width:1280px}.max-w-screen-sm{max-width:640px}.max-w-screen-md{max-width:768px}.max-w-prose{max-width:65ch}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.origin-top-right{-webkit-transform-origin:top right;transform-origin:top right}.translate-y-4{--tw-translate-y:1rem}.translate-y-0,.translate-y-4{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-75,.scale-95{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes ping{75%,to{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}@keyframes ping{75%,to{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}.animate-ping{-webkit-animation:ping 1s cubic-bezier(0,0,.2,1) infinite;animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(243 243 243/var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-vtblue{--tw-border-opacity:1;border-color:rgb(61 90 254/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(203 213 224/var(--tw-border-opacity))}.border-danger{--tw-border-opacity:1;border-color:rgb(211 47 47/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.fill-current{fill:currentColor}.fill-\[\#284e64\]{fill:#284e64}.fill-\[\#f16827\]{fill:#f16827}.fill-\[\#f48029\]{fill:#f48029}.fill-\[\#f89a2e\]{fill:#f89a2e}.fill-\[\#cd4e27\]{fill:#cd4e27}.p-4{padding:1rem}.p-8{padding:2rem}.p-1{padding:.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-bottom:1rem}.pt-4,.py-4{padding-top:1rem}.pb-20{padding-bottom:5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-bottom{vertical-align:bottom}.font-mono{font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace}.font-sans{font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.text-sm{font-size:1.2rem}.text-xl{font-size:2rem}.text-\[6rem\]{font-size:6rem}.text-base{font-size:1.4rem}.text-lg{font-size:1.6rem}.text-2xl{font-size:2.8rem}.text-3xl{font-size:3.6rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-8{line-height:2rem}.leading-6{line-height:1.5rem}.text-gray-900{--tw-text-opacity:1;color:rgb(30 37 49/var(--tw-text-opacity))}.text-secondary{--tw-text-opacity:1;color:rgb(113 128 150/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(23 23 27/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-danger{--tw-text-opacity:1;color:rgb(211 47 47/var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-sm{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity:0.05}.invert{--tw-invert:invert(100%)}.filter,.invert{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-100{transition-delay:.1s}.duration-300{transition-duration:.3s}.duration-200{transition-duration:.2s}.duration-100{transition-duration:.1s}.duration-75{transition-duration:75ms}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}:root{--grey75:#f8fafd;--grey200:#edf2f7;--grey400:#cbd5e0;--grey600:#718096;--grey800:#2d3748;--grey900:#1e2531;--colorSuccess:#00893e;--colorSuccess50:#4cba6a;--colorSuccess200:#005a13;--colorInfo:#ffab40;--colorInfo50:#ffdd71;--colorInfo200:#c77c02;--colorError:#d32f2f;--colorError50:#ff6659;--colorError200:#9a0007;--fontFamilyPrimary:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;--fontFamilyMonospace:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;--lineHeightBody:1.36;--lineHeightHeading:1.36;--inputHeightSmall:2.4rem;--inputHeightMedium:3.7rem;--inputHeightLarge:4.6rem;--tableCellPadding:1.6rem;--backgroundPrimary:#fff;--backgroundPrimaryHighlight:rgba(61,90,254,.1);--backgroundSecondary:var(--grey75);--backgroundSecondaryHighlight:var(--grey200);--boxShadowHover:0 3px 3px #cbd5e0;--colorDisabled:var(--grey400);--colorPrimary:#3d5afe;--colorPrimary50:#8187ff;--colorPrimary200:#0031ca;--colorScaffoldingHighlight:var(--grey400);--colorScaffoldingForeground:var(--grey600);--tableBorderColor:var(--grey400);--textColorPrimary:#17171b;--textColorInverted:#fff;--textColorSecondary:#718096;--textColorDisabled:#cbd5e0;--tooltipBackground:rgba(0,0,0,.85);--zIndexDefault:0;--zIndexLow:10;--zIndexMid:100;--zIndexHigh:1000}[data-vtadmin-theme=dark]{--backgroundPrimary:#17171b;--backgroundPrimaryHighlight:rgba(129,135,255,.2);--backgroundSecondary:var(--grey900);--backgroundSecondaryHighlight:var(--grey800);--boxShadowHover:0 3px 3px #2d3748;--colorDisabled:var(--grey600);--colorPrimary:#8187ff;--colorPrimary50:#b6b7ff;--colorPrimary200:#4a5acb;--colorScaffoldingHighlight:var(--grey600);--colorScaffoldingForeground:var(--grey400);--tableBorderColor:var(--grey800);--textColorPrimary:#fff;--textColorInverted:#17171b;--textColorSecondary:#cbd5e0;--textColorDisabled:#2d3748;--tooltipBackground:hsla(0,0%,100%,.85)}*{box-sizing:border-box}html{font-size:62.5%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff;background:var(--backgroundPrimary);color:#17171b;color:var(--textColorPrimary);font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-family:var(--fontFamilyPrimary);font-size:1.4rem;line-height:1.36;line-height:var(--lineHeightBody);margin:0}h1{font-size:3.6rem}h1,h2{color:#17171b;color:var(--textColorPrimary);font-weight:700;line-height:1.36;line-height:var(--lineHeightHeading)}h2{font-size:2.8rem}h3{color:#17171b;color:var(--textColorPrimary);font-size:2rem;font-weight:700;line-height:1.36;line-height:var(--lineHeightHeading)}code{display:inline-block;font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;font-family:var(--fontFamilyMonospace);margin:0 2px}p{margin:1.2rem 0}a,a:active,a:focus,a:visited{color:#3d5afe;color:var(--colorPrimary);cursor:pointer;text-decoration:none}table{border-collapse:collapse;margin:1.6rem 0;margin:var(--tableCellPadding) 0;width:100%}table caption{color:#17171b;color:var(--textColorPrimary);padding:1.2rem 1.6rem .8rem;padding:1.2rem var(--tableCellPadding) .8rem var(--tableCellPadding)}table caption,table th{background:#f8fafd;background:var(--backgroundSecondary);font-size:1.4rem;font-weight:500;text-align:left}table th{border:1px solid #f8fafd;border-bottom-color:#cbd5e0;border:1px solid var(--backgroundSecondary);border-bottom-color:var(--tableBorderColor);color:#718096;color:var(--textColorSecondary);padding:8px 1.6rem;padding:8px var(--tableCellPadding)}table tbody tr{border-bottom:1px solid #cbd5e0;border-bottom:1px solid var(--tableBorderColor);border-top:1px solid #cbd5e0;border-top:1px solid var(--tableBorderColor)}table tbody td{padding:1.6rem;padding:var(--tableCellPadding);vertical-align:top}table tbody td[rowSpan]{border-right:1px solid #cbd5e0;border-right:1px solid var(--tableBorderColor)}.Toastify__toast{background:none!important;min-height:auto!important;padding:0!important}.Toastify__toast-body{margin:0!important;padding:0!important}.Toastify__toast-theme--dark,.Toastify__toast-theme--light{background:none!important}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity))}.focus\:z-10:focus{z-index:10}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus\:ring-offset-gray-100:focus{--tw-ring-offset-color:#f3f3f3}@media (min-width:640px){.sm\:my-8{margin-bottom:2rem;margin-top:2rem}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:h-screen{height:100vh}.sm\:h-10{height:2.5rem}.sm\:w-full{width:100%}.sm\:w-10{width:2.5rem}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y:0px}.sm\:scale-95,.sm\:translate-y-0{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.sm\:scale-100{--tw-scale-x:1;--tw-scale-y:1;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:p-0{padding:0}.sm\:py-8{padding-bottom:2rem;padding-top:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}}@media (min-width:768px){.md\:-left-3full{left:-300%}}.highcharts-container{-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:Lucida Grande,Lucida Sans Unicode,Arial,Helvetica,sans-serif;font-size:12px;height:100%;line-height:normal;outline:none;overflow:hidden;position:relative;text-align:left;touch-action:manipulation;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:0}.highcharts-root{display:block}.highcharts-root text{stroke-width:0}.highcharts-strong{font-weight:700}.highcharts-emphasized{font-style:italic}.highcharts-anchor{cursor:pointer}.highcharts-background{fill:#fff}.highcharts-label-box,.highcharts-plot-background,.highcharts-plot-border{fill:none}.highcharts-button-box{fill:inherit}.highcharts-tracker-line{stroke-linejoin:round;stroke:hsla(0,0%,75%,0);stroke-width:22;fill:none}.highcharts-tracker-area{fill:hsla(0,0%,75%,0);stroke-width:0}.highcharts-title{fill:#333;font-size:1.5em}.highcharts-subtitle{fill:#666;font-size:1em}.highcharts-axis-line{fill:none;stroke:#ccd6eb}.highcharts-yaxis .highcharts-axis-line{stroke-width:0}.highcharts-axis-title{fill:#666}.highcharts-axis-labels{fill:#666;cursor:default;font-size:.9em}.highcharts-grid-line{fill:none;stroke:#e6e6e6}.highcharts-xaxis-grid .highcharts-grid-line{stroke-width:0px}.highcharts-tick{stroke:#ccd6eb}.highcharts-yaxis .highcharts-tick{stroke-width:0}.highcharts-minor-grid-line{stroke:#f2f2f2}.highcharts-crosshair-thin{stroke-width:1px;stroke:#ccc}.highcharts-crosshair-category{stroke:#ccd6eb;stroke-opacity:.25}.highcharts-credits{fill:#999;cursor:pointer;font-size:.7em;transition:fill .25s,font-size .25s}.highcharts-credits:hover{fill:#000;font-size:1em}.highcharts-tooltip{cursor:default;pointer-events:none;transition:stroke .15s;white-space:nowrap}.highcharts-tooltip text{fill:#333}.highcharts-tooltip .highcharts-header{font-size:.85em}.highcharts-tooltip-box{stroke-width:1px}.highcharts-tooltip-box,.highcharts-tooltip-box .highcharts-label-box{fill:#f7f7f7;fill-opacity:.85}div.highcharts-tooltip{-webkit-filter:none;filter:none}.highcharts-selection-marker{fill:#335cad;fill-opacity:.25}.highcharts-graph{fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.highcharts-empty-series{stroke-width:1px;fill:none;stroke:#ccc}.highcharts-state-hover .highcharts-graph{stroke-width:3}.highcharts-point-inactive,.highcharts-series-inactive{opacity:.2;transition:opacity 50ms}.highcharts-state-hover path{transition:stroke-width 50ms}.highcharts-state-normal path{transition:stroke-width .25s}.highcharts-data-labels,.highcharts-markers,.highcharts-point,g.highcharts-series{transition:opacity .25s}.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover),.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover){opacity:.2}.highcharts-color-0{fill:#8187ff;stroke:#8187ff}.highcharts-color-1{fill:#b17ff5;stroke:#b17ff5}.highcharts-color-2{fill:#d676e5;stroke:#d676e5}.highcharts-color-3{fill:#f26fd1;stroke:#f26fd1}.highcharts-color-4{fill:#ff6bbb;stroke:#ff6bbb}.highcharts-color-5{fill:#ff6ca3;stroke:#ff6ca3}.highcharts-color-6{fill:#ff738c;stroke:#ff738c}.highcharts-color-7{fill:#ff7e75;stroke:#ff7e75}.highcharts-color-8{fill:#ff8c60;stroke:#ff8c60}.highcharts-color-9{fill:#ff9b4e;stroke:#ff9b4e}.highcharts-color-10{fill:#ffab40;stroke:#ffab40}.highcharts-area{fill-opacity:.75;stroke-width:0}.highcharts-markers{stroke-width:1px;stroke:#fff}.highcharts-a11y-marker-hidden,.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible){opacity:0}.highcharts-point{stroke-width:1px}.highcharts-dense-data .highcharts-point{stroke-width:0}.highcharts-data-label{font-size:.9em;font-weight:700}.highcharts-data-label-box{fill:none;stroke-width:0}.highcharts-data-label text,text.highcharts-data-label{fill:#333}.highcharts-data-label-connector{fill:none}.highcharts-data-label-hidden{pointer-events:none}.highcharts-halo{fill-opacity:.25;stroke-width:0}.highcharts-markers .highcharts-point-select,.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select{fill:#ccc;stroke:#000}.highcharts-column-series rect.highcharts-point{stroke:#fff}.highcharts-column-series .highcharts-point{transition:fill-opacity .25s}.highcharts-column-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-pie-series .highcharts-point{stroke-linejoin:round;stroke:#fff}.highcharts-pie-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-funnel-series .highcharts-point{stroke-linejoin:round;stroke:#fff}.highcharts-funnel-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-funnel-series .highcharts-point-select{fill:inherit;stroke:inherit}.highcharts-pyramid-series .highcharts-point{stroke-linejoin:round;stroke:#fff}.highcharts-pyramid-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-pyramid-series .highcharts-point-select{fill:inherit;stroke:inherit}.highcharts-solidgauge-series .highcharts-point{stroke-width:0}.highcharts-treemap-series .highcharts-point{stroke-width:1px;stroke:#e6e6e6;transition:stroke .25s,fill .25s,fill-opacity .25s}.highcharts-treemap-series .highcharts-point-hover{stroke:#999;transition:stroke 25ms,fill 25ms,fill-opacity 25ms}.highcharts-treemap-series .highcharts-above-level{display:none}.highcharts-treemap-series .highcharts-internal-node{fill:none}.highcharts-treemap-series .highcharts-internal-node-interactive{fill-opacity:.15;cursor:pointer}.highcharts-treemap-series .highcharts-internal-node-interactive:hover{fill-opacity:.75}.highcharts-vector-series .highcharts-point,.highcharts-windbarb-series .highcharts-point{fill:none;stroke-width:2px}.highcharts-lollipop-stem{stroke:#000}.highcharts-focus-border{fill:none;stroke-width:2px}.highcharts-legend-item-hidden .highcharts-focus-border{fill:none!important}.highcharts-legend-box{fill:none;stroke-width:0}.highcharts-legend-item>text{fill:#333;stroke-width:0;cursor:pointer;font-size:1em;font-weight:700}.highcharts-legend-item:hover text{fill:#000}.highcharts-legend-item-hidden *{fill:#ccc!important;stroke:#ccc!important;transition:fill .25s}.highcharts-legend-nav-active{fill:#039;cursor:pointer}.highcharts-legend-nav-inactive{fill:#ccc}circle.highcharts-legend-nav-active,circle.highcharts-legend-nav-inactive{fill:hsla(0,0%,75%,0)}.highcharts-legend-title-box{fill:none;stroke-width:0}.highcharts-bubble-legend-symbol{stroke-width:2;fill-opacity:.5}.highcharts-bubble-legend-connectors{stroke-width:1}.highcharts-bubble-legend-labels{fill:#333}.highcharts-loading{background-color:#fff;opacity:.5;position:absolute;text-align:center;transition:opacity .25s;z-index:10}.highcharts-loading-hidden{height:0!important;opacity:0;overflow:hidden;transition:opacity .25s,height .25s step-end}.highcharts-loading-inner{font-weight:700;position:relative;top:45%}.highcharts-pane,.highcharts-plot-band{fill:#000;fill-opacity:.05}.highcharts-plot-line{fill:none;stroke:#999;stroke-width:1px}.highcharts-boxplot-box{fill:#fff}.highcharts-boxplot-median{stroke-width:2px}.highcharts-bubble-series .highcharts-point{fill-opacity:.5}.highcharts-errorbar-series .highcharts-point{stroke:#000}.highcharts-gauge-series .highcharts-data-label-box{stroke:#ccc;stroke-width:1px}.highcharts-gauge-series .highcharts-dial{fill:#000;stroke-width:0}.highcharts-polygon-series .highcharts-graph{fill:inherit;stroke-width:0}.highcharts-waterfall-series .highcharts-graph{stroke:#333;stroke-dasharray:1,3}.highcharts-sankey-series .highcharts-point{stroke-width:0}.highcharts-sankey-series .highcharts-link{fill-opacity:.5;transition:fill .25s,fill-opacity .25s}.highcharts-sankey-series .highcharts-point-hover.highcharts-link{fill-opacity:1;transition:fill 50ms,fill-opacity 50ms}.highcharts-venn-series .highcharts-point{fill-opacity:.75;stroke:#ccc;transition:stroke .25s,fill-opacity .25s}.highcharts-venn-series .highcharts-point-hover{fill-opacity:1;stroke:#ccc}.highcharts-navigator-mask-outside{fill-opacity:0}.highcharts-navigator-mask-inside{fill:#6685c2;fill-opacity:.25;cursor:ew-resize}.highcharts-navigator-outline{stroke:#ccc;fill:none}.highcharts-navigator-handle{stroke:#ccc;fill:#f2f2f2;cursor:ew-resize}.highcharts-navigator-series{fill:#335cad;stroke:#335cad}.highcharts-navigator-series .highcharts-graph{stroke-width:1px}.highcharts-navigator-series .highcharts-area{fill-opacity:.05}.highcharts-navigator-xaxis .highcharts-axis-line{stroke-width:0}.highcharts-navigator-xaxis .highcharts-grid-line{stroke-width:1px;stroke:#e6e6e6}.highcharts-navigator-xaxis.highcharts-axis-labels{fill:#999}.highcharts-navigator-yaxis .highcharts-grid-line{stroke-width:0}.highcharts-scrollbar-thumb{fill:#ccc;stroke:#ccc;stroke-width:1px}.highcharts-scrollbar-button{fill:#e6e6e6;stroke:#ccc;stroke-width:1px}.highcharts-scrollbar-arrow{fill:#666}.highcharts-scrollbar-rifles{stroke:#666;stroke-width:1px}.highcharts-scrollbar-track{fill:#f2f2f2;stroke:#f2f2f2;stroke-width:1px}.highcharts-button{fill:#f7f7f7;stroke:#ccc;stroke-width:1px;cursor:default;transition:fill .25s}.highcharts-button text{fill:#333}.highcharts-button-hover{fill:#e6e6e6;stroke:#ccc;transition:fill 0ms}.highcharts-button-hover text{fill:#333}.highcharts-button-pressed{fill:#e6ebf5;stroke:#ccc;font-weight:700}.highcharts-button-pressed text{fill:#333;font-weight:700}.highcharts-button-disabled text{fill:#333}.highcharts-range-selector-buttons .highcharts-button{stroke-width:0px}.highcharts-range-label rect{fill:none}.highcharts-range-label text{fill:#666}.highcharts-range-input rect{fill:none}.highcharts-range-input text{fill:#333}.highcharts-range-input{stroke-width:1px;stroke:#ccc}input.highcharts-range-selector{border:0;height:1px;left:-9em;padding:0;position:absolute;text-align:center;width:1px}.highcharts-crosshair-label text{fill:#fff;font-size:1.1em}.highcharts-crosshair-label .highcharts-label-box{fill:inherit}.highcharts-candlestick-series .highcharts-point{stroke:#000;stroke-width:1px}.highcharts-candlestick-series .highcharts-point-up{fill:#fff}.highcharts-hollowcandlestick-series .highcharts-point-down{fill:#f21313;stroke:#f21313}.highcharts-hollowcandlestick-series .highcharts-point-down-bearish-up{fill:#06b535;stroke:#06b535}.highcharts-hollowcandlestick-series .highcharts-point-up{fill:transparent;stroke:#06b535}.highcharts-ohlc-series .highcharts-point-hover{stroke-width:3px}.highcharts-flags-series .highcharts-point .highcharts-label-box{stroke:#999;fill:#fff;transition:fill .25s}.highcharts-flags-series .highcharts-point-hover .highcharts-label-box{stroke:#000;fill:#ccd6eb}.highcharts-flags-series .highcharts-point text{fill:#000;font-size:.9em;font-weight:700}.highcharts-map-series .highcharts-point{stroke:#ccc;transition:fill .5s,fill-opacity .5s,stroke-width .25s}.highcharts-map-series .highcharts-point-hover{fill-opacity:.5;stroke-width:2px;transition:fill 0ms,fill-opacity 0ms}.highcharts-mapline-series .highcharts-point{fill:none}.highcharts-heatmap-series .highcharts-point{stroke-width:0}.highcharts-map-navigation{font-size:1.3em;font-weight:700;text-align:center}.highcharts-coloraxis{stroke-width:0}.highcharts-coloraxis-marker{fill:#999}.highcharts-null-point{fill:#f7f7f7}.highcharts-3d-frame{fill:transparent}.highcharts-contextbutton{fill:#fff;stroke:none;stroke-linecap:round}.highcharts-contextbutton:hover{fill:#e6e6e6;stroke:#e6e6e6}.highcharts-button-symbol{stroke:#666;stroke-width:3px}.highcharts-menu{background:#fff;border:1px solid #999;box-shadow:3px 3px 10px #888;padding:5px 0}.highcharts-menu-item{background:none;color:#333;cursor:pointer;padding:.5em 1em;transition:background .25s,color .25s}.highcharts-menu-item:hover{background:#335cad;color:#fff}.highcharts-drilldown-point{cursor:pointer}.highcharts-drilldown-axis-label,.highcharts-drilldown-data-label text,text.highcharts-drilldown-data-label{fill:#039;cursor:pointer;font-weight:700;text-decoration:underline}.highcharts-no-data text{fill:#666;font-size:12px;font-weight:700}.highcharts-axis-resizer{stroke:#000;stroke-width:2px;cursor:ns-resize}.highcharts-bullet-target{stroke-width:0}.highcharts-lineargauge-target,.highcharts-lineargauge-target-line{stroke-width:1px;stroke:#333}.highcharts-annotation-label-box{stroke-width:1px;stroke:#000;fill:#000;fill-opacity:.75}.highcharts-annotation-label text{fill:#e6e6e6}.highcharts-a11y-proxy-button{background-color:transparent;border-width:0;cursor:pointer;display:block;margin:0;opacity:.001;outline:none;overflow:hidden;padding:0;position:absolute;z-index:999}.highcharts-a11y-proxy-group li{list-style:none}.highcharts-visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;margin-top:-3px;opacity:.01;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.highcharts-a11y-invisible{visibility:hidden}.highcharts-a11y-proxy-container,.highcharts-a11y-proxy-container-after,.highcharts-a11y-proxy-container-before{position:absolute;white-space:nowrap}.highcharts-markers,.highcharts-point,g.highcharts-series{outline:none}.highcharts-treegrid-node-collapsed,.highcharts-treegrid-node-expanded{cursor:pointer}.highcharts-point-connecting-path{fill:none}.highcharts-grid-axis .highcharts-axis-line,.highcharts-grid-axis .highcharts-tick{stroke-width:1px}.highcharts-axis-labels,.highcharts-axis-title{fill:var(--textColorSecondary)}.highcharts-background{fill:none}.highcharts-grid-line{stroke:var(--backgroundPrimaryHighlight)}.highcharts-legend-item text{fill:var(--textColorPrimary)}.highcharts-line-series .highcharts-graph{stroke-width:1px;transition:stroke-width .2s}.highcharts-loading-inner{color:var(--textColorSecondary);font-family:var(--fontFamilyPrimary);font-size:1.6rem;font-weight:500}.highcharts-series-hover .highcharts-graph{transition:stroke-width 50ms ease-in-out}.highcharts-line-series.highcharts-series-hover .highcharts-graph{stroke-width:2px}.highcharts-root{font-family:var(--fontFamilyMonospace)}.highcharts-title{font-family:var(--fontFamilyPrimary);font-weight:700}.highcharts-tooltip{stroke:none}.highcharts-tooltip text{fill:#fff}.highcharts-tooltip-box{fill:rgba(0,0,0,.85);fill-opacity:.95}.highcharts-xaxis-grid .highcharts-grid-line,.highcharts-yaxis-grid .highcharts-grid-line{stroke-width:1px}.App_container__OEQI9{display:grid;grid-template-areas:"nav content";grid-template-columns:240px auto;grid-template-rows:auto;height:100vh;overflow:hidden;position:relative;width:100vw}.App_navContainer__VqVi4{grid-area:nav;height:100vh}.App_mainContainer__uSNwf{grid-area:content;overflow:auto}.PaginationNav_links__STZLw{display:flex;list-style-type:none;margin:0;padding:0}.PaginationNav_placeholder__zn19m,a.PaginationNav_link__hWr3T{border:1px solid var(--backgroundPrimaryHighlight);border-radius:6px;color:var(--textColorSecondary);display:block;line-height:36px;margin-right:8px;text-align:center;width:36px}a.PaginationNav_link__hWr3T{cursor:pointer;text-decoration:none}a.PaginationNav_link__hWr3T:hover{border-color:var(--colorPrimary)}a.PaginationNav_link__hWr3T.PaginationNav_activeLink__v6k8R{border-color:var(--colorPrimary);color:var(--colorPrimary)}.PaginationNav_placeholder__zn19m:before{content:"..."}.Pip_pip__fcvAP{background:var(--colorDisabled);border-radius:100rem;display:inline-block;height:1rem;width:1rem}.Pip_pip__fcvAP.Pip_success__BamVO{background:var(--colorSuccess50)}.Pip_pip__fcvAP.Pip_primary__0ZFBk{background:var(--colorPrimary50)}.Pip_pip__fcvAP.Pip_warning__lz1v2{background:var(--colorInfo50)}.Pip_pip__fcvAP.Pip_danger__2WPKP{background:var(--colorError50)}.WorkspaceHeader_header__dX4c9{margin-bottom:16px;padding:24px}h1.WorkspaceTitle_title__wYY3S{font-size:2.8rem;margin:0}.TextInput_inputContainer__d77He{display:block;position:relative}.TextInput_input__wW3mW{background:var(--backgroundPrimary);border:2px solid var(--colorDisabled);border-radius:6px;box-sizing:border-box;color:var(--textColorPrimary);display:block;font-family:var(--fontFamilyPrimary);font-size:var(--fontSizeBody);height:var(--inputHeightMedium);line-height:var(--inputHeightMedium);padding:0 12px;transition:all .1s ease-in-out;width:100%}.TextInput_input__wW3mW:disabled{background:var(--backgroundSecondary);border-color:var(--backgroundSecondaryHighlight);cursor:not-allowed}.TextInput_input__wW3mW.TextInput_large__C1l6x{font-size:1.6rem;height:var(--inputHeightLarge);line-height:var(--inputHeightLarge);padding:0 16px}.TextInput_input__wW3mW.TextInput_withIconLeft__Ur2z-{padding-left:3.2rem}.TextInput_input__wW3mW.TextInput_withIconLeft__Ur2z-.TextInput_large__C1l6x{padding-left:4.2rem}.TextInput_input__wW3mW.TextInput_withIconRight__1AQfP{padding-right:3.2rem}.TextInput_input__wW3mW.TextInput_withIconRight__1AQfP.TextInput_large__C1l6x{padding-right:4.2rem}.TextInput_icon__OlVqe,.TextInput_iconLeft__1y\+LG,.TextInput_iconRight__LWQpv{fill:var(--grey600);height:1.6rem;margin-top:-.8rem;position:absolute;top:50%;width:1.6rem}.TextInput_iconLeft__1y\+LG{left:1.2rem}.TextInput_iconRight__LWQpv{right:1.2rem}.TextInput_large__C1l6x~.TextInput_icon__OlVqe,.TextInput_large__C1l6x~.TextInput_iconLeft__1y\+LG,.TextInput_large__C1l6x~.TextInput_iconRight__LWQpv{height:2.2rem;margin-top:-1.1rem;width:2.2rem}.TextInput_large__C1l6x~.TextInput_iconLeft__1y\+LG{left:1.6rem}.TextInput_large__C1l6x~.TextInput_iconRight__LWQpv{right:1.6rem}.TextInput_input__wW3mW:focus{border-color:var(--colorPrimary);outline:none}.TextInput_input__wW3mW:focus~.TextInput_icon__OlVqe,.TextInput_input__wW3mW:focus~.TextInput_iconLeft__1y\+LG,.TextInput_input__wW3mW:focus~.TextInput_iconRight__LWQpv{fill:var(--colorPrimary)}.TextInput_input__wW3mW:disabled~.TextInput_icon__OlVqe,.TextInput_input__wW3mW:disabled~.TextInput_iconLeft__1y\+LG,.TextInput_input__wW3mW:disabled~.TextInput_iconRight__LWQpv{fill:var(--colorDisabled)}.DataFilter_controls__rE5vo{grid-gap:8px;display:grid;grid-template-columns:1fr -webkit-min-content;grid-template-columns:1fr min-content;margin-bottom:24px;max-width:720px}.Dropdown_topLeft__FnFhF{bottom:calc(100% + 1em);right:0}.Dropdown_topRight__2S1Hd{bottom:calc(100% + 1em);left:0}.Label_label__T7Bv5{font-weight:700;line-height:3.2rem}.Select_container__OKYk-{display:inline-block;position:relative}.Select_toggle__DRDXF{background:var(--backgroundPrimary);border:2px solid var(--colorDisabled);border-radius:6px;box-sizing:border-box;color:var(--textColorPrimary);cursor:pointer;display:block;font-family:var(--fontFamilyPrimary);font-size:var(--fontSizeBody);height:var(--inputHeightMedium);min-width:16rem;padding:0 40px 0 12px;position:relative;text-align:left;transition:all .1s ease-in-out;white-space:nowrap}.Select_placeholder__QhAD0 .Select_toggle__DRDXF{color:var(--textColorSecondary)}.Select_open__sJGPM .Select_toggle__DRDXF,.Select_toggle__DRDXF:active,.Select_toggle__DRDXF:focus{border-color:var(--colorPrimary);outline:none}.Select_toggle__DRDXF:disabled{background:var(--backgroundSecondary);border-color:var(--backgroundSecondaryHighlight);color:var(--textColorSecondary);cursor:not-allowed}.Select_large__IOKdp .Select_toggle__DRDXF{font-size:1.6rem;height:var(--inputHeightLarge);min-width:24rem;padding:0 16px}.Select_chevron__IqIsI{height:20px;position:absolute;right:4px;top:calc(50% - 10px)}.Select_dropdown__NdlfX{background:var(--backgroundPrimary);border:2px solid var(--colorDisabled);border-radius:6px;box-sizing:border-box;height:-webkit-min-content;height:min-content;margin:4px 0 0;max-height:420px;min-width:100%;outline:none;overflow:auto;padding:8px 0;position:absolute;z-index:1000}.Select_menu__q1\+c2{list-style-type:none;margin:0;outline:none;padding:0}.Select_menu__q1\+c2 li{line-height:32px;padding:4px 12px}.Select_menu__q1\+c2 li:hover{cursor:pointer}.Select_menu__q1\+c2 li.Select_active__C4vwZ,.Select_menu__q1\+c2 li:hover{background:var(--backgroundPrimaryHighlight)}.Select_large__IOKdp .Select_menu__q1\+c2 li{font-size:1.6rem;min-width:24rem;padding:8px 16px}.Select_clear__Czt-2{background:none;border:none;box-sizing:border-box;color:var(--textColorSecondary);cursor:pointer;display:block;font-family:var(--fontFamilyPrimary);font-size:var(--fontSizeBody);min-width:16rem;padding:4px 12px;position:relative;text-align:left;transition:all .1s ease-in-out;white-space:nowrap;width:100%}.Select_clear__Czt-2:active,.Select_clear__Czt-2:focus,.Select_clear__Czt-2:hover{background:var(--backgroundPrimaryHighlight)}.Select_large__IOKdp .Select_clear__Czt-2{font-size:1.6rem;padding:8px 16px}.Select_emptyContainer__RM9cc{outline:none;padding:8px 12px}.Select_emptyPlaceholder__YU3JL{color:var(--textColorSecondary)}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:hsla(0,0%,100%,.7);--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error)}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;-webkit-transform:translate3d(0,0,9999 px);-webkit-transform:translate3d(0,0,var(--toastify-z-index) px);width:320px;width:var(--toastify-toast-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:1em;top:1em}.Toastify__toast-container--top-center{left:50%;top:1em;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.Toastify__toast-container--top-right{right:1em;top:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{left:0;margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0;-webkit-transform:translateX(0);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0;-webkit-transform:translateX(0);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:0}}.Toastify__toast{border-radius:4px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);box-sizing:border-box;cursor:pointer;direction:ltr;display:flex;font-family:sans-serif;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative}.Toastify__toast--rtl{direction:rtl}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px}.Toastify__toast-body>div:last-child{flex:1 1}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{-webkit-animation-duration:.7s;animation-duration:.7s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.Toastify--animate-icon{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74c3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74c3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:hsla(0,0%,100%,.7);background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:transparent;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}to{-webkit-transform:scaleX(0);transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}to{-webkit-transform:scaleX(0);transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:5px;left:0;opacity:.7;position:absolute;-webkit-transform-origin:left;transform-origin:left;width:100%;z-index:9999;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.Toastify__progress-bar--rtl{left:auto;right:0;-webkit-transform-origin:right;transform-origin:right}.Toastify__spinner{-webkit-animation:Toastify__spin .65s linear infinite;animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right:2px solid var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}@keyframes Toastify__flipOut{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{-webkit-transform:translate3d(0,110%,0);transform:translate3d(0,110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{-webkit-transform:translate3d(0,110%,0);transform:translate3d(0,110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{-webkit-transform:translate3d(0,-110%,0);transform:translate3d(0,-110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{-webkit-transform:translate3d(0,-110%,0);transform:translate3d(0,-110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:hidden}}@-webkit-keyframes Toastify__slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:hidden}}@-webkit-keyframes Toastify__slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,500px,0);transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,500px,0);transform:translate3d(0,500px,0);visibility:hidden}}@-webkit-keyframes Toastify__slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-500px,0);transform:translate3d(0,-500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-500px,0);transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}@-webkit-keyframes Toastify__spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes Toastify__spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}a.Tab_tab__MRIAU{background:var(--backgroundPrimary);border:1px solid transparent;border-top-left-radius:6px;border-top-right-radius:6px;color:var(--textColorSecondary);display:block;flex:0 0 auto;font-weight:500;line-height:1.6em;margin:0 .2em 0 0;min-width:7.2rem;padding:.8em 1.2em .5em;position:relative;white-space:nowrap}a.Tab_tab__MRIAU.Tab_active__Vh41C{border-bottom-color:var(--colorScaffoldingHighlight);border-color:var(--colorScaffoldingHighlight) var(--colorScaffoldingHighlight) var(--backgroundPrimary);color:var(--textColorPrimary);z-index:var(--zIndexLow)}a.Tab_tab__MRIAU .Tab_count__L1kpt{background-color:var(--backgroundSecondaryHighlight);border-radius:20px;color:var(--textColorSecondary);display:inline-block;font-size:.85em;line-height:1em;margin:0 0 0 .5em;padding:.5em .75em;vertical-align:baseline}a.Tab_tab__MRIAU:hover{color:var(--colorPrimary)}a.Tab_tab__MRIAU:hover .Tab_count__L1kpt{background-color:var(--backgroundPrimaryHighlight);color:var(--colorPrimary)}.Tab_pip__WZAvj{height:.5em;margin-right:.5em;vertical-align:middle;width:.5em}.TabContainer_tabContainer__wCvWd{display:flex;flex-direction:row;flex-wrap:nowrap;margin-bottom:.4em;min-width:100%;overflow-x:auto;position:relative}.TabContainer_tabContainer__wCvWd.TabContainer_small__DcYwd{font-size:1.2rem}.TabContainer_tabContainer__wCvWd.TabContainer_large__Yf-iA{font-size:1.6rem}.TabContainer_tabContainer__wCvWd:after{background:var(--colorScaffoldingHighlight);bottom:0;content:"";height:1px;position:absolute;width:100%}.Tooltip_tooltip__dtEKt{background:var(--tooltipBackground);border-radius:4px;color:var(--textColorInverted);font-family:var(--fontFamilyPrimary);font-size:1.2rem;margin:8px;max-width:24rem;padding:8px 12px;text-align:center}.Settings_container__vVqbe section{margin-bottom:64px}.Settings_buttonContainer__vfMj9{grid-column-gap:16px;grid-row-gap:24px;-webkit-column-gap:16px;column-gap:16px;display:grid;grid-template-columns:repeat(4,-webkit-min-content);grid-template-columns:repeat(4,min-content);row-gap:24px}.Settings_iconContainer__se2Pe{grid-column-gap:0;grid-row-gap:0;-webkit-column-gap:0;column-gap:0;display:grid;grid-template-columns:repeat(12,-webkit-min-content);grid-template-columns:repeat(12,min-content);row-gap:0}.Settings_icon__VX4qm{fill:var(--colorPrimary);box-sizing:unset;padding:16px;transition:fill .1s ease-in-out}.Settings_icon__VX4qm:hover{fill:var(--colorPrimary200);background:var(--backgroundSecondaryHighlight)}.Settings_inputContainer__6hpak{grid-row-gap:16px;display:grid;grid-template-columns:100%;max-width:640px;row-gap:16px}.Settings_inputRow__NRvZh{grid-column-gap:8px;-webkit-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:1fr -webkit-min-content -webkit-min-content;grid-template-columns:1fr min-content min-content;max-width:100%}.Settings_dropdownContainer__Mnvp7{grid-gap:8px;display:grid}.Settings_dropdownRow__u2wNT{grid-gap:8px;display:grid;grid-template-columns:repeat(4,-webkit-min-content);grid-template-columns:repeat(4,min-content)}.Settings_tabContainer__OcytH{margin:2.4rem 0}.Settings_danger__sSwKc div:first-child{--tw-bg-opacity:1;background-color:rgb(211 47 47/var(--tw-bg-opacity))}.Settings_danger__sSwKc:after{content:"danger"}.Settings_danger50__m-Gwx div:first-child{--tw-bg-opacity:1;background-color:rgb(255 102 89/var(--tw-bg-opacity))}.Settings_danger50__m-Gwx:after{content:"danger-50"}.Settings_danger200__5POhG div:first-child{--tw-bg-opacity:1;background-color:rgb(154 0 7/var(--tw-bg-opacity))}.Settings_danger200__5POhG:after{content:"danger-200"}.Settings_success__PFFZe div:first-child{--tw-bg-opacity:1;background-color:rgb(0 137 62/var(--tw-bg-opacity))}.Settings_success__PFFZe:after{content:"success"}.Settings_success50__s4fwq div:first-child{--tw-bg-opacity:1;background-color:rgb(76 186 106/var(--tw-bg-opacity))}.Settings_success50__s4fwq:after{content:"success-50"}.Settings_success200__\+ked1 div:first-child{--tw-bg-opacity:1;background-color:rgb(0 90 19/var(--tw-bg-opacity))}.Settings_success200__\+ked1:after{content:"success-200"}.Settings_warning__uwDmJ div:first-child{--tw-bg-opacity:1;background-color:rgb(255 171 64/var(--tw-bg-opacity))}.Settings_warning__uwDmJ:after{content:"warning"}.Settings_warning50__qg\+JJ div:first-child{--tw-bg-opacity:1;background-color:rgb(255 221 113/var(--tw-bg-opacity))}.Settings_warning50__qg\+JJ:after{content:"warning50"}.Settings_warning200__foDNb div:first-child{--tw-bg-opacity:1;background-color:rgb(199 124 2/var(--tw-bg-opacity))}.Settings_warning200__foDNb:after{content:"warning-200"}.Settings_vtblue__ByM9l div:first-child{--tw-bg-opacity:1;background-color:rgb(61 90 254/var(--tw-bg-opacity))}.Settings_vtblue__ByM9l:after{content:"vtblue"}.Settings_vtblue50__4dIvA div:first-child{--tw-bg-opacity:1;background-color:rgb(129 135 255/var(--tw-bg-opacity))}.Settings_vtblue50__4dIvA:after{content:"vtblue-50"}.Settings_vtblue200__0coJO div:first-child{--tw-bg-opacity:1;background-color:rgb(0 49 202/var(--tw-bg-opacity))}.Settings_vtblue200__0coJO:after{content:"vtblue-200"}.Settings_vtblueDark__WEENJ div:first-child{--tw-bg-opacity:1;background-color:rgb(129 135 255/var(--tw-bg-opacity))}.Settings_vtblueDark__WEENJ:after{content:"vtblue-dark"}.Settings_vtblueDark50__sKgPh div:first-child{--tw-bg-opacity:1;background-color:rgb(182 183 255/var(--tw-bg-opacity))}.Settings_vtblueDark50__sKgPh:after{content:"vtblue-dark-50"}.Settings_vtblueDark200__dLpGo div:first-child{--tw-bg-opacity:1;background-color:rgb(74 90 203/var(--tw-bg-opacity))}.Settings_vtblueDark200__dLpGo:after{content:"vtblue-dark-200"}.Settings_gray75__0RnBR div:first-child{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.Settings_gray75__0RnBR:after{content:"gray-75"}.Settings_gray100__LZwF4 div:first-child{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity))}.Settings_gray100__LZwF4:after{content:"gray-100"}.Settings_gray200__Tf5Ou div:first-child{--tw-bg-opacity:1;background-color:rgb(237 242 247/var(--tw-bg-opacity))}.Settings_gray200__Tf5Ou:after{content:"gray-200"}.Settings_gray400__Pg4qs div:first-child{--tw-bg-opacity:1;background-color:rgb(203 213 224/var(--tw-bg-opacity))}.Settings_gray400__Pg4qs:after{content:"gray-400"}.Settings_gray600__LWkpo div:first-child{--tw-bg-opacity:1;background-color:rgb(122 128 150/var(--tw-bg-opacity))}.Settings_gray600__LWkpo:after{content:"gray-600"}.Settings_gray800__J0BHC div:first-child{--tw-bg-opacity:1;background-color:rgb(45 55 72/var(--tw-bg-opacity))}.Settings_gray800__J0BHC:after{content:"gray-800"}.Settings_gray900__3h2mQ div:first-child{--tw-bg-opacity:1;background-color:rgb(30 37 49/var(--tw-bg-opacity))}.Settings_gray900__3h2mQ:after{content:"gray-900"}.NavRail_container__5m4NH{background:var(--backgroundSecondary);border-right:1px solid var(--backgroundSecondaryHighlight);display:flex;flex-direction:column;height:100vh;overflow-y:auto}.NavRail_logoContainer__E-6W3{align-items:center;display:flex;justify-content:center;padding:24px;text-align:center}.NavRail_footerContainer__vmltI{margin:auto 0 24px}.NavRail_navLinks__JnwjV{margin:24px 0 32px}.NavRail_navList__U8nuW{list-style-type:none;margin:0;padding:0}.NavRail_navList__U8nuW:after{background-color:var(--colorScaffoldingHighlight);content:"";display:block;height:1px;margin:20px 24px;max-width:100%}.NavRail_footerContainer__vmltI .NavRail_navList__U8nuW:after,.NavRail_navList__U8nuW:last-child:after{content:none}a.NavRail_navLink__WamM6{align-items:center;border-left:4px solid transparent;color:var(--textColorPrimary);display:flex;flex-wrap:nowrap;font-size:1.6rem;font-weight:500;outline:none;padding:13px 24px;text-decoration:none;transition:background-color .1s ease-in-out}a.NavRail_navLink__WamM6.NavRail_navLinkActive__f74pF{border-color:var(--colorPrimary);color:var(--colorPrimary)}a.NavRail_navLink__WamM6:focus,a.NavRail_navLink__WamM6:hover{background:var(--backgroundSecondaryHighlight);color:var(--colorPrimary)}.NavRail_badge__jYgjl{background-color:var(--backgroundSecondaryHighlight);border-radius:20px;color:var(--textColorSecondary);display:inline-block;font-size:1.4rem;line-height:1.9rem;margin-left:auto;padding:2px 8px;transition:background-color .1s ease-in-out}a.NavRail_navLink__WamM6:focus .NavRail_badge__jYgjl,a.NavRail_navLink__WamM6:hover .NavRail_badge__jYgjl,a.NavRail_navLinkActive__f74pF .NavRail_badge__jYgjl{background-color:var(--backgroundPrimaryHighlight);color:var(--colorPrimary)}.NavRail_icon__\+bhAw{fill:var(--colorScaffoldingForeground);height:2rem;transition:background-color .1s ease-in-out}a.NavRail_navLink__WamM6:focus .NavRail_icon__\+bhAw,a.NavRail_navLink__WamM6:hover .NavRail_icon__\+bhAw,a.NavRail_navLinkActive__f74pF .NavRail_icon__\+bhAw{fill:var(--colorPrimary)}.NavRail_hotkey__IdYtW:before{border-color:var(--colorScaffoldingForeground);border-radius:.125rem;border-width:1px;color:var(--colorScaffoldingForeground);content:attr(data-hotkey);display:block;font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;font-size:10px;font-weight:700;height:16px;line-height:14px;margin:0 4px;padding:0;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:16px}.Error404_container__RWCnE{align-items:center;display:flex;flex-direction:column;height:40vh;justify-content:center;margin-top:20vh}.HelpTooltip_icon__2oJgt{fill:var(--textColorSecondary);display:inline-block;height:1.8rem;vertical-align:bottom;width:auto}.Schema_headingMeta__fIaB9{display:flex}.Schema_headingMeta__fIaB9 span{display:inline-block;line-height:2}.Schema_headingMeta__fIaB9 span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Schema_headingMeta__fIaB9 span:last-child:after{content:none}.Schema_container__lK7FG{grid-gap:16px;display:grid}.Schema_panel__Zt\+HS{border:1px solid var(--colorScaffoldingHighlight);border-radius:6px;max-width:960px;overflow:auto;padding:0 2.4rem 2.4rem}.Schema_errorPlaceholder__P-j6V{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Schema_errorPlaceholder__P-j6V h1{margin:1.6rem 0}.Schema_errorEmoji__PquBB{display:block;font-size:5.6rem}.Schema_skBadge__wfq2a{border:1px solid var(--colorPrimary50);border-radius:6px;color:var(--colorPrimary);cursor:default;display:inline-block;font-size:1.2rem;margin:0 12px;padding:4px 8px;text-transform:uppercase;white-space:nowrap}.Code_table__Pl8Zh{margin:8px 0}.Code_table__Pl8Zh tr{border:none}.Code_table__Pl8Zh td{border:none;line-height:1.6;margin:0}.Code_lineNumber__gb4IK{box-sizing:border-box;color:var(--textColorSecondary);font-family:var(--fontFamilyMonospace);font-size:1.4rem;line-height:2.4rem;min-width:5rem;padding:0 1.2rem;text-align:right;-webkit-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;white-space:nowrap;width:1%}.Code_lineNumber__gb4IK:before{content:attr(data-line-number)}.Code_code__vnnnt{font-family:var(--fontFamilyMonospace);font-size:1.4rem;line-height:2.4rem;padding:0 1.2rem;tab-size:8;white-space:pre}.NavCrumbs_container__If2HI>a{font-family:var(--fontFamilyMonospace);line-height:4rem}.NavCrumbs_container__If2HI>a:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;font-size:2rem;line-height:2rem;margin:0 1rem;vertical-align:middle}.Stream_headingMeta__wAVR9{display:flex}.Stream_headingMeta__wAVR9 span{display:inline-block;line-height:2}.Stream_headingMeta__wAVR9 span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Stream_headingMeta__wAVR9 span:last-child:after{content:none}.Workflows_shardList__-JbVl{color:var(--textColorSecondary);font-size:1.2rem;max-width:20rem;padding-right:24px}.Workflows_streams__fKpO0{grid-gap:8px;display:grid;grid-template-columns:repeat(4,60px)}.Workflows_stream__kzFFb,.Workflows_streamPlaceholder__4Gjp6{margin:0 4px;text-align:left;white-space:nowrap}.Workflows_streamPlaceholder__4Gjp6{color:var(--textColorSecondary);text-align:center}.Workflow_headingMeta__Q7Qwn{display:flex}.Workflow_headingMeta__Q7Qwn span{display:inline-block;line-height:2}.Workflow_headingMeta__Q7Qwn span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Workflow_headingMeta__Q7Qwn span:last-child:after{content:none}.VTExplain_errorPanel__uQW6d,.VTExplain_panel__ORRZI{border:1px solid var(--colorScaffoldingHighlight);border-radius:6px;height:auto;max-width:960px;padding:2.4rem}.VTExplain_errorPanel__uQW6d{border-color:var(--colorError50);overflow:auto}.VTExplain_container__LOlo-{grid-gap:16px;display:grid;max-width:720px}.VTExplain_form__3RVqh{grid-gap:8px;display:grid}.VTExplain_sqlInput__7i40w{border:1px solid var(--colorScaffoldingHighlight);display:block;font-family:var(--fontFamilyMonospace);line-height:var(--lineHeightBody);padding:.8rem;resize:vertical;width:100%}.VTExplain_codeContainer__H1VYS{max-width:100%;overflow:auto}.VTExplain_buttons__FiIEe{margin:1.6rem 0 .8rem}.Spinner_spinner__EM4nX{border:.25em solid #8187ff;border-right-color:transparent;vertical-align:-.125em}@-webkit-keyframes Spinner_spin__zM8-M{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes Spinner_spin__zM8-M{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.Spinner_spinner__EM4nX{-webkit-animation:Spinner_spin__zM8-M 1s linear infinite;animation:Spinner_spin__zM8-M 1s linear infinite;border-radius:9999px;border-width:2px;display:inline-block;height:2rem;width:2rem}.Keyspace_headingMeta__wfbKC{display:flex}.Keyspace_headingMeta__wfbKC span{display:inline-block;line-height:2}.Keyspace_headingMeta__wfbKC span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Keyspace_headingMeta__wfbKC span:last-child:after{content:none}.Keyspace_placeholder__zmyZn{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Keyspace_placeholder__zmyZn h1{margin:1.6rem 0}.Keyspace_errorEmoji__OhrXp{display:block;font-size:5.6rem}.KeyspaceShards_container__LqtRT{padding:16px 0}.KeyspaceShards_counts__BrVyv>span{white-space:nowrap}.KeyspaceShards_counts__BrVyv>span:not(:last-child):after{color:var(--colorScaffoldingHighlight);content:"/";margin:0 8px}.Tablet_headingMeta__TX8WY{display:flex}.Tablet_headingMeta__TX8WY span{display:inline-block;line-height:2}.Tablet_headingMeta__TX8WY span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Tablet_headingMeta__TX8WY span:last-child:after{content:none}.Tablet_placeholder__DtKp\+{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Tablet_placeholder__DtKp\+ h1{margin:1.6rem 0}.Tablet_errorEmoji__OJLxr{display:block;font-size:5.6rem}.Shard_headingMeta__KmxO-{display:flex}.Shard_headingMeta__KmxO- span{display:inline-block;line-height:2}.Shard_headingMeta__KmxO- span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Shard_headingMeta__KmxO- span:last-child:after{content:none}.Shard_placeholder__pM2jB{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Shard_placeholder__pM2jB h1{margin:1.6rem 0}.Shard_errorEmoji__dinjS{display:block;font-size:5.6rem}.ShardTablets_placeholder__8MDdC{color:var(--textColorSecondary);font-size:1.6rem;padding:10vh 2.4rem;text-align:center}.ShardTablets_emoji__S0uuo{display:block;font-size:100px}
+/*# sourceMappingURL=main.7469429c.css.map*/
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/static/css/main.7469429c.css.map b/go/vt/vtadmin/web/build/static/css/main.7469429c.css.map
new file mode 100644
index 00000000000..15ab800b3e8
--- /dev/null
+++ b/go/vt/vtadmin/web/build/static/css/main.7469429c.css.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/css/main.7469429c.css","mappings":"AAeA,WACI,iBAAkB,CAClB,oBAAqB,CACrB,6GACJ,CAEA,WACI,iBAAkB,CAClB,oBAAqB,CAErB,eAAgB,CADhB,+GAEJ,CAEA,WACI,iBAAkB,CAClB,oBAAqB,CAErB,eAAgB,CADhB,uGAEJ,CAEA,WACI,iBAAkB,CAClB,oBAAqB,CACrB,6GACJ;;ACrBA;EAAc,CAAd,iBCPE,sBAA0D,CAH1D,qBDUY,CAAd,eCFE,eDEY,CAAd,KCUE,6BAA8B,CAG9B,4IAAsP,CAJtP,eAAgB,CAGhB,UDZY,CAAd,KCuBE,mBDvBY,CAAd,GCmCE,oBAAqB,CADrB,aAAc,CADd,QDjCY,CAAd,oBC2CE,wCAAiC,CAAjC,gCD3CY,CAAd,kBCwDE,iBAAkB,CAClB,mBDzDY,CAAd,ECiEE,aAAc,CACd,uBDlEY,CAAd,SC2EE,kBD3EY,CAAd,kBCuFE,gFAAyI,CACzI,aDxFY,CAAd,MCgGE,aDhGY,CAAd,QCyGE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBD5GY,CAAd,ICgHE,aDhHY,CAAd,ICoHE,SDpHY,CAAd,MC+HE,oBAAqB,CADrB,aD9HY,CAAd,sCCiJE,aAAc,CAHd,mBAAoB,CACpB,cAAe,CACf,mBAAoB,CAEpB,QAAS,CACT,SDnJY,CAAd,cC4JE,mBD5JY,CAAd,gDCwKE,yBAA0B,CAC1B,4BAA6B,CAC7B,qBD1KY,CAAd,gBCkLE,YDlLY,CAAd,iBC0LE,eD1LY,CAAd,SCkME,uBDlMY,CAAd,wDC2ME,WD3MY,CAAd,cCoNE,4BAA6B,CAC7B,mBDrNY,CAAd,4BC6NE,uBD7NY,CAAd,6BCsOE,yBAA0B,CAC1B,YDvOY,CAAd,QC+OE,iBD/OY,CAAd,mDCmQE,QDnQY,CAAd,SCuQE,QDvQY,CAAd,gBCwQE,SDxQY,CAAd,WCkRE,eAAgB,CAChB,QAAS,CACT,SDpRY,CAAd,SC4RE,eD5RY,CAAd,qECuSE,aAAwC,CADxC,SDtSY,CAAd,2DCuSE,aAAwC,CADxC,SDtSY,CAAd,yCCuSE,aAAwC,CADxC,SDtSY,CAAd,qBCgTE,cDhTY,CAAd,UCuTE,cDvTY,CAAd,+CCwUE,aAAc,CACd,qBDzUY,CAAd,UCmVE,WAAY,CADZ,cDlVY,CAAd,SC2VE,YD3VY,CElBd,i4B,CFmBA,WEnBA,UFmBoB,CAApB,yBEnBA,0B,CFmBoB,CAApB,yBEnBA,0B,CFmBoB,CAApB,0BEnBA,2B,CFmBoB,CAApB,0BEnBA,2B,CFmBoB,CAApB,0BEnBA,2B,CFmBoB,CEnBpB,mrB,CAAA,yf,CFmBA,kBA8OQ,yBAAkB,CAAlB,iBAAkB,CADlB,0BAAmB,CAAnB,uBAAmB,CAAnB,kBA7OY,CEnBpB,cFuQQ,kBAAgC,CAAhC,+BAAgC,CAChC,oBAAkC,CAAlC,iCAAkC,CExQ1C,kB,CAAA,2E,CAAA,+E,CAAA,wH,CAAA,+D,CAAA,4D,CAAA,4E,CAAA,6H,CAAA,wBFsTQ,aAA2B,CAA3B,0B,CEtTR,sH,CAAA,iL,CAAA,mI,CAAA,wH,CAAA,iL,CAAA,oI,CAAA,yH,CAAA,qL,CAAA,sI,CFmBA,QEnBA,gHF+VQ,WAAY,CE/VpB,iZFgWQ,UA7UY,CEnBpB,8D,CAAA,iF,CAAA,oF,CFmBA,eEnBA,iyBFuXQ,WAAY,CEvXpB,goBFwXQ,UArWY,CEnBpB,oa,CAAA,0C,CAAA,2a,CFoBA,SEpBA,iIFoBmB,CAAnB,QEpBA,eFoBmB,CAAnB,OEpBA,cFoBmB,CAAnB,UEpBA,iBFoBmB,CAAnB,UEpBA,iBFoBmB,CAAnB,SEpBA,6BFoBmB,CAAnB,UEpBA,YFoBmB,CAAnB,UEpBA,aFoBmB,CAAnB,QEpBA,MFoBmB,CAAnB,SEpBA,OFoBmB,CAAnB,MEpBA,UFoBmB,CAAnB,MEpBA,UFoBmB,CAAnB,KEpBA,QFoBmB,CAAnB,SEpBA,kCFoBmB,CAAnB,OEpBA,sCFoBmB,CAAnB,OEpBA,kCFoBmB,CAAnB,MEpBA,kCFoBmB,CAAnB,MEpBA,kCFoBmB,CAAnB,OEpBA,kCFoBmB,CAAnB,MEpBA,sCFoBmB,CAAnB,MEpBA,gBFoBmB,CAAnB,MEpBA,iBFoBmB,CAAnB,MEpBA,gBFoBmB,CAAnB,MEpBA,mBFoBmB,CAAnB,MEpBA,gBFoBmB,CAAnB,OEpBA,kBFoBmB,CAAnB,MEpBA,eFoBmB,CAAnB,OEpBA,eFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,iBFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,eFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,OEpBA,kBFoBmB,CAAnB,MEpBA,iBFoBmB,CAAnB,OEpBA,eFoBmB,CAAnB,OEpBA,aFoBmB,CAAnB,cEpBA,oBFoBmB,CAAnB,QEpBA,cFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,aEpBA,mBFoBmB,CAAnB,OEpBA,aFoBmB,CAAnB,SEpBA,uBFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,UEpBA,gBFoBmB,CAAnB,QEpBA,YFoBmB,CAAnB,YEpBA,WFoBmB,CAAnB,KEpBA,WFoBmB,CAAnB,KEpBA,aFoBmB,CAAnB,MEpBA,WFoBmB,CAAnB,MEpBA,WFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,QEpBA,WFoBmB,CAAnB,cEpBA,gBFoBmB,CAAnB,KEpBA,UFoBmB,CAAnB,KEpBA,YFoBmB,CAAnB,QEpBA,UFoBmB,CAAnB,MEpBA,UFoBmB,CAAnB,OEpBA,2CFoBmB,CAAnB,MEpBA,WFoBmB,CAAnB,OEpBA,2CFoBmB,CAAnB,QEpBA,gBFoBmB,CAAnB,iBEpBA,gBFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,aEpBA,cFoBmB,CAAnB,yBEpBA,aFoBmB,CAAnB,QEpBA,WFoBmB,CAAnB,kBEpBA,6DFoBmB,CAAnB,eEpBA,qBFoBmB,CAAnB,8BEpBA,mYFoBmB,CAAnB,eEpBA,oBFoBmB,CAAnB,UEpBA,iCFoBmB,CAAnB,oBEpBA,mYFoBmB,CAAnB,UEpBA,iCFoBmB,CAAnB,WEpBA,6BFoBmB,CAAnB,sBEpBA,mYFoBmB,CAAnB,wBEpBA,8D,CFoBmB,CAAnB,gBEpBA,8D,CFoBmB,CAAnB,cEpBA,2GFoBmB,CAAnB,UEpBA,qBFoBmB,CAAnB,WEpBA,oBFoBmB,CAAnB,cEpBA,kBFoBmB,CAAnB,gBEpBA,sBFoBmB,CAAnB,iBEpBA,6BFoBmB,CAAnB,OEpBA,SFoBmB,CAAnB,OEpBA,QFoBmB,CAAnB,wCEpBA,4IFoBmB,CAAnB,+CEpBA,4EFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,mBEpBA,kBFoBmB,CAAnB,mBEpBA,kBFoBmB,CAAnB,YEpBA,oBFoBmB,CAAnB,aEpBA,kBFoBmB,CAAnB,YEpBA,mBFoBmB,CAAnB,cEpBA,oBFoBmB,CAAnB,SEpBA,oBFoBmB,CAAnB,YEpBA,qBFoBmB,CAAnB,QEpBA,gBFoBmB,CAAnB,UEpBA,uBFoBmB,CAAnB,aEpBA,iBFoBmB,CAAnB,iBEpBA,4EFoBmB,CAAnB,eEpBA,0EFoBmB,CAAnB,iBEpBA,4EFoBmB,CAAnB,eEpBA,0EFoBmB,CAAnB,gBEpBA,4EFoBmB,CAAnB,aEpBA,wEFoBmB,CAAnB,aEpBA,wEFoBmB,CAAnB,UEpBA,wEFoBmB,CAAnB,YEpBA,wEFoBmB,CAAnB,aEpBA,wEFoBmB,CAAnB,eEpBA,uEFoBmB,CAAnB,eEpBA,sEFoBmB,CAAnB,eEpBA,oBFoBmB,CAAnB,cEpBA,iBFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,KEpBA,YFoBmB,CAAnB,KEpBA,YFoBmB,CAAnB,KEpBA,cFoBmB,CAAnB,MEpBA,wCFoBmB,CAAnB,MEpBA,oCFoBmB,CAAnB,MEpBA,oCFoBmB,CAAnB,MEpBA,0CFoBmB,CAAnB,MEpBA,wCFoBmB,CAAnB,MEpBA,sCFoBmB,CAAnB,MEpBA,wCFoBmB,CAAnB,MEpBA,mBFoBmB,CAAnB,YEpBA,gBFoBmB,CAAnB,OEpBA,mBFoBmB,CAAnB,WEpBA,eFoBmB,CAAnB,aEpBA,iBFoBmB,CAAnB,YEpBA,gBFoBmB,CAAnB,cEpBA,qBFoBmB,CAAnB,WEpBA,gFFoBmB,CAAnB,WEpBA,4IFoBmB,CAAnB,SEpBA,gBFoBmB,CAAnB,SEpBA,cFoBmB,CAAnB,eEpBA,cFoBmB,CAAnB,WEpBA,gBFoBmB,CAAnB,SEpBA,gBFoBmB,CAAnB,UEpBA,gBFoBmB,CAAnB,UEpBA,gBFoBmB,CAAnB,aEpBA,eFoBmB,CAAnB,WEpBA,eFoBmB,CAAnB,eEpBA,eFoBmB,CAAnB,WEpBA,gBFoBmB,CAAnB,WEpBA,kBFoBmB,CAAnB,eEpBA,8DFoBmB,CAAnB,gBEpBA,iEFoBmB,CAAnB,cEpBA,8DFoBmB,CAAnB,eEpBA,8DFoBmB,CAAnB,gBEpBA,+DFoBmB,CAAnB,cEpBA,+DFoBmB,CAAnB,aEpBA,+DFoBmB,CAAnB,WEpBA,SFoBmB,CAAnB,aEpBA,SFoBmB,CAAnB,YEpBA,WFoBmB,CAAnB,YEpBA,0GFoBmB,CAAnB,uBEpBA,kJFoBmB,CAAnB,WEpBA,8FFoBmB,CAAnB,WEpBA,8TFoBmB,CAAnB,QEpBA,oXFoBmB,CAAnB,YEpBA,qEFoBmB,CAAnB,gBEpBA,sBFoBmB,CAAnB,QEpBA,wBFoBmB,CAAnB,gBEpBA,yWFoBmB,CAAnB,YEpBA,4mBFoBmB,CAAnB,oBEpBA,uGFoBmB,CAAnB,gBEpBA,mGFoBmB,CAAnB,mBEpBA,+XFoBmB,CAAnB,WEpBA,oBFoBmB,CAAnB,cEpBA,uBFoBmB,CAAnB,cEpBA,uBFoBmB,CAAnB,cEpBA,uBFoBmB,CAAnB,aEpBA,wBFoBmB,CAAnB,UEpBA,iDFoBmB,CAAnB,SEpBA,iDFoBmB,CAEnB,MAEI,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAGlB,sBAAuB,CACvB,wBAAyB,CACzB,yBAA0B,CAC1B,mBAAoB,CACpB,qBAAsB,CACtB,sBAAuB,CACvB,oBAAqB,CACrB,sBAAuB,CACvB,uBAAwB,CAGxB,oJAA6C,CAC7C,0FAA+C,CAG/C,qBAAsB,CAGtB,wBAAyB,CAGzB,yBAA0B,CAC1B,0BAA2B,CAC3B,yBAA0B,CAG1B,yBAA0B,CAG1B,wBAAyB,CACzB,+CAAoD,CACpD,mCAAoC,CACpC,6CAA8C,CAC9C,kCAAmC,CACnC,8BAA+B,CAC/B,sBAAuB,CACvB,wBAAyB,CACzB,yBAA0B,CAC1B,0CAA2C,CAC3C,2CAA4C,CAC5C,iCAAkC,CAClC,0BAA8C,CAC9C,wBAAyB,CACzB,4BAAkD,CAClD,2BAA4B,CAG5B,mCAAwC,CAGxC,iBAAkB,CAClB,cAAe,CACf,eAAgB,CAChB,iBACJ,CAGA,0BACI,2BAA4B,CAC5B,iDAAsD,CACtD,oCAAqC,CACrC,6CAA8C,CAC9C,kCAAmC,CACnC,8BAA+B,CAC/B,sBAAuB,CACvB,wBAAyB,CACzB,yBAA0B,CAC1B,0CAA2C,CAC3C,2CAA4C,CAC5C,iCAAkC,CAClC,uBAAwB,CACxB,2BAA4B,CAC5B,4BAA6B,CAC7B,2BAA4B,CAC5B,uCACJ,CAEA,EACI,qBACJ,CAEA,KAOI,eACJ,CAEA,KAOI,kCAAmC,CACnC,iCAAkC,CAPlC,eAAoC,CAApC,mCAAoC,CACpC,aAA8B,CAA9B,6BAA8B,CAI9B,4IAAqC,CAArC,oCAAqC,CAHrC,gBAAiC,CACjC,gBAAkC,CAAlC,iCAAkC,CAClC,QAIJ,CAGA,GAEI,gBAGJ,CAEA,MANI,aAA8B,CAA9B,6BAA8B,CAE9B,eAAgB,CAChB,gBAAqC,CAArC,oCAQJ,CALA,GAEI,gBAGJ,CAEA,GACI,aAA8B,CAA9B,6BAA8B,CAC9B,cAA+B,CAC/B,eAAgB,CAChB,gBAAqC,CAArC,oCACJ,CAEA,KACI,oBAAqB,CACrB,gFAAuC,CAAvC,sCAAuC,CACvC,YACJ,CAEA,EACI,eACJ,CAGA,6BAII,aAA0B,CAA1B,yBAA0B,CAC1B,cAAe,CACf,oBACJ,CAGA,MACI,wBAAyB,CACzB,eAAiC,CAAjC,gCAAiC,CACjC,UACJ,CAEA,cAEI,aAA8B,CAA9B,6BAA8B,CAG9B,2BAAsE,CAAtE,oEAEJ,CAEA,uBARI,kBAAsC,CAAtC,qCAAsC,CAEtC,gBAAiC,CACjC,eAAgB,CAEhB,eAYJ,CATA,SAGI,wBAA4C,CAA5C,2BAA4C,CAA5C,2CAA4C,CAA5C,2CAA4C,CAC5C,aAAgC,CAAhC,+BAAgC,CAGhC,kBAAoC,CAApC,mCAEJ,CAEA,eACI,+BAAgD,CAAhD,+CAAgD,CAChD,4BAA6C,CAA7C,4CACJ,CAEA,eACI,cAAgC,CAAhC,+BAAgC,CAChC,kBACJ,CAEA,wBACI,8BAA+C,CAA/C,8CACJ,CAEA,iBAGI,yBAA2B,CAD3B,yBAA2B,CAD3B,mBAGJ,CAEA,sBAEI,kBAAoB,CADpB,mBAEJ,CAEA,2DAEI,yBACJ,CAvOA,yBEAA,wE,CFAA,0BEAA,wE,CFAA,mBEAA,U,CFAA,2BEAA,gD,CFAA,qBEAA,oX,CFAA,8BEAA,0E,CFAA,4BEAA,0B,CFAA,mCEAA,8B,CFAA,yBEAA,4C,CAAA,sC,CAAA,sB,CAAA,wB,CAAA,sC,CAAA,sB,CAAA,0B,CAAA,uB,CAAA,sB,CAAA,sB,CAAA,6B,CAAA,uC,CAAA,oa,CAAA,+C,CAAA,gb,CAAA,gD,CAAA,uC,CAAA,kB,CAAA,8C,CAAA,kD,CAAA,8B,CAAA,uC,EFAA,yBEAA,2B,ECiFA,sBAQI,0CACA,wEAzDU,CA0DV,eANA,YAEA,mBAOA,aAXA,gBADA,kBAIA,gBAOA,0BADA,+DARA,WAIA,SAMA,CAEJ,iBACI,cAEJ,sBACI,eAEJ,mBACI,gBAEJ,uBACI,kBAEJ,mBACI,eAEJ,uBACI,SApGe,CAyGnB,0EACI,UAEJ,uBACI,aAEJ,yBACI,sBACA,wBACA,gBACA,UAEJ,yBACI,sBACA,eAIJ,kBACI,SAvHe,CAwHf,eAvGc,CAyGlB,qBACI,SA1He,CA2Hf,aA1GiB,CA8GrB,sBACI,UACA,cAtHiB,CAwHrB,wCACI,eAEJ,uBACI,SAvIe,CAyInB,wBACI,SA1Ie,CA2If,eACA,cAzHoB,CA2HxB,sBACI,UACA,cA7Ie,CA+InB,6CACI,gBAzHc,CA2HlB,iBACI,cA3IiB,CA6IrB,mCACI,eAEJ,4BACI,cAxJc,CA0JlB,2BACI,iBACA,WA9Je,CAgKnB,+BACI,cAxJiB,CAyJjB,mBAKJ,oBAEI,SA1Ke,CAyKf,eAEA,eACA,oCAEJ,0BACI,UACA,cAIJ,oBACI,eACA,oBAEA,uBADA,kBACA,CAEJ,yBACI,SA7Le,CA+LnB,uCACI,gBAEJ,wBACI,gBAEA,CAEJ,sEAHI,YA9Lc,CA+Ld,gBAIA,CAEJ,uBACI,gCAGJ,6BACI,YAtMiB,CAuMjB,iBAGJ,kBACI,UACA,iBACA,qBACA,sBAGJ,yBACI,iBACA,UACA,WA3Ne,CA8NnB,0CACI,eAQJ,uDACI,WACA,wBAGJ,6BACI,6BAEJ,8BACI,6BAGJ,kFAII,wBAEJ,4UAII,WAQF,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,qBACE,YAFM,CAGN,cAHM,CAOV,iBACI,iBACA,eAEJ,oBACI,iBACA,WAzRe,CA2RnB,mJAEI,UAEJ,kBACI,iBAEJ,yCACI,eAGJ,uBACI,eACA,gBAEJ,2BACI,UACA,eAEJ,uDACI,SA1Se,CA4SnB,iCACI,UAEJ,8BACI,oBAEJ,iBACI,iBACA,eAEJ,qHAEI,SArTe,CAsTf,WA1TgB,CA4TpB,gDAEI,WAlUe,CAoUnB,4CACI,6BAEJ,kDACI,iBACA,6BAEJ,yCACI,sBACA,WA7Ue,CA+UnB,+CACI,iBACA,6BAEJ,4CACI,sBACA,WArVe,CAuVnB,kDACI,iBACA,6BAEJ,mDACI,aACA,eAEJ,6CACI,sBACA,WAjWe,CAmWnB,mDACI,iBACA,6BAEJ,oDACI,aACA,eAEJ,gDACI,eAEJ,6CACI,iBACA,cAvWe,CAwWf,mDAEJ,mDACI,WA7We,CA8Wf,mDAGJ,mDACI,aAEJ,qDACI,UAEJ,iEACI,iBACA,eAEJ,uEACI,iBAQJ,0FACI,UACA,iBAGJ,0BACC,WA7YmB,CAgZpB,yBACI,UACA,iBAGJ,wDACI,oBAIJ,uBACI,UACA,eAEJ,6BACI,SA9Ze,CAkaf,cAAa,CADb,eADA,aA7Ye,CA4Yf,eAGA,CAEJ,mCACI,SAtagB,CAwapB,iCACI,oBACA,sBACA,qBAEJ,8BACI,SApakB,CAqalB,eAEJ,gCACI,SA9ae,CAgbnB,0EACI,sBAEJ,6BACI,UACA,eAIJ,iCACI,eACA,gBAEJ,qCACI,eAEJ,iCACI,SApce,CAwcnB,oBAEI,qBA/ce,CAgdf,WAFA,kBAGA,kBAEA,wBADA,UACA,CAEJ,2BACI,mBACA,UACA,gBACA,6CAEJ,0BACI,gBACA,kBACA,QAIJ,uCACI,SA/dgB,CAgehB,iBAEJ,sBACI,UACA,WAjee,CAkef,iBAIJ,wBACI,SA9ee,CAgfnB,2BACI,iBAEJ,4CACI,gBAEJ,8CACI,WAnfgB,CAqfpB,oDACI,WAlfe,CAmff,iBAEJ,0CACI,SA1fgB,CA2fhB,eAEJ,6CACI,aACA,eAEJ,+CACI,WAjgBe,CAkgBf,qBAEJ,4CACI,eAEJ,2CAEI,gBADA,sCACA,CAEJ,kEAEI,cAAa,CADb,sCACA,CAEJ,0CACI,iBACA,WA9gBe,CA+gBf,yCAEJ,gDACI,eACA,WAnhBe,CAuhBnB,mCACI,eAEJ,kCACI,YAnhBiB,CAohBjB,iBACA,iBAEJ,8BACI,WAhiBe,CAiiBf,UAEJ,6BACI,WApiBe,CAqiBf,YAniBc,CAoiBd,iBAEJ,6BACI,YAliBiB,CAmiBjB,cAniBiB,CAqiBrB,+CACI,iBAEJ,8CACI,iBAEJ,kDACI,eAEJ,kDACI,iBACA,cAtjBe,CAwjBnB,mDACI,SA3jBe,CA6jBnB,kDACI,eAEJ,4BACI,SAhkBe,CAikBf,WAjkBe,CAkkBf,iBAEJ,6BACI,YApkBe,CAqkBf,WAtkBe,CAukBf,iBAEJ,4BACI,SA5kBe,CA8kBnB,6BACI,WA/kBe,CAglBf,iBAEJ,4BACI,YA/kBc,CAglBd,cAhlBc,CAilBd,iBAEJ,mBACI,YAnlBc,CAolBd,WAvlBe,CAylBf,iBADA,eAEA,qBAEJ,wBACI,SAhmBe,CAkmBnB,yBAEI,YAhmBe,CAimBf,YAFA,mBAhmBe,CAomBnB,8BACI,SAxmBe,CA0mBnB,2BAEI,YA/lBiB,CAgmBjB,YAFA,eAxmBe,CA4mBnB,gCACI,SAhnBe,CAinBf,gBAEJ,iCACI,SApnBe,CAsnBnB,sDACI,gBAzlB2B,CA2lB/B,6BACI,UAEJ,6BACI,SA5nBe,CA8nBnB,6BACI,UAEJ,6BACI,SAnoBe,CAqoBnB,wBACI,gBAAgB,CAChB,WApoBe,CAsoBnB,gCAEI,SAEA,WAGA,UAFA,UAJA,kBAKA,kBAHA,SAIA,CAEJ,iCACI,SAxpBe,CAypBf,gBAEJ,kDACI,aAIJ,iDACI,WA7pBgB,CA8pBhB,iBAEJ,oDACI,SArqBe,CAuqBnB,4DACI,YArmBa,CAsmBb,cAtmBa,CAwmBjB,uEACI,YA1mBa,CA2mBb,cA3mBa,CA6mBjB,0DACI,iBACA,cA/mBa,CAinBjB,gDACI,iBAEJ,iEACI,WAhrBe,CAirBf,SAxrBe,CAyrBf,qBAEJ,uEACI,WAxrBgB,CAyrBhB,YA5qBiB,CA8qBrB,gDACI,SA5rBgB,CA6rBhB,eACA,gBAIJ,yCAEI,YADA,sDA/rBe,CAksBnB,+CAEI,gBACA,iBAFA,oCAEA,CAEJ,6CACI,UAEJ,6CACI,eAEJ,2BACI,gBACA,gBACA,kBAEJ,sBACI,eAEJ,6BACI,SAvtBe,CAytBnB,uBACI,YAttBc,CA0tBlB,qBACI,iBAIJ,0BACI,SA3uBe,CA4uBf,YACA,qBAEJ,gCACI,YAvuBe,CAwuBf,cAxuBe,CA0uBnB,0BACI,WA9uBe,CA+uBf,iBAEJ,iBAEI,eAzvBe,CAwvBf,sBAGA,6BADA,aACA,CAEJ,sBAEI,gBACA,UA3vBe,CA4vBf,eAHA,iBAIA,sCAEJ,4BACI,kBAtvBiB,CAuvBjB,UAtwBe,CA0wBnB,4BACI,eAEJ,4GAII,SAnwBkB,CAkwBlB,eAEA,gBACA,0BAIJ,yBAGI,UADA,eADA,eAlxBe,CAwxBnB,yBAEI,YACA,iBAFA,gBAEA,CAIJ,0BACI,eAQJ,mEACC,iBACG,WA3yBe,CA+yBnB,iCACI,iBACA,WAlzBgB,CAmzBhB,SAnzBgB,CAozBhB,iBAEJ,kCACI,YAlzBe,CAszBnB,8BAEI,6BADA,eAEA,eAOA,cADA,SAJA,aADA,aAGA,gBACA,UAGA,kBALA,WAKA,CAEJ,gCACI,gBAEJ,4BAMI,2BAHA,WAIA,gBACA,YAJA,gBAHA,kBAIA,mBAHA,SAMA,CAEJ,2BACI,kBAEJ,gHAGI,kBACA,mBAEJ,0DACI,aAIJ,uEACI,eAEJ,kCACI,UAKJ,mFACI,iBCn1BJ,+CACI,+BAGJ,uBACI,UAGJ,sBACI,yCAGJ,6BACI,6BAGJ,0CACI,iBACA,4BAGJ,0BACI,gCACA,qCACA,iBACA,gBAGJ,2CACI,yCAGJ,kEACI,iBAKJ,iBACI,uCAOJ,kBACI,qCACA,gBAGJ,oBACI,YAEA,yBACI,UAIR,wBACI,qBACA,iBAOJ,0FACI,iBChGJ,sBACI,aACA,kCAEA,iCADA,wBAEA,aACA,gBACA,kBACA,YAGJ,yBACI,cACA,aAGJ,0BACI,kBACA,cClBJ,4BACI,aACA,qBACA,SACA,UAGJ,8DAEI,mDACA,kBACA,gCACA,cACA,iBACA,iBACA,kBACA,WAGJ,4BACI,eACA,qBAEA,kCACI,iCAGJ,4DACI,iCACA,0BAIR,yCACI,cClCJ,gBACI,gCACA,qBACA,qBACA,YACA,WAEA,mCACI,iCAGJ,mCACI,iCAGJ,mCACI,8BAGJ,kCACI,+BCpBR,+BACI,mBACA,aCFJ,+BACI,iBACA,SCfJ,iCACI,cACA,kBAUJ,wBACI,oCACA,sCACA,kBACA,sBACA,8BACA,cACA,qCACA,8BACA,gCACA,qCACA,eACA,+BACA,WAEA,iCACI,sCACA,iDACA,mBAGJ,+CACI,iBACA,+BACA,oCACA,eAGJ,sDACI,mBAlCe,CAoCf,6EACI,mBApCgB,CAwCxB,uDACI,oBA1Ce,CA4Cf,8EACI,oBA5CgB,CAiD5B,+EACI,oBACA,aAtDa,CAuDb,kBACA,kBACA,QACA,YA1Da,CA6DjB,4BAII,WA7DqB,CAgEzB,4BAII,YApEqB,CAuEzB,uJACI,aA3EY,CA4EZ,mBACA,YA7EY,CAgFhB,oDACI,WA7E0B,CAgF9B,oDACI,YAjF0B,CAoF9B,8BACI,iCACA,aAGJ,yKACI,yBAGJ,kLACI,0BC3FJ,4BAEI,aADA,aAEA,oFACA,mBACA,gBCpBJ,yBACI,wBACA,QAGJ,0BACI,wBACA,OCQJ,oBACI,gBACA,mBCFJ,yBACI,qBACA,kBAGJ,sBACI,oCACA,sCACA,kBACA,sBACA,8BACA,eACA,cACA,qCACA,8BACA,gCACA,gBACA,sBACA,kBACA,gBACA,+BACA,mBAGJ,iDACI,gCAGJ,mGAGI,iCACA,aAGJ,+BACI,sCACA,iDACA,gCACA,mBAGJ,2CACI,iBACA,+BACA,gBACA,eAGJ,uBACI,YACA,kBAEA,UADA,oBACA,CAGJ,wBACI,oCACA,sCACA,kBACA,sBAEA,8CADA,eAEA,iBAIA,eAFA,aADA,cAEA,cAEA,kBACA,aAGJ,qBACI,qBACA,SACA,aACA,UAGJ,wBACI,iBACA,iBAEA,8BAEI,eAGJ,2EAJI,4CAKA,CAIR,6CACI,iBACA,gBACA,iBAGJ,qBACI,gBACA,YACA,sBACA,gCACA,eACA,cACA,qCACA,8BACA,gBACA,iBACA,kBACA,gBACA,+BACA,mBACA,WAEA,kFAGI,6CAIR,0CACI,iBACA,iBAGJ,8BACI,aACA,iBAGJ,gCACI,gCClJJ,MACE,2BAA4B,CAC5B,6BAA8B,CAC9B,6BAA8B,CAC9B,gCAAiC,CACjC,gCAAiC,CACjC,8BAA+B,CAC/B,+CAAsD,CAEtD,qDAAsD,CACtD,2DAA4D,CAC5D,2DAA4D,CAC5D,uDAAwD,CAExD,4BAA6B,CAC7B,gCAAiC,CACjC,gCAAiC,CACjC,iCAAkC,CAClC,iCAAkC,CAClC,uBAAwB,CAExB,mCAAoC,CACpC,+BAAgC,CAGhC,+BAAgC,CAChC,kCAAmC,CACnC,kCAAmC,CACnC,gCAAiC,CAEjC,gCAAiC,CACjC,2CAA4C,CAG5C,uGAUA,sCAAuC,CACvC,yDAA0D,CAC1D,+DAAgE,CAChE,+DAAgE,CAChE,2DCXF,CCxCA,2BAME,qBAAsB,CACtB,UAAW,CAHX,WAAY,CADZ,cAAe,CADf,wGAAgE,CAGhE,6CAAkC,CAJlC,4CDiDF,CC1CE,qCAEE,QAAS,CADT,OD6CJ,CC1CE,uCAEE,QAAS,CADT,OAAQ,CAER,6DD4CJ,CC1CE,sCAEE,SAAU,CADV,OD6CJ,CC1CE,wCACE,UAAW,CACX,QD4CJ,CC1CE,0CACE,UAAW,CACX,QAAS,CACT,6DD4CJ,CC1CE,yCACE,UAAW,CACX,SD4CJ,CCxCA,yCACE,2BAGE,MAAO,CACP,QAAS,CAFT,SAAU,CADV,WD8CF,CC1CE,kHAGE,KAAM,CACN,uDD0CJ,CCxCE,2HAGE,QAAS,CACT,uDDwCJ,CCtCE,gCAEE,SAAa,CADb,ODyCJ,CACF,CEjGA,iBAME,iBAAkB,CAClB,mEAA6E,CAJ7E,qBAAsB,CAUtB,cAAe,CACf,aAAc,CANd,YAAa,CAIb,8DAAwC,CAHxC,6BAA8B,CAL9B,kBAAmB,CAMnB,4DAA4C,CAR5C,2DAA4C,CAS5C,eAAgB,CANhB,WAAY,CAJZ,iBFgHF,CElGE,sBACE,aFoGJ,CElGE,sBAKE,kBAAmB,CADnB,YAAa,CAFb,aAAc,CADd,aAAc,CAEd,WFsGJ,CEnGI,qCACE,QFqGN,CElGE,sBACE,wBAGA,YAAa,CADb,aAAc,CAFd,sBAAuB,CACvB,UFsGJ,CEhGA,mBAEE,qDAAwB,CADxB,yDFoGF,CEhGA,wBAEE,qDAAwB,CADxB,yDFoGF,CEhGA,yCACE,iBAEE,eAAgB,CADhB,eFoGF,CACF,CGpJE,6BACE,wDAAsC,CACtC,gDHsJJ,CGhJE,uFACE,sDAAuC,CACvC,oDHsJJ,CGpJE,sDAEE,wDAAsC,CADtC,gDHuJJ,CGpJE,yDAEE,2DAAyC,CADzC,mDHuJJ,CGpJE,yDAEE,2DAAyC,CADzC,mDHuJJ,CGpJE,uDAEE,yDAAuC,CADvC,iDHuJJ,CGjJE,qCACE,iIHoJJ,CGlJE,oCACE,iEHoJJ,CGlJE,8BACE,iEHoJJ,CGlJE,iCACE,oEHoJJ,CGlJE,iCACE,oEHoJJ,CGlJE,+BACE,kEHoJJ,CGlJE,uRAIE,0EHiJJ,CIvMA,wBASE,qBAAsB,CAPtB,sBAAuB,CAEvB,WAAY,CAHZ,UAAW,CAKX,cAAe,CACf,UAAY,CAJZ,YAAa,CAEb,SAAU,CAGV,mBJ2MF,CIxME,+BACE,UAAW,CACX,UJ0MJ,CIvME,4BACE,iBAAkB,CAClB,WAAY,CACZ,UJyMJ,CItME,4DACE,SJwMJ,CK/NA,2CACE,GACE,+CLkOF,CKhOA,GACE,+CLkOF,CACF,CKxOA,mCACE,GACE,+CLkOF,CKhOA,GACE,+CLkOF,CACF,CK/NA,wBAEE,QAAS,CAGT,UAAW,CAFX,MAAO,CAIP,UAAY,CANZ,iBAAkB,CAOlB,mDAAsB,CAJtB,UAAW,CAEX,4CLmOF,CK/NE,kCACE,+GLiOJ,CK9NE,oCACE,yDAA0B,CAA1B,8CLgOJ,CK7NE,6BAEE,SAAa,CADb,OAAQ,CAER,qDL+NJ,CM7PA,mBAQE,oGADA,wBAAiD,CAAjD,qDAAiD,CAFjD,kBAAmB,CAEnB,oDAAiD,CAJjD,qBAAsB,CADtB,WAAY,CADZ,UNuQF,COpQA,2CACI,kBAJA,uHP4QF,COjQE,GACI,SAAU,CACV,2EPmQN,COjQE,IACI,SAAU,CACV,yEPmQN,COjQE,IACI,uEPmQN,COjQE,IACI,uEPmQN,COjQE,GACI,qCPmQN,CACF,CO3RA,mCACI,kBAJA,uHP4QF,COjQE,GACI,SAAU,CACV,2EPmQN,COjQE,IACI,SAAU,CACV,yEPmQN,COjQE,IACI,uEPmQN,COjQE,IACI,uEPmQN,COjQE,GACI,qCPmQN,CACF,COhQA,4CACI,IACI,SAAU,CACV,yEPkQN,COhQE,GACI,SAAU,CACV,2EPkQN,CACF,CO1QA,oCACI,IACI,SAAU,CACV,yEPkQN,COhQE,GACI,SAAU,CACV,2EPkQN,CACF,CO/PA,0CACI,kBA1CA,uHP4SF,CO3PE,GACI,SAAU,CACV,6EP6PN,CO3PE,IACI,SAAU,CACV,uEP6PN,CO3PE,IACI,yEP6PN,CO3PE,IACI,qEP6PN,CO3PE,GACI,qCP6PN,CACF,COrRA,kCACI,kBA1CA,uHP4SF,CO3PE,GACI,SAAU,CACV,6EP6PN,CO3PE,IACI,SAAU,CACV,uEP6PN,CO3PE,IACI,yEP6PN,CO3PE,IACI,qEP6PN,CO3PE,GACI,qCP6PN,CACF,CO1PA,2CACI,IACI,SAAU,CACV,uEP4PN,CO1PE,GACI,SAAU,CACV,6EP4PN,CACF,COpQA,mCACI,IACI,SAAU,CACV,uEP4PN,CO1PE,GACI,SAAU,CACV,6EP4PN,CACF,COzPA,wCACI,kBAhFA,uHP4UF,COrPE,GACI,SAAU,CACV,2EPuPN,COrPE,IACI,SAAU,CACV,yEPuPN,COrPE,IACI,uEPuPN,COrPE,IACI,uEPuPN,COrPE,GACI,uDPuPN,CACF,CO/QA,gCACI,kBAhFA,uHP4UF,COrPE,GACI,SAAU,CACV,2EPuPN,COrPE,IACI,SAAU,CACV,yEPuPN,COrPE,IACI,uEPuPN,COrPE,IACI,uEPuPN,COrPE,GACI,uDPuPN,CACF,COpPA,yCACI,IACI,yEPsPN,COpPE,QAEI,SAAU,CACV,uEPqPN,COnPE,GACI,SAAU,CACV,6EPqPN,CACF,COjQA,iCACI,IACI,yEPsPN,COpPE,QAEI,SAAU,CACV,uEPqPN,COnPE,GACI,SAAU,CACV,6EPqPN,CACF,COlPA,0CACI,kBA1HA,uHP+WF,CO9OE,GACI,SAAU,CACV,6EPgPN,CO9OE,IACI,SAAU,CACV,uEPgPN,CO9OE,IACI,yEPgPN,CO9OE,IACI,qEPgPN,CO9OE,GACI,qCPgPN,CACF,COxQA,kCACI,kBA1HA,uHP+WF,CO9OE,GACI,SAAU,CACV,6EPgPN,CO9OE,IACI,SAAU,CACV,uEPgPN,CO9OE,IACI,yEPgPN,CO9OE,IACI,qEPgPN,CO9OE,GACI,qCPgPN,CACF,CO7OA,2CACI,IACI,uEP+ON,CO7OE,QAEI,SAAU,CACV,yEP8ON,CO5OE,GACI,SAAU,CACV,2EP8ON,CACF,CO1PA,mCACI,IACI,uEP+ON,CO7OE,QAEI,SAAU,CACV,yEP8ON,CO5OE,GACI,SAAU,CACV,2EP8ON,CACF,CO1OI,uEAEI,mFP2OR,COzOI,yEAEI,qFP0OR,COxOI,oCACI,mFP0OR,COxOI,uCACI,+EP0OR,COrOI,qEAEI,qFPuOR,COrOI,uEAEI,uFPsOR,COpOI,mCACI,iFPsOR,COpOI,sCACI,qFPsOR,CQxaA,oCACI,GACI,SAAU,CACV,+DR2aN,CQzaE,IACI,SR2aN,CACF,CQlbA,4BACI,GACI,SAAU,CACV,+DR2aN,CQzaE,IACI,SR2aN,CACF,CQxaA,qCACI,GACI,SR0aN,CQxaE,IACI,SAAU,CACV,+DR0aN,CQxaE,GACI,SR0aN,CACF,CQpbA,6BACI,GACI,SR0aN,CQxaE,IACI,SAAU,CACV,+DR0aN,CQxaE,GACI,SR0aN,CACF,CQvaA,sBACI,uERyaJ,CQtaA,qBACI,yERyaJ,CSrcA,oCACI,GAEI,2EAAkC,CAClC,SAAU,CAFV,+FT0cN,CStcE,IAEI,2EAAkC,CADlC,iGTycN,CStcE,IAEI,SAAU,CADV,+FTycN,CStcE,IACI,+FTwcN,CStcE,GACI,iETwcN,CACF,CS3dA,4BACI,GAEI,2EAAkC,CAClC,SAAU,CAFV,+FT0cN,CStcE,IAEI,2EAAkC,CADlC,iGTycN,CStcE,IAEI,SAAU,CADV,+FTycN,CStcE,IACI,+FTwcN,CStcE,GACI,iETwcN,CACF,CSrcA,qCACI,GACI,iETucN,CSrcE,IAEI,SAAU,CADV,iGTwcN,CSrcE,GAEI,SAAU,CADV,+FTwcN,CACF,CSldA,6BACI,GACI,iETucN,CSrcE,IAEI,SAAU,CADV,iGTwcN,CSrcE,GAEI,SAAU,CADV,+FTwcN,CACF,CSpcA,sBACI,uETscJ,CSncA,qBACI,yETscJ,CU3eA,0CACI,GACI,uEAAkC,CAClC,kBV8eN,CU5eE,GARA,uDVufF,CACF,CUrfA,kCACI,GACI,uEAAkC,CAClC,kBV8eN,CU5eE,GARA,uDVufF,CACF,CU3eA,yCACI,GACI,yEAAmC,CACnC,kBV6eN,CU3eE,GAlBA,uDVggBF,CACF,CUpfA,iCACI,GACI,yEAAmC,CACnC,kBV6eN,CU3eE,GAlBA,uDVggBF,CACF,CU1eA,uCACI,GACI,uEAAkC,CAClC,kBV4eN,CU1eE,GA5BA,uDVygBF,CACF,CUnfA,+BACI,GACI,uEAAkC,CAClC,kBV4eN,CU1eE,GA5BA,uDVygBF,CACF,CUzeA,yCACI,GACI,yEAAmC,CACnC,kBV2eN,CUzeE,GAtCA,uDVkhBF,CACF,CUlfA,iCACI,GACI,yEAAmC,CACnC,kBV2eN,CUzeE,GAtCA,uDVkhBF,CACF,CUxeA,2CACI,GA5CA,uDVuhBF,CUxeE,GAEI,uEAAkC,CADlC,iBV2eN,CACF,CUjfA,mCACI,GA5CA,uDVuhBF,CUxeE,GAEI,uEAAkC,CADlC,iBV2eN,CACF,CUveA,0CACI,GAtDA,uDVgiBF,CUveE,GAEI,yEAAmC,CADnC,iBV0eN,CACF,CUhfA,kCACI,GAtDA,uDVgiBF,CUveE,GAEI,yEAAmC,CADnC,iBV0eN,CACF,CUteA,0CACI,GAhEA,uDVyiBF,CUteE,GAEI,yEAAmC,CADnC,iBVyeN,CACF,CU/eA,kCACI,GAhEA,uDVyiBF,CUteE,GAEI,yEAAmC,CADnC,iBVyeN,CACF,CUreA,wCACI,GA1EA,uDVkjBF,CUreE,GAEI,2EAAoC,CADpC,iBVweN,CACF,CU9eA,gCACI,GA1EA,uDVkjBF,CUreE,GAEI,2EAAoC,CADpC,iBVweN,CACF,CUneI,qEAEI,iFVoeR,CUleI,uEAEI,mFVmeR,CUjeI,mCACI,iFVmeR,CUjeI,sCACI,6EVmeR,CU9dI,mEAEI,mFVgeR,CU9dI,qEAEI,qFV+dR,CU7dI,kCACI,+EV+dR,CU7dI,qCACI,mFV+dR,CWjlBA,kCACE,GACE,qDXolBF,CWllBA,GACE,uDXolBF,CACF,CW1lBA,0BACE,GACE,qDXolBF,CWllBA,GACE,uDXolBF,CACF,CY3kBA,iBACI,oCACA,6BACA,2BACA,4BACA,gCACA,cACA,cACA,gBACA,kBACA,kBACA,iBACA,wBACA,kBACA,mBAEA,mCACI,qDACA,wGACA,8BACA,yBAGJ,mCACI,qDACA,mBACA,gCACA,qBACA,gBACA,gBACA,kBACA,mBACA,wBAGJ,uBACI,0BAEA,yCACI,mDACA,0BAKZ,gBACI,YACA,kBACA,sBACA,WCjDJ,kCACI,aACA,mBACA,iBACA,mBAEA,eADA,gBAEA,kBAEA,4DACI,iBAGJ,4DACI,iBAGJ,wCACI,4CACA,SAEA,WADA,WAEA,kBACA,WCvBR,wBACI,oCACA,kBACA,+BACA,qCACA,iBACA,WACA,gBACA,iBACA,kBCxBJ,mCACI,mBAGJ,iCACI,qBAGA,kBAHA,wCACA,aACA,gGACA,aAGJ,+BACI,kBAGA,eAHA,kCACA,aACA,kGACA,UAGJ,sBAEI,yBADA,iBAEA,aACA,gCAEA,4BAEI,4BADA,8CACA,CAIR,gCAGI,kBAFA,aACA,2BAEA,gBADA,YACA,CAGJ,0BAGI,0DAFA,aACA,oHAEA,eAGJ,mCAEI,aADA,YACA,CAGJ,6BAEI,aADA,aAEA,gGAGJ,8BACI,gB7BxDJ,6I6BiEQ,iB7BjER,kJ6B2EQ,oB7B3ER,iJ6BqFQ,qB7BrFR,8I6B+FQ,kB7B/FR,oJ6ByGQ,qB7BzGR,qJ6BmHQ,sB7BnHR,gJ6B6HQ,kB7B7HR,uJ6BuIQ,oB7BvIR,qJ6BiJQ,sB7BjJR,6I6B2JQ,iB7B3JR,mJ6BqKQ,oB7BrKR,kJ6B+KQ,qB7B/KR,uJ6ByLQ,sB7BzLR,2J6BmMQ,yB7BnMR,2J6B6MQ,0B7B7MR,+I6BuNQ,kB7BvNR,iJ6BiOQ,mB7BjOR,iJ6B2OQ,mB7B3OR,iJ6BqPQ,mB7BrPR,iJ6B+PQ,mB7B/PR,8I6ByQQ,mB7BzQR,8I6BmRQ,mBCjQR,0BACI,sCACA,2DACA,aACA,sBACA,aACA,gBAGJ,8BAKI,mBAJA,aAGA,uBAFA,aACA,iBAEA,CAGJ,gCACI,mBAGJ,yBACI,mBAGJ,wBACI,qBACA,SACA,UAEA,8BAEI,kDADA,WAEA,cACA,WACA,iBACA,eAIR,uGAEI,aAGJ,yBACI,mBACA,kCACA,8BACA,aACA,iBACA,iBACA,gBACA,aACA,kBACA,qBACA,2CA1DqB,CA4DrB,sDACI,iCACA,0BAGJ,8DAEI,+CACA,0BAIR,sBACI,qDACA,mBACA,gCACA,qBACA,iBACA,mBACA,iBACA,gBACA,2CAjFqB,CAoFzB,+JAGI,mDACA,0BAGJ,sBACI,uCACA,YACA,2CA9FqB,CAiGzB,+JAGI,yB9BpHJ,4E8BkII,C9BlIJ,uC8BmII,wCACA,0B9BpIJ,+F8BqII,e9BrIJ,gB8BsII,WANa,CAOb,iBACA,a9BxIJ,2F8ByII,WC1HJ,2BACI,mBACA,aACA,sBACA,YACA,uBACA,gBCNJ,yBAEI,+BADA,qBAEA,cACA,sBACA,WCLJ,2BACI,aAGJ,gCACI,qBACA,cAEA,sCACI,uCACA,YACA,qBACA,gBAGJ,iDACI,aAIR,yBAEI,cADA,YACA,CAGJ,sBACI,kDACA,kBAEA,gBACA,cAFA,uBAEA,CAGJ,gCACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,mCACI,gBAIR,0BACI,cACA,iBAGJ,uBACI,uCACA,kBACA,0BACA,eACA,qBACA,iBACA,cACA,gBACA,yBACA,mBC/DJ,mBACI,aAGJ,sBACI,YAGJ,sBACI,YACA,gBACA,SAGJ,wBACI,sBACA,gCACA,uCACA,iBACA,mBACA,eACA,iBACA,iBACA,+DACA,mBACA,mBACA,SAGJ,+BACI,+BAGJ,kBACI,uCACA,iBACA,mBACA,iBACA,WACA,gBCvCJ,8BACI,uCACA,iBAEA,oCACI,uCACA,YACA,qBACA,eACA,iBACA,cACA,sBCXR,2BACI,aAGJ,gCACI,qBACA,cAEA,sCACI,uCACA,YACA,qBACA,gBAGJ,iDACI,aChBR,4BACI,gCACA,iBACA,gBACA,mBAGJ,0BAEI,aADA,aAEA,qCAGJ,6DAEI,aACA,gBACA,mBAGJ,oCACI,gCACA,kBCtBJ,6BACI,aAGJ,kCACI,qBACA,cAEA,wCACI,uCACA,YACA,qBACA,gBAGJ,mDACI,aChBR,qDAEI,kDACA,kBACA,YACA,gBACA,eAGJ,6BACI,iCACA,cAGJ,4BAEI,cADA,aAEA,gBAGJ,uBAEI,aADA,YACA,CAGJ,2BACI,kDACA,cACA,uCACA,kCACA,cACA,gBACA,WAGJ,gCACI,eACA,cAGJ,0BACI,sBCxCJ,wBAGI,0DACA,sBAOA,CxC3BJ,kZyCeA,6BACI,aAGJ,kCACI,qBACA,cAEA,wCACI,uCACA,YACA,qBACA,gBAGJ,mDACI,aAIR,6BACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,gCACI,gBAIR,4BACI,cACA,iBCrCJ,iCACI,eAGJ,mCACI,mBAGJ,0DACI,uCACA,YACA,aCXJ,2BACI,aAGJ,gCACI,qBACA,cAEA,sCACI,uCACA,YACA,qBACA,gBAGJ,iDACI,aAIR,4BACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,+BACI,gBAIR,0BACI,cACA,iBCrCJ,0BACI,aAGJ,+BACI,qBACA,cAEA,qCACI,uCACA,YACA,qBACA,gBAGJ,gDACI,aAIR,0BACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,6BACI,gBAIR,yBACI,cACA,iBCrCJ,iCACI,gCACA,iBACA,oBACA,kBAGJ,2BACI,cACA","sources":["style/fonts.css","index.css","%3Cinput%20css%200aaE1_%3E","../","../node_modules/highcharts/css/highcharts.scss","components/charts/charts.scss","components/App.module.scss","components/dataTable/PaginationNav.module.scss","components/pips/Pip.module.scss","components/layout/WorkspaceHeader.module.scss","components/layout/WorkspaceTitle.module.scss","components/TextInput.module.scss","components/dataTable/DataFilter.module.scss","components/dropdown/Dropdown.module.scss","components/inputs/Label.module.scss","components/inputs/Select.module.scss","../node_modules/react-toastify/scss/_variables.scss","../node_modules/react-toastify/dist/ReactToastify.css","../node_modules/react-toastify/scss/_toastContainer.scss","../node_modules/react-toastify/scss/_toast.scss","../node_modules/react-toastify/scss/_theme.scss","../node_modules/react-toastify/scss/_closeButton.scss","../node_modules/react-toastify/scss/_progressBar.scss","../node_modules/react-toastify/scss/_icons.scss","../node_modules/react-toastify/scss/animations/_bounce.scss","../node_modules/react-toastify/scss/animations/_zoom.scss","../node_modules/react-toastify/scss/animations/_flip.scss","../node_modules/react-toastify/scss/animations/_slide.scss","../node_modules/react-toastify/scss/animations/_spin.scss","components/tabs/Tab.module.scss","components/tabs/TabContainer.module.scss","components/tooltip/Tooltip.module.scss","components/routes/Settings.module.scss","components/NavRail.module.scss","components/routes/Error404.module.scss","components/tooltip/HelpTooltip.module.scss","components/routes/schema/Schema.module.scss","components/Code.module.scss","components/layout/NavCrumbs.module.scss","components/routes/stream/Stream.module.scss","components/routes/Workflows.module.scss","components/routes/workflow/Workflow.module.scss","components/routes/VTExplain.module.scss","components/Spinner.module.scss","components/routes/keyspace/Keyspace.module.scss","components/routes/keyspace/KeyspaceShards.module.scss","components/routes/tablet/Tablet.module.scss","components/routes/shard/Shard.module.scss","components/routes/shard/ShardTablets.module.scss"],"sourcesContent":["/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n@font-face {\n font-display: swap;\n font-family: NotoSans;\n src: local('NotoSans-Regular'), url('../fonts/NotoSans-Regular.ttf') format('truetype');\n}\n\n@font-face {\n font-display: swap;\n font-family: NotoSans;\n src: local('NotoSans-SemiBold'), url('../fonts/NotoSans-SemiBold.ttf') format('truetype');\n font-weight: 500;\n}\n\n@font-face {\n font-display: swap;\n font-family: NotoSans;\n src: local('NotoSans-Bold'), url('../fonts/NotoSans-Bold.ttf') format('truetype');\n font-weight: 700;\n}\n\n@font-face {\n font-display: swap;\n font-family: NotoMono;\n src: local('NotoMono-Regular'), url('../fonts/NotoMono-Regular.ttf') format('truetype');\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@import './style/fonts.css';\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n:root {\n /* Greyscale */\n --grey75: #f8fafd;\n --grey200: #edf2f7;\n --grey400: #cbd5e0;\n --grey600: #718096;\n --grey800: #2d3748;\n --grey900: #1e2531;\n\n /* Invariant colours common across all themes */\n --colorSuccess: #00893e;\n --colorSuccess50: #4cba6a;\n --colorSuccess200: #005a13;\n --colorInfo: #ffab40;\n --colorInfo50: #ffdd71;\n --colorInfo200: #c77c02;\n --colorError: #d32f2f;\n --colorError50: #ff6659;\n --colorError200: #9a0007;\n\n /* Fonts */\n --fontFamilyPrimary: theme('fontFamily.sans');\n --fontFamilyMonospace: theme('fontFamily.mono');\n\n /* Body text */\n --lineHeightBody: 1.36;\n\n /* Headings */\n --lineHeightHeading: 1.36;\n\n /* Inputs + other form controls */\n --inputHeightSmall: 2.4rem;\n --inputHeightMedium: 3.7rem;\n --inputHeightLarge: 4.6rem;\n\n /* Tables */\n --tableCellPadding: 1.6rem;\n\n /* Layout variables, set to light theme by default */\n --backgroundPrimary: #fff;\n --backgroundPrimaryHighlight: rgba(61, 90, 254, 0.1);\n --backgroundSecondary: var(--grey75);\n --backgroundSecondaryHighlight: var(--grey200);\n --boxShadowHover: 0 3px 3px #cbd5e0;\n --colorDisabled: var(--grey400);\n --colorPrimary: #3d5afe;\n --colorPrimary50: #8187ff;\n --colorPrimary200: #0031ca;\n --colorScaffoldingHighlight: var(--grey400);\n --colorScaffoldingForeground: var(--grey600);\n --tableBorderColor: var(--grey400);\n --textColorPrimary: theme('textColor.primary');\n --textColorInverted: #fff;\n --textColorSecondary: theme('textColor.secondary');\n --textColorDisabled: #cbd5e0;\n\n /* TODO(doeg, someday): add a mixin to apply opacity to hex vars to re-use var(--backgroundInverted) */\n --tooltipBackground: rgba(0, 0, 0, 0.85);\n\n /* Z-index */\n --zIndexDefault: 0;\n --zIndexLow: 10;\n --zIndexMid: 100;\n --zIndexHigh: 1000;\n}\n\n/* Dark theme */\n[data-vtadmin-theme='dark'] {\n --backgroundPrimary: #17171b;\n --backgroundPrimaryHighlight: rgba(129, 135, 255, 0.2);\n --backgroundSecondary: var(--grey900);\n --backgroundSecondaryHighlight: var(--grey800);\n --boxShadowHover: 0 3px 3px #2d3748;\n --colorDisabled: var(--grey600);\n --colorPrimary: #8187ff;\n --colorPrimary50: #b6b7ff;\n --colorPrimary200: #4a5acb;\n --colorScaffoldingHighlight: var(--grey600);\n --colorScaffoldingForeground: var(--grey400);\n --tableBorderColor: var(--grey800);\n --textColorPrimary: #fff;\n --textColorInverted: #17171b;\n --textColorSecondary: #cbd5e0;\n --textColorDisabled: #2d3748;\n --tooltipBackground: rgba(255, 255, 255, 0.85);\n}\n\n* {\n box-sizing: border-box;\n}\n\nhtml {\n /**\n * Set a base font size of 1rem == 10px, based on the common browser default of 16px.\n * This lets us use rem values everywhere for accessibility, while still\n * \"pinning\" to reasonable defaults. For a really good article on this,\n * see https://www.24a11y.com/2019/pixels-vs-relative-units-in-css-why-its-still-a-big-deal/\n */\n font-size: 62.5%;\n}\n\nbody {\n background: var(--backgroundPrimary);\n color: var(--textColorPrimary);\n font-size: theme('fontSize.base');\n line-height: var(--lineHeightBody);\n margin: 0;\n font-family: var(--fontFamilyPrimary);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/* Typography */\nh1 {\n color: var(--textColorPrimary);\n font-size: theme('fontSize.3xl');\n font-weight: 700;\n line-height: var(--lineHeightHeading);\n}\n\nh2 {\n color: var(--textColorPrimary);\n font-size: theme('fontSize.2xl');\n font-weight: 700;\n line-height: var(--lineHeightHeading);\n}\n\nh3 {\n color: var(--textColorPrimary);\n font-size: theme('fontSize.xl');\n font-weight: 700;\n line-height: var(--lineHeightHeading);\n}\n\ncode {\n display: inline-block;\n font-family: var(--fontFamilyMonospace);\n margin: 0 2px;\n}\n\np {\n margin: 1.2rem 0;\n}\n\n/* Links */\na,\na:visited,\na:focus,\na:active {\n color: var(--colorPrimary);\n cursor: pointer;\n text-decoration: none;\n}\n\n/* Tables */\ntable {\n border-collapse: collapse;\n margin: var(--tableCellPadding) 0;\n width: 100%;\n}\n\ntable caption {\n background: var(--backgroundSecondary);\n color: var(--textColorPrimary);\n font-size: theme('fontSize.base');\n font-weight: 500;\n padding: 1.2rem var(--tableCellPadding) 0.8rem var(--tableCellPadding);\n text-align: left;\n}\n\ntable th {\n background: var(--backgroundSecondary);\n border: solid 1px var(--backgroundSecondary);\n border-bottom-color: var(--tableBorderColor);\n color: var(--textColorSecondary);\n font-size: theme('fontSize.base');\n font-weight: 500;\n padding: 8px var(--tableCellPadding);\n text-align: left;\n}\n\ntable tbody tr {\n border-bottom: solid 1px var(--tableBorderColor);\n border-top: solid 1px var(--tableBorderColor);\n}\n\ntable tbody td {\n padding: var(--tableCellPadding);\n vertical-align: top;\n}\n\ntable tbody td[rowSpan] {\n border-right: solid 1px var(--tableBorderColor);\n}\n\n.Toastify__toast {\n padding: 0 !important;\n min-height: auto !important;\n background: none !important;\n}\n\n.Toastify__toast-body {\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.Toastify__toast-theme--light,\n.Toastify__toast-theme--dark {\n background: none !important;\n}\n\n/* See https://tailwindcss.com/docs/extracting-components */\n@layer components {\n .btn,\n .btn:visited {\n @apply bg-vtblue;\n @apply border-2 border-vtblue;\n @apply cursor-pointer;\n @apply font-sans font-semibold;\n @apply inline-block;\n @apply leading-relaxed;\n @apply outline-none;\n @apply px-6 py-2;\n @apply rounded-lg;\n @apply text-center;\n @apply text-white;\n @apply select-none;\n @apply whitespace-nowrap;\n @apply w-min;\n\n @apply focus:ring-vtblue-50;\n @apply focus:ring-offset-1;\n @apply focus:ring-2;\n\n height: fit-content;\n appearance: button;\n }\n\n .btn:disabled {\n @apply cursor-not-allowed;\n\n background: var(--colorDisabled);\n border-color: var(--colorDisabled);\n }\n\n /* Size variants */\n .btn-lg {\n @apply px-8;\n @apply leading-loose;\n @apply text-lg;\n }\n\n .btn-sm {\n @apply border;\n @apply leading-snug;\n @apply px-4 py-1;\n @apply text-sm;\n }\n\n /* Implicit icon styling */\n .btn svg {\n @apply align-middle;\n @apply fill-current;\n @apply h-8;\n @apply inline-block;\n @apply -ml-2 mr-1;\n }\n\n .btn-lg svg {\n @apply h-10;\n @apply -ml-2 mr-2;\n }\n\n .btn-sm svg {\n @apply h-6;\n @apply -ml-3 mr-0;\n }\n\n /* Visual priority variants */\n .btn-secondary,\n .btn-secondary:visited {\n @apply bg-transparent !important;\n @apply text-vtblue;\n }\n\n .btn-secondary:disabled {\n @apply text-vtblue;\n\n color: var(--colorDisabled);\n }\n\n /* Intents (colours) */\n .btn-danger,\n .btn-danger:visited {\n @apply focus:ring-danger-50;\n @apply bg-danger;\n @apply border-danger;\n }\n\n .btn-danger.btn-secondary:enabled,\n .btn-danger.btn-secondary:visited {\n @apply text-danger;\n }\n\n .btn-success,\n .btn-success:visited {\n @apply focus:ring-success-50;\n @apply bg-success;\n @apply border-success;\n }\n\n .btn-success.btn-secondary:enabled,\n .btn-success.btn-secondary:visited {\n @apply text-success;\n }\n\n .btn-warning,\n .btn-warning:visited {\n @apply focus:ring-warning-50;\n @apply bg-warning;\n @apply border-warning;\n }\n\n .btn-warning.btn-secondary:enabled,\n .btn-warning.btn-secondary:visited {\n @apply text-warning;\n }\n\n .toggle {\n height: 19px;\n width: 37px;\n @apply relative;\n @apply inline-flex;\n @apply flex-shrink-0;\n @apply border-2;\n @apply border-transparent;\n @apply rounded-full;\n @apply cursor-pointer;\n @apply transition-colors;\n @apply ease-in-out;\n @apply duration-200;\n @apply focus:outline-none;\n }\n\n .toggle.on {\n @apply bg-vtblue;\n }\n\n .toggle.off {\n @apply bg-gray-400;\n }\n\n .toggle-button {\n height: 15px;\n width: 15px;\n @apply pointer-events-none;\n @apply inline-block;\n @apply rounded-full;\n @apply bg-white;\n @apply shadow-lg;\n @apply transform;\n @apply ring-0;\n @apply transition;\n @apply ease-in-out;\n @apply duration-200;\n }\n\n .toggle-button.on {\n @apply translate-x-7;\n }\n\n .toggle-button.off {\n @apply translate-x-0;\n }\n}\n","/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: theme('borderColor.DEFAULT', 'currentColor'); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n tab-size: 4; /* 3 */\n font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"); /* 4 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace); /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: theme('colors.gray.400', #9ca3af); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\nEnsure the default browser behavior of the `hidden` attribute.\n*/\n\n[hidden] {\n display: none;\n}\n",null,"/**\n * @license Highcharts\n *\n * (c) 2009-2016 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n\n// Colors for data series and points.\n$colors: #7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1 !default;\n\n// Chart background, point stroke for markers and columns etc\n$background-color: #ffffff !default;\n\n// Neutral colors, grayscale by default. The default colors are defined by mixing the\n// background-color with neutral, with a weight corresponding to the number in the name.\n$neutral-color-100: #000000 !default; // Strong text.\n$neutral-color-80: #333333 !default; // Main text and some strokes.\n$neutral-color-60: #666666 !default; // Axis labels, axis title, connector fallback.\n$neutral-color-40: #999999 !default; // Credits text, export menu stroke.\n$neutral-color-20: #cccccc !default; // Disabled texts, button strokes, crosshair etc.\n$neutral-color-10: #e6e6e6 !default; // Grid lines etc.\n$neutral-color-5: #f2f2f2 !default; // Minor grid lines etc.\n$neutral-color-3: #f7f7f7 !default; // Tooltip backgroud, button fills, map null points.\n\n// Colored, shades of blue by default\n$highlight-color-100: #003399 !default; // Drilldown clickable labels, color axis max color.\n$highlight-color-80: #335cad !default; // Selection marker, menu hover, button hover, chart border, navigator series.\n$highlight-color-60: #6685c2 !default; // Navigator mask fill.\n$highlight-color-20: #ccd6eb !default; // Ticks and axis line.\n$highlight-color-10: #e6ebf5 !default; // Pressed button, color axis min color.\n\n// Fonts\n$font-family: \"Lucida Grande\", \"Lucida Sans Unicode\", Arial, Helvetica, sans-serif !default;\n$title-font-size: 1.5em !default;\n$subtitle-font-size: 1em !default;\n$legend-font-size: 1em !default;\n$axis-labels-font-size: 0.9em !default;\n\n// Tooltip\n$tooltip-border: 1px !default;\n$tooltip-background: $neutral-color-3 !default;\n\n// Axes\n$xaxis-grid-line: 0px !default;\n\n// Range-selector\n$range-selector-button-border: 0px !default;\n$range-selector-input-text: $neutral-color-80 !default;\n$range-selector-input-border: $neutral-color-20 !default;\n\n// Data-labels\n$data-label-color: $neutral-color-80 !default;\n\n// Buttons\n$context-button-background: $background-color !default;\n\n$highcharts-button-background: $neutral-color-3 !default;\n$highcharts-button-border: $neutral-color-20 !default;\n$highcharts-button-text: $neutral-color-80 !default;\n\n$highcharts-button-pressed-background: $highlight-color-10 !default;\n$highcharts-button-pressed-border: $neutral-color-20 !default;\n$highcharts-button-pressed-text: $neutral-color-80 !default;\n\n$highcharts-button-hover-background: $neutral-color-10 !default;\n$highcharts-button-hover-border: $neutral-color-20 !default;\n$highcharts-button-hover-text: $neutral-color-80 !default;\n\n// Navigator\n$navigator-series-fill: $highlight-color-80 !default;\n$navigator-series-border: $highlight-color-80 !default;\n\n// Scrollbar\n$scrollbar-track-background: $neutral-color-5 !default;\n$scrollbar-track-border: $neutral-color-5 !default;\n\n// Indicators\n$positive-color: #06b535; // Positive indicator color\n$negative-color: #f21313; // Negative indicator color\n\n.highcharts-container {\n position: relative;\n overflow: hidden;\n width: 100%;\n height: 100%;\n text-align: left;\n line-height: normal;\n z-index: 0; /* #1072 */\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n font-family: $font-family;\n font-size: 12px;\n user-select: none;\n touch-action: manipulation;\n outline: none;\n}\n.highcharts-root {\n display: block;\n}\n.highcharts-root text {\n stroke-width: 0;\n}\n.highcharts-strong {\n font-weight: bold;\n}\n.highcharts-emphasized {\n font-style: italic;\n}\n.highcharts-anchor {\n cursor: pointer;\n}\n.highcharts-background {\n fill: $background-color;\n}\n.highcharts-plot-border, .highcharts-plot-background {\n fill: none;\n}\n.highcharts-label-box {\n fill: none;\n}\n.highcharts-button-box {\n fill: inherit;\n}\n.highcharts-tracker-line {\n stroke-linejoin: round;\n stroke: rgba(192, 192, 192, 0.0001);\n stroke-width: 22;\n fill: none;\n}\n.highcharts-tracker-area {\n fill: rgba(192, 192, 192, 0.0001);\n stroke-width: 0;\n}\n\n/* Titles */\n.highcharts-title {\n fill: $neutral-color-80;\n font-size: $title-font-size;\n}\n.highcharts-subtitle {\n fill: $neutral-color-60;\n font-size: $subtitle-font-size;\n}\n\n/* Axes */\n.highcharts-axis-line {\n fill: none;\n stroke: $highlight-color-20;\n}\n.highcharts-yaxis .highcharts-axis-line {\n stroke-width: 0;\n}\n.highcharts-axis-title {\n fill: $neutral-color-60;\n}\n.highcharts-axis-labels {\n fill: $neutral-color-60;\n cursor: default;\n font-size: $axis-labels-font-size;\n}\n.highcharts-grid-line {\n fill: none;\n stroke: $neutral-color-10;\n}\n.highcharts-xaxis-grid .highcharts-grid-line {\n stroke-width: $xaxis-grid-line;\n}\n.highcharts-tick {\n stroke: $highlight-color-20;\n}\n.highcharts-yaxis .highcharts-tick {\n stroke-width: 0;\n}\n.highcharts-minor-grid-line {\n stroke: $neutral-color-5;\n}\n.highcharts-crosshair-thin {\n stroke-width: 1px;\n stroke: $neutral-color-20;\n}\n.highcharts-crosshair-category {\n stroke: $highlight-color-20;\n stroke-opacity: 0.25;\n}\n\n\n/* Credits */\n.highcharts-credits {\n cursor: pointer;\n fill: $neutral-color-40;\n font-size: 0.7em;\n transition: fill 250ms, font-size 250ms;\n}\n.highcharts-credits:hover {\n fill: black;\n font-size: 1em;\n}\n\n/* Tooltip */\n.highcharts-tooltip {\n cursor: default;\n pointer-events: none;\n white-space: nowrap;\n transition: stroke 150ms;\n}\n.highcharts-tooltip text {\n fill: $neutral-color-80;\n}\n.highcharts-tooltip .highcharts-header {\n font-size: 0.85em;\n}\n.highcharts-tooltip-box {\n stroke-width: $tooltip-border;\n fill: $tooltip-background;\n fill-opacity: 0.85;\n}\n.highcharts-tooltip-box .highcharts-label-box {\n fill: $tooltip-background;\n fill-opacity: 0.85;\n}\ndiv.highcharts-tooltip {\n filter: none;\n}\n\n.highcharts-selection-marker {\n fill: $highlight-color-80;\n fill-opacity: 0.25;\n}\n\n.highcharts-graph {\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n.highcharts-empty-series {\n stroke-width: 1px;\n fill: none;\n stroke: $neutral-color-20;\n}\n\n.highcharts-state-hover .highcharts-graph {\n stroke-width: 3;\n}\n\n.highcharts-point-inactive {\n opacity: 0.2;\n transition: opacity 50ms; /* quick in */\n}\n\n.highcharts-series-inactive {\n opacity: 0.2;\n transition: opacity 50ms; /* quick in */\n}\n\n.highcharts-state-hover path {\n transition: stroke-width 50ms; /* quick in */\n}\n.highcharts-state-normal path {\n transition: stroke-width 250ms; /* slow out */\n}\n/* Legend hover affects points and series */\ng.highcharts-series,\n.highcharts-point,\n.highcharts-markers,\n.highcharts-data-labels {\n transition: opacity 250ms;\n}\n.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),\n.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),\n.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),\n.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {\n opacity: 0.2;\n}\n\n/* Series options */\n\n/* Default colors */\n@for $i from 1 through length($colors) {\n $color: nth($colors, $i);\n .highcharts-color-#{$i - 1} {\n fill: $color;\n stroke: $color;\n }\n}\n\n.highcharts-area {\n fill-opacity: 0.75;\n stroke-width: 0;\n}\n.highcharts-markers {\n stroke-width: 1px;\n stroke: $background-color;\n}\n.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),\n.highcharts-a11y-marker-hidden {\n opacity: 0;\n}\n.highcharts-point {\n stroke-width: 1px;\n}\n.highcharts-dense-data .highcharts-point {\n stroke-width: 0;\n}\n\n.highcharts-data-label {\n font-size: 0.9em;\n font-weight: bold;\n}\n.highcharts-data-label-box {\n fill: none;\n stroke-width: 0;\n}\n.highcharts-data-label text, text.highcharts-data-label {\n fill: $data-label-color;\n}\n.highcharts-data-label-connector {\n fill: none;\n}\n.highcharts-data-label-hidden {\n pointer-events: none;\n}\n.highcharts-halo {\n fill-opacity: 0.25;\n stroke-width: 0;\n}\n.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,\n.highcharts-markers .highcharts-point-select {\n fill: $neutral-color-20;\n stroke: $neutral-color-100;\n}\n.highcharts-column-series rect.highcharts-point {\n // rect to prevent stroke on 3D columns\n stroke: $background-color;\n}\n.highcharts-column-series .highcharts-point {\n transition: fill-opacity 250ms;\n}\n.highcharts-column-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-pie-series .highcharts-point {\n stroke-linejoin: round;\n stroke: $background-color;\n}\n.highcharts-pie-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-funnel-series .highcharts-point {\n stroke-linejoin: round;\n stroke: $background-color;\n}\n.highcharts-funnel-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-funnel-series .highcharts-point-select {\n fill: inherit;\n stroke: inherit;\n}\n.highcharts-pyramid-series .highcharts-point {\n stroke-linejoin: round;\n stroke: $background-color;\n}\n.highcharts-pyramid-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-pyramid-series .highcharts-point-select {\n fill: inherit;\n stroke: inherit;\n}\n.highcharts-solidgauge-series .highcharts-point {\n stroke-width: 0;\n}\n.highcharts-treemap-series .highcharts-point {\n stroke-width: 1px;\n stroke: $neutral-color-10;\n transition: stroke 250ms, fill 250ms, fill-opacity 250ms;\n}\n.highcharts-treemap-series .highcharts-point-hover {\n stroke: $neutral-color-40;\n transition: stroke 25ms, fill 25ms, fill-opacity 25ms;\n}\n\n.highcharts-treemap-series .highcharts-above-level {\n display: none;\n}\n.highcharts-treemap-series .highcharts-internal-node {\n fill: none;\n}\n.highcharts-treemap-series .highcharts-internal-node-interactive {\n fill-opacity: 0.15;\n cursor: pointer;\n}\n.highcharts-treemap-series .highcharts-internal-node-interactive:hover {\n fill-opacity: 0.75;\n}\n\n.highcharts-vector-series .highcharts-point {\n fill: none;\n stroke-width: 2px;\n}\n\n.highcharts-windbarb-series .highcharts-point {\n fill: none;\n stroke-width: 2px;\n }\n\n.highcharts-lollipop-stem {\n\tstroke: $neutral-color-100;\n}\n\n.highcharts-focus-border {\n fill: none;\n stroke-width: 2px;\n}\n\n.highcharts-legend-item-hidden .highcharts-focus-border {\n fill: none !important;\n}\n\n/* Legend */\n.highcharts-legend-box {\n fill: none;\n stroke-width: 0;\n}\n.highcharts-legend-item > text {\n fill: $neutral-color-80;\n font-weight: bold;\n font-size: $legend-font-size;\n cursor: pointer;\n stroke-width: 0;\n}\n.highcharts-legend-item:hover text {\n fill: $neutral-color-100;\n}\n.highcharts-legend-item-hidden * {\n fill: $neutral-color-20 !important;\n stroke: $neutral-color-20 !important;\n transition: fill 250ms;\n}\n.highcharts-legend-nav-active {\n fill: $highlight-color-100;\n cursor: pointer;\n}\n.highcharts-legend-nav-inactive {\n fill: $neutral-color-20;\n}\ncircle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive { /* tracker */\n fill: rgba(192, 192, 192, 0.0001);\n}\n.highcharts-legend-title-box {\n fill: none;\n stroke-width: 0;\n}\n\n/* Bubble legend */\n.highcharts-bubble-legend-symbol {\n stroke-width: 2;\n fill-opacity: 0.5;\n}\n.highcharts-bubble-legend-connectors {\n stroke-width: 1;\n}\n.highcharts-bubble-legend-labels {\n fill: $neutral-color-80;\n}\n\n/* Loading */\n.highcharts-loading {\n position: absolute;\n background-color: $background-color;\n opacity: 0.5;\n text-align: center;\n z-index: 10;\n transition: opacity 250ms;\n}\n.highcharts-loading-hidden {\n height: 0 !important;\n opacity: 0;\n overflow: hidden;\n transition: opacity 250ms, height 250ms step-end;\n}\n.highcharts-loading-inner {\n font-weight: bold;\n position: relative;\n top: 45%;\n}\n\n/* Plot bands and polar pane backgrounds */\n.highcharts-plot-band, .highcharts-pane {\n fill: $neutral-color-100;\n fill-opacity: 0.05;\n}\n.highcharts-plot-line {\n fill: none;\n stroke: $neutral-color-40;\n stroke-width: 1px;\n}\n\n/* Highcharts More and modules */\n.highcharts-boxplot-box {\n fill: $background-color;\n}\n.highcharts-boxplot-median {\n stroke-width: 2px;\n}\n.highcharts-bubble-series .highcharts-point {\n fill-opacity: 0.5;\n}\n.highcharts-errorbar-series .highcharts-point {\n stroke: $neutral-color-100;\n}\n.highcharts-gauge-series .highcharts-data-label-box {\n stroke: $neutral-color-20;\n stroke-width: 1px;\n}\n.highcharts-gauge-series .highcharts-dial {\n fill: $neutral-color-100;\n stroke-width: 0;\n}\n.highcharts-polygon-series .highcharts-graph {\n fill: inherit;\n stroke-width: 0;\n}\n.highcharts-waterfall-series .highcharts-graph {\n stroke: $neutral-color-80;\n stroke-dasharray: 1, 3;\n}\n.highcharts-sankey-series .highcharts-point {\n stroke-width: 0;\n}\n.highcharts-sankey-series .highcharts-link {\n transition: fill 250ms, fill-opacity 250ms;\n fill-opacity: 0.5;\n}\n.highcharts-sankey-series .highcharts-point-hover.highcharts-link {\n transition: fill 50ms, fill-opacity 50ms;\n fill-opacity: 1;\n}\n.highcharts-venn-series .highcharts-point {\n fill-opacity: 0.75;\n stroke: $neutral-color-20;\n transition: stroke 250ms, fill-opacity 250ms;\n}\n.highcharts-venn-series .highcharts-point-hover {\n fill-opacity: 1;\n stroke: $neutral-color-20;\n}\n\n/* Highstock */\n.highcharts-navigator-mask-outside {\n fill-opacity: 0;\n}\n.highcharts-navigator-mask-inside {\n fill: $highlight-color-60; /* navigator.maskFill option */\n fill-opacity: 0.25;\n cursor: ew-resize;\n}\n.highcharts-navigator-outline {\n stroke: $neutral-color-20;\n fill: none;\n}\n.highcharts-navigator-handle {\n stroke: $neutral-color-20;\n fill: $neutral-color-5;\n cursor: ew-resize;\n}\n.highcharts-navigator-series {\n fill: $navigator-series-fill;\n stroke: $navigator-series-border;\n}\n.highcharts-navigator-series .highcharts-graph {\n stroke-width: 1px;\n}\n.highcharts-navigator-series .highcharts-area {\n fill-opacity: 0.05;\n}\n.highcharts-navigator-xaxis .highcharts-axis-line {\n stroke-width: 0;\n}\n.highcharts-navigator-xaxis .highcharts-grid-line {\n stroke-width: 1px;\n stroke: $neutral-color-10;\n}\n.highcharts-navigator-xaxis.highcharts-axis-labels {\n fill: $neutral-color-40;\n}\n.highcharts-navigator-yaxis .highcharts-grid-line {\n stroke-width: 0;\n}\n.highcharts-scrollbar-thumb {\n fill: $neutral-color-20;\n stroke: $neutral-color-20;\n stroke-width: 1px;\n}\n.highcharts-scrollbar-button {\n fill: $neutral-color-10;\n stroke: $neutral-color-20;\n stroke-width: 1px;\n}\n.highcharts-scrollbar-arrow {\n fill: $neutral-color-60;\n}\n.highcharts-scrollbar-rifles {\n stroke: $neutral-color-60;\n stroke-width: 1px;\n}\n.highcharts-scrollbar-track {\n fill: $scrollbar-track-background;\n stroke: $scrollbar-track-border;\n stroke-width: 1px;\n}\n.highcharts-button {\n fill: $highcharts-button-background;\n stroke: $highcharts-button-border;\n cursor: default;\n stroke-width: 1px;\n transition: fill 250ms;\n}\n.highcharts-button text {\n fill: $highcharts-button-text;\n}\n.highcharts-button-hover {\n transition: fill 0ms;\n fill: $highcharts-button-hover-background;\n stroke: $highcharts-button-hover-border;\n}\n.highcharts-button-hover text {\n fill: $highcharts-button-hover-text;\n}\n.highcharts-button-pressed {\n font-weight: bold;\n fill: $highcharts-button-pressed-background;\n stroke: $highcharts-button-pressed-border;\n}\n.highcharts-button-pressed text {\n fill: $highcharts-button-pressed-text;\n font-weight: bold;\n}\n.highcharts-button-disabled text {\n fill: $highcharts-button-text;\n}\n.highcharts-range-selector-buttons .highcharts-button {\n stroke-width: $range-selector-button-border;\n}\n.highcharts-range-label rect {\n fill: none;\n}\n.highcharts-range-label text {\n fill: $neutral-color-60;\n}\n.highcharts-range-input rect {\n fill: none;\n}\n.highcharts-range-input text {\n fill: $range-selector-input-text;\n}\n.highcharts-range-input {\n stroke-width:1px;\n stroke: $range-selector-input-border;\n}\ninput.highcharts-range-selector {\n position: absolute;\n border: 0;\n width: 1px; /* Chrome needs a pixel to see it */\n height: 1px;\n padding: 0;\n text-align: center;\n left: -9em; /* #4798 */\n}\n.highcharts-crosshair-label text {\n fill: $background-color;\n font-size: 1.1em;\n}\n.highcharts-crosshair-label .highcharts-label-box {\n fill: inherit;\n}\n\n\n.highcharts-candlestick-series .highcharts-point {\n stroke: $neutral-color-100;\n stroke-width: 1px;\n}\n.highcharts-candlestick-series .highcharts-point-up {\n fill: $background-color;\n}\n.highcharts-hollowcandlestick-series .highcharts-point-down {\n fill: $negative-color;\n stroke: $negative-color;\n}\n.highcharts-hollowcandlestick-series .highcharts-point-down-bearish-up {\n fill: $positive-color;\n stroke: $positive-color;\n}\n.highcharts-hollowcandlestick-series .highcharts-point-up {\n fill: transparent;\n stroke: $positive-color;\n}\n.highcharts-ohlc-series .highcharts-point-hover {\n stroke-width: 3px;\n}\n.highcharts-flags-series .highcharts-point .highcharts-label-box {\n stroke: $neutral-color-40;\n fill: $background-color;\n transition: fill 250ms;\n}\n.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {\n stroke: $neutral-color-100;\n fill: $highlight-color-20;\n}\n.highcharts-flags-series .highcharts-point text {\n fill: $neutral-color-100;\n font-size: 0.9em;\n font-weight: bold;\n}\n\n/* Highmaps */\n.highcharts-map-series .highcharts-point {\n transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;\n stroke: $neutral-color-20;\n}\n.highcharts-map-series .highcharts-point-hover {\n transition: fill 0ms, fill-opacity 0ms;\n fill-opacity: 0.5;\n stroke-width: 2px;\n}\n.highcharts-mapline-series .highcharts-point {\n fill: none;\n}\n.highcharts-heatmap-series .highcharts-point {\n stroke-width: 0;\n}\n.highcharts-map-navigation {\n font-size: 1.3em;\n font-weight: bold;\n text-align: center;\n}\n.highcharts-coloraxis {\n stroke-width: 0;\n}\n.highcharts-coloraxis-marker {\n fill: $neutral-color-40;\n}\n.highcharts-null-point {\n fill: $neutral-color-3;\n}\n\n/* 3d charts */\n.highcharts-3d-frame {\n fill: transparent;\n}\n\n/* Exporting module */\n.highcharts-contextbutton {\n fill: $context-button-background; /* needed to capture hover */\n stroke: none;\n stroke-linecap: round;\n}\n.highcharts-contextbutton:hover {\n fill: $neutral-color-10;\n stroke: $neutral-color-10;\n}\n.highcharts-button-symbol {\n stroke: $neutral-color-60;\n stroke-width: 3px;\n}\n.highcharts-menu {\n border: 1px solid $neutral-color-40;\n background: $background-color;\n padding: 5px 0;\n box-shadow: 3px 3px 10px #888;\n}\n.highcharts-menu-item {\n padding: 0.5em 1em;\n background: none;\n color: $neutral-color-80;\n cursor: pointer;\n transition: background 250ms, color 250ms;\n}\n.highcharts-menu-item:hover {\n background: $highlight-color-80;\n color: $background-color;\n}\n\n/* Drilldown module */\n.highcharts-drilldown-point {\n cursor: pointer;\n}\n.highcharts-drilldown-data-label text,\ntext.highcharts-drilldown-data-label,\n.highcharts-drilldown-axis-label {\n cursor: pointer;\n fill: $highlight-color-100;\n font-weight: bold;\n text-decoration: underline;\n}\n\n/* No-data module */\n.highcharts-no-data text {\n font-weight: bold;\n font-size: 12px;\n fill: $neutral-color-60;\n}\n\n/* Drag-panes module */\n.highcharts-axis-resizer {\n cursor: ns-resize;\n stroke: black;\n stroke-width: 2px;\n}\n\n/* Bullet type series */\n.highcharts-bullet-target {\n stroke-width: 0;\n}\n\n/* Lineargauge type series */\n.highcharts-lineargauge-target {\n\tstroke-width: 1px;\n\tstroke: $neutral-color-80;\n}\n.highcharts-lineargauge-target-line {\n\tstroke-width: 1px;\n stroke: $neutral-color-80;\n}\n\n/* Annotations module */\n.highcharts-annotation-label-box {\n stroke-width: 1px;\n stroke: $neutral-color-100;\n fill: $neutral-color-100;\n fill-opacity: 0.75;\n}\n.highcharts-annotation-label text {\n fill: $neutral-color-10;\n}\n\n/* A11y module */\n.highcharts-a11y-proxy-button {\n border-width: 0;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n opacity: 0.001;\n z-index: 999;\n overflow: hidden;\n padding: 0;\n margin: 0;\n display: block;\n position: absolute;\n}\n.highcharts-a11y-proxy-group li {\n list-style: none;\n}\n.highcharts-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip: rect(1px, 1px, 1px, 1px);\n margin-top: -3px;\n opacity: 0.01;\n}\n.highcharts-a11y-invisible {\n visibility: hidden;\n}\n.highcharts-a11y-proxy-container,\n.highcharts-a11y-proxy-container-before,\n.highcharts-a11y-proxy-container-after {\n position: absolute;\n white-space: nowrap;\n}\ng.highcharts-series, .highcharts-markers, .highcharts-point {\n outline: none;\n}\n\n/* Gantt */\n.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {\n cursor: pointer;\n}\n.highcharts-point-connecting-path {\n fill: none;\n}\n.highcharts-grid-axis .highcharts-tick {\n stroke-width: 1px;\n}\n.highcharts-grid-axis .highcharts-axis-line {\n stroke-width: 1px;\n}\n\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Note that the $colors definition needs to go before the highcharts.scss import.\n * This is the easiest way to override the Highcharts colour palette when using styled mode;\n * see https://www.highcharts.com/docs/chart-design-and-style/custom-themes-in-styled-mode\n *\n * The limitation here is that we can't really toggle Highcharts palettes between\n * dark/light/other themes, which is not a huge deal, but worth mentioning in case\n * it matters later on.\n *\n * Gradient generated with the very useful https://colordesigner.io/gradient-generator\n */\n$colors: #8187ff #b17ff5 #d676e5 #f26fd1 #ff6bbb #ff6ca3 #ff738c #ff7e75 #ff8c60 #ff9b4e #ffab40;\n\n/*\n* We use Highcharts' \"styled mode\" to style chart components\n* (SVGs under the hood) with CSS. This lets us rely on our\n* standard CSS variables for consistent theming.\n*\n* See https://www.highcharts.com/docs/chart-design-and-style/style-by-css\n*/\n@import 'highcharts/css/highcharts.scss';\n\n.highcharts-axis-labels {\n fill: var(--textColorSecondary);\n}\n\n.highcharts-axis-title {\n fill: var(--textColorSecondary);\n}\n\n.highcharts-background {\n fill: none;\n}\n\n.highcharts-grid-line {\n stroke: var(--backgroundPrimaryHighlight);\n}\n\n.highcharts-legend-item text {\n fill: var(--textColorPrimary);\n}\n\n.highcharts-line-series .highcharts-graph {\n stroke-width: 1px;\n transition: stroke-width 200ms; /* slow out */\n}\n\n.highcharts-loading-inner {\n color: var(--textColorSecondary);\n font-family: var(--fontFamilyPrimary);\n font-size: theme('fontSize.lg');\n font-weight: 500;\n}\n\n.highcharts-series-hover .highcharts-graph {\n transition: stroke-width 50ms ease-in-out; /* quick in */\n}\n\n.highcharts-line-series.highcharts-series-hover .highcharts-graph {\n stroke-width: 2px;\n}\n\n// Matches the root svg element of the chart. Use this to set styles\n// that should be inherited by all elements, like font-family or other text styles.\n.highcharts-root {\n font-family: var(--fontFamilyMonospace);\n}\n\n// Using Highcharts' built in `title` property is not recommended.\n// In most cases, using a regular heading element like \n// adjacent to the chart is more flexible and consistent,\n// since we can't apply layout-type rules like line-height or margin.\n.highcharts-title {\n font-family: var(--fontFamilyPrimary);\n font-weight: 700;\n}\n\n.highcharts-tooltip {\n stroke: none;\n\n text {\n fill: #fff;\n }\n}\n\n.highcharts-tooltip-box {\n fill: rgba(0, 0, 0, 0.85);\n fill-opacity: 0.95;\n}\n\n.highcharts-yaxis-grid .highcharts-grid-line {\n stroke-width: 1px;\n}\n\n.highcharts-xaxis-grid .highcharts-grid-line {\n stroke-width: 1px;\n}\n","/**\n * Copyright 2020 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n display: grid;\n grid-template-areas: 'nav content';\n grid-template-rows: auto;\n grid-template-columns: 240px auto;\n height: 100vh;\n overflow: hidden;\n position: relative;\n width: 100vw;\n}\n\n.navContainer {\n grid-area: nav;\n height: 100vh;\n}\n\n.mainContainer {\n grid-area: content;\n overflow: auto;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.links {\n display: flex;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.placeholder,\na.link {\n border: solid 1px var(--backgroundPrimaryHighlight);\n border-radius: 6px;\n color: var(--textColorSecondary);\n display: block;\n line-height: 36px;\n margin-right: 8px;\n text-align: center;\n width: 36px;\n}\n\na.link {\n cursor: pointer;\n text-decoration: none;\n\n &:hover {\n border-color: var(--colorPrimary);\n }\n\n &.activeLink {\n border-color: var(--colorPrimary);\n color: var(--colorPrimary);\n }\n}\n\n.placeholder::before {\n content: '...';\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.pip {\n background: var(--colorDisabled);\n border-radius: 100rem;\n display: inline-block;\n height: 1rem;\n width: 1rem;\n\n &.success {\n background: var(--colorSuccess50);\n }\n\n &.primary {\n background: var(--colorPrimary50);\n }\n\n &.warning {\n background: var(--colorInfo50);\n }\n\n &.danger {\n background: var(--colorError50);\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.header {\n margin-bottom: 16px;\n padding: 24px;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nh1.title {\n font-size: theme('fontSize.2xl');\n margin: 0;\n}\n","@use 'sass:math';\n\n.inputContainer {\n display: block;\n position: relative;\n}\n\n$iconSizeMedium: 1.6rem;\n$iconSizeLarge: 2.2rem;\n$iconOffsetHorizontal: 3.2rem;\n$iconOffsetHorizontalLarge: 4.2rem;\n$iconPositionHorizontal: 1.2rem;\n$iconPositionHorizontalLarge: 1.6rem;\n\n.input {\n background: var(--backgroundPrimary);\n border: solid 2px var(--colorDisabled);\n border-radius: 6px;\n box-sizing: border-box;\n color: var(--textColorPrimary);\n display: block;\n font-family: var(--fontFamilyPrimary);\n font-size: var(--fontSizeBody);\n height: var(--inputHeightMedium);\n line-height: var(--inputHeightMedium);\n padding: 0 12px;\n transition: all 0.1s ease-in-out;\n width: 100%;\n\n &:disabled {\n background: var(--backgroundSecondary);\n border-color: var(--backgroundSecondaryHighlight);\n cursor: not-allowed;\n }\n\n &.large {\n font-size: theme('fontSize.lg');\n height: var(--inputHeightLarge);\n line-height: var(--inputHeightLarge);\n padding: 0 16px;\n }\n\n &.withIconLeft {\n padding-left: $iconOffsetHorizontal;\n\n &.large {\n padding-left: $iconOffsetHorizontalLarge;\n }\n }\n\n &.withIconRight {\n padding-right: $iconOffsetHorizontal;\n\n &.large {\n padding-right: $iconOffsetHorizontalLarge;\n }\n }\n}\n\n.icon {\n fill: var(--grey600);\n height: $iconSizeMedium;\n margin-top: -1 * math.div($iconSizeMedium, 2);\n position: absolute;\n top: 50%;\n width: $iconSizeMedium;\n}\n\n.iconLeft {\n /* stylelint-disable-next-line */\n @extend .icon;\n\n left: $iconPositionHorizontal;\n}\n\n.iconRight {\n /* stylelint-disable-next-line */\n @extend .icon;\n\n right: $iconPositionHorizontal;\n}\n\n.large ~ .icon {\n height: $iconSizeLarge;\n margin-top: -1 * math.div($iconSizeLarge, 2);\n width: $iconSizeLarge;\n}\n\n.large ~ .iconLeft {\n left: $iconPositionHorizontalLarge;\n}\n\n.large ~ .iconRight {\n right: $iconPositionHorizontalLarge;\n}\n\n.input:focus {\n border-color: var(--colorPrimary);\n outline: none;\n}\n\n.input:focus ~ .icon {\n fill: var(--colorPrimary);\n}\n\n.input:disabled ~ .icon {\n fill: var(--colorDisabled);\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.controls {\n display: grid;\n grid-gap: 8px;\n grid-template-columns: 1fr min-content;\n margin-bottom: 24px;\n max-width: 720px;\n}\n",".topLeft {\n bottom: calc(100% + 1em);\n right: 0;\n}\n\n.topRight {\n bottom: calc(100% + 1em);\n left: 0;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.label {\n font-weight: 700;\n line-height: 3.2rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n display: inline-block;\n position: relative;\n}\n\n.toggle {\n background: var(--backgroundPrimary);\n border: solid 2px var(--colorDisabled);\n border-radius: 6px;\n box-sizing: border-box;\n color: var(--textColorPrimary);\n cursor: pointer;\n display: block;\n font-family: var(--fontFamilyPrimary);\n font-size: var(--fontSizeBody);\n height: var(--inputHeightMedium);\n min-width: 16rem;\n padding: 0 40px 0 12px;\n position: relative;\n text-align: left;\n transition: all 0.1s ease-in-out;\n white-space: nowrap;\n}\n\n.placeholder .toggle {\n color: var(--textColorSecondary);\n}\n\n.open .toggle,\n.toggle:active,\n.toggle:focus {\n border-color: var(--colorPrimary);\n outline: none;\n}\n\n.toggle:disabled {\n background: var(--backgroundSecondary);\n border-color: var(--backgroundSecondaryHighlight);\n color: var(--textColorSecondary);\n cursor: not-allowed;\n}\n\n.large .toggle {\n font-size: theme('fontSize.lg');\n height: var(--inputHeightLarge);\n min-width: 24rem;\n padding: 0 16px;\n}\n\n.chevron {\n height: 20px;\n position: absolute;\n top: calc(50% - 10px);\n right: 4px;\n}\n\n.dropdown {\n background: var(--backgroundPrimary);\n border: solid 2px var(--colorDisabled);\n border-radius: 6px;\n box-sizing: border-box;\n margin: 4px 0 0 0;\n height: min-content;\n max-height: 420px;\n overflow: auto;\n outline: none;\n padding: 8px 0;\n min-width: 100%;\n position: absolute;\n z-index: 1000;\n}\n\n.menu {\n list-style-type: none;\n margin: 0;\n outline: none;\n padding: 0;\n}\n\n.menu li {\n line-height: 32px;\n padding: 4px 12px;\n\n &:hover {\n background: var(--backgroundPrimaryHighlight);\n cursor: pointer;\n }\n\n &.active {\n background: var(--backgroundPrimaryHighlight);\n }\n}\n\n.large .menu li {\n font-size: theme('fontSize.lg');\n min-width: 24rem;\n padding: 8px 16px;\n}\n\n.clear {\n background: none;\n border: none;\n box-sizing: border-box;\n color: var(--textColorSecondary);\n cursor: pointer;\n display: block;\n font-family: var(--fontFamilyPrimary);\n font-size: var(--fontSizeBody);\n min-width: 16rem;\n padding: 4px 12px;\n position: relative;\n text-align: left;\n transition: all 0.1s ease-in-out;\n white-space: nowrap;\n width: 100%;\n\n &:hover,\n &:active,\n &:focus {\n background: var(--backgroundPrimaryHighlight);\n }\n}\n\n.large .clear {\n font-size: theme('fontSize.lg');\n padding: 8px 16px;\n}\n\n.emptyContainer {\n outline: none;\n padding: 8px 12px;\n}\n\n.emptyPlaceholder {\n color: var(--textColorSecondary);\n}\n","$rt-namespace: 'Toastify';\n$rt-mobile: 'only screen and (max-width : 480px)' !default;\n\n:root {\n --toastify-color-light: #fff;\n --toastify-color-dark: #121212;\n --toastify-color-info: #3498db;\n --toastify-color-success: #07bc0c;\n --toastify-color-warning: #f1c40f;\n --toastify-color-error: #e74c3c;\n --toastify-color-transparent: rgba(255, 255, 255, 0.7);\n\n --toastify-icon-color-info: var(--toastify-color-info);\n --toastify-icon-color-success: var(--toastify-color-success);\n --toastify-icon-color-warning: var(--toastify-color-warning);\n --toastify-icon-color-error: var(--toastify-color-error);\n\n --toastify-toast-width: 320px;\n --toastify-toast-background: #fff;\n --toastify-toast-min-height: 64px;\n --toastify-toast-max-height: 800px;\n --toastify-font-family: sans-serif;\n --toastify-z-index: 9999;\n\n --toastify-text-color-light: #757575;\n --toastify-text-color-dark: #fff;\n\n //Used only for colored theme\n --toastify-text-color-info: #fff;\n --toastify-text-color-success: #fff;\n --toastify-text-color-warning: #fff;\n --toastify-text-color-error: #fff;\n\n --toastify-spinner-color: #616161;\n --toastify-spinner-color-empty-area: #e0e0e0;\n\n // Used when no type is provided\n --toastify-color-progress-light: linear-gradient(\n to right,\n #4cd964,\n #5ac8fa,\n #007aff,\n #34aadc,\n #5856d6,\n #ff2d55\n );\n // Used when no type is provided\n --toastify-color-progress-dark: #bb86fc;\n --toastify-color-progress-info: var(--toastify-color-info);\n --toastify-color-progress-success: var(--toastify-color-success);\n --toastify-color-progress-warning: var(--toastify-color-warning);\n --toastify-color-progress-error: var(--toastify-color-error);\n}\n",":root {\n --toastify-color-light: #fff;\n --toastify-color-dark: #121212;\n --toastify-color-info: #3498db;\n --toastify-color-success: #07bc0c;\n --toastify-color-warning: #f1c40f;\n --toastify-color-error: #e74c3c;\n --toastify-color-transparent: rgba(255, 255, 255, 0.7);\n --toastify-icon-color-info: var(--toastify-color-info);\n --toastify-icon-color-success: var(--toastify-color-success);\n --toastify-icon-color-warning: var(--toastify-color-warning);\n --toastify-icon-color-error: var(--toastify-color-error);\n --toastify-toast-width: 320px;\n --toastify-toast-background: #fff;\n --toastify-toast-min-height: 64px;\n --toastify-toast-max-height: 800px;\n --toastify-font-family: sans-serif;\n --toastify-z-index: 9999;\n --toastify-text-color-light: #757575;\n --toastify-text-color-dark: #fff;\n --toastify-text-color-info: #fff;\n --toastify-text-color-success: #fff;\n --toastify-text-color-warning: #fff;\n --toastify-text-color-error: #fff;\n --toastify-spinner-color: #616161;\n --toastify-spinner-color-empty-area: #e0e0e0;\n --toastify-color-progress-light: linear-gradient(\n to right,\n #4cd964,\n #5ac8fa,\n #007aff,\n #34aadc,\n #5856d6,\n #ff2d55\n );\n --toastify-color-progress-dark: #bb86fc;\n --toastify-color-progress-info: var(--toastify-color-info);\n --toastify-color-progress-success: var(--toastify-color-success);\n --toastify-color-progress-warning: var(--toastify-color-warning);\n --toastify-color-progress-error: var(--toastify-color-error);\n}\n\n.Toastify__toast-container {\n z-index: var(--toastify-z-index);\n -webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);\n position: fixed;\n padding: 4px;\n width: var(--toastify-toast-width);\n box-sizing: border-box;\n color: #fff;\n}\n.Toastify__toast-container--top-left {\n top: 1em;\n left: 1em;\n}\n.Toastify__toast-container--top-center {\n top: 1em;\n left: 50%;\n transform: translateX(-50%);\n}\n.Toastify__toast-container--top-right {\n top: 1em;\n right: 1em;\n}\n.Toastify__toast-container--bottom-left {\n bottom: 1em;\n left: 1em;\n}\n.Toastify__toast-container--bottom-center {\n bottom: 1em;\n left: 50%;\n transform: translateX(-50%);\n}\n.Toastify__toast-container--bottom-right {\n bottom: 1em;\n right: 1em;\n}\n\n@media only screen and (max-width : 480px) {\n .Toastify__toast-container {\n width: 100vw;\n padding: 0;\n left: 0;\n margin: 0;\n }\n .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {\n top: 0;\n transform: translateX(0);\n }\n .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {\n bottom: 0;\n transform: translateX(0);\n }\n .Toastify__toast-container--rtl {\n right: 0;\n left: initial;\n }\n}\n.Toastify__toast {\n position: relative;\n min-height: var(--toastify-toast-min-height);\n box-sizing: border-box;\n margin-bottom: 1rem;\n padding: 8px;\n border-radius: 4px;\n box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n max-height: var(--toastify-toast-max-height);\n overflow: hidden;\n font-family: var(--toastify-font-family);\n cursor: pointer;\n direction: ltr;\n}\n.Toastify__toast--rtl {\n direction: rtl;\n}\n.Toastify__toast-body {\n margin: auto 0;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n padding: 6px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n}\n.Toastify__toast-body > div:last-child {\n -ms-flex: 1;\n flex: 1;\n}\n.Toastify__toast-icon {\n -webkit-margin-end: 10px;\n margin-inline-end: 10px;\n width: 20px;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n display: -ms-flexbox;\n display: flex;\n}\n\n.Toastify--animate {\n animation-fill-mode: both;\n animation-duration: 0.7s;\n}\n\n.Toastify--animate-icon {\n animation-fill-mode: both;\n animation-duration: 0.3s;\n}\n\n@media only screen and (max-width : 480px) {\n .Toastify__toast {\n margin-bottom: 0;\n border-radius: 0;\n }\n}\n.Toastify__toast-theme--dark {\n background: var(--toastify-color-dark);\n color: var(--toastify-text-color-dark);\n}\n.Toastify__toast-theme--light {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n.Toastify__toast-theme--colored.Toastify__toast--default {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n.Toastify__toast-theme--colored.Toastify__toast--info {\n color: var(--toastify-text-color-info);\n background: var(--toastify-color-info);\n}\n.Toastify__toast-theme--colored.Toastify__toast--success {\n color: var(--toastify-text-color-success);\n background: var(--toastify-color-success);\n}\n.Toastify__toast-theme--colored.Toastify__toast--warning {\n color: var(--toastify-text-color-warning);\n background: var(--toastify-color-warning);\n}\n.Toastify__toast-theme--colored.Toastify__toast--error {\n color: var(--toastify-text-color-error);\n background: var(--toastify-color-error);\n}\n\n.Toastify__progress-bar-theme--light {\n background: var(--toastify-color-progress-light);\n}\n.Toastify__progress-bar-theme--dark {\n background: var(--toastify-color-progress-dark);\n}\n.Toastify__progress-bar--info {\n background: var(--toastify-color-progress-info);\n}\n.Toastify__progress-bar--success {\n background: var(--toastify-color-progress-success);\n}\n.Toastify__progress-bar--warning {\n background: var(--toastify-color-progress-warning);\n}\n.Toastify__progress-bar--error {\n background: var(--toastify-color-progress-error);\n}\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {\n background: var(--toastify-color-transparent);\n}\n\n.Toastify__close-button {\n color: #fff;\n background: transparent;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n opacity: 0.7;\n transition: 0.3s ease;\n -ms-flex-item-align: start;\n align-self: flex-start;\n}\n.Toastify__close-button--light {\n color: #000;\n opacity: 0.3;\n}\n.Toastify__close-button > svg {\n fill: currentColor;\n height: 16px;\n width: 14px;\n}\n.Toastify__close-button:hover, .Toastify__close-button:focus {\n opacity: 1;\n}\n\n@keyframes Toastify__trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n}\n.Toastify__progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 5px;\n z-index: var(--toastify-z-index);\n opacity: 0.7;\n transform-origin: left;\n}\n.Toastify__progress-bar--animated {\n animation: Toastify__trackProgress linear 1 forwards;\n}\n.Toastify__progress-bar--controlled {\n transition: transform 0.2s;\n}\n.Toastify__progress-bar--rtl {\n right: 0;\n left: initial;\n transform-origin: right;\n}\n\n.Toastify__spinner {\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: var(--toastify-spinner-color-empty-area);\n border-right-color: var(--toastify-spinner-color);\n animation: Toastify__spin 0.65s linear infinite;\n}\n\n@keyframes Toastify__bounceInRight {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n@keyframes Toastify__bounceOutRight {\n 20% {\n opacity: 1;\n transform: translate3d(-20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(2000px, 0, 0);\n }\n}\n@keyframes Toastify__bounceInLeft {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(-3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(25px, 0, 0);\n }\n 75% {\n transform: translate3d(-10px, 0, 0);\n }\n 90% {\n transform: translate3d(5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n@keyframes Toastify__bounceOutLeft {\n 20% {\n opacity: 1;\n transform: translate3d(20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(-2000px, 0, 0);\n }\n}\n@keyframes Toastify__bounceInUp {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(0, 3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n 75% {\n transform: translate3d(0, 10px, 0);\n }\n 90% {\n transform: translate3d(0, -5px, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__bounceOutUp {\n 20% {\n transform: translate3d(0, -10px, 0);\n }\n 40%, 45% {\n opacity: 1;\n transform: translate3d(0, 20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, -2000px, 0);\n }\n}\n@keyframes Toastify__bounceInDown {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(0, -3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, 25px, 0);\n }\n 75% {\n transform: translate3d(0, -10px, 0);\n }\n 90% {\n transform: translate3d(0, 5px, 0);\n }\n to {\n transform: none;\n }\n}\n@keyframes Toastify__bounceOutDown {\n 20% {\n transform: translate3d(0, 10px, 0);\n }\n 40%, 45% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, 2000px, 0);\n }\n}\n.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {\n animation-name: Toastify__bounceInLeft;\n}\n.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {\n animation-name: Toastify__bounceInRight;\n}\n.Toastify__bounce-enter--top-center {\n animation-name: Toastify__bounceInDown;\n}\n.Toastify__bounce-enter--bottom-center {\n animation-name: Toastify__bounceInUp;\n}\n\n.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {\n animation-name: Toastify__bounceOutLeft;\n}\n.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {\n animation-name: Toastify__bounceOutRight;\n}\n.Toastify__bounce-exit--top-center {\n animation-name: Toastify__bounceOutUp;\n}\n.Toastify__bounce-exit--bottom-center {\n animation-name: Toastify__bounceOutDown;\n}\n\n@keyframes Toastify__zoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n@keyframes Toastify__zoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0;\n }\n}\n.Toastify__zoom-enter {\n animation-name: Toastify__zoomIn;\n}\n\n.Toastify__zoom-exit {\n animation-name: Toastify__zoomOut;\n}\n\n@keyframes Toastify__flipIn {\n from {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0;\n }\n 40% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n animation-timing-function: ease-in;\n }\n 60% {\n transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n opacity: 1;\n }\n 80% {\n transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n }\n to {\n transform: perspective(400px);\n }\n}\n@keyframes Toastify__flipOut {\n from {\n transform: perspective(400px);\n }\n 30% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n opacity: 1;\n }\n to {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n opacity: 0;\n }\n}\n.Toastify__flip-enter {\n animation-name: Toastify__flipIn;\n}\n\n.Toastify__flip-exit {\n animation-name: Toastify__flipOut;\n}\n\n@keyframes Toastify__slideInRight {\n from {\n transform: translate3d(110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideInLeft {\n from {\n transform: translate3d(-110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideInUp {\n from {\n transform: translate3d(0, 110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideInDown {\n from {\n transform: translate3d(0, -110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideOutRight {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(110%, 0, 0);\n }\n}\n@keyframes Toastify__slideOutLeft {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(-110%, 0, 0);\n }\n}\n@keyframes Toastify__slideOutDown {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, 500px, 0);\n }\n}\n@keyframes Toastify__slideOutUp {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, -500px, 0);\n }\n}\n.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {\n animation-name: Toastify__slideInLeft;\n}\n.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {\n animation-name: Toastify__slideInRight;\n}\n.Toastify__slide-enter--top-center {\n animation-name: Toastify__slideInDown;\n}\n.Toastify__slide-enter--bottom-center {\n animation-name: Toastify__slideInUp;\n}\n\n.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {\n animation-name: Toastify__slideOutLeft;\n}\n.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {\n animation-name: Toastify__slideOutRight;\n}\n.Toastify__slide-exit--top-center {\n animation-name: Toastify__slideOutUp;\n}\n.Toastify__slide-exit--bottom-center {\n animation-name: Toastify__slideOutDown;\n}\n\n@keyframes Toastify__spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n/*# sourceMappingURL=ReactToastify.css.map */",".#{$rt-namespace}__toast-container {\n z-index: var(--toastify-z-index);\n -webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);\n position: fixed;\n padding: 4px;\n width: var(--toastify-toast-width);\n box-sizing: border-box;\n color: #fff;\n &--top-left {\n top: 1em;\n left: 1em;\n }\n &--top-center {\n top: 1em;\n left: 50%;\n transform: translateX(-50%);\n }\n &--top-right {\n top: 1em;\n right: 1em;\n }\n &--bottom-left {\n bottom: 1em;\n left: 1em;\n }\n &--bottom-center {\n bottom: 1em;\n left: 50%;\n transform: translateX(-50%);\n }\n &--bottom-right {\n bottom: 1em;\n right: 1em;\n }\n}\n\n@media #{$rt-mobile} {\n .#{$rt-namespace}__toast-container {\n width: 100vw;\n padding: 0;\n left: 0;\n margin: 0;\n &--top-left,\n &--top-center,\n &--top-right {\n top: 0;\n transform: translateX(0);\n }\n &--bottom-left,\n &--bottom-center,\n &--bottom-right {\n bottom: 0;\n transform: translateX(0);\n }\n &--rtl {\n right: 0;\n left: initial;\n }\n }\n}\n",".#{$rt-namespace}__toast {\n position: relative;\n min-height: var(--toastify-toast-min-height);\n box-sizing: border-box;\n margin-bottom: 1rem;\n padding: 8px;\n border-radius: 4px;\n box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n justify-content: space-between;\n max-height: var(--toastify-toast-max-height);\n overflow: hidden;\n font-family: var(--toastify-font-family);\n cursor: pointer;\n direction: ltr;\n &--rtl {\n direction: rtl;\n }\n &-body {\n margin: auto 0;\n flex: 1 1 auto;\n padding: 6px;\n display: flex;\n align-items: center;\n & > div:last-child {\n flex: 1;\n }\n }\n &-icon {\n margin-inline-end: 10px;\n width: 20px;\n flex-shrink: 0;\n display: flex;\n }\n}\n\n.#{$rt-namespace}--animate {\n animation-fill-mode: both;\n animation-duration: 0.7s;\n}\n\n.#{$rt-namespace}--animate-icon {\n animation-fill-mode: both;\n animation-duration: 0.3s;\n}\n\n@media #{$rt-mobile} {\n .#{$rt-namespace}__toast {\n margin-bottom: 0;\n border-radius: 0;\n }\n}\n",".#{$rt-namespace}__toast {\n &-theme--dark {\n background: var(--toastify-color-dark);\n color: var(--toastify-text-color-dark);\n }\n &-theme--light {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n }\n &-theme--colored#{&}--default {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n }\n &-theme--colored#{&}--info {\n color: var(--toastify-text-color-info);\n background: var(--toastify-color-info);\n }\n &-theme--colored#{&}--success {\n color: var(--toastify-text-color-success);\n background: var(--toastify-color-success);\n }\n &-theme--colored#{&}--warning {\n color: var(--toastify-text-color-warning);\n background: var(--toastify-color-warning);\n }\n &-theme--colored#{&}--error {\n color: var(--toastify-text-color-error);\n background: var(--toastify-color-error);\n }\n}\n\n.#{$rt-namespace}__progress-bar {\n &-theme--light {\n background: var(--toastify-color-progress-light);\n }\n &-theme--dark {\n background: var(--toastify-color-progress-dark);\n }\n &--info {\n background: var(--toastify-color-progress-info);\n }\n &--success {\n background: var(--toastify-color-progress-success);\n }\n &--warning {\n background: var(--toastify-color-progress-warning);\n }\n &--error {\n background: var(--toastify-color-progress-error);\n }\n &-theme--colored#{&}--info,\n &-theme--colored#{&}--success,\n &-theme--colored#{&}--warning,\n &-theme--colored#{&}--error {\n background: var(--toastify-color-transparent);\n }\n}\n\n",".#{$rt-namespace}__close-button {\n color: #fff;\n background: transparent;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n opacity: 0.7;\n transition: 0.3s ease;\n align-self: flex-start;\n \n &--light {\n color: #000;\n opacity: 0.3;\n }\n\n & > svg {\n fill: currentColor;\n height: 16px;\n width: 14px;\n }\n\n &:hover, &:focus {\n opacity: 1;\n }\n}\n","@keyframes #{$rt-namespace}__trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n}\n\n.#{$rt-namespace}__progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 5px;\n z-index: var(--toastify-z-index);\n opacity: 0.7;\n transform-origin: left;\n\n &--animated {\n animation: #{$rt-namespace}__trackProgress linear 1 forwards;\n }\n\n &--controlled {\n transition: transform 0.2s;\n }\n\n &--rtl {\n right: 0;\n left: initial;\n transform-origin: right;\n }\n}\n",".#{$rt-namespace}__spinner {\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: var(--toastify-spinner-color-empty-area);\n border-right-color: var(--toastify-spinner-color);\n animation: #{$rt-namespace}__spin 0.65s linear infinite;\n}\n","@mixin timing-function {\n animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n}\n\n@keyframes #{$rt-namespace}__bounceInRight {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n from {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutRight {\n 20% {\n opacity: 1;\n transform: translate3d(-20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(2000px, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceInLeft {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n 0% {\n opacity: 0;\n transform: translate3d(-3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(25px, 0, 0);\n }\n 75% {\n transform: translate3d(-10px, 0, 0);\n }\n 90% {\n transform: translate3d(5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutLeft {\n 20% {\n opacity: 1;\n transform: translate3d(20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(-2000px, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceInUp {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n from {\n opacity: 0;\n transform: translate3d(0, 3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n 75% {\n transform: translate3d(0, 10px, 0);\n }\n 90% {\n transform: translate3d(0, -5px, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutUp {\n 20% {\n transform: translate3d(0, -10px, 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, 20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, -2000px, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceInDown {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n 0% {\n opacity: 0;\n transform: translate3d(0, -3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, 25px, 0);\n }\n 75% {\n transform: translate3d(0, -10px, 0);\n }\n 90% {\n transform: translate3d(0, 5px, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutDown {\n 20% {\n transform: translate3d(0, 10px, 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, 2000px, 0);\n }\n}\n\n.#{$rt-namespace}__bounce-enter {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__bounceInLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__bounceInRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__bounceInDown;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__bounceInUp;\n }\n}\n\n.#{$rt-namespace}__bounce-exit {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__bounceOutLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__bounceOutRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__bounceOutUp;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__bounceOutDown;\n }\n}","@keyframes #{$rt-namespace}__zoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n\n@keyframes #{$rt-namespace}__zoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0\n }\n}\n\n.#{$rt-namespace}__zoom-enter {\n animation-name: #{$rt-namespace}__zoomIn;\n}\n\n.#{$rt-namespace}__zoom-exit {\n animation-name: #{$rt-namespace}__zoomOut;\n}\n","@keyframes #{$rt-namespace}__flipIn {\n from {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0;\n }\n 40% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n animation-timing-function: ease-in;\n }\n 60% {\n transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n opacity: 1\n }\n 80% {\n transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n }\n to {\n transform: perspective(400px);\n }\n}\n\n@keyframes #{$rt-namespace}__flipOut {\n from {\n transform: perspective(400px);\n }\n 30% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n opacity: 1\n }\n to {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n opacity: 0\n }\n}\n\n.#{$rt-namespace}__flip-enter {\n animation-name: #{$rt-namespace}__flipIn;\n}\n\n.#{$rt-namespace}__flip-exit {\n animation-name: #{$rt-namespace}__flipOut;\n}\n","@mixin transform {\n transform: translate3d(0, 0, 0);\n}\n\n@keyframes #{$rt-namespace}__slideInRight {\n from {\n transform: translate3d(110%, 0, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideInLeft {\n from {\n transform: translate3d(-110%, 0, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideInUp {\n from {\n transform: translate3d(0, 110%, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideInDown {\n from {\n transform: translate3d(0, -110%, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutRight {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(110%, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutLeft {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(-110%, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutDown {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(0, 500px, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutUp {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(0, -500px, 0);\n }\n}\n\n.#{$rt-namespace}__slide-enter {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__slideInLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__slideInRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__slideInDown;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__slideInUp;\n }\n}\n\n.#{$rt-namespace}__slide-exit {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__slideOutLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__slideOutRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__slideOutUp;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__slideOutDown;\n }\n}","@keyframes #{$rt-namespace}__spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\na.tab {\n background: var(--backgroundPrimary);\n border: solid 1px transparent;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n color: var(--textColorSecondary);\n display: block;\n flex: 0 0 auto;\n font-weight: 500;\n line-height: 1.6em;\n margin: 0 0.2em 0 0;\n min-width: 7.2rem;\n padding: 0.8em 1.2em 0.5em 1.2em;\n position: relative;\n white-space: nowrap;\n\n &.active {\n border-color: var(--colorScaffoldingHighlight);\n border-bottom-color: var(--backgroundPrimary);\n color: var(--textColorPrimary);\n z-index: var(--zIndexLow);\n }\n\n .count {\n background-color: var(--backgroundSecondaryHighlight);\n border-radius: 20px;\n color: var(--textColorSecondary);\n display: inline-block;\n font-size: 0.85em;\n line-height: 1em;\n margin: 0 0 0 0.5em;\n padding: 0.5em 0.75em;\n vertical-align: baseline;\n }\n\n &:hover {\n color: var(--colorPrimary);\n\n .count {\n background-color: var(--backgroundPrimaryHighlight);\n color: var(--colorPrimary);\n }\n }\n}\n\n.pip {\n height: 0.5em;\n margin-right: 0.5em;\n vertical-align: middle;\n width: 0.5em;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.tabContainer {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin-bottom: 0.4em;\n overflow-x: auto;\n min-width: 100%;\n position: relative;\n\n &.small {\n font-size: theme('fontSize.sm');\n }\n\n &.large {\n font-size: theme('fontSize.lg');\n }\n\n &::after {\n background: var(--colorScaffoldingHighlight);\n bottom: 0;\n height: 1px;\n content: '';\n position: absolute;\n width: 100%;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.tooltip {\n background: var(--tooltipBackground);\n border-radius: 4px;\n color: var(--textColorInverted);\n font-family: var(--fontFamilyPrimary);\n font-size: theme('fontSize.sm');\n margin: 8px;\n max-width: 24rem;\n padding: 8px 12px;\n text-align: center;\n}\n",".container section {\n margin-bottom: 64px;\n}\n\n.buttonContainer {\n column-gap: 16px;\n display: grid;\n grid-template-columns: repeat(4, min-content);\n row-gap: 24px;\n}\n\n.iconContainer {\n column-gap: 0;\n display: grid;\n grid-template-columns: repeat(12, min-content);\n row-gap: 0;\n}\n\n.icon {\n box-sizing: unset;\n fill: var(--colorPrimary);\n padding: 16px;\n transition: fill 0.1s ease-in-out;\n\n &:hover {\n background: var(--backgroundSecondaryHighlight);\n fill: var(--colorPrimary200);\n }\n}\n\n.inputContainer {\n display: grid;\n grid-template-columns: 100%;\n row-gap: 16px;\n max-width: 640px;\n}\n\n.inputRow {\n display: grid;\n grid-template-columns: 1fr min-content min-content;\n column-gap: 8px;\n max-width: 100%;\n}\n\n.dropdownContainer {\n display: grid;\n grid-gap: 8px;\n}\n\n.dropdownRow {\n display: grid;\n grid-gap: 8px;\n grid-template-columns: repeat(4, min-content);\n}\n\n.tabContainer {\n margin: 2.4rem 0;\n}\n\n.danger {\n div:first-child {\n @apply bg-danger;\n }\n\n &::after {\n content: 'danger';\n }\n}\n\n.danger50 {\n div:first-child {\n @apply bg-danger-50;\n }\n\n &::after {\n content: 'danger-50';\n }\n}\n\n.danger200 {\n div:first-child {\n @apply bg-danger-200;\n }\n\n &::after {\n content: 'danger-200';\n }\n}\n\n.success {\n div:first-child {\n @apply bg-success;\n }\n\n &::after {\n content: 'success';\n }\n}\n\n.success50 {\n div:first-child {\n @apply bg-success-50;\n }\n\n &::after {\n content: 'success-50';\n }\n}\n\n.success200 {\n div:first-child {\n @apply bg-success-200;\n }\n\n &::after {\n content: 'success-200';\n }\n}\n\n.warning {\n div:first-child {\n @apply bg-warning;\n }\n\n &::after {\n content: 'warning';\n }\n}\n\n.warning50 {\n div:first-child {\n @apply bg-warning-50;\n }\n\n &::after {\n content: 'warning50';\n }\n}\n\n.warning200 {\n div:first-child {\n @apply bg-warning-200;\n }\n\n &::after {\n content: 'warning-200';\n }\n}\n\n.vtblue {\n div:first-child {\n @apply bg-vtblue;\n }\n\n &::after {\n content: 'vtblue';\n }\n}\n\n.vtblue50 {\n div:first-child {\n @apply bg-vtblue-50;\n }\n\n &::after {\n content: 'vtblue-50';\n }\n}\n\n.vtblue200 {\n div:first-child {\n @apply bg-vtblue-200;\n }\n\n &::after {\n content: 'vtblue-200';\n }\n}\n\n.vtblueDark {\n div:first-child {\n @apply bg-vtblue-dark;\n }\n\n &::after {\n content: 'vtblue-dark';\n }\n}\n\n.vtblueDark50 {\n div:first-child {\n @apply bg-vtblue-dark-50;\n }\n\n &::after {\n content: 'vtblue-dark-50';\n }\n}\n\n.vtblueDark200 {\n div:first-child {\n @apply bg-vtblue-dark-200;\n }\n\n &::after {\n content: 'vtblue-dark-200';\n }\n}\n\n.gray75 {\n div:first-child {\n @apply bg-gray-75;\n }\n\n &::after {\n content: 'gray-75';\n }\n}\n\n.gray100 {\n div:first-child {\n @apply bg-gray-100;\n }\n\n &::after {\n content: 'gray-100';\n }\n}\n\n.gray200 {\n div:first-child {\n @apply bg-gray-200;\n }\n\n &::after {\n content: 'gray-200';\n }\n}\n\n.gray400 {\n div:first-child {\n @apply bg-gray-400;\n }\n\n &::after {\n content: 'gray-400';\n }\n}\n\n.gray600 {\n div:first-child {\n @apply bg-gray-600;\n }\n\n &::after {\n content: 'gray-600';\n }\n}\n\n.gray800 {\n div:first-child {\n @apply bg-gray-800;\n }\n\n &::after {\n content: 'gray-800';\n }\n}\n\n.gray900 {\n div:first-child {\n @apply bg-gray-900;\n }\n\n &::after {\n content: 'gray-900';\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n$navRailHoverTransition: background-color 0.1s ease-in-out;\n\n.container {\n background: var(--backgroundSecondary);\n border-right: solid 1px var(--backgroundSecondaryHighlight);\n display: flex;\n flex-direction: column;\n height: 100vh;\n overflow-y: auto;\n}\n\n.logoContainer {\n display: flex;\n padding: 24px;\n text-align: center;\n justify-content: center;\n align-items: center;\n}\n\n.footerContainer {\n margin: auto 0 24px 0;\n}\n\n.navLinks {\n margin: 24px 0 32px 0;\n}\n\n.navList {\n list-style-type: none;\n margin: 0;\n padding: 0;\n\n &::after {\n content: '';\n background-color: var(--colorScaffoldingHighlight);\n display: block;\n height: 1px;\n margin: 20px 24px;\n max-width: 100%;\n }\n}\n\n.navList:last-child::after,\n.footerContainer .navList::after {\n content: none;\n}\n\na.navLink {\n align-items: center;\n border-left: solid 4px transparent;\n color: var(--textColorPrimary);\n display: flex;\n flex-wrap: nowrap;\n font-size: 1.6rem;\n font-weight: 500;\n outline: none;\n padding: 13px 24px;\n text-decoration: none;\n transition: $navRailHoverTransition;\n\n &.navLinkActive {\n border-color: var(--colorPrimary);\n color: var(--colorPrimary);\n }\n\n &:focus,\n &:hover {\n background: var(--backgroundSecondaryHighlight);\n color: var(--colorPrimary);\n }\n}\n\n.badge {\n background-color: var(--backgroundSecondaryHighlight);\n border-radius: 20px;\n color: var(--textColorSecondary);\n display: inline-block;\n font-size: 1.4rem;\n line-height: 1.9rem;\n margin-left: auto;\n padding: 2px 8px;\n transition: $navRailHoverTransition;\n}\n\na.navLinkActive .badge,\na.navLink:focus .badge,\na.navLink:hover .badge {\n background-color: var(--backgroundPrimaryHighlight);\n color: var(--colorPrimary);\n}\n\n.icon {\n fill: var(--colorScaffoldingForeground);\n height: 2rem;\n transition: $navRailHoverTransition;\n}\n\na.navLinkActive .icon,\na.navLink:focus .icon,\na.navLink:hover .icon {\n fill: var(--colorPrimary);\n}\n\n.hotkey::before {\n @apply block;\n @apply border;\n @apply font-mono font-bold;\n @apply p-0;\n @apply rounded-sm;\n @apply text-center;\n @apply select-none;\n\n $hotkeySize: 16px;\n\n border-color: var(--colorScaffoldingForeground);\n color: var(--colorScaffoldingForeground);\n content: attr(data-hotkey);\n font-size: 10px;\n height: $hotkeySize;\n line-height: 14px;\n margin: 0 4px;\n width: $hotkeySize;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 40vh;\n justify-content: center;\n margin-top: 20vh;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.icon {\n display: inline-block;\n fill: var(--textColorSecondary);\n height: 1.8rem;\n vertical-align: bottom;\n width: auto;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.container {\n display: grid;\n grid-gap: 16px;\n}\n\n.panel {\n border: solid 1px var(--colorScaffoldingHighlight);\n border-radius: 6px;\n padding: 0 2.4rem 2.4rem 2.4rem;\n max-width: 960px;\n overflow: auto;\n}\n\n.errorPlaceholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n\n.skBadge {\n border: solid 1px var(--colorPrimary50);\n border-radius: 6px;\n color: var(--colorPrimary);\n cursor: default;\n display: inline-block;\n font-size: theme('fontSize.sm');\n margin: 0 12px;\n padding: 4px 8px;\n text-transform: uppercase;\n white-space: nowrap;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.table {\n margin: 8px 0;\n}\n\n.table tr {\n border: none;\n}\n\n.table td {\n border: none;\n line-height: 1.6;\n margin: 0;\n}\n\n.lineNumber {\n box-sizing: border-box;\n color: var(--textColorSecondary);\n font-family: var(--fontFamilyMonospace);\n font-size: theme('fontSize.base');\n line-height: 2.4rem;\n min-width: 5rem;\n padding: 0 1.2rem;\n text-align: right;\n user-select: none;\n vertical-align: top;\n white-space: nowrap;\n width: 1%;\n}\n\n.lineNumber::before {\n content: attr(data-line-number);\n}\n\n.code {\n font-family: var(--fontFamilyMonospace);\n font-size: theme('fontSize.base');\n line-height: 2.4rem;\n padding: 0 1.2rem;\n tab-size: 8;\n white-space: pre;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container > a {\n font-family: var(--fontFamilyMonospace);\n line-height: 4rem;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n font-size: 2rem;\n line-height: 2rem;\n margin: 0 1rem;\n vertical-align: middle;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.shardList {\n color: var(--textColorSecondary);\n font-size: theme('fontSize.sm');\n max-width: 20rem;\n padding-right: 24px;\n}\n\n.streams {\n display: grid;\n grid-gap: 8px;\n grid-template-columns: repeat(4, 60px);\n}\n\n.stream,\n.streamPlaceholder {\n margin: 0 4px;\n text-align: left;\n white-space: nowrap;\n}\n\n.streamPlaceholder {\n color: var(--textColorSecondary);\n text-align: center;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.panel,\n.errorPanel {\n border: solid 1px var(--colorScaffoldingHighlight);\n border-radius: 6px;\n height: auto;\n max-width: 960px;\n padding: 2.4rem;\n}\n\n.errorPanel {\n border-color: var(--colorError50);\n overflow: auto;\n}\n\n.container {\n display: grid;\n grid-gap: 16px;\n max-width: 720px;\n}\n\n.form {\n display: grid;\n grid-gap: 8px;\n}\n\n.sqlInput {\n border: solid 1px var(--colorScaffoldingHighlight);\n display: block;\n font-family: var(--fontFamilyMonospace);\n line-height: var(--lineHeightBody);\n padding: 0.8rem;\n resize: vertical;\n width: 100%;\n}\n\n.codeContainer {\n max-width: 100%;\n overflow: auto;\n}\n\n.buttons {\n margin: 1.6rem 0 0.8rem 0;\n}\n","/**\n * Copyright 2022 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.spinner {\n border: 0.25em solid;\n border-color: theme('colors.vtblue.50');\n border-right-color: transparent;\n vertical-align: -0.125em;\n\n @apply animate-spin;\n @apply border-2;\n @apply h-8;\n @apply inline-block;\n @apply rounded-full;\n @apply w-8;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.placeholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n padding: 16px 0;\n}\n\n.counts > span {\n white-space: nowrap;\n}\n\n.counts > span:not(:last-child)::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n margin: 0 8px;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.placeholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.placeholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.placeholder {\n color: var(--textColorSecondary);\n font-size: theme('fontSize.lg');\n padding: 10vh 2.4rem;\n text-align: center;\n}\n\n.emoji {\n display: block;\n font-size: 100px;\n}\n"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/go/vt/vtadmin/web/build/static/js/main.c259521f.js b/go/vt/vtadmin/web/build/static/js/main.c259521f.js
new file mode 100644
index 00000000000..c84529d7e24
--- /dev/null
+++ b/go/vt/vtadmin/web/build/static/js/main.c259521f.js
@@ -0,0 +1,3 @@
+/*! For license information please see main.c259521f.js.LICENSE.txt */
+(function(){var __webpack_modules__={7228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},6860:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},3884:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports},521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},8206:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},3038:function(e,t,r){var n=r(2858),i=r(3884),o=r(379),a=r(521);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},319:function(e,t,r){var n=r(3646),i=r(6860),o=r(379),a=r(8206);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},379:function(e,t,r){var n=r(7228);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},7757:function(e,t,r){e.exports=r(9727)},8646:function(e,t,r){"use strict";var n=r(886),i=n.Reader,o=n.Writer,a=n.util,s=n.roots.default||(n.roots.default={});s.vtadmin=function(){var e={};return e.VTAdmin=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.CreateKeyspaceRequest,s.vtadmin.CreateKeyspaceResponse,t,r)},"name",{value:"CreateKeyspace"}),Object.defineProperty(e.prototype.createShard=function e(t,r){return this.rpcCall(e,s.vtadmin.CreateShardRequest,s.vtctldata.CreateShardResponse,t,r)},"name",{value:"CreateShard"}),Object.defineProperty(e.prototype.deleteKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.DeleteKeyspaceRequest,s.vtctldata.DeleteKeyspaceResponse,t,r)},"name",{value:"DeleteKeyspace"}),Object.defineProperty(e.prototype.deleteShards=function e(t,r){return this.rpcCall(e,s.vtadmin.DeleteShardsRequest,s.vtctldata.DeleteShardsResponse,t,r)},"name",{value:"DeleteShards"}),Object.defineProperty(e.prototype.deleteTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.DeleteTabletRequest,s.vtadmin.DeleteTabletResponse,t,r)},"name",{value:"DeleteTablet"}),Object.defineProperty(e.prototype.findSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.FindSchemaRequest,s.vtadmin.Schema,t,r)},"name",{value:"FindSchema"}),Object.defineProperty(e.prototype.getBackups=function e(t,r){return this.rpcCall(e,s.vtadmin.GetBackupsRequest,s.vtadmin.GetBackupsResponse,t,r)},"name",{value:"GetBackups"}),Object.defineProperty(e.prototype.getClusters=function e(t,r){return this.rpcCall(e,s.vtadmin.GetClustersRequest,s.vtadmin.GetClustersResponse,t,r)},"name",{value:"GetClusters"}),Object.defineProperty(e.prototype.getGates=function e(t,r){return this.rpcCall(e,s.vtadmin.GetGatesRequest,s.vtadmin.GetGatesResponse,t,r)},"name",{value:"GetGates"}),Object.defineProperty(e.prototype.getKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.GetKeyspaceRequest,s.vtadmin.Keyspace,t,r)},"name",{value:"GetKeyspace"}),Object.defineProperty(e.prototype.getKeyspaces=function e(t,r){return this.rpcCall(e,s.vtadmin.GetKeyspacesRequest,s.vtadmin.GetKeyspacesResponse,t,r)},"name",{value:"GetKeyspaces"}),Object.defineProperty(e.prototype.getSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSchemaRequest,s.vtadmin.Schema,t,r)},"name",{value:"GetSchema"}),Object.defineProperty(e.prototype.getSchemas=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSchemasRequest,s.vtadmin.GetSchemasResponse,t,r)},"name",{value:"GetSchemas"}),Object.defineProperty(e.prototype.getShardReplicationPositions=function e(t,r){return this.rpcCall(e,s.vtadmin.GetShardReplicationPositionsRequest,s.vtadmin.GetShardReplicationPositionsResponse,t,r)},"name",{value:"GetShardReplicationPositions"}),Object.defineProperty(e.prototype.getSrvVSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSrvVSchemaRequest,s.vtadmin.SrvVSchema,t,r)},"name",{value:"GetSrvVSchema"}),Object.defineProperty(e.prototype.getSrvVSchemas=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSrvVSchemasRequest,s.vtadmin.GetSrvVSchemasResponse,t,r)},"name",{value:"GetSrvVSchemas"}),Object.defineProperty(e.prototype.getTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.GetTabletRequest,s.vtadmin.Tablet,t,r)},"name",{value:"GetTablet"}),Object.defineProperty(e.prototype.getTablets=function e(t,r){return this.rpcCall(e,s.vtadmin.GetTabletsRequest,s.vtadmin.GetTabletsResponse,t,r)},"name",{value:"GetTablets"}),Object.defineProperty(e.prototype.getVSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.GetVSchemaRequest,s.vtadmin.VSchema,t,r)},"name",{value:"GetVSchema"}),Object.defineProperty(e.prototype.getVSchemas=function e(t,r){return this.rpcCall(e,s.vtadmin.GetVSchemasRequest,s.vtadmin.GetVSchemasResponse,t,r)},"name",{value:"GetVSchemas"}),Object.defineProperty(e.prototype.getVtctlds=function e(t,r){return this.rpcCall(e,s.vtadmin.GetVtctldsRequest,s.vtadmin.GetVtctldsResponse,t,r)},"name",{value:"GetVtctlds"}),Object.defineProperty(e.prototype.getWorkflow=function e(t,r){return this.rpcCall(e,s.vtadmin.GetWorkflowRequest,s.vtadmin.Workflow,t,r)},"name",{value:"GetWorkflow"}),Object.defineProperty(e.prototype.getWorkflows=function e(t,r){return this.rpcCall(e,s.vtadmin.GetWorkflowsRequest,s.vtadmin.GetWorkflowsResponse,t,r)},"name",{value:"GetWorkflows"}),Object.defineProperty(e.prototype.pingTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.PingTabletRequest,s.vtadmin.PingTabletResponse,t,r)},"name",{value:"PingTablet"}),Object.defineProperty(e.prototype.refreshState=function e(t,r){return this.rpcCall(e,s.vtadmin.RefreshStateRequest,s.vtadmin.RefreshStateResponse,t,r)},"name",{value:"RefreshState"}),Object.defineProperty(e.prototype.reparentTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.ReparentTabletRequest,s.vtadmin.ReparentTabletResponse,t,r)},"name",{value:"ReparentTablet"}),Object.defineProperty(e.prototype.runHealthCheck=function e(t,r){return this.rpcCall(e,s.vtadmin.RunHealthCheckRequest,s.vtadmin.RunHealthCheckResponse,t,r)},"name",{value:"RunHealthCheck"}),Object.defineProperty(e.prototype.setReadOnly=function e(t,r){return this.rpcCall(e,s.vtadmin.SetReadOnlyRequest,s.vtadmin.SetReadOnlyResponse,t,r)},"name",{value:"SetReadOnly"}),Object.defineProperty(e.prototype.setReadWrite=function e(t,r){return this.rpcCall(e,s.vtadmin.SetReadWriteRequest,s.vtadmin.SetReadWriteResponse,t,r)},"name",{value:"SetReadWrite"}),Object.defineProperty(e.prototype.startReplication=function e(t,r){return this.rpcCall(e,s.vtadmin.StartReplicationRequest,s.vtadmin.StartReplicationResponse,t,r)},"name",{value:"StartReplication"}),Object.defineProperty(e.prototype.stopReplication=function e(t,r){return this.rpcCall(e,s.vtadmin.StopReplicationRequest,s.vtadmin.StopReplicationResponse,t,r)},"name",{value:"StopReplication"}),Object.defineProperty(e.prototype.validateKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.ValidateKeyspaceRequest,s.vtctldata.ValidateKeyspaceResponse,t,r)},"name",{value:"ValidateKeyspace"}),Object.defineProperty(e.prototype.validateSchemaKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.ValidateSchemaKeyspaceRequest,s.vtctldata.ValidateSchemaKeyspaceResponse,t,r)},"name",{value:"ValidateSchemaKeyspace"}),Object.defineProperty(e.prototype.validateVersionKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.ValidateVersionKeyspaceRequest,s.vtctldata.ValidateVersionKeyspaceResponse,t,r)},"name",{value:"ValidateVersionKeyspace"}),Object.defineProperty(e.prototype.vTExplain=function e(t,r){return this.rpcCall(e,s.vtadmin.VTExplainRequest,s.vtadmin.VTExplainResponse,t,r)},"name",{value:"VTExplain"}),e}(),e.Cluster=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.id=e.string();break;case 2:n.name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id)?"id: string expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.Cluster)return e;var t=new s.vtadmin.Cluster;return null!=e.id&&(t.id=String(e.id)),null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.id="",r.name=""),null!=e.id&&e.hasOwnProperty("id")&&(r.id=e.id),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClusterBackup=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.backup=s.mysqlctl.BackupInfo.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.backup&&e.hasOwnProperty("backup")&&(t=s.mysqlctl.BackupInfo.verify(e.backup)))return"backup."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.ClusterBackup)return e;var t=new s.vtadmin.ClusterBackup;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.ClusterBackup.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.backup){if("object"!==typeof e.backup)throw TypeError(".vtadmin.ClusterBackup.backup: object expected");t.backup=s.mysqlctl.BackupInfo.fromObject(e.backup)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.backup=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.backup&&e.hasOwnProperty("backup")&&(r.backup=s.mysqlctl.BackupInfo.toObject(e.backup,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClusterShardReplicationPosition=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.keyspace=e.string();break;case 3:n.shard=e.string();break;case 4:n.position_info=s.vtctldata.ShardReplicationPositionsResponse.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.position_info&&e.hasOwnProperty("position_info")&&(t=s.vtctldata.ShardReplicationPositionsResponse.verify(e.position_info)))return"position_info."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.ClusterShardReplicationPosition)return e;var t=new s.vtadmin.ClusterShardReplicationPosition;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.ClusterShardReplicationPosition.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.position_info){if("object"!==typeof e.position_info)throw TypeError(".vtadmin.ClusterShardReplicationPosition.position_info: object expected");t.position_info=s.vtctldata.ShardReplicationPositionsResponse.fromObject(e.position_info)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.keyspace="",r.shard="",r.position_info=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.position_info&&e.hasOwnProperty("position_info")&&(r.position_info=s.vtctldata.ShardReplicationPositionsResponse.toObject(e.position_info,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClusterWorkflows=function(){function e(e){if(this.workflows=[],this.warnings=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.workflows&&n.workflows.length||(n.workflows=[]),n.workflows.push(s.vtadmin.Workflow.decode(e,e.uint32()));break;case 2:n.warnings&&n.warnings.length||(n.warnings=[]),n.warnings.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.workflows&&e.hasOwnProperty("workflows")){if(!Array.isArray(e.workflows))return"workflows: array expected";for(var t=0;t>>3){case 1:l.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:l.keyspace=s.vtctldata.Keyspace.decode(e,e.uint32());break;case 3:l.shards===a.emptyObject&&(l.shards={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.Shard.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.shards[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(n=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+n;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(n=s.vtctldata.Keyspace.verify(e.keyspace)))return"keyspace."+n;if(null!=e.shards&&e.hasOwnProperty("shards")){if(!a.isObject(e.shards))return"shards: object expected";for(var t=Object.keys(e.shards),r=0;r>>3){case 1:l.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:l.keyspace=e.string();break;case 3:l.table_definitions&&l.table_definitions.length||(l.table_definitions=[]),l.table_definitions.push(s.tabletmanagerdata.TableDefinition.decode(e,e.uint32()));break;case 4:l.table_sizes===a.emptyObject&&(l.table_sizes={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtadmin.Schema.TableSize.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.table_sizes[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(n=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+n;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.table_definitions&&e.hasOwnProperty("table_definitions")){if(!Array.isArray(e.table_definitions))return"table_definitions: array expected";for(var t=0;t>>3){case 1:n.row_count=e.uint64();break;case 2:n.data_length=e.uint64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.row_count||!e.hasOwnProperty("row_count")||a.isInteger(e.row_count)||e.row_count&&a.isInteger(e.row_count.low)&&a.isInteger(e.row_count.high)?null==e.data_length||!e.hasOwnProperty("data_length")||a.isInteger(e.data_length)||e.data_length&&a.isInteger(e.data_length.low)&&a.isInteger(e.data_length.high)?null:"data_length: integer|Long expected":"row_count: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtadmin.Schema.ShardTableSize)return e;var t=new s.vtadmin.Schema.ShardTableSize;return null!=e.row_count&&(a.Long?(t.row_count=a.Long.fromValue(e.row_count)).unsigned=!0:"string"===typeof e.row_count?t.row_count=parseInt(e.row_count,10):"number"===typeof e.row_count?t.row_count=e.row_count:"object"===typeof e.row_count&&(t.row_count=new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0))),null!=e.data_length&&(a.Long?(t.data_length=a.Long.fromValue(e.data_length)).unsigned=!0:"string"===typeof e.data_length?t.data_length=parseInt(e.data_length,10):"number"===typeof e.data_length?t.data_length=e.data_length:"object"===typeof e.data_length&&(t.data_length=new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!0);r.row_count=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.row_count=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!0);r.data_length=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.data_length=t.longs===String?"0":0}return null!=e.row_count&&e.hasOwnProperty("row_count")&&("number"===typeof e.row_count?r.row_count=t.longs===String?String(e.row_count):e.row_count:r.row_count=t.longs===String?a.Long.prototype.toString.call(e.row_count):t.longs===Number?new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0):e.row_count),null!=e.data_length&&e.hasOwnProperty("data_length")&&("number"===typeof e.data_length?r.data_length=t.longs===String?String(e.data_length):e.data_length:r.data_length=t.longs===String?a.Long.prototype.toString.call(e.data_length):t.longs===Number?new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0):e.data_length),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TableSize=function(){function e(e){if(this.by_shard={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.row_count=e.uint64();break;case 2:l.data_length=e.uint64();break;case 3:l.by_shard===a.emptyObject&&(l.by_shard={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtadmin.Schema.ShardTableSize.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.by_shard[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.row_count&&e.hasOwnProperty("row_count")&&!a.isInteger(e.row_count)&&!(e.row_count&&a.isInteger(e.row_count.low)&&a.isInteger(e.row_count.high)))return"row_count: integer|Long expected";if(null!=e.data_length&&e.hasOwnProperty("data_length")&&!a.isInteger(e.data_length)&&!(e.data_length&&a.isInteger(e.data_length.low)&&a.isInteger(e.data_length.high)))return"data_length: integer|Long expected";if(null!=e.by_shard&&e.hasOwnProperty("by_shard")){if(!a.isObject(e.by_shard))return"by_shard: object expected";for(var t=Object.keys(e.by_shard),r=0;r>>0,e.row_count.high>>>0).toNumber(!0))),null!=e.data_length&&(a.Long?(t.data_length=a.Long.fromValue(e.data_length)).unsigned=!0:"string"===typeof e.data_length?t.data_length=parseInt(e.data_length,10):"number"===typeof e.data_length?t.data_length=e.data_length:"object"===typeof e.data_length&&(t.data_length=new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0))),e.by_shard){if("object"!==typeof e.by_shard)throw TypeError(".vtadmin.Schema.TableSize.by_shard: object expected");t.by_shard={};for(var r=Object.keys(e.by_shard),n=0;n>>0,e.row_count.high>>>0).toNumber(!0):e.row_count),null!=e.data_length&&e.hasOwnProperty("data_length")&&("number"===typeof e.data_length?n.data_length=t.longs===String?String(e.data_length):e.data_length:n.data_length=t.longs===String?a.Long.prototype.toString.call(e.data_length):t.longs===Number?new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0):e.data_length),e.by_shard&&(r=Object.keys(e.by_shard)).length){n.by_shard={};for(var o=0;o>>3){case 1:n.cell=e.string();break;case 2:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 3:n.srv_v_schema=s.vschema.SrvVSchema.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell))return"cell: string expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.srv_v_schema&&e.hasOwnProperty("srv_v_schema")&&(t=s.vschema.SrvVSchema.verify(e.srv_v_schema)))return"srv_v_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.SrvVSchema)return e;var t=new s.vtadmin.SrvVSchema;if(null!=e.cell&&(t.cell=String(e.cell)),null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.SrvVSchema.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.srv_v_schema){if("object"!==typeof e.srv_v_schema)throw TypeError(".vtadmin.SrvVSchema.srv_v_schema: object expected");t.srv_v_schema=s.vschema.SrvVSchema.fromObject(e.srv_v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell="",r.cluster=null,r.srv_v_schema=null),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.srv_v_schema&&e.hasOwnProperty("srv_v_schema")&&(r.srv_v_schema=s.vschema.SrvVSchema.toObject(e.srv_v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Tablet=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.tablet=s.topodata.Tablet.decode(e,e.uint32());break;case 3:n.state=e.int32();break;case 4:n.FQDN=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.tablet&&e.hasOwnProperty("tablet")&&(t=s.topodata.Tablet.verify(e.tablet)))return"tablet."+t;if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:}return null!=e.FQDN&&e.hasOwnProperty("FQDN")&&!a.isString(e.FQDN)?"FQDN: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.Tablet)return e;var t=new s.vtadmin.Tablet;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.Tablet.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.tablet){if("object"!==typeof e.tablet)throw TypeError(".vtadmin.Tablet.tablet: object expected");t.tablet=s.topodata.Tablet.fromObject(e.tablet)}switch(e.state){case"UNKNOWN":case 0:t.state=0;break;case"SERVING":case 1:t.state=1;break;case"NOT_SERVING":case 2:t.state=2}return null!=e.FQDN&&(t.FQDN=String(e.FQDN)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.tablet=null,r.state=t.enums===String?"UNKNOWN":0,r.FQDN=""),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.tablet&&e.hasOwnProperty("tablet")&&(r.tablet=s.topodata.Tablet.toObject(e.tablet,t)),null!=e.state&&e.hasOwnProperty("state")&&(r.state=t.enums===String?s.vtadmin.Tablet.ServingState[e.state]:e.state),null!=e.FQDN&&e.hasOwnProperty("FQDN")&&(r.FQDN=e.FQDN),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.ServingState=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SERVING"]=1,t[e[2]="NOT_SERVING"]=2,t}(),e}(),e.VSchema=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.name=e.string();break;case 3:n.v_schema=s.vschema.Keyspace.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.v_schema&&e.hasOwnProperty("v_schema")&&(t=s.vschema.Keyspace.verify(e.v_schema)))return"v_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.VSchema)return e;var t=new s.vtadmin.VSchema;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.VSchema.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.name&&(t.name=String(e.name)),null!=e.v_schema){if("object"!==typeof e.v_schema)throw TypeError(".vtadmin.VSchema.v_schema: object expected");t.v_schema=s.vschema.Keyspace.fromObject(e.v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.name="",r.v_schema=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.v_schema&&e.hasOwnProperty("v_schema")&&(r.v_schema=s.vschema.Keyspace.toObject(e.v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Vtctld=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hostname=e.string();break;case 2:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 3:n.FQDN=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hostname&&e.hasOwnProperty("hostname")&&!a.isString(e.hostname))return"hostname: string expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")){var t=s.vtadmin.Cluster.verify(e.cluster);if(t)return"cluster."+t}return null!=e.FQDN&&e.hasOwnProperty("FQDN")&&!a.isString(e.FQDN)?"FQDN: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.Vtctld)return e;var t=new s.vtadmin.Vtctld;if(null!=e.hostname&&(t.hostname=String(e.hostname)),null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.Vtctld.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}return null!=e.FQDN&&(t.FQDN=String(e.FQDN)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hostname="",r.cluster=null,r.FQDN=""),null!=e.hostname&&e.hasOwnProperty("hostname")&&(r.hostname=e.hostname),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.FQDN&&e.hasOwnProperty("FQDN")&&(r.FQDN=e.FQDN),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTGate=function(){function e(e){if(this.keyspaces=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hostname=e.string();break;case 2:n.pool=e.string();break;case 3:n.cell=e.string();break;case 4:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 5:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 6:n.FQDN=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hostname&&e.hasOwnProperty("hostname")&&!a.isString(e.hostname))return"hostname: string expected";if(null!=e.pool&&e.hasOwnProperty("pool")&&!a.isString(e.pool))return"pool: string expected";if(null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell))return"cell: string expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")){var t=s.vtadmin.Cluster.verify(e.cluster);if(t)return"cluster."+t}if(null!=e.keyspaces&&e.hasOwnProperty("keyspaces")){if(!Array.isArray(e.keyspaces))return"keyspaces: array expected";for(var r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.keyspace=e.string();break;case 3:n.workflow=s.vtctldata.Workflow.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.workflow&&e.hasOwnProperty("workflow")&&(t=s.vtctldata.Workflow.verify(e.workflow)))return"workflow."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.Workflow)return e;var t=new s.vtadmin.Workflow;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.Workflow.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.workflow){if("object"!==typeof e.workflow)throw TypeError(".vtadmin.Workflow.workflow: object expected");t.workflow=s.vtctldata.Workflow.fromObject(e.workflow)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.keyspace="",r.workflow=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.workflow&&e.hasOwnProperty("workflow")&&(r.workflow=s.vtctldata.Workflow.toObject(e.workflow,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.CreateKeyspaceRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.CreateKeyspaceRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.CreateKeyspaceRequest)return e;var t=new s.vtadmin.CreateKeyspaceRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.CreateKeyspaceRequest.options: object expected");t.options=s.vtctldata.CreateKeyspaceRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.CreateKeyspaceRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateKeyspaceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.keyspace=s.vtadmin.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.vtadmin.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.CreateKeyspaceResponse)return e;var t=new s.vtadmin.CreateKeyspaceResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtadmin.CreateKeyspaceResponse.keyspace: object expected");t.keyspace=s.vtadmin.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.vtadmin.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateShardRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.CreateShardRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.CreateShardRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.CreateShardRequest)return e;var t=new s.vtadmin.CreateShardRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.CreateShardRequest.options: object expected");t.options=s.vtctldata.CreateShardRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.CreateShardRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.DeleteKeyspaceRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.DeleteKeyspaceRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.DeleteKeyspaceRequest)return e;var t=new s.vtadmin.DeleteKeyspaceRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.DeleteKeyspaceRequest.options: object expected");t.options=s.vtctldata.DeleteKeyspaceRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.DeleteKeyspaceRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteShardsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.DeleteShardsRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.DeleteShardsRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.DeleteShardsRequest)return e;var t=new s.vtadmin.DeleteShardsRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.DeleteShardsRequest.options: object expected");t.options=s.vtctldata.DeleteShardsRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.DeleteShardsRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteTabletRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.DeleteTabletResponse)return e;var t=new s.vtadmin.DeleteTabletResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FindSchemaRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.table=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 3:n.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table))return"table: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 3:n.keyspace_shards&&n.keyspace_shards.length||(n.keyspace_shards=[]),n.keyspace_shards.push(e.string());break;case 4:n.request_options=s.vtctldata.GetBackupsRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.backups&&n.backups.length||(n.backups=[]),n.backups.push(s.vtadmin.ClusterBackup.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.backups&&e.hasOwnProperty("backups")){if(!Array.isArray(e.backups))return"backups: array expected";for(var t=0;t>>3===1)n.clusters&&n.clusters.length||(n.clusters=[]),n.clusters.push(s.vtadmin.Cluster.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.clusters&&e.hasOwnProperty("clusters")){if(!Array.isArray(e.clusters))return"clusters: array expected";for(var t=0;t>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.gates&&n.gates.length||(n.gates=[]),n.gates.push(s.vtadmin.VTGate.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.gates&&e.hasOwnProperty("gates")){if(!Array.isArray(e.gates))return"gates: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetKeyspaceRequest)return e;var t=new s.vtadmin.GetKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetKeyspacesRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(s.vtadmin.Keyspace.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspaces&&e.hasOwnProperty("keyspaces")){if(!Array.isArray(e.keyspaces))return"keyspaces: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.table=e.string();break;case 4:n.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table))return"table: string expected";if(null!=e.table_size_options&&e.hasOwnProperty("table_size_options")){var t=s.vtadmin.GetSchemaTableSizeOptions.verify(e.table_size_options);if(t)return"table_size_options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetSchemaRequest)return e;var t=new s.vtadmin.GetSchemaRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.table&&(t.table=String(e.table)),null!=e.table_size_options){if("object"!==typeof e.table_size_options)throw TypeError(".vtadmin.GetSchemaRequest.table_size_options: object expected");t.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.fromObject(e.table_size_options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace="",r.table="",r.table_size_options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.table&&e.hasOwnProperty("table")&&(r.table=e.table),null!=e.table_size_options&&e.hasOwnProperty("table_size_options")&&(r.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.toObject(e.table_size_options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSchemasRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.schemas&&n.schemas.length||(n.schemas=[]),n.schemas.push(s.vtadmin.Schema.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.schemas&&e.hasOwnProperty("schemas")){if(!Array.isArray(e.schemas))return"schemas: array expected";for(var t=0;t>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 3:n.keyspace_shards&&n.keyspace_shards.length||(n.keyspace_shards=[]),n.keyspace_shards.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.replication_positions&&n.replication_positions.length||(n.replication_positions=[]),n.replication_positions.push(s.vtadmin.ClusterShardReplicationPosition.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.replication_positions&&e.hasOwnProperty("replication_positions")){if(!Array.isArray(e.replication_positions))return"replication_positions: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.cell=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetSrvVSchemaRequest)return e;var t=new s.vtadmin.GetSrvVSchemaRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.cell=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSrvVSchemasRequest=function(){function e(e){if(this.cluster_ids=[],this.cells=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.srv_v_schemas&&n.srv_v_schemas.length||(n.srv_v_schemas=[]),n.srv_v_schemas.push(s.vtadmin.SrvVSchema.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.srv_v_schemas&&e.hasOwnProperty("srv_v_schemas")){if(!Array.isArray(e.srv_v_schemas))return"srv_v_schemas: array expected";for(var t=0;t>>3){case 1:n.aggregate_sizes=e.bool();break;case 2:n.include_non_serving_shards=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.aggregate_sizes&&e.hasOwnProperty("aggregate_sizes")&&"boolean"!==typeof e.aggregate_sizes?"aggregate_sizes: boolean expected":null!=e.include_non_serving_shards&&e.hasOwnProperty("include_non_serving_shards")&&"boolean"!==typeof e.include_non_serving_shards?"include_non_serving_shards: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetSchemaTableSizeOptions)return e;var t=new s.vtadmin.GetSchemaTableSizeOptions;return null!=e.aggregate_sizes&&(t.aggregate_sizes=Boolean(e.aggregate_sizes)),null!=e.include_non_serving_shards&&(t.include_non_serving_shards=Boolean(e.include_non_serving_shards)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.aggregate_sizes=!1,r.include_non_serving_shards=!1),null!=e.aggregate_sizes&&e.hasOwnProperty("aggregate_sizes")&&(r.aggregate_sizes=e.aggregate_sizes),null!=e.include_non_serving_shards&&e.hasOwnProperty("include_non_serving_shards")&&(r.include_non_serving_shards=e.include_non_serving_shards),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetTabletRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.tablets&&n.tablets.length||(n.tablets=[]),n.tablets.push(s.vtadmin.Tablet.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablets&&e.hasOwnProperty("tablets")){if(!Array.isArray(e.tablets))return"tablets: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetVSchemaRequest)return e;var t=new s.vtadmin.GetVSchemaRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetVSchemasRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.v_schemas&&n.v_schemas.length||(n.v_schemas=[]),n.v_schemas.push(s.vtadmin.VSchema.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.v_schemas&&e.hasOwnProperty("v_schemas")){if(!Array.isArray(e.v_schemas))return"v_schemas: array expected";for(var t=0;t>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.vtctlds&&n.vtctlds.length||(n.vtctlds=[]),n.vtctlds.push(s.vtadmin.Vtctld.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.vtctlds&&e.hasOwnProperty("vtctlds")){if(!Array.isArray(e.vtctlds))return"vtctlds: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.name=e.string();break;case 4:n.active_only=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null!=e.active_only&&e.hasOwnProperty("active_only")&&"boolean"!==typeof e.active_only?"active_only: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetWorkflowRequest)return e;var t=new s.vtadmin.GetWorkflowRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.name&&(t.name=String(e.name)),null!=e.active_only&&(t.active_only=Boolean(e.active_only)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace="",r.name="",r.active_only=!1),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.active_only&&e.hasOwnProperty("active_only")&&(r.active_only=e.active_only),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetWorkflowsRequest=function(){function e(e){if(this.cluster_ids=[],this.keyspaces=[],this.ignore_keyspaces=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.active_only=e.bool();break;case 3:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 4:n.ignore_keyspaces&&n.ignore_keyspaces.length||(n.ignore_keyspaces=[]),n.ignore_keyspaces.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1){l.workflows_by_cluster===a.emptyObject&&(l.workflows_by_cluster={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtadmin.ClusterWorkflows.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.workflows_by_cluster[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.workflows_by_cluster&&e.hasOwnProperty("workflows_by_cluster")){if(!a.isObject(e.workflows_by_cluster))return"workflows_by_cluster: object expected";for(var t=Object.keys(e.workflows_by_cluster),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.PingTabletResponse)return e;var t=new s.vtadmin.PingTabletResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RefreshStateRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.RefreshStateResponse)return e;var t=new s.vtadmin.RefreshStateResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReparentTabletRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.primary=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.primary&&e.hasOwnProperty("primary")&&!a.isString(e.primary)?"primary: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ReparentTabletResponse)return e;var t=new s.vtadmin.ReparentTabletResponse;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.primary&&(t.primary=String(e.primary)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.primary=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.primary&&e.hasOwnProperty("primary")&&(r.primary=e.primary),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RunHealthCheckRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.RunHealthCheckResponse)return e;var t=new s.vtadmin.RunHealthCheckResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetReadOnlyRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.StartReplicationResponse)return e;var t=new s.vtadmin.StartReplicationResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.StopReplicationResponse)return e;var t=new s.vtadmin.StopReplicationResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.ping_tablets=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&"boolean"!==typeof e.ping_tablets?"ping_tablets: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ValidateKeyspaceRequest)return e;var t=new s.vtadmin.ValidateKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.ping_tablets&&(t.ping_tablets=Boolean(e.ping_tablets)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace="",r.ping_tablets=!1),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&(r.ping_tablets=e.ping_tablets),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateSchemaKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ValidateSchemaKeyspaceRequest)return e;var t=new s.vtadmin.ValidateSchemaKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateVersionKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ValidateVersionKeyspaceRequest)return e;var t=new s.vtadmin.ValidateVersionKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTExplainRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.sql=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster&&e.hasOwnProperty("cluster")&&!a.isString(e.cluster)?"cluster: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.sql&&e.hasOwnProperty("sql")&&!a.isString(e.sql)?"sql: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.VTExplainRequest)return e;var t=new s.vtadmin.VTExplainRequest;return null!=e.cluster&&(t.cluster=String(e.cluster)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.sql&&(t.sql=String(e.sql)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster="",r.keyspace="",r.sql=""),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=e.cluster),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.sql&&e.hasOwnProperty("sql")&&(r.sql=e.sql),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTExplainResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.response=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.response&&e.hasOwnProperty("response")&&!a.isString(e.response)?"response: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.VTExplainResponse)return e;var t=new s.vtadmin.VTExplainResponse;return null!=e.response&&(t.response=String(e.response)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.response=""),null!=e.response&&e.hasOwnProperty("response")&&(r.response=e.response),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.mysqlctl=function(){var e={};return e.StartRequest=function(){function e(e){if(this.mysqld_args=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.mysqld_args&&n.mysqld_args.length||(n.mysqld_args=[]),n.mysqld_args.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.mysqld_args&&e.hasOwnProperty("mysqld_args")){if(!Array.isArray(e.mysqld_args))return"mysqld_args: array expected";for(var t=0;t>>3===1)n.wait_for_mysqld=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.wait_for_mysqld&&e.hasOwnProperty("wait_for_mysqld")&&"boolean"!==typeof e.wait_for_mysqld?"wait_for_mysqld: boolean expected":null},e.fromObject=function(e){if(e instanceof s.mysqlctl.ShutdownRequest)return e;var t=new s.mysqlctl.ShutdownRequest;return null!=e.wait_for_mysqld&&(t.wait_for_mysqld=Boolean(e.wait_for_mysqld)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.wait_for_mysqld=!1),null!=e.wait_for_mysqld&&e.hasOwnProperty("wait_for_mysqld")&&(r.wait_for_mysqld=e.wait_for_mysqld),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShutdownResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.directory=e.string();break;case 3:n.keyspace=e.string();break;case 4:n.shard=e.string();break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 6:n.time=s.vttime.Time.decode(e,e.uint32());break;case 7:n.engine=e.string();break;case 8:n.status=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.directory&&e.hasOwnProperty("directory")&&!a.isString(e.directory))return"directory: string expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.time&&e.hasOwnProperty("time")&&(t=s.vttime.Time.verify(e.time)))return"time."+t;if(null!=e.engine&&e.hasOwnProperty("engine")&&!a.isString(e.engine))return"engine: string expected";if(null!=e.status&&e.hasOwnProperty("status"))switch(e.status){default:return"status: enum value expected";case 0:case 1:case 2:case 3:case 4:}return null},e.fromObject=function(e){if(e instanceof s.mysqlctl.BackupInfo)return e;var t=new s.mysqlctl.BackupInfo;if(null!=e.name&&(t.name=String(e.name)),null!=e.directory&&(t.directory=String(e.directory)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".mysqlctl.BackupInfo.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.time){if("object"!==typeof e.time)throw TypeError(".mysqlctl.BackupInfo.time: object expected");t.time=s.vttime.Time.fromObject(e.time)}switch(null!=e.engine&&(t.engine=String(e.engine)),e.status){case"UNKNOWN":case 0:t.status=0;break;case"INCOMPLETE":case 1:t.status=1;break;case"COMPLETE":case 2:t.status=2;break;case"INVALID":case 3:t.status=3;break;case"VALID":case 4:t.status=4}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.directory="",r.keyspace="",r.shard="",r.tablet_alias=null,r.time=null,r.engine="",r.status=t.enums===String?"UNKNOWN":0),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.directory&&e.hasOwnProperty("directory")&&(r.directory=e.directory),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.time&&e.hasOwnProperty("time")&&(r.time=s.vttime.Time.toObject(e.time,t)),null!=e.engine&&e.hasOwnProperty("engine")&&(r.engine=e.engine),null!=e.status&&e.hasOwnProperty("status")&&(r.status=t.enums===String?s.mysqlctl.BackupInfo.Status[e.status]:e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Status=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="INCOMPLETE"]=1,t[e[2]="COMPLETE"]=2,t[e[3]="INVALID"]=3,t[e[4]="VALID"]=4,t}(),e}(),e}(),s.topodata=function(){var e={};return e.KeyRange=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.start=e.bytes();break;case 2:n.end=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!(e.start&&"number"===typeof e.start.length||a.isString(e.start))?"start: buffer expected":null!=e.end&&e.hasOwnProperty("end")&&!(e.end&&"number"===typeof e.end.length||a.isString(e.end))?"end: buffer expected":null},e.fromObject=function(e){if(e instanceof s.topodata.KeyRange)return e;var t=new s.topodata.KeyRange;return null!=e.start&&("string"===typeof e.start?a.base64.decode(e.start,t.start=a.newBuffer(a.base64.length(e.start)),0):e.start.length&&(t.start=e.start)),null!=e.end&&("string"===typeof e.end?a.base64.decode(e.end,t.end=a.newBuffer(a.base64.length(e.end)),0):e.end.length&&(t.end=e.end)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.start="":(r.start=[],t.bytes!==Array&&(r.start=a.newBuffer(r.start))),t.bytes===String?r.end="":(r.end=[],t.bytes!==Array&&(r.end=a.newBuffer(r.end)))),null!=e.start&&e.hasOwnProperty("start")&&(r.start=t.bytes===String?a.base64.encode(e.start,0,e.start.length):t.bytes===Array?Array.prototype.slice.call(e.start):e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=t.bytes===String?a.base64.encode(e.end,0,e.end.length):t.bytes===Array?Array.prototype.slice.call(e.end):e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyspaceType=function(){var e={},t=Object.create(e);return t[e[0]="NORMAL"]=0,t[e[1]="SNAPSHOT"]=1,t}(),e.KeyspaceIdType=function(){var e={},t=Object.create(e);return t[e[0]="UNSET"]=0,t[e[1]="UINT64"]=1,t[e[2]="BYTES"]=2,t}(),e.TabletAlias=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cell=e.string();break;case 2:n.uid=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null!=e.uid&&e.hasOwnProperty("uid")&&!a.isInteger(e.uid)?"uid: integer expected":null},e.fromObject=function(e){if(e instanceof s.topodata.TabletAlias)return e;var t=new s.topodata.TabletAlias;return null!=e.cell&&(t.cell=String(e.cell)),null!=e.uid&&(t.uid=e.uid>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell="",r.uid=0),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),null!=e.uid&&e.hasOwnProperty("uid")&&(r.uid=e.uid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TabletType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="PRIMARY"]=1,t.MASTER=1,t[e[2]="REPLICA"]=2,t[e[3]="RDONLY"]=3,t.BATCH=3,t[e[4]="SPARE"]=4,t[e[5]="EXPERIMENTAL"]=5,t[e[6]="BACKUP"]=6,t[e[7]="RESTORE"]=7,t[e[8]="DRAINED"]=8,t}(),e.Tablet=function(){function e(e){if(this.port_map={},this.tags={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:l.hostname=e.string();break;case 4:l.port_map===a.emptyObject&&(l.port_map={});var u=e.uint32()+e.pos;for(r="",n=0;e.pos>>3){case 1:r=e.string();break;case 2:n=e.int32();break;default:e.skipType(7&d)}}l.port_map[r]=n;break;case 5:l.keyspace=e.string();break;case 6:l.shard=e.string();break;case 7:l.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 8:l.type=e.int32();break;case 9:l.db_name_override=e.string();break;case 10:l.tags===a.emptyObject&&(l.tags={});u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.tags[r]=n;break;case 12:l.mysql_hostname=e.string();break;case 13:l.mysql_port=e.int32();break;case 14:l.primary_term_start_time=s.vttime.Time.decode(e,e.uint32());break;case 15:l.db_server_version=e.string();break;case 16:l.default_conn_collation=e.uint32();break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.alias&&e.hasOwnProperty("alias")&&(t=s.topodata.TabletAlias.verify(e.alias)))return"alias."+t;if(null!=e.hostname&&e.hasOwnProperty("hostname")&&!a.isString(e.hostname))return"hostname: string expected";if(null!=e.port_map&&e.hasOwnProperty("port_map")){if(!a.isObject(e.port_map))return"port_map: object expected";for(var r=Object.keys(e.port_map),n=0;n>>0),t},e.toObject=function(e,t){t||(t={});var r,n={};if((t.objects||t.defaults)&&(n.port_map={},n.tags={}),t.defaults&&(n.alias=null,n.hostname="",n.keyspace="",n.shard="",n.key_range=null,n.type=t.enums===String?"UNKNOWN":0,n.db_name_override="",n.mysql_hostname="",n.mysql_port=0,n.primary_term_start_time=null,n.db_server_version="",n.default_conn_collation=0),null!=e.alias&&e.hasOwnProperty("alias")&&(n.alias=s.topodata.TabletAlias.toObject(e.alias,t)),null!=e.hostname&&e.hasOwnProperty("hostname")&&(n.hostname=e.hostname),e.port_map&&(r=Object.keys(e.port_map)).length){n.port_map={};for(var i=0;i>>3){case 1:n.primary_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 8:n.primary_term_start_time=s.vttime.Time.decode(e,e.uint32());break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 4:n.source_shards&&n.source_shards.length||(n.source_shards=[]),n.source_shards.push(s.topodata.Shard.SourceShard.decode(e,e.uint32()));break;case 6:n.tablet_controls&&n.tablet_controls.length||(n.tablet_controls=[]),n.tablet_controls.push(s.topodata.Shard.TabletControl.decode(e,e.uint32()));break;case 7:n.is_primary_serving=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.primary_alias&&e.hasOwnProperty("primary_alias")&&(r=s.topodata.TabletAlias.verify(e.primary_alias)))return"primary_alias."+r;if(null!=e.primary_term_start_time&&e.hasOwnProperty("primary_term_start_time")&&(r=s.vttime.Time.verify(e.primary_term_start_time)))return"primary_term_start_time."+r;if(null!=e.key_range&&e.hasOwnProperty("key_range")&&(r=s.topodata.KeyRange.verify(e.key_range)))return"key_range."+r;if(null!=e.source_shards&&e.hasOwnProperty("source_shards")){if(!Array.isArray(e.source_shards))return"source_shards: array expected";for(var t=0;t>>3){case 1:n.uid=e.uint32();break;case 2:n.keyspace=e.string();break;case 3:n.shard=e.string();break;case 4:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 5:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.uid&&e.hasOwnProperty("uid")&&!a.isInteger(e.uid))return"uid: integer expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var r=0;r>>0),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".topodata.Shard.SourceShard.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}if(e.tables){if(!Array.isArray(e.tables))throw TypeError(".topodata.Shard.SourceShard.tables: array expected");t.tables=[];for(var r=0;r>>3){case 1:n.tablet_type=e.int32();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 4:n.denied_tables&&n.denied_tables.length||(n.denied_tables=[]),n.denied_tables.push(e.string());break;case 5:n.frozen=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3){case 1:n.sharding_column_name=e.string();break;case 2:n.sharding_column_type=e.int32();break;case 4:n.served_froms&&n.served_froms.length||(n.served_froms=[]),n.served_froms.push(s.topodata.Keyspace.ServedFrom.decode(e,e.uint32()));break;case 5:n.keyspace_type=e.int32();break;case 6:n.base_keyspace=e.string();break;case 7:n.snapshot_time=s.vttime.Time.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sharding_column_name&&e.hasOwnProperty("sharding_column_name")&&!a.isString(e.sharding_column_name))return"sharding_column_name: string expected";if(null!=e.sharding_column_type&&e.hasOwnProperty("sharding_column_type"))switch(e.sharding_column_type){default:return"sharding_column_type: enum value expected";case 0:case 1:case 2:}if(null!=e.served_froms&&e.hasOwnProperty("served_froms")){if(!Array.isArray(e.served_froms))return"served_froms: array expected";for(var t=0;t>>3){case 1:n.tablet_type=e.int32();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 3:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.nodes&&n.nodes.length||(n.nodes=[]),n.nodes.push(s.topodata.ShardReplication.Node.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.nodes&&e.hasOwnProperty("nodes")){if(!Array.isArray(e.nodes))return"nodes: array expected";for(var t=0;t>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ShardReplication.Node)return e;var t=new s.topodata.ShardReplication.Node;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".topodata.ShardReplication.Node.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.ShardReplicationError=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:}if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ShardReplicationError)return e;var t=new s.topodata.ShardReplicationError;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"NOT_FOUND":case 1:t.type=1;break;case"TOPOLOGY_MISMATCH":case 2:t.type=2}if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".topodata.ShardReplicationError.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type=t.enums===String?"UNKNOWN":0,r.tablet_alias=null),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.topodata.ShardReplicationError.Type[e.type]:e.type),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="NOT_FOUND"]=1,t[e[2]="TOPOLOGY_MISMATCH"]=2,t}(),e}(),e.ShardReference=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ShardReference)return e;var t=new s.topodata.ShardReference;if(null!=e.name&&(t.name=String(e.name)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".topodata.ShardReference.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.key_range=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.key_range&&e.hasOwnProperty("key_range")&&(r.key_range=s.topodata.KeyRange.toObject(e.key_range,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardTabletControl=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 3:n.query_service_disabled=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}return null!=e.query_service_disabled&&e.hasOwnProperty("query_service_disabled")&&"boolean"!==typeof e.query_service_disabled?"query_service_disabled: boolean expected":null},e.fromObject=function(e){if(e instanceof s.topodata.ShardTabletControl)return e;var t=new s.topodata.ShardTabletControl;if(null!=e.name&&(t.name=String(e.name)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".topodata.ShardTabletControl.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}return null!=e.query_service_disabled&&(t.query_service_disabled=Boolean(e.query_service_disabled)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.key_range=null,r.query_service_disabled=!1),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.key_range&&e.hasOwnProperty("key_range")&&(r.key_range=s.topodata.KeyRange.toObject(e.key_range,t)),null!=e.query_service_disabled&&e.hasOwnProperty("query_service_disabled")&&(r.query_service_disabled=e.query_service_disabled),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SrvKeyspace=function(){function e(e){if(this.partitions=[],this.served_from=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.partitions&&n.partitions.length||(n.partitions=[]),n.partitions.push(s.topodata.SrvKeyspace.KeyspacePartition.decode(e,e.uint32()));break;case 2:n.sharding_column_name=e.string();break;case 3:n.sharding_column_type=e.int32();break;case 4:n.served_from&&n.served_from.length||(n.served_from=[]),n.served_from.push(s.topodata.SrvKeyspace.ServedFrom.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.partitions&&e.hasOwnProperty("partitions")){if(!Array.isArray(e.partitions))return"partitions: array expected";for(var t=0;t>>3){case 1:n.served_type=e.int32();break;case 2:n.shard_references&&n.shard_references.length||(n.shard_references=[]),n.shard_references.push(s.topodata.ShardReference.decode(e,e.uint32()));break;case 3:n.shard_tablet_controls&&n.shard_tablet_controls.length||(n.shard_tablet_controls=[]),n.shard_tablet_controls.push(s.topodata.ShardTabletControl.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.served_type&&e.hasOwnProperty("served_type"))switch(e.served_type){default:return"served_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.shard_references&&e.hasOwnProperty("shard_references")){if(!Array.isArray(e.shard_references))return"shard_references: array expected";for(var t=0;t>>3){case 1:n.tablet_type=e.int32();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.topodata.SrvKeyspace.ServedFrom)return e;var t=new s.topodata.SrvKeyspace.ServedFrom;switch(e.tablet_type){case"UNKNOWN":case 0:t.tablet_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.tablet_type=1;break;case"REPLICA":case 2:t.tablet_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.tablet_type=3;break;case"SPARE":case 4:t.tablet_type=4;break;case"EXPERIMENTAL":case 5:t.tablet_type=5;break;case"BACKUP":case 6:t.tablet_type=6;break;case"RESTORE":case 7:t.tablet_type=7;break;case"DRAINED":case 8:t.tablet_type=8}return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_type=t.enums===String?"UNKNOWN":0,r.keyspace=""),null!=e.tablet_type&&e.hasOwnProperty("tablet_type")&&(r.tablet_type=t.enums===String?s.topodata.TabletType[e.tablet_type]:e.tablet_type),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.CellInfo=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.server_address=e.string();break;case 2:n.root=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.server_address&&e.hasOwnProperty("server_address")&&!a.isString(e.server_address)?"server_address: string expected":null!=e.root&&e.hasOwnProperty("root")&&!a.isString(e.root)?"root: string expected":null},e.fromObject=function(e){if(e instanceof s.topodata.CellInfo)return e;var t=new s.topodata.CellInfo;return null!=e.server_address&&(t.server_address=String(e.server_address)),null!=e.root&&(t.root=String(e.root)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.server_address="",r.root=""),null!=e.server_address&&e.hasOwnProperty("server_address")&&(r.server_address=e.server_address),null!=e.root&&e.hasOwnProperty("root")&&(r.root=e.root),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CellsAlias=function(){function e(e){if(this.cells=[],e)for(var t=Object.keys(e),r=0;r>>3===2)n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3){case 1:n.topo_type=e.string();break;case 2:n.server=e.string();break;case 3:n.root=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.topo_type&&e.hasOwnProperty("topo_type")&&!a.isString(e.topo_type)?"topo_type: string expected":null!=e.server&&e.hasOwnProperty("server")&&!a.isString(e.server)?"server: string expected":null!=e.root&&e.hasOwnProperty("root")&&!a.isString(e.root)?"root: string expected":null},e.fromObject=function(e){if(e instanceof s.topodata.TopoConfig)return e;var t=new s.topodata.TopoConfig;return null!=e.topo_type&&(t.topo_type=String(e.topo_type)),null!=e.server&&(t.server=String(e.server)),null!=e.root&&(t.root=String(e.root)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.topo_type="",r.server="",r.root=""),null!=e.topo_type&&e.hasOwnProperty("topo_type")&&(r.topo_type=e.topo_type),null!=e.server&&e.hasOwnProperty("server")&&(r.server=e.server),null!=e.root&&e.hasOwnProperty("root")&&(r.root=e.root),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExternalVitessCluster=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.topo_config=s.topodata.TopoConfig.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.topo_config&&e.hasOwnProperty("topo_config")){var t=s.topodata.TopoConfig.verify(e.topo_config);if(t)return"topo_config."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ExternalVitessCluster)return e;var t=new s.topodata.ExternalVitessCluster;if(null!=e.topo_config){if("object"!==typeof e.topo_config)throw TypeError(".topodata.ExternalVitessCluster.topo_config: object expected");t.topo_config=s.topodata.TopoConfig.fromObject(e.topo_config)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.topo_config=null),null!=e.topo_config&&e.hasOwnProperty("topo_config")&&(r.topo_config=s.topodata.TopoConfig.toObject(e.topo_config,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExternalClusters=function(){function e(e){if(this.vitess_cluster=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.vitess_cluster&&n.vitess_cluster.length||(n.vitess_cluster=[]),n.vitess_cluster.push(s.topodata.ExternalVitessCluster.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.vitess_cluster&&e.hasOwnProperty("vitess_cluster")){if(!Array.isArray(e.vitess_cluster))return"vitess_cluster: array expected";for(var t=0;t>>3){case 1:n.seconds=e.int64();break;case 2:n.nanoseconds=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.seconds||!e.hasOwnProperty("seconds")||a.isInteger(e.seconds)||e.seconds&&a.isInteger(e.seconds.low)&&a.isInteger(e.seconds.high)?null!=e.nanoseconds&&e.hasOwnProperty("nanoseconds")&&!a.isInteger(e.nanoseconds)?"nanoseconds: integer expected":null:"seconds: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vttime.Time)return e;var t=new s.vttime.Time;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"===typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"===typeof e.seconds?t.seconds=e.seconds:"object"===typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanoseconds&&(t.nanoseconds=0|e.nanoseconds),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanoseconds=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"===typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanoseconds&&e.hasOwnProperty("nanoseconds")&&(r.nanoseconds=e.nanoseconds),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Duration=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.seconds||!e.hasOwnProperty("seconds")||a.isInteger(e.seconds)||e.seconds&&a.isInteger(e.seconds.low)&&a.isInteger(e.seconds.high)?null!=e.nanos&&e.hasOwnProperty("nanos")&&!a.isInteger(e.nanos)?"nanos: integer expected":null:"seconds: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vttime.Duration)return e;var t=new s.vttime.Duration;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"===typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"===typeof e.seconds?t.seconds=e.seconds:"object"===typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"===typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.tabletmanagerdata=function(){var e={};return e.TableDefinition=function(){function e(e){if(this.columns=[],this.primary_key_columns=[],this.fields=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.schema=e.string();break;case 3:n.columns&&n.columns.length||(n.columns=[]),n.columns.push(e.string());break;case 4:n.primary_key_columns&&n.primary_key_columns.length||(n.primary_key_columns=[]),n.primary_key_columns.push(e.string());break;case 5:n.type=e.string();break;case 6:n.data_length=e.uint64();break;case 7:n.row_count=e.uint64();break;case 8:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.schema&&e.hasOwnProperty("schema")&&!a.isString(e.schema))return"schema: string expected";if(null!=e.columns&&e.hasOwnProperty("columns")){if(!Array.isArray(e.columns))return"columns: array expected";for(var t=0;t>>0,e.data_length.high>>>0).toNumber(!0))),null!=e.row_count&&(a.Long?(t.row_count=a.Long.fromValue(e.row_count)).unsigned=!0:"string"===typeof e.row_count?t.row_count=parseInt(e.row_count,10):"number"===typeof e.row_count?t.row_count=e.row_count:"object"===typeof e.row_count&&(t.row_count=new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0))),e.fields){if(!Array.isArray(e.fields))throw TypeError(".tabletmanagerdata.TableDefinition.fields: array expected");t.fields=[];for(r=0;r>>0,e.data_length.high>>>0).toNumber(!0):e.data_length),null!=e.row_count&&e.hasOwnProperty("row_count")&&("number"===typeof e.row_count?r.row_count=t.longs===String?String(e.row_count):e.row_count:r.row_count=t.longs===String?a.Long.prototype.toString.call(e.row_count):t.longs===Number?new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0):e.row_count),e.fields&&e.fields.length){r.fields=[];for(i=0;i>>3){case 1:n.database_schema=e.string();break;case 2:n.table_definitions&&n.table_definitions.length||(n.table_definitions=[]),n.table_definitions.push(s.tabletmanagerdata.TableDefinition.decode(e,e.uint32()));break;case 3:n.version=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.database_schema&&e.hasOwnProperty("database_schema")&&!a.isString(e.database_schema))return"database_schema: string expected";if(null!=e.table_definitions&&e.hasOwnProperty("table_definitions")){if(!Array.isArray(e.table_definitions))return"table_definitions: array expected";for(var t=0;t>>3){case 1:n.before_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 2:n.after_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.before_schema)))return"before_schema."+t;if(null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.after_schema)))return"after_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.SchemaChangeResult)return e;var t=new s.tabletmanagerdata.SchemaChangeResult;if(null!=e.before_schema){if("object"!==typeof e.before_schema)throw TypeError(".tabletmanagerdata.SchemaChangeResult.before_schema: object expected");t.before_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.before_schema)}if(null!=e.after_schema){if("object"!==typeof e.after_schema)throw TypeError(".tabletmanagerdata.SchemaChangeResult.after_schema: object expected");t.after_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.after_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before_schema=null,r.after_schema=null),null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(r.before_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.before_schema,t)),null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(r.after_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.after_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UserPermission=function(){function e(e){if(this.privileges={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.host=e.string();break;case 2:l.user=e.string();break;case 3:l.password_checksum=e.uint64();break;case 4:l.privileges===a.emptyObject&&(l.privileges={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.privileges[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.host&&e.hasOwnProperty("host")&&!a.isString(e.host))return"host: string expected";if(null!=e.user&&e.hasOwnProperty("user")&&!a.isString(e.user))return"user: string expected";if(null!=e.password_checksum&&e.hasOwnProperty("password_checksum")&&!a.isInteger(e.password_checksum)&&!(e.password_checksum&&a.isInteger(e.password_checksum.low)&&a.isInteger(e.password_checksum.high)))return"password_checksum: integer|Long expected";if(null!=e.privileges&&e.hasOwnProperty("privileges")){if(!a.isObject(e.privileges))return"privileges: object expected";for(var t=Object.keys(e.privileges),r=0;r>>0,e.password_checksum.high>>>0).toNumber(!0))),e.privileges){if("object"!==typeof e.privileges)throw TypeError(".tabletmanagerdata.UserPermission.privileges: object expected");t.privileges={};for(var r=Object.keys(e.privileges),n=0;n>>0,e.password_checksum.high>>>0).toNumber(!0):e.password_checksum),e.privileges&&(r=Object.keys(e.privileges)).length){n.privileges={};for(var o=0;o>>3){case 1:l.host=e.string();break;case 2:l.db=e.string();break;case 3:l.user=e.string();break;case 4:l.privileges===a.emptyObject&&(l.privileges={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.privileges[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.host&&e.hasOwnProperty("host")&&!a.isString(e.host))return"host: string expected";if(null!=e.db&&e.hasOwnProperty("db")&&!a.isString(e.db))return"db: string expected";if(null!=e.user&&e.hasOwnProperty("user")&&!a.isString(e.user))return"user: string expected";if(null!=e.privileges&&e.hasOwnProperty("privileges")){if(!a.isObject(e.privileges))return"privileges: object expected";for(var t=Object.keys(e.privileges),r=0;r>>3){case 1:n.user_permissions&&n.user_permissions.length||(n.user_permissions=[]),n.user_permissions.push(s.tabletmanagerdata.UserPermission.decode(e,e.uint32()));break;case 2:n.db_permissions&&n.db_permissions.length||(n.db_permissions=[]),n.db_permissions.push(s.tabletmanagerdata.DbPermission.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.user_permissions&&e.hasOwnProperty("user_permissions")){if(!Array.isArray(e.user_permissions))return"user_permissions: array expected";for(var t=0;t>>3===1)n.payload=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.payload&&e.hasOwnProperty("payload")&&!a.isString(e.payload)?"payload: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PingRequest)return e;var t=new s.tabletmanagerdata.PingRequest;return null!=e.payload&&(t.payload=String(e.payload)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.payload=""),null!=e.payload&&e.hasOwnProperty("payload")&&(r.payload=e.payload),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PingResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.payload=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.payload&&e.hasOwnProperty("payload")&&!a.isString(e.payload)?"payload: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PingResponse)return e;var t=new s.tabletmanagerdata.PingResponse;return null!=e.payload&&(t.payload=String(e.payload)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.payload=""),null!=e.payload&&e.hasOwnProperty("payload")&&(r.payload=e.payload),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SleepRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.duration=e.int64();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.duration||!e.hasOwnProperty("duration")||a.isInteger(e.duration)||e.duration&&a.isInteger(e.duration.low)&&a.isInteger(e.duration.high)?null:"duration: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.SleepRequest)return e;var t=new s.tabletmanagerdata.SleepRequest;return null!=e.duration&&(a.Long?(t.duration=a.Long.fromValue(e.duration)).unsigned=!1:"string"===typeof e.duration?t.duration=parseInt(e.duration,10):"number"===typeof e.duration?t.duration=e.duration:"object"===typeof e.duration&&(t.duration=new a.LongBits(e.duration.low>>>0,e.duration.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.duration=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.duration=t.longs===String?"0":0;return null!=e.duration&&e.hasOwnProperty("duration")&&("number"===typeof e.duration?r.duration=t.longs===String?String(e.duration):e.duration:r.duration=t.longs===String?a.Long.prototype.toString.call(e.duration):t.longs===Number?new a.LongBits(e.duration.low>>>0,e.duration.high>>>0).toNumber():e.duration),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SleepResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.name=e.string();break;case 2:l.parameters&&l.parameters.length||(l.parameters=[]),l.parameters.push(e.string());break;case 3:l.extra_env===a.emptyObject&&(l.extra_env={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.extra_env[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.parameters&&e.hasOwnProperty("parameters")){if(!Array.isArray(e.parameters))return"parameters: array expected";for(var t=0;t>>3){case 1:n.exit_status=e.int64();break;case 2:n.stdout=e.string();break;case 3:n.stderr=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.exit_status||!e.hasOwnProperty("exit_status")||a.isInteger(e.exit_status)||e.exit_status&&a.isInteger(e.exit_status.low)&&a.isInteger(e.exit_status.high)?null!=e.stdout&&e.hasOwnProperty("stdout")&&!a.isString(e.stdout)?"stdout: string expected":null!=e.stderr&&e.hasOwnProperty("stderr")&&!a.isString(e.stderr)?"stderr: string expected":null:"exit_status: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteHookResponse)return e;var t=new s.tabletmanagerdata.ExecuteHookResponse;return null!=e.exit_status&&(a.Long?(t.exit_status=a.Long.fromValue(e.exit_status)).unsigned=!1:"string"===typeof e.exit_status?t.exit_status=parseInt(e.exit_status,10):"number"===typeof e.exit_status?t.exit_status=e.exit_status:"object"===typeof e.exit_status&&(t.exit_status=new a.LongBits(e.exit_status.low>>>0,e.exit_status.high>>>0).toNumber())),null!=e.stdout&&(t.stdout=String(e.stdout)),null!=e.stderr&&(t.stderr=String(e.stderr)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.exit_status=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.exit_status=t.longs===String?"0":0;r.stdout="",r.stderr=""}return null!=e.exit_status&&e.hasOwnProperty("exit_status")&&("number"===typeof e.exit_status?r.exit_status=t.longs===String?String(e.exit_status):e.exit_status:r.exit_status=t.longs===String?a.Long.prototype.toString.call(e.exit_status):t.longs===Number?new a.LongBits(e.exit_status.low>>>0,e.exit_status.high>>>0).toNumber():e.exit_status),null!=e.stdout&&e.hasOwnProperty("stdout")&&(r.stdout=e.stdout),null!=e.stderr&&e.hasOwnProperty("stderr")&&(r.stderr=e.stderr),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSchemaRequest=function(){function e(e){if(this.tables=[],this.exclude_tables=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;case 2:n.include_views=e.bool();break;case 3:n.exclude_tables&&n.exclude_tables.length||(n.exclude_tables=[]),n.exclude_tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var t=0;t>>3===1)n.schema_definition=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.schema_definition&&e.hasOwnProperty("schema_definition")){var t=s.tabletmanagerdata.SchemaDefinition.verify(e.schema_definition);if(t)return"schema_definition."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.GetSchemaResponse)return e;var t=new s.tabletmanagerdata.GetSchemaResponse;if(null!=e.schema_definition){if("object"!==typeof e.schema_definition)throw TypeError(".tabletmanagerdata.GetSchemaResponse.schema_definition: object expected");t.schema_definition=s.tabletmanagerdata.SchemaDefinition.fromObject(e.schema_definition)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.schema_definition=null),null!=e.schema_definition&&e.hasOwnProperty("schema_definition")&&(r.schema_definition=s.tabletmanagerdata.SchemaDefinition.toObject(e.schema_definition,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetPermissionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.permissions=s.tabletmanagerdata.Permissions.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){var t=s.tabletmanagerdata.Permissions.verify(e.permissions);if(t)return"permissions."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.GetPermissionsResponse)return e;var t=new s.tabletmanagerdata.GetPermissionsResponse;if(null!=e.permissions){if("object"!==typeof e.permissions)throw TypeError(".tabletmanagerdata.GetPermissionsResponse.permissions: object expected");t.permissions=s.tabletmanagerdata.Permissions.fromObject(e.permissions)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.permissions=null),null!=e.permissions&&e.hasOwnProperty("permissions")&&(r.permissions=s.tabletmanagerdata.Permissions.toObject(e.permissions,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetReadOnlyRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_type=e.int32();break;case 2:n.semiSync=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ChangeTypeRequest)return e;var t=new s.tabletmanagerdata.ChangeTypeRequest;switch(e.tablet_type){case"UNKNOWN":case 0:t.tablet_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.tablet_type=1;break;case"REPLICA":case 2:t.tablet_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.tablet_type=3;break;case"SPARE":case 4:t.tablet_type=4;break;case"EXPERIMENTAL":case 5:t.tablet_type=5;break;case"BACKUP":case 6:t.tablet_type=6;break;case"RESTORE":case 7:t.tablet_type=7;break;case"DRAINED":case 8:t.tablet_type=8}return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_type=t.enums===String?"UNKNOWN":0,r.semiSync=!1),null!=e.tablet_type&&e.hasOwnProperty("tablet_type")&&(r.tablet_type=t.enums===String?s.topodata.TabletType[e.tablet_type]:e.tablet_type),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ChangeTypeResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.wait_position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.wait_position&&e.hasOwnProperty("wait_position")&&!a.isString(e.wait_position)?"wait_position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ReloadSchemaRequest)return e;var t=new s.tabletmanagerdata.ReloadSchemaRequest;return null!=e.wait_position&&(t.wait_position=String(e.wait_position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.wait_position=""),null!=e.wait_position&&e.hasOwnProperty("wait_position")&&(r.wait_position=e.wait_position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReloadSchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.changes&&n.changes.length||(n.changes=[]),n.changes.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.changes&&e.hasOwnProperty("changes")){if(!Array.isArray(e.changes))return"changes: array expected";for(var t=0;t>>3===1)n.change_results&&n.change_results.length||(n.change_results=[]),n.change_results.push(s.tabletmanagerdata.SchemaChangeResult.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.change_results&&e.hasOwnProperty("change_results")){if(!Array.isArray(e.change_results))return"change_results: array expected";for(var t=0;t>>3){case 1:n.sql=e.string();break;case 2:n.force=e.bool();break;case 3:n.allow_replication=e.bool();break;case 4:n.before_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 5:n.after_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 6:n.sql_mode=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sql&&e.hasOwnProperty("sql")&&!a.isString(e.sql))return"sql: string expected";if(null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force)return"force: boolean expected";if(null!=e.allow_replication&&e.hasOwnProperty("allow_replication")&&"boolean"!==typeof e.allow_replication)return"allow_replication: boolean expected";var t;if(null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.before_schema)))return"before_schema."+t;if(null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.after_schema)))return"after_schema."+t;return null!=e.sql_mode&&e.hasOwnProperty("sql_mode")&&!a.isString(e.sql_mode)?"sql_mode: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ApplySchemaRequest)return e;var t=new s.tabletmanagerdata.ApplySchemaRequest;if(null!=e.sql&&(t.sql=String(e.sql)),null!=e.force&&(t.force=Boolean(e.force)),null!=e.allow_replication&&(t.allow_replication=Boolean(e.allow_replication)),null!=e.before_schema){if("object"!==typeof e.before_schema)throw TypeError(".tabletmanagerdata.ApplySchemaRequest.before_schema: object expected");t.before_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.before_schema)}if(null!=e.after_schema){if("object"!==typeof e.after_schema)throw TypeError(".tabletmanagerdata.ApplySchemaRequest.after_schema: object expected");t.after_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.after_schema)}return null!=e.sql_mode&&(t.sql_mode=String(e.sql_mode)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.sql="",r.force=!1,r.allow_replication=!1,r.before_schema=null,r.after_schema=null,r.sql_mode=""),null!=e.sql&&e.hasOwnProperty("sql")&&(r.sql=e.sql),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),null!=e.allow_replication&&e.hasOwnProperty("allow_replication")&&(r.allow_replication=e.allow_replication),null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(r.before_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.before_schema,t)),null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(r.after_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.after_schema,t)),null!=e.sql_mode&&e.hasOwnProperty("sql_mode")&&(r.sql_mode=e.sql_mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ApplySchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.before_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 2:n.after_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.before_schema)))return"before_schema."+t;if(null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.after_schema)))return"after_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ApplySchemaResponse)return e;var t=new s.tabletmanagerdata.ApplySchemaResponse;if(null!=e.before_schema){if("object"!==typeof e.before_schema)throw TypeError(".tabletmanagerdata.ApplySchemaResponse.before_schema: object expected");t.before_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.before_schema)}if(null!=e.after_schema){if("object"!==typeof e.after_schema)throw TypeError(".tabletmanagerdata.ApplySchemaResponse.after_schema: object expected");t.after_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.after_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before_schema=null,r.after_schema=null),null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(r.before_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.before_schema,t)),null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(r.after_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.after_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.LockTablesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.db_name=e.string();break;case 3:n.max_rows=e.uint64();break;case 4:n.caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query)))return"query: buffer expected";if(null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name))return"db_name: string expected";if(null!=e.max_rows&&e.hasOwnProperty("max_rows")&&!a.isInteger(e.max_rows)&&!(e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)))return"max_rows: integer|Long expected";if(null!=e.caller_id&&e.hasOwnProperty("caller_id")){var t=s.vtrpc.CallerID.verify(e.caller_id);if(t)return"caller_id."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteQueryRequest)return e;var t=new s.tabletmanagerdata.ExecuteQueryRequest;if(null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),null!=e.caller_id){if("object"!==typeof e.caller_id)throw TypeError(".tabletmanagerdata.ExecuteQueryRequest.caller_id: object expected");t.caller_id=s.vtrpc.CallerID.fromObject(e.caller_id)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),r.db_name="",a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.caller_id=null}return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),null!=e.caller_id&&e.hasOwnProperty("caller_id")&&(r.caller_id=s.vtrpc.CallerID.toObject(e.caller_id,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteQueryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteQueryResponse)return e;var t=new s.tabletmanagerdata.ExecuteQueryResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteQueryResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsDbaRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.db_name=e.string();break;case 3:n.max_rows=e.uint64();break;case 4:n.disable_binlogs=e.bool();break;case 5:n.reload_schema=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query))?"query: buffer expected":null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name)?"db_name: string expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null!=e.disable_binlogs&&e.hasOwnProperty("disable_binlogs")&&"boolean"!==typeof e.disable_binlogs?"disable_binlogs: boolean expected":null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&"boolean"!==typeof e.reload_schema?"reload_schema: boolean expected":null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsDbaRequest)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsDbaRequest;return null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),null!=e.disable_binlogs&&(t.disable_binlogs=Boolean(e.disable_binlogs)),null!=e.reload_schema&&(t.reload_schema=Boolean(e.reload_schema)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),r.db_name="",a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.disable_binlogs=!1,r.reload_schema=!1}return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),null!=e.disable_binlogs&&e.hasOwnProperty("disable_binlogs")&&(r.disable_binlogs=e.disable_binlogs),null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&(r.reload_schema=e.reload_schema),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsDbaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsDbaResponse)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsDbaResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteFetchAsDbaResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAllPrivsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.db_name=e.string();break;case 3:n.max_rows=e.uint64();break;case 4:n.reload_schema=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query))?"query: buffer expected":null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name)?"db_name: string expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&"boolean"!==typeof e.reload_schema?"reload_schema: boolean expected":null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAllPrivsRequest)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAllPrivsRequest;return null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),null!=e.reload_schema&&(t.reload_schema=Boolean(e.reload_schema)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),r.db_name="",a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.reload_schema=!1}return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&(r.reload_schema=e.reload_schema),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAllPrivsResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAllPrivsResponse)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAllPrivsResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteFetchAsAllPrivsResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAppRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.max_rows=e.uint64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query))?"query: buffer expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAppRequest)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAppRequest;return null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAppResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAppResponse)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAppResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteFetchAsAppResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReplicationStatusRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.status=s.replicationdata.Status.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.status&&e.hasOwnProperty("status")){var t=s.replicationdata.Status.verify(e.status);if(t)return"status."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ReplicationStatusResponse)return e;var t=new s.tabletmanagerdata.ReplicationStatusResponse;if(null!=e.status){if("object"!==typeof e.status)throw TypeError(".tabletmanagerdata.ReplicationStatusResponse.status: object expected");t.status=s.replicationdata.Status.fromObject(e.status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=null),null!=e.status&&e.hasOwnProperty("status")&&(r.status=s.replicationdata.Status.toObject(e.status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrimaryStatusRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.status=s.replicationdata.PrimaryStatus.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.status&&e.hasOwnProperty("status")){var t=s.replicationdata.PrimaryStatus.verify(e.status);if(t)return"status."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PrimaryStatusResponse)return e;var t=new s.tabletmanagerdata.PrimaryStatusResponse;if(null!=e.status){if("object"!==typeof e.status)throw TypeError(".tabletmanagerdata.PrimaryStatusResponse.status: object expected");t.status=s.replicationdata.PrimaryStatus.fromObject(e.status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=null),null!=e.status&&e.hasOwnProperty("status")&&(r.status=s.replicationdata.PrimaryStatus.toObject(e.status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrimaryPositionRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PrimaryPositionResponse)return e;var t=new s.tabletmanagerdata.PrimaryPositionResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.WaitForPositionRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.WaitForPositionRequest)return e;var t=new s.tabletmanagerdata.WaitForPositionRequest;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.WaitForPositionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.wait_timeout=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null==e.wait_timeout||!e.hasOwnProperty("wait_timeout")||a.isInteger(e.wait_timeout)||e.wait_timeout&&a.isInteger(e.wait_timeout.low)&&a.isInteger(e.wait_timeout.high)?null:"wait_timeout: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationMinimumRequest)return e;var t=new s.tabletmanagerdata.StopReplicationMinimumRequest;return null!=e.position&&(t.position=String(e.position)),null!=e.wait_timeout&&(a.Long?(t.wait_timeout=a.Long.fromValue(e.wait_timeout)).unsigned=!1:"string"===typeof e.wait_timeout?t.wait_timeout=parseInt(e.wait_timeout,10):"number"===typeof e.wait_timeout?t.wait_timeout=e.wait_timeout:"object"===typeof e.wait_timeout&&(t.wait_timeout=new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.position="",a.Long){var n=new a.Long(0,0,!1);r.wait_timeout=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.wait_timeout=t.longs===String?"0":0;return null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.wait_timeout&&e.hasOwnProperty("wait_timeout")&&("number"===typeof e.wait_timeout?r.wait_timeout=t.longs===String?String(e.wait_timeout):e.wait_timeout:r.wait_timeout=t.longs===String?a.Long.prototype.toString.call(e.wait_timeout):t.longs===Number?new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber():e.wait_timeout),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationMinimumResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationMinimumResponse)return e;var t=new s.tabletmanagerdata.StopReplicationMinimumResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StartReplicationRequest)return e;var t=new s.tabletmanagerdata.StartReplicationRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.wait_timeout=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null==e.wait_timeout||!e.hasOwnProperty("wait_timeout")||a.isInteger(e.wait_timeout)||e.wait_timeout&&a.isInteger(e.wait_timeout.low)&&a.isInteger(e.wait_timeout.high)?null:"wait_timeout: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StartReplicationUntilAfterRequest)return e;var t=new s.tabletmanagerdata.StartReplicationUntilAfterRequest;return null!=e.position&&(t.position=String(e.position)),null!=e.wait_timeout&&(a.Long?(t.wait_timeout=a.Long.fromValue(e.wait_timeout)).unsigned=!1:"string"===typeof e.wait_timeout?t.wait_timeout=parseInt(e.wait_timeout,10):"number"===typeof e.wait_timeout?t.wait_timeout=e.wait_timeout:"object"===typeof e.wait_timeout&&(t.wait_timeout=new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.position="",a.Long){var n=new a.Long(0,0,!1);r.wait_timeout=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.wait_timeout=t.longs===String?"0":0;return null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.wait_timeout&&e.hasOwnProperty("wait_timeout")&&("number"===typeof e.wait_timeout?r.wait_timeout=t.longs===String?String(e.wait_timeout):e.wait_timeout:r.wait_timeout=t.longs===String?a.Long.prototype.toString.call(e.wait_timeout):t.longs===Number?new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber():e.wait_timeout),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationUntilAfterResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.addrs&&n.addrs.length||(n.addrs=[]),n.addrs.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.addrs&&e.hasOwnProperty("addrs")){if(!Array.isArray(e.addrs))return"addrs: array expected";for(var t=0;t>>3===1)n.query=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VReplicationExecRequest)return e;var t=new s.tabletmanagerdata.VReplicationExecRequest;return null!=e.query&&(t.query=String(e.query)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.query=""),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VReplicationExecResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VReplicationExecResponse)return e;var t=new s.tabletmanagerdata.VReplicationExecResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.VReplicationExecResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VReplicationWaitForPosRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.id=e.int64();break;case 2:n.position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.id||!e.hasOwnProperty("id")||a.isInteger(e.id)||e.id&&a.isInteger(e.id.low)&&a.isInteger(e.id.high)?null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null:"id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VReplicationWaitForPosRequest)return e;var t=new s.tabletmanagerdata.VReplicationWaitForPosRequest;return null!=e.id&&(a.Long?(t.id=a.Long.fromValue(e.id)).unsigned=!1:"string"===typeof e.id?t.id=parseInt(e.id,10):"number"===typeof e.id?t.id=e.id:"object"===typeof e.id&&(t.id=new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber())),null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.id=t.longs===String?"0":0;r.position=""}return null!=e.id&&e.hasOwnProperty("id")&&("number"===typeof e.id?r.id=t.longs===String?String(e.id):e.id:r.id=t.longs===String?a.Long.prototype.toString.call(e.id):t.longs===Number?new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber():e.id),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VReplicationWaitForPosResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.InitPrimaryRequest)return e;var t=new s.tabletmanagerdata.InitPrimaryRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InitPrimaryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.InitPrimaryResponse)return e;var t=new s.tabletmanagerdata.InitPrimaryResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PopulateReparentJournalRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.time_created_ns=e.int64();break;case 2:n.action_name=e.string();break;case 3:n.primary_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.replication_position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&!a.isInteger(e.time_created_ns)&&!(e.time_created_ns&&a.isInteger(e.time_created_ns.low)&&a.isInteger(e.time_created_ns.high)))return"time_created_ns: integer|Long expected";if(null!=e.action_name&&e.hasOwnProperty("action_name")&&!a.isString(e.action_name))return"action_name: string expected";if(null!=e.primary_alias&&e.hasOwnProperty("primary_alias")){var t=s.topodata.TabletAlias.verify(e.primary_alias);if(t)return"primary_alias."+t}return null!=e.replication_position&&e.hasOwnProperty("replication_position")&&!a.isString(e.replication_position)?"replication_position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PopulateReparentJournalRequest)return e;var t=new s.tabletmanagerdata.PopulateReparentJournalRequest;if(null!=e.time_created_ns&&(a.Long?(t.time_created_ns=a.Long.fromValue(e.time_created_ns)).unsigned=!1:"string"===typeof e.time_created_ns?t.time_created_ns=parseInt(e.time_created_ns,10):"number"===typeof e.time_created_ns?t.time_created_ns=e.time_created_ns:"object"===typeof e.time_created_ns&&(t.time_created_ns=new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber())),null!=e.action_name&&(t.action_name=String(e.action_name)),null!=e.primary_alias){if("object"!==typeof e.primary_alias)throw TypeError(".tabletmanagerdata.PopulateReparentJournalRequest.primary_alias: object expected");t.primary_alias=s.topodata.TabletAlias.fromObject(e.primary_alias)}return null!=e.replication_position&&(t.replication_position=String(e.replication_position)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.time_created_ns=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.time_created_ns=t.longs===String?"0":0;r.action_name="",r.primary_alias=null,r.replication_position=""}return null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&("number"===typeof e.time_created_ns?r.time_created_ns=t.longs===String?String(e.time_created_ns):e.time_created_ns:r.time_created_ns=t.longs===String?a.Long.prototype.toString.call(e.time_created_ns):t.longs===Number?new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber():e.time_created_ns),null!=e.action_name&&e.hasOwnProperty("action_name")&&(r.action_name=e.action_name),null!=e.primary_alias&&e.hasOwnProperty("primary_alias")&&(r.primary_alias=s.topodata.TabletAlias.toObject(e.primary_alias,t)),null!=e.replication_position&&e.hasOwnProperty("replication_position")&&(r.replication_position=e.replication_position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PopulateReparentJournalResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.parent=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.replication_position=e.string();break;case 3:n.time_created_ns=e.int64();break;case 4:n.semiSync=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")){var t=s.topodata.TabletAlias.verify(e.parent);if(t)return"parent."+t}return null!=e.replication_position&&e.hasOwnProperty("replication_position")&&!a.isString(e.replication_position)?"replication_position: string expected":null==e.time_created_ns||!e.hasOwnProperty("time_created_ns")||a.isInteger(e.time_created_ns)||e.time_created_ns&&a.isInteger(e.time_created_ns.low)&&a.isInteger(e.time_created_ns.high)?null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null:"time_created_ns: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.InitReplicaRequest)return e;var t=new s.tabletmanagerdata.InitReplicaRequest;if(null!=e.parent){if("object"!==typeof e.parent)throw TypeError(".tabletmanagerdata.InitReplicaRequest.parent: object expected");t.parent=s.topodata.TabletAlias.fromObject(e.parent)}return null!=e.replication_position&&(t.replication_position=String(e.replication_position)),null!=e.time_created_ns&&(a.Long?(t.time_created_ns=a.Long.fromValue(e.time_created_ns)).unsigned=!1:"string"===typeof e.time_created_ns?t.time_created_ns=parseInt(e.time_created_ns,10):"number"===typeof e.time_created_ns?t.time_created_ns=e.time_created_ns:"object"===typeof e.time_created_ns&&(t.time_created_ns=new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber())),null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.parent=null,r.replication_position="",a.Long){var n=new a.Long(0,0,!1);r.time_created_ns=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.time_created_ns=t.longs===String?"0":0;r.semiSync=!1}return null!=e.parent&&e.hasOwnProperty("parent")&&(r.parent=s.topodata.TabletAlias.toObject(e.parent,t)),null!=e.replication_position&&e.hasOwnProperty("replication_position")&&(r.replication_position=e.replication_position),null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&("number"===typeof e.time_created_ns?r.time_created_ns=t.longs===String?String(e.time_created_ns):e.time_created_ns:r.time_created_ns=t.longs===String?a.Long.prototype.toString.call(e.time_created_ns):t.longs===Number?new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber():e.time_created_ns),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InitReplicaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.deprecated_position=e.string();break;case 2:n.primary_status=s.replicationdata.PrimaryStatus.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.deprecated_position&&e.hasOwnProperty("deprecated_position")&&!a.isString(e.deprecated_position))return"deprecated_position: string expected";if(null!=e.primary_status&&e.hasOwnProperty("primary_status")){var t=s.replicationdata.PrimaryStatus.verify(e.primary_status);if(t)return"primary_status."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.DemotePrimaryResponse)return e;var t=new s.tabletmanagerdata.DemotePrimaryResponse;if(null!=e.deprecated_position&&(t.deprecated_position=String(e.deprecated_position)),null!=e.primary_status){if("object"!==typeof e.primary_status)throw TypeError(".tabletmanagerdata.DemotePrimaryResponse.primary_status: object expected");t.primary_status=s.replicationdata.PrimaryStatus.fromObject(e.primary_status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.deprecated_position="",r.primary_status=null),null!=e.deprecated_position&&e.hasOwnProperty("deprecated_position")&&(r.deprecated_position=e.deprecated_position),null!=e.primary_status&&e.hasOwnProperty("primary_status")&&(r.primary_status=s.replicationdata.PrimaryStatus.toObject(e.primary_status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UndoDemotePrimaryRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.UndoDemotePrimaryRequest)return e;var t=new s.tabletmanagerdata.UndoDemotePrimaryRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UndoDemotePrimaryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.parent=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.time_created_ns=e.int64();break;case 3:n.force_start_replication=e.bool();break;case 4:n.wait_position=e.string();break;case 5:n.semiSync=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")){var t=s.topodata.TabletAlias.verify(e.parent);if(t)return"parent."+t}return null==e.time_created_ns||!e.hasOwnProperty("time_created_ns")||a.isInteger(e.time_created_ns)||e.time_created_ns&&a.isInteger(e.time_created_ns.low)&&a.isInteger(e.time_created_ns.high)?null!=e.force_start_replication&&e.hasOwnProperty("force_start_replication")&&"boolean"!==typeof e.force_start_replication?"force_start_replication: boolean expected":null!=e.wait_position&&e.hasOwnProperty("wait_position")&&!a.isString(e.wait_position)?"wait_position: string expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null:"time_created_ns: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.SetReplicationSourceRequest)return e;var t=new s.tabletmanagerdata.SetReplicationSourceRequest;if(null!=e.parent){if("object"!==typeof e.parent)throw TypeError(".tabletmanagerdata.SetReplicationSourceRequest.parent: object expected");t.parent=s.topodata.TabletAlias.fromObject(e.parent)}return null!=e.time_created_ns&&(a.Long?(t.time_created_ns=a.Long.fromValue(e.time_created_ns)).unsigned=!1:"string"===typeof e.time_created_ns?t.time_created_ns=parseInt(e.time_created_ns,10):"number"===typeof e.time_created_ns?t.time_created_ns=e.time_created_ns:"object"===typeof e.time_created_ns&&(t.time_created_ns=new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber())),null!=e.force_start_replication&&(t.force_start_replication=Boolean(e.force_start_replication)),null!=e.wait_position&&(t.wait_position=String(e.wait_position)),null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.parent=null,a.Long){var n=new a.Long(0,0,!1);r.time_created_ns=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.time_created_ns=t.longs===String?"0":0;r.force_start_replication=!1,r.wait_position="",r.semiSync=!1}return null!=e.parent&&e.hasOwnProperty("parent")&&(r.parent=s.topodata.TabletAlias.toObject(e.parent,t)),null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&("number"===typeof e.time_created_ns?r.time_created_ns=t.longs===String?String(e.time_created_ns):e.time_created_ns:r.time_created_ns=t.longs===String?a.Long.prototype.toString.call(e.time_created_ns):t.longs===Number?new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber():e.time_created_ns),null!=e.force_start_replication&&e.hasOwnProperty("force_start_replication")&&(r.force_start_replication=e.force_start_replication),null!=e.wait_position&&e.hasOwnProperty("wait_position")&&(r.wait_position=e.wait_position),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetReplicationSourceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.parent=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")){var t=s.topodata.TabletAlias.verify(e.parent);if(t)return"parent."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ReplicaWasRestartedRequest)return e;var t=new s.tabletmanagerdata.ReplicaWasRestartedRequest;if(null!=e.parent){if("object"!==typeof e.parent)throw TypeError(".tabletmanagerdata.ReplicaWasRestartedRequest.parent: object expected");t.parent=s.topodata.TabletAlias.fromObject(e.parent)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.parent=null),null!=e.parent&&e.hasOwnProperty("parent")&&(r.parent=s.topodata.TabletAlias.toObject(e.parent,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReplicaWasRestartedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.stop_replication_mode=e.int32();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.stop_replication_mode&&e.hasOwnProperty("stop_replication_mode"))switch(e.stop_replication_mode){default:return"stop_replication_mode: enum value expected";case 0:case 1:}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationAndGetStatusRequest)return e;var t=new s.tabletmanagerdata.StopReplicationAndGetStatusRequest;switch(e.stop_replication_mode){case"IOANDSQLTHREAD":case 0:t.stop_replication_mode=0;break;case"IOTHREADONLY":case 1:t.stop_replication_mode=1}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.stop_replication_mode=t.enums===String?"IOANDSQLTHREAD":0),null!=e.stop_replication_mode&&e.hasOwnProperty("stop_replication_mode")&&(r.stop_replication_mode=t.enums===String?s.replicationdata.StopReplicationMode[e.stop_replication_mode]:e.stop_replication_mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationAndGetStatusResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hybrid_status=s.replicationdata.Status.decode(e,e.uint32());break;case 2:n.status=s.replicationdata.StopReplicationStatus.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.hybrid_status&&e.hasOwnProperty("hybrid_status")&&(t=s.replicationdata.Status.verify(e.hybrid_status)))return"hybrid_status."+t;if(null!=e.status&&e.hasOwnProperty("status")&&(t=s.replicationdata.StopReplicationStatus.verify(e.status)))return"status."+t;return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationAndGetStatusResponse)return e;var t=new s.tabletmanagerdata.StopReplicationAndGetStatusResponse;if(null!=e.hybrid_status){if("object"!==typeof e.hybrid_status)throw TypeError(".tabletmanagerdata.StopReplicationAndGetStatusResponse.hybrid_status: object expected");t.hybrid_status=s.replicationdata.Status.fromObject(e.hybrid_status)}if(null!=e.status){if("object"!==typeof e.status)throw TypeError(".tabletmanagerdata.StopReplicationAndGetStatusResponse.status: object expected");t.status=s.replicationdata.StopReplicationStatus.fromObject(e.status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hybrid_status=null,r.status=null),null!=e.hybrid_status&&e.hasOwnProperty("hybrid_status")&&(r.hybrid_status=s.replicationdata.Status.toObject(e.hybrid_status,t)),null!=e.status&&e.hasOwnProperty("status")&&(r.status=s.replicationdata.StopReplicationStatus.toObject(e.status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PromoteReplicaRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PromoteReplicaRequest)return e;var t=new s.tabletmanagerdata.PromoteReplicaRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PromoteReplicaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PromoteReplicaResponse)return e;var t=new s.tabletmanagerdata.PromoteReplicaResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.concurrency=e.int64();break;case 2:n.allow_primary=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.concurrency||!e.hasOwnProperty("concurrency")||a.isInteger(e.concurrency)||e.concurrency&&a.isInteger(e.concurrency.low)&&a.isInteger(e.concurrency.high)?null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&"boolean"!==typeof e.allow_primary?"allow_primary: boolean expected":null:"concurrency: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.BackupRequest)return e;var t=new s.tabletmanagerdata.BackupRequest;return null!=e.concurrency&&(a.Long?(t.concurrency=a.Long.fromValue(e.concurrency)).unsigned=!1:"string"===typeof e.concurrency?t.concurrency=parseInt(e.concurrency,10):"number"===typeof e.concurrency?t.concurrency=e.concurrency:"object"===typeof e.concurrency&&(t.concurrency=new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber())),null!=e.allow_primary&&(t.allow_primary=Boolean(e.allow_primary)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.concurrency=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.concurrency=t.longs===String?"0":0;r.allow_primary=!1}return null!=e.concurrency&&e.hasOwnProperty("concurrency")&&("number"===typeof e.concurrency?r.concurrency=t.longs===String?String(e.concurrency):e.concurrency:r.concurrency=t.longs===String?a.Long.prototype.toString.call(e.concurrency):t.longs===Number?new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber():e.concurrency),null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&(r.allow_primary=e.allow_primary),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.event=s.logutil.Event.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.event&&e.hasOwnProperty("event")){var t=s.logutil.Event.verify(e.event);if(t)return"event."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.BackupResponse)return e;var t=new s.tabletmanagerdata.BackupResponse;if(null!=e.event){if("object"!==typeof e.event)throw TypeError(".tabletmanagerdata.BackupResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.event=null),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RestoreFromBackupRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.backup_time=s.vttime.Time.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.backup_time&&e.hasOwnProperty("backup_time")){var t=s.vttime.Time.verify(e.backup_time);if(t)return"backup_time."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.RestoreFromBackupRequest)return e;var t=new s.tabletmanagerdata.RestoreFromBackupRequest;if(null!=e.backup_time){if("object"!==typeof e.backup_time)throw TypeError(".tabletmanagerdata.RestoreFromBackupRequest.backup_time: object expected");t.backup_time=s.vttime.Time.fromObject(e.backup_time)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.backup_time=null),null!=e.backup_time&&e.hasOwnProperty("backup_time")&&(r.backup_time=s.vttime.Time.toObject(e.backup_time,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RestoreFromBackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.event=s.logutil.Event.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.event&&e.hasOwnProperty("event")){var t=s.logutil.Event.verify(e.event);if(t)return"event."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.RestoreFromBackupResponse)return e;var t=new s.tabletmanagerdata.RestoreFromBackupResponse;if(null!=e.event){if("object"!==typeof e.event)throw TypeError(".tabletmanagerdata.RestoreFromBackupResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.event=null),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VExecRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.string();break;case 2:n.workflow=e.string();break;case 3:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null!=e.workflow&&e.hasOwnProperty("workflow")&&!a.isString(e.workflow)?"workflow: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VExecRequest)return e;var t=new s.tabletmanagerdata.VExecRequest;return null!=e.query&&(t.query=String(e.query)),null!=e.workflow&&(t.workflow=String(e.workflow)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.query="",r.workflow="",r.keyspace=""),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),null!=e.workflow&&e.hasOwnProperty("workflow")&&(r.workflow=e.workflow),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VExecResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VExecResponse)return e;var t=new s.tabletmanagerdata.VExecResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.VExecResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.query=function(){var e={};return e.Target=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.tablet_type=e.int32();break;case 4:n.cell=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.query.Target)return e;var t=new s.query.Target;switch(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),e.tablet_type){case"UNKNOWN":case 0:t.tablet_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.tablet_type=1;break;case"REPLICA":case 2:t.tablet_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.tablet_type=3;break;case"SPARE":case 4:t.tablet_type=4;break;case"EXPERIMENTAL":case 5:t.tablet_type=5;break;case"BACKUP":case 6:t.tablet_type=6;break;case"RESTORE":case 7:t.tablet_type=7;break;case"DRAINED":case 8:t.tablet_type=8}return null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.tablet_type=t.enums===String?"UNKNOWN":0,r.cell=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet_type&&e.hasOwnProperty("tablet_type")&&(r.tablet_type=t.enums===String?s.topodata.TabletType[e.tablet_type]:e.tablet_type),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTGateCallerID=function(){function e(e){if(this.groups=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.username=e.string();break;case 2:n.groups&&n.groups.length||(n.groups=[]),n.groups.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.username&&e.hasOwnProperty("username")&&!a.isString(e.username))return"username: string expected";if(null!=e.groups&&e.hasOwnProperty("groups")){if(!Array.isArray(e.groups))return"groups: array expected";for(var t=0;t>>3){case 1:n.timestamp=e.int64();break;case 2:n.shard=e.string();break;case 3:n.position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.timestamp||!e.hasOwnProperty("timestamp")||a.isInteger(e.timestamp)||e.timestamp&&a.isInteger(e.timestamp.low)&&a.isInteger(e.timestamp.high)?null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null:"timestamp: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.EventToken)return e;var t=new s.query.EventToken;return null!=e.timestamp&&(a.Long?(t.timestamp=a.Long.fromValue(e.timestamp)).unsigned=!1:"string"===typeof e.timestamp?t.timestamp=parseInt(e.timestamp,10):"number"===typeof e.timestamp?t.timestamp=e.timestamp:"object"===typeof e.timestamp&&(t.timestamp=new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber())),null!=e.shard&&(t.shard=String(e.shard)),null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.timestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timestamp=t.longs===String?"0":0;r.shard="",r.position=""}return null!=e.timestamp&&e.hasOwnProperty("timestamp")&&("number"===typeof e.timestamp?r.timestamp=t.longs===String?String(e.timestamp):e.timestamp:r.timestamp=t.longs===String?a.Long.prototype.toString.call(e.timestamp):t.longs===Number?new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber():e.timestamp),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MySqlFlag=function(){var e={},t=Object.create(e);return t[e[0]="EMPTY"]=0,t[e[1]="NOT_NULL_FLAG"]=1,t[e[2]="PRI_KEY_FLAG"]=2,t[e[4]="UNIQUE_KEY_FLAG"]=4,t[e[8]="MULTIPLE_KEY_FLAG"]=8,t[e[16]="BLOB_FLAG"]=16,t[e[32]="UNSIGNED_FLAG"]=32,t[e[64]="ZEROFILL_FLAG"]=64,t[e[128]="BINARY_FLAG"]=128,t[e[256]="ENUM_FLAG"]=256,t[e[512]="AUTO_INCREMENT_FLAG"]=512,t[e[1024]="TIMESTAMP_FLAG"]=1024,t[e[2048]="SET_FLAG"]=2048,t[e[4096]="NO_DEFAULT_VALUE_FLAG"]=4096,t[e[8192]="ON_UPDATE_NOW_FLAG"]=8192,t[e[32768]="NUM_FLAG"]=32768,t[e[16384]="PART_KEY_FLAG"]=16384,t.GROUP_FLAG=32768,t[e[65536]="UNIQUE_FLAG"]=65536,t[e[131072]="BINCMP_FLAG"]=131072,t}(),e.Flag=function(){var e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[256]="ISINTEGRAL"]=256,t[e[512]="ISUNSIGNED"]=512,t[e[1024]="ISFLOAT"]=1024,t[e[2048]="ISQUOTED"]=2048,t[e[4096]="ISTEXT"]=4096,t[e[8192]="ISBINARY"]=8192,t}(),e.Type=function(){var e={},t=Object.create(e);return t[e[0]="NULL_TYPE"]=0,t[e[257]="INT8"]=257,t[e[770]="UINT8"]=770,t[e[259]="INT16"]=259,t[e[772]="UINT16"]=772,t[e[261]="INT24"]=261,t[e[774]="UINT24"]=774,t[e[263]="INT32"]=263,t[e[776]="UINT32"]=776,t[e[265]="INT64"]=265,t[e[778]="UINT64"]=778,t[e[1035]="FLOAT32"]=1035,t[e[1036]="FLOAT64"]=1036,t[e[2061]="TIMESTAMP"]=2061,t[e[2062]="DATE"]=2062,t[e[2063]="TIME"]=2063,t[e[2064]="DATETIME"]=2064,t[e[785]="YEAR"]=785,t[e[18]="DECIMAL"]=18,t[e[6163]="TEXT"]=6163,t[e[10260]="BLOB"]=10260,t[e[6165]="VARCHAR"]=6165,t[e[10262]="VARBINARY"]=10262,t[e[6167]="CHAR"]=6167,t[e[10264]="BINARY"]=10264,t[e[2073]="BIT"]=2073,t[e[2074]="ENUM"]=2074,t[e[2075]="SET"]=2075,t[e[28]="TUPLE"]=28,t[e[2077]="GEOMETRY"]=2077,t[e[2078]="JSON"]=2078,t[e[31]="EXPRESSION"]=31,t[e[4128]="HEXNUM"]=4128,t[e[4129]="HEXVAL"]=4129,t}(),e.Value=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.value=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}return null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"===typeof e.value.length||a.isString(e.value))?"value: buffer expected":null},e.fromObject=function(e){if(e instanceof s.query.Value)return e;var t=new s.query.Value;switch(e.type){case"NULL_TYPE":case 0:t.type=0;break;case"INT8":case 257:t.type=257;break;case"UINT8":case 770:t.type=770;break;case"INT16":case 259:t.type=259;break;case"UINT16":case 772:t.type=772;break;case"INT24":case 261:t.type=261;break;case"UINT24":case 774:t.type=774;break;case"INT32":case 263:t.type=263;break;case"UINT32":case 776:t.type=776;break;case"INT64":case 265:t.type=265;break;case"UINT64":case 778:t.type=778;break;case"FLOAT32":case 1035:t.type=1035;break;case"FLOAT64":case 1036:t.type=1036;break;case"TIMESTAMP":case 2061:t.type=2061;break;case"DATE":case 2062:t.type=2062;break;case"TIME":case 2063:t.type=2063;break;case"DATETIME":case 2064:t.type=2064;break;case"YEAR":case 785:t.type=785;break;case"DECIMAL":case 18:t.type=18;break;case"TEXT":case 6163:t.type=6163;break;case"BLOB":case 10260:t.type=10260;break;case"VARCHAR":case 6165:t.type=6165;break;case"VARBINARY":case 10262:t.type=10262;break;case"CHAR":case 6167:t.type=6167;break;case"BINARY":case 10264:t.type=10264;break;case"BIT":case 2073:t.type=2073;break;case"ENUM":case 2074:t.type=2074;break;case"SET":case 2075:t.type=2075;break;case"TUPLE":case 28:t.type=28;break;case"GEOMETRY":case 2077:t.type=2077;break;case"JSON":case 2078:t.type=2078;break;case"EXPRESSION":case 31:t.type=31;break;case"HEXNUM":case 4128:t.type=4128;break;case"HEXVAL":case 4129:t.type=4129}return null!=e.value&&("string"===typeof e.value?a.base64.decode(e.value,t.value=a.newBuffer(a.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type=t.enums===String?"NULL_TYPE":0,t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=a.newBuffer(r.value)))),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.query.Type[e.type]:e.type),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?a.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BindVariable=function(){function e(e){if(this.values=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.value=e.bytes();break;case 3:n.values&&n.values.length||(n.values=[]),n.values.push(s.query.Value.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}if(null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"===typeof e.value.length||a.isString(e.value)))return"value: buffer expected";if(null!=e.values&&e.hasOwnProperty("values")){if(!Array.isArray(e.values))return"values: array expected";for(var t=0;t>>3){case 1:l.sql=e.string();break;case 2:l.bind_variables===a.emptyObject&&(l.bind_variables={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.query.BindVariable.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.bind_variables[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sql&&e.hasOwnProperty("sql")&&!a.isString(e.sql))return"sql: string expected";if(null!=e.bind_variables&&e.hasOwnProperty("bind_variables")){if(!a.isObject(e.bind_variables))return"bind_variables: object expected";for(var t=Object.keys(e.bind_variables),r=0;r>>3){case 4:n.included_fields=e.int32();break;case 5:n.client_found_rows=e.bool();break;case 6:n.workload=e.int32();break;case 8:n.sql_select_limit=e.int64();break;case 9:n.transaction_isolation=e.int32();break;case 10:n.skip_query_plan_cache=e.bool();break;case 11:n.planner_version=e.int32();break;case 12:n.has_created_temp_tables=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.included_fields&&e.hasOwnProperty("included_fields"))switch(e.included_fields){default:return"included_fields: enum value expected";case 0:case 1:case 2:}if(null!=e.client_found_rows&&e.hasOwnProperty("client_found_rows")&&"boolean"!==typeof e.client_found_rows)return"client_found_rows: boolean expected";if(null!=e.workload&&e.hasOwnProperty("workload"))switch(e.workload){default:return"workload: enum value expected";case 0:case 1:case 2:case 3:}if(null!=e.sql_select_limit&&e.hasOwnProperty("sql_select_limit")&&!a.isInteger(e.sql_select_limit)&&!(e.sql_select_limit&&a.isInteger(e.sql_select_limit.low)&&a.isInteger(e.sql_select_limit.high)))return"sql_select_limit: integer|Long expected";if(null!=e.transaction_isolation&&e.hasOwnProperty("transaction_isolation"))switch(e.transaction_isolation){default:return"transaction_isolation: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:}if(null!=e.skip_query_plan_cache&&e.hasOwnProperty("skip_query_plan_cache")&&"boolean"!==typeof e.skip_query_plan_cache)return"skip_query_plan_cache: boolean expected";if(null!=e.planner_version&&e.hasOwnProperty("planner_version"))switch(e.planner_version){default:return"planner_version: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:}return null!=e.has_created_temp_tables&&e.hasOwnProperty("has_created_temp_tables")&&"boolean"!==typeof e.has_created_temp_tables?"has_created_temp_tables: boolean expected":null},e.fromObject=function(e){if(e instanceof s.query.ExecuteOptions)return e;var t=new s.query.ExecuteOptions;switch(e.included_fields){case"TYPE_AND_NAME":case 0:t.included_fields=0;break;case"TYPE_ONLY":case 1:t.included_fields=1;break;case"ALL":case 2:t.included_fields=2}switch(null!=e.client_found_rows&&(t.client_found_rows=Boolean(e.client_found_rows)),e.workload){case"UNSPECIFIED":case 0:t.workload=0;break;case"OLTP":case 1:t.workload=1;break;case"OLAP":case 2:t.workload=2;break;case"DBA":case 3:t.workload=3}switch(null!=e.sql_select_limit&&(a.Long?(t.sql_select_limit=a.Long.fromValue(e.sql_select_limit)).unsigned=!1:"string"===typeof e.sql_select_limit?t.sql_select_limit=parseInt(e.sql_select_limit,10):"number"===typeof e.sql_select_limit?t.sql_select_limit=e.sql_select_limit:"object"===typeof e.sql_select_limit&&(t.sql_select_limit=new a.LongBits(e.sql_select_limit.low>>>0,e.sql_select_limit.high>>>0).toNumber())),e.transaction_isolation){case"DEFAULT":case 0:t.transaction_isolation=0;break;case"REPEATABLE_READ":case 1:t.transaction_isolation=1;break;case"READ_COMMITTED":case 2:t.transaction_isolation=2;break;case"READ_UNCOMMITTED":case 3:t.transaction_isolation=3;break;case"SERIALIZABLE":case 4:t.transaction_isolation=4;break;case"CONSISTENT_SNAPSHOT_READ_ONLY":case 5:t.transaction_isolation=5;break;case"AUTOCOMMIT":case 6:t.transaction_isolation=6}switch(null!=e.skip_query_plan_cache&&(t.skip_query_plan_cache=Boolean(e.skip_query_plan_cache)),e.planner_version){case"DEFAULT_PLANNER":case 0:t.planner_version=0;break;case"V3":case 1:t.planner_version=1;break;case"Gen4":case 2:t.planner_version=2;break;case"Gen4Greedy":case 3:t.planner_version=3;break;case"Gen4Left2Right":case 4:t.planner_version=4;break;case"Gen4WithFallback":case 5:t.planner_version=5;break;case"Gen4CompareV3":case 6:t.planner_version=6}return null!=e.has_created_temp_tables&&(t.has_created_temp_tables=Boolean(e.has_created_temp_tables)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.included_fields=t.enums===String?"TYPE_AND_NAME":0,r.client_found_rows=!1,r.workload=t.enums===String?"UNSPECIFIED":0,a.Long){var n=new a.Long(0,0,!1);r.sql_select_limit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sql_select_limit=t.longs===String?"0":0;r.transaction_isolation=t.enums===String?"DEFAULT":0,r.skip_query_plan_cache=!1,r.planner_version=t.enums===String?"DEFAULT_PLANNER":0,r.has_created_temp_tables=!1}return null!=e.included_fields&&e.hasOwnProperty("included_fields")&&(r.included_fields=t.enums===String?s.query.ExecuteOptions.IncludedFields[e.included_fields]:e.included_fields),null!=e.client_found_rows&&e.hasOwnProperty("client_found_rows")&&(r.client_found_rows=e.client_found_rows),null!=e.workload&&e.hasOwnProperty("workload")&&(r.workload=t.enums===String?s.query.ExecuteOptions.Workload[e.workload]:e.workload),null!=e.sql_select_limit&&e.hasOwnProperty("sql_select_limit")&&("number"===typeof e.sql_select_limit?r.sql_select_limit=t.longs===String?String(e.sql_select_limit):e.sql_select_limit:r.sql_select_limit=t.longs===String?a.Long.prototype.toString.call(e.sql_select_limit):t.longs===Number?new a.LongBits(e.sql_select_limit.low>>>0,e.sql_select_limit.high>>>0).toNumber():e.sql_select_limit),null!=e.transaction_isolation&&e.hasOwnProperty("transaction_isolation")&&(r.transaction_isolation=t.enums===String?s.query.ExecuteOptions.TransactionIsolation[e.transaction_isolation]:e.transaction_isolation),null!=e.skip_query_plan_cache&&e.hasOwnProperty("skip_query_plan_cache")&&(r.skip_query_plan_cache=e.skip_query_plan_cache),null!=e.planner_version&&e.hasOwnProperty("planner_version")&&(r.planner_version=t.enums===String?s.query.ExecuteOptions.PlannerVersion[e.planner_version]:e.planner_version),null!=e.has_created_temp_tables&&e.hasOwnProperty("has_created_temp_tables")&&(r.has_created_temp_tables=e.has_created_temp_tables),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.IncludedFields=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_AND_NAME"]=0,t[e[1]="TYPE_ONLY"]=1,t[e[2]="ALL"]=2,t}(),e.Workload=function(){var e={},t=Object.create(e);return t[e[0]="UNSPECIFIED"]=0,t[e[1]="OLTP"]=1,t[e[2]="OLAP"]=2,t[e[3]="DBA"]=3,t}(),e.TransactionIsolation=function(){var e={},t=Object.create(e);return t[e[0]="DEFAULT"]=0,t[e[1]="REPEATABLE_READ"]=1,t[e[2]="READ_COMMITTED"]=2,t[e[3]="READ_UNCOMMITTED"]=3,t[e[4]="SERIALIZABLE"]=4,t[e[5]="CONSISTENT_SNAPSHOT_READ_ONLY"]=5,t[e[6]="AUTOCOMMIT"]=6,t}(),e.PlannerVersion=function(){var e={},t=Object.create(e);return t[e[0]="DEFAULT_PLANNER"]=0,t[e[1]="V3"]=1,t[e[2]="Gen4"]=2,t[e[3]="Gen4Greedy"]=3,t[e[4]="Gen4Left2Right"]=4,t[e[5]="Gen4WithFallback"]=5,t[e[6]="Gen4CompareV3"]=6,t}(),e}(),e.Field=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.type=e.int32();break;case 3:n.table=e.string();break;case 4:n.org_table=e.string();break;case 5:n.database=e.string();break;case 6:n.org_name=e.string();break;case 7:n.column_length=e.uint32();break;case 8:n.charset=e.uint32();break;case 9:n.decimals=e.uint32();break;case 10:n.flags=e.uint32();break;case 11:n.column_type=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}return null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table)?"table: string expected":null!=e.org_table&&e.hasOwnProperty("org_table")&&!a.isString(e.org_table)?"org_table: string expected":null!=e.database&&e.hasOwnProperty("database")&&!a.isString(e.database)?"database: string expected":null!=e.org_name&&e.hasOwnProperty("org_name")&&!a.isString(e.org_name)?"org_name: string expected":null!=e.column_length&&e.hasOwnProperty("column_length")&&!a.isInteger(e.column_length)?"column_length: integer expected":null!=e.charset&&e.hasOwnProperty("charset")&&!a.isInteger(e.charset)?"charset: integer expected":null!=e.decimals&&e.hasOwnProperty("decimals")&&!a.isInteger(e.decimals)?"decimals: integer expected":null!=e.flags&&e.hasOwnProperty("flags")&&!a.isInteger(e.flags)?"flags: integer expected":null!=e.column_type&&e.hasOwnProperty("column_type")&&!a.isString(e.column_type)?"column_type: string expected":null},e.fromObject=function(e){if(e instanceof s.query.Field)return e;var t=new s.query.Field;switch(null!=e.name&&(t.name=String(e.name)),e.type){case"NULL_TYPE":case 0:t.type=0;break;case"INT8":case 257:t.type=257;break;case"UINT8":case 770:t.type=770;break;case"INT16":case 259:t.type=259;break;case"UINT16":case 772:t.type=772;break;case"INT24":case 261:t.type=261;break;case"UINT24":case 774:t.type=774;break;case"INT32":case 263:t.type=263;break;case"UINT32":case 776:t.type=776;break;case"INT64":case 265:t.type=265;break;case"UINT64":case 778:t.type=778;break;case"FLOAT32":case 1035:t.type=1035;break;case"FLOAT64":case 1036:t.type=1036;break;case"TIMESTAMP":case 2061:t.type=2061;break;case"DATE":case 2062:t.type=2062;break;case"TIME":case 2063:t.type=2063;break;case"DATETIME":case 2064:t.type=2064;break;case"YEAR":case 785:t.type=785;break;case"DECIMAL":case 18:t.type=18;break;case"TEXT":case 6163:t.type=6163;break;case"BLOB":case 10260:t.type=10260;break;case"VARCHAR":case 6165:t.type=6165;break;case"VARBINARY":case 10262:t.type=10262;break;case"CHAR":case 6167:t.type=6167;break;case"BINARY":case 10264:t.type=10264;break;case"BIT":case 2073:t.type=2073;break;case"ENUM":case 2074:t.type=2074;break;case"SET":case 2075:t.type=2075;break;case"TUPLE":case 28:t.type=28;break;case"GEOMETRY":case 2077:t.type=2077;break;case"JSON":case 2078:t.type=2078;break;case"EXPRESSION":case 31:t.type=31;break;case"HEXNUM":case 4128:t.type=4128;break;case"HEXVAL":case 4129:t.type=4129}return null!=e.table&&(t.table=String(e.table)),null!=e.org_table&&(t.org_table=String(e.org_table)),null!=e.database&&(t.database=String(e.database)),null!=e.org_name&&(t.org_name=String(e.org_name)),null!=e.column_length&&(t.column_length=e.column_length>>>0),null!=e.charset&&(t.charset=e.charset>>>0),null!=e.decimals&&(t.decimals=e.decimals>>>0),null!=e.flags&&(t.flags=e.flags>>>0),null!=e.column_type&&(t.column_type=String(e.column_type)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.type=t.enums===String?"NULL_TYPE":0,r.table="",r.org_table="",r.database="",r.org_name="",r.column_length=0,r.charset=0,r.decimals=0,r.flags=0,r.column_type=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.query.Type[e.type]:e.type),null!=e.table&&e.hasOwnProperty("table")&&(r.table=e.table),null!=e.org_table&&e.hasOwnProperty("org_table")&&(r.org_table=e.org_table),null!=e.database&&e.hasOwnProperty("database")&&(r.database=e.database),null!=e.org_name&&e.hasOwnProperty("org_name")&&(r.org_name=e.org_name),null!=e.column_length&&e.hasOwnProperty("column_length")&&(r.column_length=e.column_length),null!=e.charset&&e.hasOwnProperty("charset")&&(r.charset=e.charset),null!=e.decimals&&e.hasOwnProperty("decimals")&&(r.decimals=e.decimals),null!=e.flags&&e.hasOwnProperty("flags")&&(r.flags=e.flags),null!=e.column_type&&e.hasOwnProperty("column_type")&&(r.column_type=e.column_type),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Row=function(){function e(e){if(this.lengths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.lengths&&n.lengths.length||(n.lengths=[]),2===(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.lengths[r].high>>>0).toNumber())}return null!=e.values&&("string"===typeof e.values?a.base64.decode(e.values,t.values=a.newBuffer(a.base64.length(e.values)),0):e.values.length&&(t.values=e.values)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.lengths=[]),t.defaults&&(t.bytes===String?r.values="":(r.values=[],t.bytes!==Array&&(r.values=a.newBuffer(r.values)))),e.lengths&&e.lengths.length){r.lengths=[];for(var n=0;n>>0,e.lengths[n].high>>>0).toNumber():e.lengths[n]}return null!=e.values&&e.hasOwnProperty("values")&&(r.values=t.bytes===String?a.base64.encode(e.values,0,e.values.length):t.bytes===Array?Array.prototype.slice.call(e.values):e.values),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryResult=function(){function e(e){if(this.fields=[],this.rows=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;case 2:n.rows_affected=e.uint64();break;case 3:n.insert_id=e.uint64();break;case 4:n.rows&&n.rows.length||(n.rows=[]),n.rows.push(s.query.Row.decode(e,e.uint32()));break;case 6:n.info=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.fields&&e.hasOwnProperty("fields")){if(!Array.isArray(e.fields))return"fields: array expected";for(var t=0;t>>0,e.rows_affected.high>>>0).toNumber(!0))),null!=e.insert_id&&(a.Long?(t.insert_id=a.Long.fromValue(e.insert_id)).unsigned=!0:"string"===typeof e.insert_id?t.insert_id=parseInt(e.insert_id,10):"number"===typeof e.insert_id?t.insert_id=e.insert_id:"object"===typeof e.insert_id&&(t.insert_id=new a.LongBits(e.insert_id.low>>>0,e.insert_id.high>>>0).toNumber(!0))),e.rows){if(!Array.isArray(e.rows))throw TypeError(".query.QueryResult.rows: array expected");t.rows=[];for(r=0;r>>0,e.rows_affected.high>>>0).toNumber(!0):e.rows_affected),null!=e.insert_id&&e.hasOwnProperty("insert_id")&&("number"===typeof e.insert_id?r.insert_id=t.longs===String?String(e.insert_id):e.insert_id:r.insert_id=t.longs===String?a.Long.prototype.toString.call(e.insert_id):t.longs===Number?new a.LongBits(e.insert_id.low>>>0,e.insert_id.high>>>0).toNumber(!0):e.insert_id),e.rows&&e.rows.length){r.rows=[];for(i=0;i>>3){case 1:n.code=e.uint32();break;case 2:n.message=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.code&&e.hasOwnProperty("code")&&!a.isInteger(e.code)?"code: integer expected":null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message)?"message: string expected":null},e.fromObject=function(e){if(e instanceof s.query.QueryWarning)return e;var t=new s.query.QueryWarning;return null!=e.code&&(t.code=e.code>>>0),null!=e.message&&(t.message=String(e.message)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.code=0,r.message=""),null!=e.code&&e.hasOwnProperty("code")&&(r.code=e.code),null!=e.message&&e.hasOwnProperty("message")&&(r.message=e.message),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamEvent=function(){function e(e){if(this.statements=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.statements&&n.statements.length||(n.statements=[]),n.statements.push(s.query.StreamEvent.Statement.decode(e,e.uint32()));break;case 2:n.event_token=s.query.EventToken.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.statements&&e.hasOwnProperty("statements")){if(!Array.isArray(e.statements))return"statements: array expected";for(var t=0;t>>3){case 1:n.category=e.int32();break;case 2:n.table_name=e.string();break;case 3:n.primary_key_fields&&n.primary_key_fields.length||(n.primary_key_fields=[]),n.primary_key_fields.push(s.query.Field.decode(e,e.uint32()));break;case 4:n.primary_key_values&&n.primary_key_values.length||(n.primary_key_values=[]),n.primary_key_values.push(s.query.Row.decode(e,e.uint32()));break;case 5:n.sql=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.category&&e.hasOwnProperty("category"))switch(e.category){default:return"category: enum value expected";case 0:case 1:case 2:}if(null!=e.table_name&&e.hasOwnProperty("table_name")&&!a.isString(e.table_name))return"table_name: string expected";if(null!=e.primary_key_fields&&e.hasOwnProperty("primary_key_fields")){if(!Array.isArray(e.primary_key_fields))return"primary_key_fields: array expected";for(var t=0;t>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.transaction_id=e.int64();break;case 6:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 7:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;return null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.ExecuteRequest)return e;var t=new s.query.ExecuteRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ExecuteRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ExecuteRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ExecuteRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.query){if("object"!==typeof e.query)throw TypeError(".query.ExecuteRequest.query: object expected");t.query=s.query.BoundQuery.fromObject(e.query)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.ExecuteRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}return null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(r.options=null,a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=s.query.BoundQuery.toObject(e.query,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.ExecuteResponse)return e;var t=new s.query.ExecuteResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ResultWithError=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ResultWithError)return e;var t=new s.query.ResultWithError;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ResultWithError.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ResultWithError.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.error=null,r.result=null),null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamExecuteRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.transaction_id=e.int64();break;case 7:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected":"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.StreamExecuteRequest)return e;var t=new s.query.StreamExecuteRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.StreamExecuteRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.StreamExecuteRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.StreamExecuteRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.query){if("object"!==typeof e.query)throw TypeError(".query.StreamExecuteRequest.query: object expected");t.query=s.query.BoundQuery.fromObject(e.query)}if(null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.StreamExecuteRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=null,r.options=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=s.query.BoundQuery.toObject(e.query,t)),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamExecuteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.StreamExecuteResponse)return e;var t=new s.query.StreamExecuteResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.StreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;return null},e.fromObject=function(e){if(e instanceof s.query.BeginRequest)return e;var t=new s.query.BeginRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.BeginRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.BeginRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.BeginRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.BeginRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.options=null),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.transaction_id=e.int64();break;case 2:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.query.BeginResponse)return e;var t=new s.query.BeginResponse;if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.BeginResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.CommitRequest)return e;var t=new s.query.CommitRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.CommitRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.CommitRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.CommitRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.reserved_id=e.int64();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.CommitResponse)return e;var t=new s.query.CommitResponse;return null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;return null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RollbackRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.RollbackRequest)return e;var t=new s.query.RollbackRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.RollbackRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.RollbackRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.RollbackRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RollbackResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.reserved_id=e.int64();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.RollbackResponse)return e;var t=new s.query.RollbackResponse;return null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;return null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrepareRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.PrepareRequest)return e;var t=new s.query.PrepareRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.PrepareRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.PrepareRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.PrepareRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrepareResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null},e.fromObject=function(e){if(e instanceof s.query.CommitPreparedRequest)return e;var t=new s.query.CommitPreparedRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.CommitPreparedRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.CommitPreparedRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.CommitPreparedRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.dtid=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitPreparedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.RollbackPreparedRequest)return e;var t=new s.query.RollbackPreparedRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.RollbackPreparedRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.RollbackPreparedRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.RollbackPreparedRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RollbackPreparedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;case 5:n.participants&&n.participants.length||(n.participants=[]),n.participants.push(s.query.Target.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+r;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+r;if(null!=e.target&&e.hasOwnProperty("target")&&(r=s.query.Target.verify(e.target)))return"target."+r;if(null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid))return"dtid: string expected";if(null!=e.participants&&e.hasOwnProperty("participants")){if(!Array.isArray(e.participants))return"participants: array expected";for(var t=0;t>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.StartCommitRequest)return e;var t=new s.query.StartCommitRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.StartCommitRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.StartCommitRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.StartCommitRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartCommitResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.SetRollbackRequest)return e;var t=new s.query.SetRollbackRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.SetRollbackRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.SetRollbackRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.SetRollbackRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetRollbackResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null},e.fromObject=function(e){if(e instanceof s.query.ConcludeTransactionRequest)return e;var t=new s.query.ConcludeTransactionRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ConcludeTransactionRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ConcludeTransactionRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ConcludeTransactionRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.dtid=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ConcludeTransactionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null},e.fromObject=function(e){if(e instanceof s.query.ReadTransactionRequest)return e;var t=new s.query.ReadTransactionRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ReadTransactionRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ReadTransactionRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ReadTransactionRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.dtid=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReadTransactionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.metadata=s.query.TransactionMetadata.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")){var t=s.query.TransactionMetadata.verify(e.metadata);if(t)return"metadata."+t}return null},e.fromObject=function(e){if(e instanceof s.query.ReadTransactionResponse)return e;var t=new s.query.ReadTransactionResponse;if(null!=e.metadata){if("object"!==typeof e.metadata)throw TypeError(".query.ReadTransactionResponse.metadata: object expected");t.metadata=s.query.TransactionMetadata.fromObject(e.metadata)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.metadata=null),null!=e.metadata&&e.hasOwnProperty("metadata")&&(r.metadata=s.query.TransactionMetadata.toObject(e.metadata,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.reserved_id=e.int64();break;case 7:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.reserved_id.high>>>0).toNumber())),e.pre_queries){if(!Array.isArray(e.pre_queries))throw TypeError(".query.BeginExecuteRequest.pre_queries: array expected");t.pre_queries=[];for(var r=0;r>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.BeginExecuteResponse)return e;var t=new s.query.BeginExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.BeginExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.BeginExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.BeginExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginStreamExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;case 7:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.pre_queries=[]),t.defaults)if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=null,r.options=null,a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=s.query.BoundQuery.toObject(e.query,t)),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginStreamExecuteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.BeginStreamExecuteResponse)return e;var t=new s.query.BeginStreamExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.BeginStreamExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.BeginStreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.BeginStreamExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MessageStreamRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.query.MessageStreamRequest)return e;var t=new s.query.MessageStreamRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.MessageStreamRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.MessageStreamRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.MessageStreamRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.name=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MessageStreamResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.MessageStreamResponse)return e;var t=new s.query.MessageStreamResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.MessageStreamResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MessageAckRequest=function(){function e(e){if(this.ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.name=e.string();break;case 5:n.ids&&n.ids.length||(n.ids=[]),n.ids.push(s.query.Value.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+r;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+r;if(null!=e.target&&e.hasOwnProperty("target")&&(r=s.query.Target.verify(e.target)))return"target."+r;if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.ids&&e.hasOwnProperty("ids")){if(!Array.isArray(e.ids))return"ids: array expected";for(var t=0;t>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.MessageAckResponse)return e;var t=new s.query.MessageAckResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.MessageAckResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.transaction_id=e.int64();break;case 6:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 7:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber())),null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.ReserveExecuteRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}if(e.pre_queries){if(!Array.isArray(e.pre_queries))throw TypeError(".query.ReserveExecuteRequest.pre_queries: array expected");t.pre_queries=[];for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.reserved_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveExecuteResponse)return e;var t=new s.query.ReserveExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveStreamExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.transaction_id=e.int64();break;case 7:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber())),e.pre_queries){if(!Array.isArray(e.pre_queries))throw TypeError(".query.ReserveStreamExecuteRequest.pre_queries: array expected");t.pre_queries=[];for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.reserved_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveStreamExecuteResponse)return e;var t=new s.query.ReserveStreamExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveStreamExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveStreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveStreamExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveBeginExecuteRequest=function(){function e(e){if(this.pre_queries=[],this.post_begin_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;case 7:n.post_begin_queries&&n.post_begin_queries.length||(n.post_begin_queries=[]),n.post_begin_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.reserved_id=e.int64();break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveBeginExecuteResponse)return e;var t=new s.query.ReserveBeginExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveBeginExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveBeginExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveBeginExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveBeginStreamExecuteRequest=function(){function e(e){if(this.pre_queries=[],this.post_begin_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;case 7:n.post_begin_queries&&n.post_begin_queries.length||(n.post_begin_queries=[]),n.post_begin_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.reserved_id=e.int64();break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveBeginStreamExecuteResponse)return e;var t=new s.query.ReserveBeginStreamExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveBeginStreamExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveBeginStreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveBeginStreamExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReleaseRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected":"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.ReleaseRequest)return e;var t=new s.query.ReleaseRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ReleaseRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ReleaseRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ReleaseRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReleaseResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.health_error=e.string();break;case 2:n.replication_lag_seconds=e.uint32();break;case 3:n.binlog_players_count=e.int32();break;case 4:n.filtered_replication_lag_seconds=e.int64();break;case 5:n.cpu_usage=e.double();break;case 6:n.qps=e.double();break;case 7:n.table_schema_changed&&n.table_schema_changed.length||(n.table_schema_changed=[]),n.table_schema_changed.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.health_error&&e.hasOwnProperty("health_error")&&!a.isString(e.health_error))return"health_error: string expected";if(null!=e.replication_lag_seconds&&e.hasOwnProperty("replication_lag_seconds")&&!a.isInteger(e.replication_lag_seconds))return"replication_lag_seconds: integer expected";if(null!=e.binlog_players_count&&e.hasOwnProperty("binlog_players_count")&&!a.isInteger(e.binlog_players_count))return"binlog_players_count: integer expected";if(null!=e.filtered_replication_lag_seconds&&e.hasOwnProperty("filtered_replication_lag_seconds")&&!a.isInteger(e.filtered_replication_lag_seconds)&&!(e.filtered_replication_lag_seconds&&a.isInteger(e.filtered_replication_lag_seconds.low)&&a.isInteger(e.filtered_replication_lag_seconds.high)))return"filtered_replication_lag_seconds: integer|Long expected";if(null!=e.cpu_usage&&e.hasOwnProperty("cpu_usage")&&"number"!==typeof e.cpu_usage)return"cpu_usage: number expected";if(null!=e.qps&&e.hasOwnProperty("qps")&&"number"!==typeof e.qps)return"qps: number expected";if(null!=e.table_schema_changed&&e.hasOwnProperty("table_schema_changed")){if(!Array.isArray(e.table_schema_changed))return"table_schema_changed: array expected";for(var t=0;t>>0),null!=e.binlog_players_count&&(t.binlog_players_count=0|e.binlog_players_count),null!=e.filtered_replication_lag_seconds&&(a.Long?(t.filtered_replication_lag_seconds=a.Long.fromValue(e.filtered_replication_lag_seconds)).unsigned=!1:"string"===typeof e.filtered_replication_lag_seconds?t.filtered_replication_lag_seconds=parseInt(e.filtered_replication_lag_seconds,10):"number"===typeof e.filtered_replication_lag_seconds?t.filtered_replication_lag_seconds=e.filtered_replication_lag_seconds:"object"===typeof e.filtered_replication_lag_seconds&&(t.filtered_replication_lag_seconds=new a.LongBits(e.filtered_replication_lag_seconds.low>>>0,e.filtered_replication_lag_seconds.high>>>0).toNumber())),null!=e.cpu_usage&&(t.cpu_usage=Number(e.cpu_usage)),null!=e.qps&&(t.qps=Number(e.qps)),e.table_schema_changed){if(!Array.isArray(e.table_schema_changed))throw TypeError(".query.RealtimeStats.table_schema_changed: array expected");t.table_schema_changed=[];for(var r=0;r>>0,e.filtered_replication_lag_seconds.high>>>0).toNumber():e.filtered_replication_lag_seconds),null!=e.cpu_usage&&e.hasOwnProperty("cpu_usage")&&(r.cpu_usage=t.json&&!isFinite(e.cpu_usage)?String(e.cpu_usage):e.cpu_usage),null!=e.qps&&e.hasOwnProperty("qps")&&(r.qps=t.json&&!isFinite(e.qps)?String(e.qps):e.qps),e.table_schema_changed&&e.table_schema_changed.length){r.table_schema_changed=[];for(var i=0;i>>3){case 1:n.healthy_tablet_count=e.int32();break;case 2:n.unhealthy_tablet_count=e.int32();break;case 3:n.replication_lag_seconds_min=e.uint32();break;case 4:n.replication_lag_seconds_max=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.healthy_tablet_count&&e.hasOwnProperty("healthy_tablet_count")&&!a.isInteger(e.healthy_tablet_count)?"healthy_tablet_count: integer expected":null!=e.unhealthy_tablet_count&&e.hasOwnProperty("unhealthy_tablet_count")&&!a.isInteger(e.unhealthy_tablet_count)?"unhealthy_tablet_count: integer expected":null!=e.replication_lag_seconds_min&&e.hasOwnProperty("replication_lag_seconds_min")&&!a.isInteger(e.replication_lag_seconds_min)?"replication_lag_seconds_min: integer expected":null!=e.replication_lag_seconds_max&&e.hasOwnProperty("replication_lag_seconds_max")&&!a.isInteger(e.replication_lag_seconds_max)?"replication_lag_seconds_max: integer expected":null},e.fromObject=function(e){if(e instanceof s.query.AggregateStats)return e;var t=new s.query.AggregateStats;return null!=e.healthy_tablet_count&&(t.healthy_tablet_count=0|e.healthy_tablet_count),null!=e.unhealthy_tablet_count&&(t.unhealthy_tablet_count=0|e.unhealthy_tablet_count),null!=e.replication_lag_seconds_min&&(t.replication_lag_seconds_min=e.replication_lag_seconds_min>>>0),null!=e.replication_lag_seconds_max&&(t.replication_lag_seconds_max=e.replication_lag_seconds_max>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.healthy_tablet_count=0,r.unhealthy_tablet_count=0,r.replication_lag_seconds_min=0,r.replication_lag_seconds_max=0),null!=e.healthy_tablet_count&&e.hasOwnProperty("healthy_tablet_count")&&(r.healthy_tablet_count=e.healthy_tablet_count),null!=e.unhealthy_tablet_count&&e.hasOwnProperty("unhealthy_tablet_count")&&(r.unhealthy_tablet_count=e.unhealthy_tablet_count),null!=e.replication_lag_seconds_min&&e.hasOwnProperty("replication_lag_seconds_min")&&(r.replication_lag_seconds_min=e.replication_lag_seconds_min),null!=e.replication_lag_seconds_max&&e.hasOwnProperty("replication_lag_seconds_max")&&(r.replication_lag_seconds_max=e.replication_lag_seconds_max),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamHealthResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.target=s.query.Target.decode(e,e.uint32());break;case 2:n.serving=e.bool();break;case 3:n.tablet_externally_reparented_timestamp=e.int64();break;case 4:n.realtime_stats=s.query.RealtimeStats.decode(e,e.uint32());break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.serving&&e.hasOwnProperty("serving")&&"boolean"!==typeof e.serving)return"serving: boolean expected";if(null!=e.tablet_externally_reparented_timestamp&&e.hasOwnProperty("tablet_externally_reparented_timestamp")&&!a.isInteger(e.tablet_externally_reparented_timestamp)&&!(e.tablet_externally_reparented_timestamp&&a.isInteger(e.tablet_externally_reparented_timestamp.low)&&a.isInteger(e.tablet_externally_reparented_timestamp.high)))return"tablet_externally_reparented_timestamp: integer|Long expected";if(null!=e.realtime_stats&&e.hasOwnProperty("realtime_stats")&&(t=s.query.RealtimeStats.verify(e.realtime_stats)))return"realtime_stats."+t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.StreamHealthResponse)return e;var t=new s.query.StreamHealthResponse;if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.StreamHealthResponse.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.serving&&(t.serving=Boolean(e.serving)),null!=e.tablet_externally_reparented_timestamp&&(a.Long?(t.tablet_externally_reparented_timestamp=a.Long.fromValue(e.tablet_externally_reparented_timestamp)).unsigned=!1:"string"===typeof e.tablet_externally_reparented_timestamp?t.tablet_externally_reparented_timestamp=parseInt(e.tablet_externally_reparented_timestamp,10):"number"===typeof e.tablet_externally_reparented_timestamp?t.tablet_externally_reparented_timestamp=e.tablet_externally_reparented_timestamp:"object"===typeof e.tablet_externally_reparented_timestamp&&(t.tablet_externally_reparented_timestamp=new a.LongBits(e.tablet_externally_reparented_timestamp.low>>>0,e.tablet_externally_reparented_timestamp.high>>>0).toNumber())),null!=e.realtime_stats){if("object"!==typeof e.realtime_stats)throw TypeError(".query.StreamHealthResponse.realtime_stats: object expected");t.realtime_stats=s.query.RealtimeStats.fromObject(e.realtime_stats)}if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.StreamHealthResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.target=null,r.serving=!1,a.Long){var n=new a.Long(0,0,!1);r.tablet_externally_reparented_timestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.tablet_externally_reparented_timestamp=t.longs===String?"0":0;r.realtime_stats=null,r.tablet_alias=null}return null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.serving&&e.hasOwnProperty("serving")&&(r.serving=e.serving),null!=e.tablet_externally_reparented_timestamp&&e.hasOwnProperty("tablet_externally_reparented_timestamp")&&("number"===typeof e.tablet_externally_reparented_timestamp?r.tablet_externally_reparented_timestamp=t.longs===String?String(e.tablet_externally_reparented_timestamp):e.tablet_externally_reparented_timestamp:r.tablet_externally_reparented_timestamp=t.longs===String?a.Long.prototype.toString.call(e.tablet_externally_reparented_timestamp):t.longs===Number?new a.LongBits(e.tablet_externally_reparented_timestamp.low>>>0,e.tablet_externally_reparented_timestamp.high>>>0).toNumber():e.tablet_externally_reparented_timestamp),null!=e.realtime_stats&&e.hasOwnProperty("realtime_stats")&&(r.realtime_stats=s.query.RealtimeStats.toObject(e.realtime_stats,t)),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TransactionState=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="PREPARE"]=1,t[e[2]="COMMIT"]=2,t[e[3]="ROLLBACK"]=3,t}(),e.TransactionMetadata=function(){function e(e){if(this.participants=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.dtid=e.string();break;case 2:n.state=e.int32();break;case 3:n.time_created=e.int64();break;case 4:n.participants&&n.participants.length||(n.participants=[]),n.participants.push(s.query.Target.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid))return"dtid: string expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:}if(null!=e.time_created&&e.hasOwnProperty("time_created")&&!a.isInteger(e.time_created)&&!(e.time_created&&a.isInteger(e.time_created.low)&&a.isInteger(e.time_created.high)))return"time_created: integer|Long expected";if(null!=e.participants&&e.hasOwnProperty("participants")){if(!Array.isArray(e.participants))return"participants: array expected";for(var t=0;t>>0,e.time_created.high>>>0).toNumber())),e.participants){if(!Array.isArray(e.participants))throw TypeError(".query.TransactionMetadata.participants: array expected");t.participants=[];for(var r=0;r>>0,e.time_created.high>>>0).toNumber():e.time_created),e.participants&&e.participants.length){r.participants=[];for(var i=0;i>>3){case 1:n.principal=e.string();break;case 2:n.component=e.string();break;case 3:n.subcomponent=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.principal&&e.hasOwnProperty("principal")&&!a.isString(e.principal)?"principal: string expected":null!=e.component&&e.hasOwnProperty("component")&&!a.isString(e.component)?"component: string expected":null!=e.subcomponent&&e.hasOwnProperty("subcomponent")&&!a.isString(e.subcomponent)?"subcomponent: string expected":null},e.fromObject=function(e){if(e instanceof s.vtrpc.CallerID)return e;var t=new s.vtrpc.CallerID;return null!=e.principal&&(t.principal=String(e.principal)),null!=e.component&&(t.component=String(e.component)),null!=e.subcomponent&&(t.subcomponent=String(e.subcomponent)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.principal="",r.component="",r.subcomponent=""),null!=e.principal&&e.hasOwnProperty("principal")&&(r.principal=e.principal),null!=e.component&&e.hasOwnProperty("component")&&(r.component=e.component),null!=e.subcomponent&&e.hasOwnProperty("subcomponent")&&(r.subcomponent=e.subcomponent),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Code=function(){var e={},t=Object.create(e);return t[e[0]="OK"]=0,t[e[1]="CANCELED"]=1,t[e[2]="UNKNOWN"]=2,t[e[3]="INVALID_ARGUMENT"]=3,t[e[4]="DEADLINE_EXCEEDED"]=4,t[e[5]="NOT_FOUND"]=5,t[e[6]="ALREADY_EXISTS"]=6,t[e[7]="PERMISSION_DENIED"]=7,t[e[8]="RESOURCE_EXHAUSTED"]=8,t[e[9]="FAILED_PRECONDITION"]=9,t[e[10]="ABORTED"]=10,t[e[11]="OUT_OF_RANGE"]=11,t[e[12]="UNIMPLEMENTED"]=12,t[e[13]="INTERNAL"]=13,t[e[14]="UNAVAILABLE"]=14,t[e[15]="DATA_LOSS"]=15,t[e[16]="UNAUTHENTICATED"]=16,t[e[17]="CLUSTER_EVENT"]=17,t[e[18]="READ_ONLY"]=18,t}(),e.RPCError=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:n.message=e.string();break;case 3:n.code=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message))return"message: string expected";if(null!=e.code&&e.hasOwnProperty("code"))switch(e.code){default:return"code: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}return null},e.fromObject=function(e){if(e instanceof s.vtrpc.RPCError)return e;var t=new s.vtrpc.RPCError;switch(null!=e.message&&(t.message=String(e.message)),e.code){case"OK":case 0:t.code=0;break;case"CANCELED":case 1:t.code=1;break;case"UNKNOWN":case 2:t.code=2;break;case"INVALID_ARGUMENT":case 3:t.code=3;break;case"DEADLINE_EXCEEDED":case 4:t.code=4;break;case"NOT_FOUND":case 5:t.code=5;break;case"ALREADY_EXISTS":case 6:t.code=6;break;case"PERMISSION_DENIED":case 7:t.code=7;break;case"RESOURCE_EXHAUSTED":case 8:t.code=8;break;case"FAILED_PRECONDITION":case 9:t.code=9;break;case"ABORTED":case 10:t.code=10;break;case"OUT_OF_RANGE":case 11:t.code=11;break;case"UNIMPLEMENTED":case 12:t.code=12;break;case"INTERNAL":case 13:t.code=13;break;case"UNAVAILABLE":case 14:t.code=14;break;case"DATA_LOSS":case 15:t.code=15;break;case"UNAUTHENTICATED":case 16:t.code=16;break;case"CLUSTER_EVENT":case 17:t.code=17;break;case"READ_ONLY":case 18:t.code=18}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.message="",r.code=t.enums===String?"OK":0),null!=e.message&&e.hasOwnProperty("message")&&(r.message=e.message),null!=e.code&&e.hasOwnProperty("code")&&(r.code=t.enums===String?s.vtrpc.Code[e.code]:e.code),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.replicationdata=function(){var e={};return e.Status=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.io_thread_running=e.bool();break;case 3:n.sql_thread_running=e.bool();break;case 4:n.replication_lag_seconds=e.uint32();break;case 5:n.source_host=e.string();break;case 6:n.source_port=e.int32();break;case 7:n.connect_retry=e.int32();break;case 8:n.relay_log_position=e.string();break;case 9:n.file_position=e.string();break;case 10:n.file_relay_log_position=e.string();break;case 11:n.source_server_id=e.uint32();break;case 12:n.source_uuid=e.string();break;case 13:n.io_state=e.int32();break;case 14:n.last_io_error=e.string();break;case 15:n.sql_state=e.int32();break;case 16:n.last_sql_error=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null!=e.io_thread_running&&e.hasOwnProperty("io_thread_running")&&"boolean"!==typeof e.io_thread_running?"io_thread_running: boolean expected":null!=e.sql_thread_running&&e.hasOwnProperty("sql_thread_running")&&"boolean"!==typeof e.sql_thread_running?"sql_thread_running: boolean expected":null!=e.replication_lag_seconds&&e.hasOwnProperty("replication_lag_seconds")&&!a.isInteger(e.replication_lag_seconds)?"replication_lag_seconds: integer expected":null!=e.source_host&&e.hasOwnProperty("source_host")&&!a.isString(e.source_host)?"source_host: string expected":null!=e.source_port&&e.hasOwnProperty("source_port")&&!a.isInteger(e.source_port)?"source_port: integer expected":null!=e.connect_retry&&e.hasOwnProperty("connect_retry")&&!a.isInteger(e.connect_retry)?"connect_retry: integer expected":null!=e.relay_log_position&&e.hasOwnProperty("relay_log_position")&&!a.isString(e.relay_log_position)?"relay_log_position: string expected":null!=e.file_position&&e.hasOwnProperty("file_position")&&!a.isString(e.file_position)?"file_position: string expected":null!=e.file_relay_log_position&&e.hasOwnProperty("file_relay_log_position")&&!a.isString(e.file_relay_log_position)?"file_relay_log_position: string expected":null!=e.source_server_id&&e.hasOwnProperty("source_server_id")&&!a.isInteger(e.source_server_id)?"source_server_id: integer expected":null!=e.source_uuid&&e.hasOwnProperty("source_uuid")&&!a.isString(e.source_uuid)?"source_uuid: string expected":null!=e.io_state&&e.hasOwnProperty("io_state")&&!a.isInteger(e.io_state)?"io_state: integer expected":null!=e.last_io_error&&e.hasOwnProperty("last_io_error")&&!a.isString(e.last_io_error)?"last_io_error: string expected":null!=e.sql_state&&e.hasOwnProperty("sql_state")&&!a.isInteger(e.sql_state)?"sql_state: integer expected":null!=e.last_sql_error&&e.hasOwnProperty("last_sql_error")&&!a.isString(e.last_sql_error)?"last_sql_error: string expected":null},e.fromObject=function(e){if(e instanceof s.replicationdata.Status)return e;var t=new s.replicationdata.Status;return null!=e.position&&(t.position=String(e.position)),null!=e.io_thread_running&&(t.io_thread_running=Boolean(e.io_thread_running)),null!=e.sql_thread_running&&(t.sql_thread_running=Boolean(e.sql_thread_running)),null!=e.replication_lag_seconds&&(t.replication_lag_seconds=e.replication_lag_seconds>>>0),null!=e.source_host&&(t.source_host=String(e.source_host)),null!=e.source_port&&(t.source_port=0|e.source_port),null!=e.connect_retry&&(t.connect_retry=0|e.connect_retry),null!=e.relay_log_position&&(t.relay_log_position=String(e.relay_log_position)),null!=e.file_position&&(t.file_position=String(e.file_position)),null!=e.file_relay_log_position&&(t.file_relay_log_position=String(e.file_relay_log_position)),null!=e.source_server_id&&(t.source_server_id=e.source_server_id>>>0),null!=e.source_uuid&&(t.source_uuid=String(e.source_uuid)),null!=e.io_state&&(t.io_state=0|e.io_state),null!=e.last_io_error&&(t.last_io_error=String(e.last_io_error)),null!=e.sql_state&&(t.sql_state=0|e.sql_state),null!=e.last_sql_error&&(t.last_sql_error=String(e.last_sql_error)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position="",r.io_thread_running=!1,r.sql_thread_running=!1,r.replication_lag_seconds=0,r.source_host="",r.source_port=0,r.connect_retry=0,r.relay_log_position="",r.file_position="",r.file_relay_log_position="",r.source_server_id=0,r.source_uuid="",r.io_state=0,r.last_io_error="",r.sql_state=0,r.last_sql_error=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.io_thread_running&&e.hasOwnProperty("io_thread_running")&&(r.io_thread_running=e.io_thread_running),null!=e.sql_thread_running&&e.hasOwnProperty("sql_thread_running")&&(r.sql_thread_running=e.sql_thread_running),null!=e.replication_lag_seconds&&e.hasOwnProperty("replication_lag_seconds")&&(r.replication_lag_seconds=e.replication_lag_seconds),null!=e.source_host&&e.hasOwnProperty("source_host")&&(r.source_host=e.source_host),null!=e.source_port&&e.hasOwnProperty("source_port")&&(r.source_port=e.source_port),null!=e.connect_retry&&e.hasOwnProperty("connect_retry")&&(r.connect_retry=e.connect_retry),null!=e.relay_log_position&&e.hasOwnProperty("relay_log_position")&&(r.relay_log_position=e.relay_log_position),null!=e.file_position&&e.hasOwnProperty("file_position")&&(r.file_position=e.file_position),null!=e.file_relay_log_position&&e.hasOwnProperty("file_relay_log_position")&&(r.file_relay_log_position=e.file_relay_log_position),null!=e.source_server_id&&e.hasOwnProperty("source_server_id")&&(r.source_server_id=e.source_server_id),null!=e.source_uuid&&e.hasOwnProperty("source_uuid")&&(r.source_uuid=e.source_uuid),null!=e.io_state&&e.hasOwnProperty("io_state")&&(r.io_state=e.io_state),null!=e.last_io_error&&e.hasOwnProperty("last_io_error")&&(r.last_io_error=e.last_io_error),null!=e.sql_state&&e.hasOwnProperty("sql_state")&&(r.sql_state=e.sql_state),null!=e.last_sql_error&&e.hasOwnProperty("last_sql_error")&&(r.last_sql_error=e.last_sql_error),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationStatus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.before=s.replicationdata.Status.decode(e,e.uint32());break;case 2:n.after=s.replicationdata.Status.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before&&e.hasOwnProperty("before")&&(t=s.replicationdata.Status.verify(e.before)))return"before."+t;if(null!=e.after&&e.hasOwnProperty("after")&&(t=s.replicationdata.Status.verify(e.after)))return"after."+t;return null},e.fromObject=function(e){if(e instanceof s.replicationdata.StopReplicationStatus)return e;var t=new s.replicationdata.StopReplicationStatus;if(null!=e.before){if("object"!==typeof e.before)throw TypeError(".replicationdata.StopReplicationStatus.before: object expected");t.before=s.replicationdata.Status.fromObject(e.before)}if(null!=e.after){if("object"!==typeof e.after)throw TypeError(".replicationdata.StopReplicationStatus.after: object expected");t.after=s.replicationdata.Status.fromObject(e.after)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before=null,r.after=null),null!=e.before&&e.hasOwnProperty("before")&&(r.before=s.replicationdata.Status.toObject(e.before,t)),null!=e.after&&e.hasOwnProperty("after")&&(r.after=s.replicationdata.Status.toObject(e.after,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationMode=function(){var e={},t=Object.create(e);return t[e[0]="IOANDSQLTHREAD"]=0,t[e[1]="IOTHREADONLY"]=1,t}(),e.PrimaryStatus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.file_position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null!=e.file_position&&e.hasOwnProperty("file_position")&&!a.isString(e.file_position)?"file_position: string expected":null},e.fromObject=function(e){if(e instanceof s.replicationdata.PrimaryStatus)return e;var t=new s.replicationdata.PrimaryStatus;return null!=e.position&&(t.position=String(e.position)),null!=e.file_position&&(t.file_position=String(e.file_position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position="",r.file_position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.file_position&&e.hasOwnProperty("file_position")&&(r.file_position=e.file_position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.logutil=function(){var e={};return e.Level=function(){var e={},t=Object.create(e);return t[e[0]="INFO"]=0,t[e[1]="WARNING"]=1,t[e[2]="ERROR"]=2,t[e[3]="CONSOLE"]=3,t}(),e.Event=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.time=s.vttime.Time.decode(e,e.uint32());break;case 2:n.level=e.int32();break;case 3:n.file=e.string();break;case 4:n.line=e.int64();break;case 5:n.value=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.time&&e.hasOwnProperty("time")){var t=s.vttime.Time.verify(e.time);if(t)return"time."+t}if(null!=e.level&&e.hasOwnProperty("level"))switch(e.level){default:return"level: enum value expected";case 0:case 1:case 2:case 3:}return null!=e.file&&e.hasOwnProperty("file")&&!a.isString(e.file)?"file: string expected":null==e.line||!e.hasOwnProperty("line")||a.isInteger(e.line)||e.line&&a.isInteger(e.line.low)&&a.isInteger(e.line.high)?null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null:"line: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.logutil.Event)return e;var t=new s.logutil.Event;if(null!=e.time){if("object"!==typeof e.time)throw TypeError(".logutil.Event.time: object expected");t.time=s.vttime.Time.fromObject(e.time)}switch(e.level){case"INFO":case 0:t.level=0;break;case"WARNING":case 1:t.level=1;break;case"ERROR":case 2:t.level=2;break;case"CONSOLE":case 3:t.level=3}return null!=e.file&&(t.file=String(e.file)),null!=e.line&&(a.Long?(t.line=a.Long.fromValue(e.line)).unsigned=!1:"string"===typeof e.line?t.line=parseInt(e.line,10):"number"===typeof e.line?t.line=e.line:"object"===typeof e.line&&(t.line=new a.LongBits(e.line.low>>>0,e.line.high>>>0).toNumber())),null!=e.value&&(t.value=String(e.value)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.time=null,r.level=t.enums===String?"INFO":0,r.file="",a.Long){var n=new a.Long(0,0,!1);r.line=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.line=t.longs===String?"0":0;r.value=""}return null!=e.time&&e.hasOwnProperty("time")&&(r.time=s.vttime.Time.toObject(e.time,t)),null!=e.level&&e.hasOwnProperty("level")&&(r.level=t.enums===String?s.logutil.Level[e.level]:e.level),null!=e.file&&e.hasOwnProperty("file")&&(r.file=e.file),null!=e.line&&e.hasOwnProperty("line")&&("number"===typeof e.line?r.line=t.longs===String?String(e.line):e.line:r.line=t.longs===String?a.Long.prototype.toString.call(e.line):t.longs===Number?new a.LongBits(e.line.low>>>0,e.line.high>>>0).toNumber():e.line),null!=e.value&&e.hasOwnProperty("value")&&(r.value=e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.vschema=function(){var e={};return e.RoutingRules=function(){function e(e){if(this.rules=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.rules&&n.rules.length||(n.rules=[]),n.rules.push(s.vschema.RoutingRule.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:n.from_table=e.string();break;case 2:n.to_tables&&n.to_tables.length||(n.to_tables=[]),n.to_tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.from_table&&e.hasOwnProperty("from_table")&&!a.isString(e.from_table))return"from_table: string expected";if(null!=e.to_tables&&e.hasOwnProperty("to_tables")){if(!Array.isArray(e.to_tables))return"to_tables: array expected";for(var t=0;t>>3){case 1:l.sharded=e.bool();break;case 2:l.vindexes===a.emptyObject&&(l.vindexes={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos