From 3abf16cfd40d99a9b9e7a356bc5a009799f4ee1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clod=C3=A9ric=20Mars?= Date: Thu, 19 Jan 2023 15:34:10 -0500 Subject: [PATCH] Introducing debug inspector of received observation on the web side --- .../web/web_app/build/asset-manifest.json | 12 +- cogment_verse/web/web_app/build/index.html | 2 +- .../build/static/css/main.116f63ff.css | 4 - .../build/static/css/main.116f63ff.css.map | 1 - .../build/static/css/main.afd381f3.css | 4 + .../build/static/css/main.afd381f3.css.map | 1 + .../js/{main.c6de350b.js => main.2461f395.js} | 6 +- ...CENSE.txt => main.2461f395.js.LICENSE.txt} | 0 .../build/static/js/main.2461f395.js.map | 1 + .../build/static/js/main.c6de350b.js.map | 1 - .../web/web_app/src/components/Inspector.jsx | 146 ++++++++++++++++++ cogment_verse/web/web_app/src/pages/Play.jsx | 10 +- .../web_app/src/utils/spaceSerialization.js | 27 +++- 13 files changed, 188 insertions(+), 27 deletions(-) delete mode 100644 cogment_verse/web/web_app/build/static/css/main.116f63ff.css delete mode 100644 cogment_verse/web/web_app/build/static/css/main.116f63ff.css.map create mode 100644 cogment_verse/web/web_app/build/static/css/main.afd381f3.css create mode 100644 cogment_verse/web/web_app/build/static/css/main.afd381f3.css.map rename cogment_verse/web/web_app/build/static/js/{main.c6de350b.js => main.2461f395.js} (76%) rename cogment_verse/web/web_app/build/static/js/{main.c6de350b.js.LICENSE.txt => main.2461f395.js.LICENSE.txt} (100%) create mode 100644 cogment_verse/web/web_app/build/static/js/main.2461f395.js.map delete mode 100644 cogment_verse/web/web_app/build/static/js/main.c6de350b.js.map create mode 100644 cogment_verse/web/web_app/src/components/Inspector.jsx diff --git a/cogment_verse/web/web_app/build/asset-manifest.json b/cogment_verse/web/web_app/build/asset-manifest.json index 92064273..fddee8c6 100644 --- a/cogment_verse/web/web_app/build/asset-manifest.json +++ b/cogment_verse/web/web_app/build/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { - "main.css": "/static/css/main.116f63ff.css", - "main.js": "/static/js/main.c6de350b.js", + "main.css": "/static/css/main.afd381f3.css", + "main.js": "/static/js/main.2461f395.js", "static/js/787.90542627.chunk.js": "/static/js/787.90542627.chunk.js", "index.html": "/index.html", - "main.116f63ff.css.map": "/static/css/main.116f63ff.css.map", - "main.c6de350b.js.map": "/static/js/main.c6de350b.js.map", + "main.afd381f3.css.map": "/static/css/main.afd381f3.css.map", + "main.2461f395.js.map": "/static/js/main.2461f395.js.map", "787.90542627.chunk.js.map": "/static/js/787.90542627.chunk.js.map" }, "entrypoints": [ - "static/css/main.116f63ff.css", - "static/js/main.c6de350b.js" + "static/css/main.afd381f3.css", + "static/js/main.2461f395.js" ] } \ No newline at end of file diff --git a/cogment_verse/web/web_app/build/index.html b/cogment_verse/web/web_app/build/index.html index 7e429a36..4809127b 100644 --- a/cogment_verse/web/web_app/build/index.html +++ b/cogment_verse/web/web_app/build/index.html @@ -1 +1 @@ -Cogment Verse
\ No newline at end of file +Cogment Verse
\ No newline at end of file diff --git a/cogment_verse/web/web_app/build/static/css/main.116f63ff.css b/cogment_verse/web/web_app/build/static/css/main.116f63ff.css deleted file mode 100644 index f8e2886b..00000000 --- a/cogment_verse/web/web_app/build/static/css/main.116f63ff.css +++ /dev/null @@ -1,4 +0,0 @@ -/* -! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com -*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family: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;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:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-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:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;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-border-spacing-x:0;--tw-border-spacing-y:0;--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: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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}}.static{position:static}.mx-auto{margin-left:auto;margin-right:auto}.my-5{margin-bottom:1.25rem;margin-top:1.25rem}.mb-2{margin-bottom:.5rem}.mt-2{margin-top:.5rem}.mt-5{margin-top:1.25rem}.block{display:block}.flex{display:flex}.aspect-square{aspect-ratio:1/1}.min-h-screen{min-height:100vh}.w-full{width:100%}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.max-w-screen-md{max-width:768px}.flex-1{flex:1 1}.flex-none{flex:none}.flex-initial{flex:0 1 auto}.grow{flex-grow:1}.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))}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-4{gap:1rem}.gap-2{gap:.5rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border-l-8{border-left-width:8px}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity:1;background-color:rgb(199 210 254/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.p-5{padding:1.25rem}.p-2{padding:.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-base{font-size:1rem;line-height:1.5rem}.font-semibold{font-weight:600}.font-medium{font-weight:500}.lowercase{text-transform:lowercase}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px 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-8{--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(8px + 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-inset{--tw-ring-inset:inset}.blur{--tw-blur:blur(8px)}.blur,.filter{-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)}.duration-75{transition-duration:75ms}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.hover\:bg-indigo-900:hover{--tw-bg-opacity:1;background-color:rgb(49 46 129/var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.disabled\:bg-gray-400:disabled{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.disabled\:text-gray-200:disabled{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.RenderedScreen_container__9inx9{display:grid;position:relative}.RenderedScreen_canvas__Zmrsu,.RenderedScreen_overlay__fApA7{grid-area:1/-1;width:100%;z-index:0}.RenderedScreen_overlay__fApA7{align-items:center;display:flex;justify-content:center;z-index:1}:root{--dpad-bg-color:#fff;--dpad-bg-color-hover:#eee;--dpad-bg-color-active:#fff;--dpad-bg-color-disabled:#fff;--dpad-fg-color:#5217b8;--dpad-fg-color-hover:#5217b8;--dpad-fg-color-active:#ffb300;--dpad-fg-color-disabled:#bbb;--dpad-button-outer-radius:15%;--dpad-button-inner-radius:50%;--dpad-arrow-position:40%;--dpad-arrow-position-hover:35%;--dpad-arrow-base:19px;--dpad-arrow-height:13px}.DPad_dpad__ZZdxt{display:inline-block;height:200px;overflow:hidden;position:relative;width:200px}.DPad_down__EeuUg,.DPad_left__1AYHI,.DPad_right__AqUBc,.DPad_up__dOfw6{-webkit-tap-highlight-color:rgba(255,255,255,0);background:#fff;background:var(--dpad-bg-color);border-color:#5217b8;border-color:var(--dpad-fg-color);border-style:solid;border-width:1px;color:transparent;display:block;line-height:40%;padding:0;position:absolute;text-align:center}.DPad_down__EeuUg,.DPad_up__dOfw6{height:43%;width:33.3%}.DPad_left__1AYHI,.DPad_right__AqUBc{height:33%;width:43%}.DPad_up__dOfw6{border-radius:15% 15% 50% 50%;border-radius:var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) var(--dpad-button-inner-radius) var(--dpad-button-inner-radius);top:0}.DPad_down__EeuUg,.DPad_up__dOfw6{left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}.DPad_down__EeuUg{border-radius:50% 50% 15% 15%;border-radius:var(--dpad-button-inner-radius) var(--dpad-button-inner-radius) var(--dpad-button-outer-radius) var(--dpad-button-outer-radius);bottom:0}.DPad_left__1AYHI{border-radius:15% 50% 50% 15%;border-radius:var(--dpad-button-outer-radius) var(--dpad-button-inner-radius) var(--dpad-button-inner-radius) var(--dpad-button-outer-radius);left:0}.DPad_left__1AYHI,.DPad_right__AqUBc{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.DPad_right__AqUBc{border-radius:50% 15% 15% 50%;border-radius:50% var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) 50%;right:0}.DPad_down__EeuUg:before,.DPad_left__1AYHI:before,.DPad_right__AqUBc:before,.DPad_up__dOfw6:before{border-radius:5px;border-style:solid;content:"";height:0;position:absolute;transition:all .25s;width:0}.DPad_up__dOfw6:before{border-color:transparent transparent #5217b8;border-color:transparent transparent var(--dpad-fg-color) transparent;border-width:0 13px 19px;border-width:0 var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height);left:50%;top:40%;top:var(--dpad-arrow-position);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.DPad_down__EeuUg:before{border-color:#5217b8 transparent transparent;border-color:var(--dpad-fg-color) transparent transparent transparent;border-width:19px 13px 0;border-width:var(--dpad-arrow-base) var(--dpad-arrow-height) 0 var(--dpad-arrow-height);bottom:40%;bottom:var(--dpad-arrow-position);left:50%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.DPad_left__1AYHI:before{border-color:transparent #5217b8 transparent transparent;border-color:transparent var(--dpad-fg-color) transparent transparent;border-width:13px 19px 13px 0;border-width:var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height) 0;left:40%;left:var(--dpad-arrow-position);top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.DPad_right__AqUBc:before{border-color:transparent transparent transparent #5217b8;border-color:transparent transparent transparent var(--dpad-fg-color);border-width:13px 0 13px 19px;border-width:var(--dpad-arrow-height) 0 var(--dpad-arrow-height) var(--dpad-arrow-base);right:40%;right:var(--dpad-arrow-position);top:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.DPad_down__EeuUg:hover,.DPad_left__1AYHI:hover,.DPad_right__AqUBc:hover,.DPad_up__dOfw6:hover{background:#eee;background:var(--dpad-bg-color-hover);border-color:#5217b8;border-color:var(--dpad-fg-color-hover)}.DPad_up__dOfw6:hover:before{border-bottom-color:#5217b8;border-bottom-color:var(--dpad-fg-color-hover);top:35%;top:var(--dpad-arrow-position-hover)}.DPad_down__EeuUg:hover:before{border-top-color:#5217b8;border-top-color:var(--dpad-fg-color-hover);bottom:35%;bottom:var(--dpad-arrow-position-hover)}.DPad_left__1AYHI:hover:before{border-right-color:#5217b8;border-right-color:var(--dpad-fg-color-hover);left:35%;left:var(--dpad-arrow-position-hover)}.DPad_right__AqUBc:hover:before{border-left-color:#5217b8;border-left-color:var(--dpad-fg-color-hover);right:35%;right:var(--dpad-arrow-position-hover)}.DPad_down__EeuUg.DPad_active__OzzXu,.DPad_down__EeuUg:active,.DPad_left__1AYHI.DPad_active__OzzXu,.DPad_left__1AYHI:active,.DPad_right__AqUBc.DPad_active__OzzXu,.DPad_right__AqUBc:active,.DPad_up__dOfw6.DPad_active__OzzXu,.DPad_up__dOfw6:active{background:#fff;background:var(--dpad-bg-color-active);border-color:#ffb300;border-color:var(--dpad-fg-color-active)}.DPad_up__dOfw6.DPad_active__OzzXu:before,.DPad_up__dOfw6:active:before{border-bottom-color:#ffb300;border-bottom-color:var(--dpad-fg-color-active)}.DPad_down__EeuUg.DPad_active__OzzXu:before,.DPad_down__EeuUg:active:before{border-top-color:#ffb300;border-top-color:var(--dpad-fg-color-active)}.DPad_left__1AYHI.DPad_active__OzzXu:before,.DPad_left__1AYHI:active:before{border-right-color:#ffb300;border-right-color:var(--dpad-fg-color-active)}.DPad_right__AqUBc.DPad_active__OzzXu:before,.DPad_right__AqUBc:active:before{border-left-color:#ffb300;border-left-color:var(--dpad-fg-color-active)}.DPad_down__EeuUg.DPad_disabled__\+IfWl,.DPad_left__1AYHI.DPad_disabled__\+IfWl,.DPad_right__AqUBc.DPad_disabled__\+IfWl,.DPad_up__dOfw6.DPad_disabled__\+IfWl{background:#fff;background:var(--dpad-bg-color-disabled);border-color:#bbb;border-color:var(--dpad-fg-color-disabled)}.DPad_up__dOfw6.DPad_disabled__\+IfWl:before{border-bottom-color:#bbb;border-bottom-color:var(--dpad-fg-color-disabled);top:40%;top:var(--dpad-arrow-position)}.DPad_down__EeuUg.DPad_disabled__\+IfWl:before{border-top-color:#bbb;border-top-color:var(--dpad-fg-color-disabled);bottom:40%;bottom:var(--dpad-arrow-position)}.DPad_left__1AYHI.DPad_disabled__\+IfWl:before{border-right-color:#bbb;border-right-color:var(--dpad-fg-color-disabled);left:40%;left:var(--dpad-arrow-position)}.DPad_right__AqUBc.DPad_disabled__\+IfWl:before{border-left-color:#bbb;border-left-color:var(--dpad-fg-color-disabled);right:40%;right:var(--dpad-arrow-position)}:root{--joystick-surface-size:200px;--joystick-stick-size:50px;--joystick-color:#5217b8;--joystick-color-active:#ffb300;--joystick-color-disabled:#bbb}.Joystick_joystick__DwFj2{align-items:center;border-color:#5217b8;border-color:var(--joystick-color);border-radius:25px;border-radius:calc(var(--joystick-stick-size)/2);border-style:solid;border-width:1px;display:flex;height:200px;height:var(--joystick-surface-size);justify-content:center;overflow:hidden;position:relative;transition:all .25s;width:200px;width:var(--joystick-surface-size)}.Joystick_joystick__DwFj2>.Joystick_stick__z5P-5{background-color:#5217b8;background-color:var(--joystick-color);border-radius:50%;height:50px;height:var(--joystick-stick-size);transition:all .25s;width:50px;width:var(--joystick-stick-size)}.Joystick_joystick__DwFj2.Joystick_active__EOXxn{border-color:#ffb300;border-color:var(--joystick-color-active)}.Joystick_joystick__DwFj2.Joystick_active__EOXxn>.Joystick_stick__z5P-5{background-color:#ffb300;background-color:var(--joystick-color-active)}.Joystick_joystick__DwFj2.Joystick_disabled__WyYwu{border-color:#bbb;border-color:var(--joystick-color-disabled)}.Joystick_joystick__DwFj2.Joystick_disabled__WyYwu>.Joystick_stick__z5P-5{background-color:#bbb;background-color:var(--joystick-color-disabled)} -/*# sourceMappingURL=main.116f63ff.css.map*/ \ No newline at end of file diff --git a/cogment_verse/web/web_app/build/static/css/main.116f63ff.css.map b/cogment_verse/web/web_app/build/static/css/main.116f63ff.css.map deleted file mode 100644 index dfd35f29..00000000 --- a/cogment_verse/web/web_app/build/static/css/main.116f63ff.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.116f63ff.css","mappings":"AAAA;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,kCAAc,CAAd,oCAAc,CAAd,4BAAc,CAAd,gMAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,uBAAc,CAAd,aAAc,CAAd,QAAc,CAAd,4DAAc,CAAd,gCAAc,CAAd,mCAAc,CAAd,mBAAc,CAAd,eAAc,CAAd,uBAAc,CAAd,2BAAc,CAAd,qHAAc,CAAd,aAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,sBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,oBAAc,CAAd,aAAc,CAAd,mDAAc,CAAd,mBAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,mBAAc,CAAd,QAAc,CAAd,SAAc,CAAd,iCAAc,CAAd,yEAAc,CAAd,wBAAc,CAAd,qBAAc,CAAd,4BAAc,CAAd,gCAAc,CAAd,+BAAc,CAAd,mEAAc,CAAd,0CAAc,CAAd,mBAAc,CAAd,mDAAc,CAAd,sDAAc,CAAd,YAAc,CAAd,yBAAc,CAAd,2DAAc,CAAd,iBAAc,CAAd,yBAAc,CAAd,0BAAc,CAAd,QAAc,CAAd,SAAc,CAAd,wBAAc,CAAd,kFAAc,CAAd,SAAc,CAAd,sDAAc,CAAd,SAAc,CAAd,mCAAc,CAAd,wBAAc,CAAd,4DAAc,CAAd,qBAAc,CAAd,qBAAc,CAAd,cAAc,CAAd,qBAAc,CAAd,wCAAc,CAAd,uBAAc,CAA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EACE,wBAA8C,CAA9C,6CACF,CAEA,mDACE,iBAA4C,CAA5C,2CACF,CAEA,0EACE,qBAAgD,CAAhD,+CACF","sources":["index.css","components/RenderedScreen.module.css","components/DPad.module.css","components/Joystick.module.css"],"sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\",\n \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\n",".container {\n position: relative;\n display: grid;\n}\n\n.canvas,\n.overlay {\n grid-area: 1/-1;\n z-index: 0;\n\n width: 100%;\n}\n\n.overlay {\n z-index: 1;\n\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",":root {\n --dpad-bg-color: #fff;\n --dpad-bg-color-hover: #eee;\n --dpad-bg-color-active: #fff;\n --dpad-bg-color-disabled: #fff;\n --dpad-fg-color: #5217b8;\n --dpad-fg-color-hover: #5217b8;\n --dpad-fg-color-active: #ffb300;\n --dpad-fg-color-disabled: #bbb;\n\n --dpad-button-outer-radius: 15%;\n --dpad-button-inner-radius: 50%;\n\n --dpad-arrow-position: 40%;\n --dpad-arrow-position-hover: 35%;\n --dpad-arrow-base: 19px;\n --dpad-arrow-height: 13px;\n}\n\n.dpad {\n position: relative;\n display: inline-block;\n\n width: 200px;\n height: 200px;\n\n overflow: hidden;\n}\n\n/* Buttons background */\n\n.up,\n.right,\n.down,\n.left {\n display: block;\n position: absolute;\n -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n\n line-height: 40%;\n text-align: center;\n background: var(--dpad-bg-color);\n border-color: var(--dpad-fg-color);\n border-style: solid;\n border-width: 1px;\n padding: 0px;\n color: transparent;\n}\n\n.up,\n.down {\n width: 33.3%;\n height: 43%;\n}\n\n.left,\n.right {\n width: 43%;\n height: 33%;\n}\n\n.up {\n top: 0;\n left: 50%;\n transform: translate(-50%, 0);\n border-radius: var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) var(--dpad-button-inner-radius)\n var(--dpad-button-inner-radius);\n}\n\n.down {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 0);\n border-radius: var(--dpad-button-inner-radius) var(--dpad-button-inner-radius) var(--dpad-button-outer-radius)\n var(--dpad-button-outer-radius);\n}\n\n.left {\n top: 50%;\n left: 0;\n transform: translate(0, -50%);\n border-radius: var(--dpad-button-outer-radius) var(--dpad-button-inner-radius) var(--dpad-button-inner-radius)\n var(--dpad-button-outer-radius);\n}\n\n.right {\n top: 50%;\n right: 0;\n transform: translate(0, -50%);\n border-radius: 50% var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) 50%;\n}\n\n/* Buttons arrows */\n.up:before,\n.right:before,\n.down:before,\n.left:before {\n content: \"\";\n position: absolute;\n width: 0;\n height: 0;\n border-radius: 5px;\n border-style: solid;\n transition: all 0.25s;\n}\n\n.up:before {\n top: var(--dpad-arrow-position);\n left: 50%;\n transform: translate(-50%, -50%);\n border-width: 0 var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height);\n border-color: transparent transparent var(--dpad-fg-color) transparent;\n}\n\n.down:before {\n bottom: var(--dpad-arrow-position);\n left: 50%;\n transform: translate(-50%, 50%);\n border-width: var(--dpad-arrow-base) var(--dpad-arrow-height) 0px var(--dpad-arrow-height);\n border-color: var(--dpad-fg-color) transparent transparent transparent;\n}\n\n.left:before {\n left: var(--dpad-arrow-position);\n top: 50%;\n transform: translate(-50%, -50%);\n border-width: var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height) 0;\n border-color: transparent var(--dpad-fg-color) transparent transparent;\n}\n\n.right:before {\n right: var(--dpad-arrow-position);\n top: 50%;\n transform: translate(50%, -50%);\n border-width: var(--dpad-arrow-height) 0 var(--dpad-arrow-height) var(--dpad-arrow-base);\n border-color: transparent transparent transparent var(--dpad-fg-color);\n}\n\n/* Hover */\n\n.up:hover,\n.right:hover,\n.down:hover,\n.left:hover {\n background: var(--dpad-bg-color-hover);\n border-color: var(--dpad-fg-color-hover);\n}\n\n.up:hover:before {\n top: var(--dpad-arrow-position-hover);\n border-bottom-color: var(--dpad-fg-color-hover);\n}\n\n.down:hover:before {\n bottom: var(--dpad-arrow-position-hover);\n border-top-color: var(--dpad-fg-color-hover);\n}\n\n.left:hover:before {\n left: var(--dpad-arrow-position-hover);\n border-right-color: var(--dpad-fg-color-hover);\n}\n\n.right:hover:before {\n right: var(--dpad-arrow-position-hover);\n border-left-color: var(--dpad-fg-color-hover);\n}\n\n/* Active */\n\n.up:active,\n.right:active,\n.down:active,\n.left:active,\n.up.active,\n.right.active,\n.down.active,\n.left.active {\n background: var(--dpad-bg-color-active);\n border-color: var(--dpad-fg-color-active);\n}\n\n.up:active:before,\n.up.active:before {\n border-bottom-color: var(--dpad-fg-color-active);\n}\n\n.down:active:before,\n.down.active:before {\n border-top-color: var(--dpad-fg-color-active);\n}\n\n.left:active:before,\n.left.active:before {\n border-right-color: var(--dpad-fg-color-active);\n}\n\n.right:active:before,\n.right.active:before {\n border-left-color: var(--dpad-fg-color-active);\n}\n\n/* Disabled */\n\n.up.disabled,\n.right.disabled,\n.down.disabled,\n.left.disabled {\n background: var(--dpad-bg-color-disabled);\n border-color: var(--dpad-fg-color-disabled);\n}\n\n.up.disabled:before {\n top: var(--dpad-arrow-position);\n border-bottom-color: var(--dpad-fg-color-disabled);\n}\n\n.down.disabled:before {\n bottom: var(--dpad-arrow-position);\n border-top-color: var(--dpad-fg-color-disabled);\n}\n\n.left.disabled:before {\n left: var(--dpad-arrow-position);\n border-right-color: var(--dpad-fg-color-disabled);\n}\n\n.right.disabled:before {\n right: var(--dpad-arrow-position);\n border-left-color: var(--dpad-fg-color-disabled);\n}\n",":root {\n --joystick-surface-size: 200px;\n --joystick-stick-size: 50px;\n\n --joystick-color: #5217b8;\n --joystick-color-active: #ffb300;\n --joystick-color-disabled: #bbb;\n}\n\n.joystick {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n\n overflow: hidden;\n\n height: var(--joystick-surface-size);\n width: var(--joystick-surface-size);\n border-radius: calc(var(--joystick-stick-size) / 2);\n border-color: var(--joystick-color);\n border-width: 1px;\n border-style: solid;\n\n transition: all 0.25s;\n}\n\n.joystick > .stick {\n height: var(--joystick-stick-size);\n width: var(--joystick-stick-size);\n\n border-radius: 50%;\n background-color: var(--joystick-color);\n\n transition: all 0.25s;\n}\n\n.joystick.active {\n border-color: var(--joystick-color-active);\n}\n\n.joystick.active > .stick {\n background-color: var(--joystick-color-active);\n}\n\n.joystick.disabled {\n border-color: var(--joystick-color-disabled);\n}\n\n.joystick.disabled > .stick {\n background-color: var(--joystick-color-disabled);\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/cogment_verse/web/web_app/build/static/css/main.afd381f3.css b/cogment_verse/web/web_app/build/static/css/main.afd381f3.css new file mode 100644 index 00000000..cb1565d0 --- /dev/null +++ b/cogment_verse/web/web_app/build/static/css/main.afd381f3.css @@ -0,0 +1,4 @@ +/* +! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com +*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family: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;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:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-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:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;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-border-spacing-x:0;--tw-border-spacing-y:0;--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: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--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}}.visible{visibility:visible}.\!visible{visibility:visible!important}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-x-0{left:0;right:0}.top-full{top:100%}.z-10{z-index:10}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-5{margin-bottom:1.25rem;margin-top:1.25rem}.ml-2{margin-left:.5rem}.mt-1{margin-top:.25rem}.mb-2{margin-bottom:.5rem}.mt-2{margin-top:.5rem}.mt-5{margin-top:1.25rem}.block{display:block}.flex{display:flex}.table{display:table}.aspect-square{aspect-ratio:1/1}.min-h-screen{min-height:100vh}.w-full{width:100%}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.max-w-screen-md{max-width:768px}.flex-1{flex:1 1}.flex-none{flex:none}.flex-initial{flex:0 1 auto}.grow{flex-grow:1}.table-fixed{table-layout:fixed}.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))}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-4{gap:1rem}.gap-2{gap:.5rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-b{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.border-l-8{border-left-width:8px}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity:1;background-color:rgb(199 210 254/var(--tw-bg-opacity))}.bg-neutral-400\/90{background-color:hsla(0,0%,64%,.9)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-5{padding:1.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem}.text-lg,.text-xl{line-height:1.75rem}.text-xl{font-size:1.25rem}.font-semibold{font-weight:600}.font-medium{font-weight:500}.lowercase{text-transform:lowercase}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px 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-8{--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(8px + 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-inset{--tw-ring-inset:inset}.blur{--tw-blur:blur(8px)}.blur,.filter{-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)}.duration-75{transition-duration:75ms}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.hover\:bg-indigo-900:hover{--tw-bg-opacity:1;background-color:rgb(49 46 129/var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity:1;background-color:rgb(6 95 70/var(--tw-bg-opacity))}.disabled\:bg-gray-400:disabled{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.disabled\:text-gray-200:disabled{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.RenderedScreen_container__9inx9{display:grid;position:relative}.RenderedScreen_canvas__Zmrsu,.RenderedScreen_overlay__fApA7{grid-area:1/-1;width:100%;z-index:0}.RenderedScreen_overlay__fApA7{align-items:center;display:flex;justify-content:center;z-index:1}:root{--dpad-bg-color:#fff;--dpad-bg-color-hover:#eee;--dpad-bg-color-active:#fff;--dpad-bg-color-disabled:#fff;--dpad-fg-color:#5217b8;--dpad-fg-color-hover:#5217b8;--dpad-fg-color-active:#ffb300;--dpad-fg-color-disabled:#bbb;--dpad-button-outer-radius:15%;--dpad-button-inner-radius:50%;--dpad-arrow-position:40%;--dpad-arrow-position-hover:35%;--dpad-arrow-base:19px;--dpad-arrow-height:13px}.DPad_dpad__ZZdxt{display:inline-block;height:200px;overflow:hidden;position:relative;width:200px}.DPad_down__EeuUg,.DPad_left__1AYHI,.DPad_right__AqUBc,.DPad_up__dOfw6{-webkit-tap-highlight-color:rgba(255,255,255,0);background:#fff;background:var(--dpad-bg-color);border-color:#5217b8;border-color:var(--dpad-fg-color);border-style:solid;border-width:1px;color:transparent;display:block;line-height:40%;padding:0;position:absolute;text-align:center}.DPad_down__EeuUg,.DPad_up__dOfw6{height:43%;width:33.3%}.DPad_left__1AYHI,.DPad_right__AqUBc{height:33%;width:43%}.DPad_up__dOfw6{border-radius:15% 15% 50% 50%;border-radius:var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) var(--dpad-button-inner-radius) var(--dpad-button-inner-radius);top:0}.DPad_down__EeuUg,.DPad_up__dOfw6{left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}.DPad_down__EeuUg{border-radius:50% 50% 15% 15%;border-radius:var(--dpad-button-inner-radius) var(--dpad-button-inner-radius) var(--dpad-button-outer-radius) var(--dpad-button-outer-radius);bottom:0}.DPad_left__1AYHI{border-radius:15% 50% 50% 15%;border-radius:var(--dpad-button-outer-radius) var(--dpad-button-inner-radius) var(--dpad-button-inner-radius) var(--dpad-button-outer-radius);left:0}.DPad_left__1AYHI,.DPad_right__AqUBc{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.DPad_right__AqUBc{border-radius:50% 15% 15% 50%;border-radius:50% var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) 50%;right:0}.DPad_down__EeuUg:before,.DPad_left__1AYHI:before,.DPad_right__AqUBc:before,.DPad_up__dOfw6:before{border-radius:5px;border-style:solid;content:"";height:0;position:absolute;transition:all .25s;width:0}.DPad_up__dOfw6:before{border-color:transparent transparent #5217b8;border-color:transparent transparent var(--dpad-fg-color) transparent;border-width:0 13px 19px;border-width:0 var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height);left:50%;top:40%;top:var(--dpad-arrow-position);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.DPad_down__EeuUg:before{border-color:#5217b8 transparent transparent;border-color:var(--dpad-fg-color) transparent transparent transparent;border-width:19px 13px 0;border-width:var(--dpad-arrow-base) var(--dpad-arrow-height) 0 var(--dpad-arrow-height);bottom:40%;bottom:var(--dpad-arrow-position);left:50%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.DPad_left__1AYHI:before{border-color:transparent #5217b8 transparent transparent;border-color:transparent var(--dpad-fg-color) transparent transparent;border-width:13px 19px 13px 0;border-width:var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height) 0;left:40%;left:var(--dpad-arrow-position);top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.DPad_right__AqUBc:before{border-color:transparent transparent transparent #5217b8;border-color:transparent transparent transparent var(--dpad-fg-color);border-width:13px 0 13px 19px;border-width:var(--dpad-arrow-height) 0 var(--dpad-arrow-height) var(--dpad-arrow-base);right:40%;right:var(--dpad-arrow-position);top:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.DPad_down__EeuUg:hover,.DPad_left__1AYHI:hover,.DPad_right__AqUBc:hover,.DPad_up__dOfw6:hover{background:#eee;background:var(--dpad-bg-color-hover);border-color:#5217b8;border-color:var(--dpad-fg-color-hover)}.DPad_up__dOfw6:hover:before{border-bottom-color:#5217b8;border-bottom-color:var(--dpad-fg-color-hover);top:35%;top:var(--dpad-arrow-position-hover)}.DPad_down__EeuUg:hover:before{border-top-color:#5217b8;border-top-color:var(--dpad-fg-color-hover);bottom:35%;bottom:var(--dpad-arrow-position-hover)}.DPad_left__1AYHI:hover:before{border-right-color:#5217b8;border-right-color:var(--dpad-fg-color-hover);left:35%;left:var(--dpad-arrow-position-hover)}.DPad_right__AqUBc:hover:before{border-left-color:#5217b8;border-left-color:var(--dpad-fg-color-hover);right:35%;right:var(--dpad-arrow-position-hover)}.DPad_down__EeuUg.DPad_active__OzzXu,.DPad_down__EeuUg:active,.DPad_left__1AYHI.DPad_active__OzzXu,.DPad_left__1AYHI:active,.DPad_right__AqUBc.DPad_active__OzzXu,.DPad_right__AqUBc:active,.DPad_up__dOfw6.DPad_active__OzzXu,.DPad_up__dOfw6:active{background:#fff;background:var(--dpad-bg-color-active);border-color:#ffb300;border-color:var(--dpad-fg-color-active)}.DPad_up__dOfw6.DPad_active__OzzXu:before,.DPad_up__dOfw6:active:before{border-bottom-color:#ffb300;border-bottom-color:var(--dpad-fg-color-active)}.DPad_down__EeuUg.DPad_active__OzzXu:before,.DPad_down__EeuUg:active:before{border-top-color:#ffb300;border-top-color:var(--dpad-fg-color-active)}.DPad_left__1AYHI.DPad_active__OzzXu:before,.DPad_left__1AYHI:active:before{border-right-color:#ffb300;border-right-color:var(--dpad-fg-color-active)}.DPad_right__AqUBc.DPad_active__OzzXu:before,.DPad_right__AqUBc:active:before{border-left-color:#ffb300;border-left-color:var(--dpad-fg-color-active)}.DPad_down__EeuUg.DPad_disabled__\+IfWl,.DPad_left__1AYHI.DPad_disabled__\+IfWl,.DPad_right__AqUBc.DPad_disabled__\+IfWl,.DPad_up__dOfw6.DPad_disabled__\+IfWl{background:#fff;background:var(--dpad-bg-color-disabled);border-color:#bbb;border-color:var(--dpad-fg-color-disabled)}.DPad_up__dOfw6.DPad_disabled__\+IfWl:before{border-bottom-color:#bbb;border-bottom-color:var(--dpad-fg-color-disabled);top:40%;top:var(--dpad-arrow-position)}.DPad_down__EeuUg.DPad_disabled__\+IfWl:before{border-top-color:#bbb;border-top-color:var(--dpad-fg-color-disabled);bottom:40%;bottom:var(--dpad-arrow-position)}.DPad_left__1AYHI.DPad_disabled__\+IfWl:before{border-right-color:#bbb;border-right-color:var(--dpad-fg-color-disabled);left:40%;left:var(--dpad-arrow-position)}.DPad_right__AqUBc.DPad_disabled__\+IfWl:before{border-left-color:#bbb;border-left-color:var(--dpad-fg-color-disabled);right:40%;right:var(--dpad-arrow-position)}:root{--joystick-surface-size:200px;--joystick-stick-size:50px;--joystick-color:#5217b8;--joystick-color-active:#ffb300;--joystick-color-disabled:#bbb}.Joystick_joystick__DwFj2{align-items:center;border-color:#5217b8;border-color:var(--joystick-color);border-radius:25px;border-radius:calc(var(--joystick-stick-size)/2);border-style:solid;border-width:1px;display:flex;height:200px;height:var(--joystick-surface-size);justify-content:center;overflow:hidden;position:relative;transition:all .25s;width:200px;width:var(--joystick-surface-size)}.Joystick_joystick__DwFj2>.Joystick_stick__z5P-5{background-color:#5217b8;background-color:var(--joystick-color);border-radius:50%;height:50px;height:var(--joystick-stick-size);transition:all .25s;width:50px;width:var(--joystick-stick-size)}.Joystick_joystick__DwFj2.Joystick_active__EOXxn{border-color:#ffb300;border-color:var(--joystick-color-active)}.Joystick_joystick__DwFj2.Joystick_active__EOXxn>.Joystick_stick__z5P-5{background-color:#ffb300;background-color:var(--joystick-color-active)}.Joystick_joystick__DwFj2.Joystick_disabled__WyYwu{border-color:#bbb;border-color:var(--joystick-color-disabled)}.Joystick_joystick__DwFj2.Joystick_disabled__WyYwu>.Joystick_stick__z5P-5{background-color:#bbb;background-color:var(--joystick-color-disabled)} +/*# sourceMappingURL=main.afd381f3.css.map*/ \ No newline at end of file diff --git a/cogment_verse/web/web_app/build/static/css/main.afd381f3.css.map b/cogment_verse/web/web_app/build/static/css/main.afd381f3.css.map new file mode 100644 index 00000000..8df031a3 --- /dev/null +++ b/cogment_verse/web/web_app/build/static/css/main.afd381f3.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.afd381f3.css","mappings":"AAAA;;CAAc,CAAd,uCAAc,CAAd,qBAAc,CAAd,8BAAc,CAAd,kCAAc,CAAd,oCAAc,CAAd,4BAAc,CAAd,gMAAc,CAAd,eAAc,CAAd,UAAc,CAAd,wBAAc,CAAd,uBAAc,CAAd,aAAc,CAAd,QAAc,CAAd,4DAAc,CAAd,gCAAc,CAAd,mCAAc,CAAd,mBAAc,CAAd,eAAc,CAAd,uBAAc,CAAd,2BAAc,CAAd,qHAAc,CAAd,aAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,sBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,8BAAc,CAAd,oBAAc,CAAd,aAAc,CAAd,mDAAc,CAAd,mBAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,mBAAc,CAAd,QAAc,CAAd,SAAc,CAAd,iCAAc,CAAd,yEAAc,CAAd,wBAAc,CAAd,qBAAc,CAAd,4BAAc,CAAd,gCAAc,CAAd,+BAAc,CAAd,mEAAc,CAAd,0CAAc,CAAd,mBAAc,C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,CAAjD,gDAAiD,CADjD,QAAgC,CAAhC,+BAEF,CAEA,gDAEE,sBAAgD,CAAhD,+CAAgD,CADhD,SAAiC,CAAjC,gCAEF,CCtOA,MACE,6BAA8B,CAC9B,0BAA2B,CAE3B,wBAAyB,CACzB,+BAAgC,CAChC,8BACF,CAEA,0BAIE,kBAAmB,CAOnB,oBAAmC,CAAnC,kCAAmC,CADnC,kBAAmD,CAAnD,gDAAmD,CAGnD,kBAAmB,CADnB,gBAAiB,CAVjB,YAAa,CAMb,YAAoC,CAApC,mCAAoC,CALpC,sBAAuB,CAGvB,eAAgB,CALhB,iBAAkB,CAclB,mBAAqB,CANrB,WAAmC,CAAnC,kCAOF,CAEA,iDAKE,wBAAuC,CAAvC,sCAAuC,CADvC,iBAAkB,CAHlB,WAAkC,CAAlC,iCAAkC,CAMlC,mBAAqB,CALrB,UAAiC,CAAjC,gCAMF,CAEA,iDACE,oBAA0C,CAA1C,yCACF,CAEA,wEACE,wBAA8C,CAA9C,6CACF,CAEA,mDACE,iBAA4C,CAA5C,2CACF,CAEA,0EACE,qBAAgD,CAAhD,+CACF","sources":["index.css","components/RenderedScreen.module.css","components/DPad.module.css","components/Joystick.module.css"],"sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\",\n \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\n",".container {\n position: relative;\n display: grid;\n}\n\n.canvas,\n.overlay {\n grid-area: 1/-1;\n z-index: 0;\n\n width: 100%;\n}\n\n.overlay {\n z-index: 1;\n\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",":root {\n --dpad-bg-color: #fff;\n --dpad-bg-color-hover: #eee;\n --dpad-bg-color-active: #fff;\n --dpad-bg-color-disabled: #fff;\n --dpad-fg-color: #5217b8;\n --dpad-fg-color-hover: #5217b8;\n --dpad-fg-color-active: #ffb300;\n --dpad-fg-color-disabled: #bbb;\n\n --dpad-button-outer-radius: 15%;\n --dpad-button-inner-radius: 50%;\n\n --dpad-arrow-position: 40%;\n --dpad-arrow-position-hover: 35%;\n --dpad-arrow-base: 19px;\n --dpad-arrow-height: 13px;\n}\n\n.dpad {\n position: relative;\n display: inline-block;\n\n width: 200px;\n height: 200px;\n\n overflow: hidden;\n}\n\n/* Buttons background */\n\n.up,\n.right,\n.down,\n.left {\n display: block;\n position: absolute;\n -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\n\n line-height: 40%;\n text-align: center;\n background: var(--dpad-bg-color);\n border-color: var(--dpad-fg-color);\n border-style: solid;\n border-width: 1px;\n padding: 0px;\n color: transparent;\n}\n\n.up,\n.down {\n width: 33.3%;\n height: 43%;\n}\n\n.left,\n.right {\n width: 43%;\n height: 33%;\n}\n\n.up {\n top: 0;\n left: 50%;\n transform: translate(-50%, 0);\n border-radius: var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) var(--dpad-button-inner-radius)\n var(--dpad-button-inner-radius);\n}\n\n.down {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 0);\n border-radius: var(--dpad-button-inner-radius) var(--dpad-button-inner-radius) var(--dpad-button-outer-radius)\n var(--dpad-button-outer-radius);\n}\n\n.left {\n top: 50%;\n left: 0;\n transform: translate(0, -50%);\n border-radius: var(--dpad-button-outer-radius) var(--dpad-button-inner-radius) var(--dpad-button-inner-radius)\n var(--dpad-button-outer-radius);\n}\n\n.right {\n top: 50%;\n right: 0;\n transform: translate(0, -50%);\n border-radius: 50% var(--dpad-button-outer-radius) var(--dpad-button-outer-radius) 50%;\n}\n\n/* Buttons arrows */\n.up:before,\n.right:before,\n.down:before,\n.left:before {\n content: \"\";\n position: absolute;\n width: 0;\n height: 0;\n border-radius: 5px;\n border-style: solid;\n transition: all 0.25s;\n}\n\n.up:before {\n top: var(--dpad-arrow-position);\n left: 50%;\n transform: translate(-50%, -50%);\n border-width: 0 var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height);\n border-color: transparent transparent var(--dpad-fg-color) transparent;\n}\n\n.down:before {\n bottom: var(--dpad-arrow-position);\n left: 50%;\n transform: translate(-50%, 50%);\n border-width: var(--dpad-arrow-base) var(--dpad-arrow-height) 0px var(--dpad-arrow-height);\n border-color: var(--dpad-fg-color) transparent transparent transparent;\n}\n\n.left:before {\n left: var(--dpad-arrow-position);\n top: 50%;\n transform: translate(-50%, -50%);\n border-width: var(--dpad-arrow-height) var(--dpad-arrow-base) var(--dpad-arrow-height) 0;\n border-color: transparent var(--dpad-fg-color) transparent transparent;\n}\n\n.right:before {\n right: var(--dpad-arrow-position);\n top: 50%;\n transform: translate(50%, -50%);\n border-width: var(--dpad-arrow-height) 0 var(--dpad-arrow-height) var(--dpad-arrow-base);\n border-color: transparent transparent transparent var(--dpad-fg-color);\n}\n\n/* Hover */\n\n.up:hover,\n.right:hover,\n.down:hover,\n.left:hover {\n background: var(--dpad-bg-color-hover);\n border-color: var(--dpad-fg-color-hover);\n}\n\n.up:hover:before {\n top: var(--dpad-arrow-position-hover);\n border-bottom-color: var(--dpad-fg-color-hover);\n}\n\n.down:hover:before {\n bottom: var(--dpad-arrow-position-hover);\n border-top-color: var(--dpad-fg-color-hover);\n}\n\n.left:hover:before {\n left: var(--dpad-arrow-position-hover);\n border-right-color: var(--dpad-fg-color-hover);\n}\n\n.right:hover:before {\n right: var(--dpad-arrow-position-hover);\n border-left-color: var(--dpad-fg-color-hover);\n}\n\n/* Active */\n\n.up:active,\n.right:active,\n.down:active,\n.left:active,\n.up.active,\n.right.active,\n.down.active,\n.left.active {\n background: var(--dpad-bg-color-active);\n border-color: var(--dpad-fg-color-active);\n}\n\n.up:active:before,\n.up.active:before {\n border-bottom-color: var(--dpad-fg-color-active);\n}\n\n.down:active:before,\n.down.active:before {\n border-top-color: var(--dpad-fg-color-active);\n}\n\n.left:active:before,\n.left.active:before {\n border-right-color: var(--dpad-fg-color-active);\n}\n\n.right:active:before,\n.right.active:before {\n border-left-color: var(--dpad-fg-color-active);\n}\n\n/* Disabled */\n\n.up.disabled,\n.right.disabled,\n.down.disabled,\n.left.disabled {\n background: var(--dpad-bg-color-disabled);\n border-color: var(--dpad-fg-color-disabled);\n}\n\n.up.disabled:before {\n top: var(--dpad-arrow-position);\n border-bottom-color: var(--dpad-fg-color-disabled);\n}\n\n.down.disabled:before {\n bottom: var(--dpad-arrow-position);\n border-top-color: var(--dpad-fg-color-disabled);\n}\n\n.left.disabled:before {\n left: var(--dpad-arrow-position);\n border-right-color: var(--dpad-fg-color-disabled);\n}\n\n.right.disabled:before {\n right: var(--dpad-arrow-position);\n border-left-color: var(--dpad-fg-color-disabled);\n}\n",":root {\n --joystick-surface-size: 200px;\n --joystick-stick-size: 50px;\n\n --joystick-color: #5217b8;\n --joystick-color-active: #ffb300;\n --joystick-color-disabled: #bbb;\n}\n\n.joystick {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n\n overflow: hidden;\n\n height: var(--joystick-surface-size);\n width: var(--joystick-surface-size);\n border-radius: calc(var(--joystick-stick-size) / 2);\n border-color: var(--joystick-color);\n border-width: 1px;\n border-style: solid;\n\n transition: all 0.25s;\n}\n\n.joystick > .stick {\n height: var(--joystick-stick-size);\n width: var(--joystick-stick-size);\n\n border-radius: 50%;\n background-color: var(--joystick-color);\n\n transition: all 0.25s;\n}\n\n.joystick.active {\n border-color: var(--joystick-color-active);\n}\n\n.joystick.active > .stick {\n background-color: var(--joystick-color-active);\n}\n\n.joystick.disabled {\n border-color: var(--joystick-color-disabled);\n}\n\n.joystick.disabled > .stick {\n background-color: var(--joystick-color-disabled);\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/cogment_verse/web/web_app/build/static/js/main.c6de350b.js b/cogment_verse/web/web_app/build/static/js/main.2461f395.js similarity index 76% rename from cogment_verse/web/web_app/build/static/js/main.c6de350b.js rename to cogment_verse/web/web_app/build/static/js/main.2461f395.js index 345a362a..cf8536b7 100644 --- a/cogment_verse/web/web_app/build/static/js/main.c6de350b.js +++ b/cogment_verse/web/web_app/build/static/js/main.2461f395.js @@ -1,3 +1,3 @@ -/*! For license information please see main.c6de350b.js.LICENSE.txt */ -(function(){var __webpack_modules__={33:function(e,t,r){var n;t.CL=void 0;var o=r(666),i=r(286),a=r(358),s=function(){this.name="player",this.config=a.cogment_verse.AgentConfig,this.actionSpace=a.cogment_verse.PlayerAction,this.observationSpace=a.cogment_verse.Observation};var u=function(){this.name="teacher",this.config=a.cogment_verse.AgentConfig,this.actionSpace=a.cogment_verse.TeacherAction,this.observationSpace=a.cogment_verse.Observation};var l=function(){this.name="observer",this.config=a.cogment_verse.AgentConfig,this.actionSpace=a.cogment_verse.ObserverAction,this.observationSpace=a.cogment_verse.Observation};t.CL={messageUrlMap:(n={},n["type.googleapis.com/cogment_verse.nd_array.Array"]=o.cogment_verse.nd_array.Array,n["type.googleapis.com/cogment_verse.spaces.Discrete"]=i.cogment_verse.spaces.Discrete,n["type.googleapis.com/cogment_verse.spaces.Box"]=i.cogment_verse.spaces.Box,n["type.googleapis.com/cogment_verse.spaces.Dict"]=i.cogment_verse.spaces.Dict,n["type.googleapis.com/cogment_verse.spaces.Dict.SubSpace"]=i.cogment_verse.spaces.Dict.SubSpace,n["type.googleapis.com/cogment_verse.spaces.Space"]=i.cogment_verse.spaces.Space,n["type.googleapis.com/cogment_verse.nd_array.Array"]=i.cogment_verse.nd_array.Array,n["type.googleapis.com/cogment_verse.EnvironmentSpecs"]=a.cogment_verse.EnvironmentSpecs,n["type.googleapis.com/cogment_verse.EnvironmentConfig"]=a.cogment_verse.EnvironmentConfig,n["type.googleapis.com/cogment_verse.HFHubModel"]=a.cogment_verse.HFHubModel,n["type.googleapis.com/cogment_verse.AgentConfig"]=a.cogment_verse.AgentConfig,n["type.googleapis.com/cogment_verse.TrialConfig"]=a.cogment_verse.TrialConfig,n["type.googleapis.com/cogment_verse.Observation"]=a.cogment_verse.Observation,n["type.googleapis.com/cogment_verse.PlayerAction"]=a.cogment_verse.PlayerAction,n["type.googleapis.com/cogment_verse.TeacherAction"]=a.cogment_verse.TeacherAction,n["type.googleapis.com/cogment_verse.ObserverAction"]=a.cogment_verse.ObserverAction,n["type.googleapis.com/cogment_verse.nd_array.Array"]=a.cogment_verse.nd_array.Array,n["type.googleapis.com/cogment_verse.spaces.Discrete"]=a.cogment_verse.spaces.Discrete,n["type.googleapis.com/cogment_verse.spaces.Box"]=a.cogment_verse.spaces.Box,n["type.googleapis.com/cogment_verse.spaces.Dict"]=a.cogment_verse.spaces.Dict,n["type.googleapis.com/cogment_verse.spaces.Dict.SubSpace"]=a.cogment_verse.spaces.Dict.SubSpace,n["type.googleapis.com/cogment_verse.spaces.Space"]=a.cogment_verse.spaces.Space,n),actorClasses:{player:new s,teacher:new u,observer:new l},trial:{config:a.cogment_verse.TrialConfig},environment:{config:a.cogment_verse.EnvironmentConfig,class:{id:"env",config:a.cogment_verse.EnvironmentConfig}}}},358:function(e,t,r){var n,o,i;o=[r(886)],void 0===(i="function"===typeof(n=function(e){"use strict";var t=e.Reader,r=e.Writer,n=e.util,o=e.roots.default||(e.roots.default={});return o.cogment_verse=function(){var i={};return i.EnvironmentSpecs=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.implementation=e.string();break;case 6:i.turnBased=e.bool();break;case 7:i.numPlayers=e.int32();break;case 4:i.observationSpace=o.cogment_verse.spaces.Space.decode(e,e.uint32());break;case 5:i.actionSpace=o.cogment_verse.spaces.Space.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.implementation&&e.hasOwnProperty("implementation")&&!n.isString(e.implementation)?"implementation: string expected":null!=e.turnBased&&e.hasOwnProperty("turnBased")&&"boolean"!==typeof e.turnBased?"turnBased: boolean expected":null!=e.numPlayers&&e.hasOwnProperty("numPlayers")&&!n.isInteger(e.numPlayers)?"numPlayers: integer expected":null!=e.observationSpace&&e.hasOwnProperty("observationSpace")&&(t=o.cogment_verse.spaces.Space.verify(e.observationSpace))?"observationSpace."+t:null!=e.actionSpace&&e.hasOwnProperty("actionSpace")&&(t=o.cogment_verse.spaces.Space.verify(e.actionSpace))?"actionSpace."+t:null;var t},i.fromObject=function(e){if(e instanceof o.cogment_verse.EnvironmentSpecs)return e;var t=new o.cogment_verse.EnvironmentSpecs;if(null!=e.implementation&&(t.implementation=String(e.implementation)),null!=e.turnBased&&(t.turnBased=Boolean(e.turnBased)),null!=e.numPlayers&&(t.numPlayers=0|e.numPlayers),null!=e.observationSpace){if("object"!==typeof e.observationSpace)throw TypeError(".cogment_verse.EnvironmentSpecs.observationSpace: object expected");t.observationSpace=o.cogment_verse.spaces.Space.fromObject(e.observationSpace)}if(null!=e.actionSpace){if("object"!==typeof e.actionSpace)throw TypeError(".cogment_verse.EnvironmentSpecs.actionSpace: object expected");t.actionSpace=o.cogment_verse.spaces.Space.fromObject(e.actionSpace)}return t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.implementation="",r.observationSpace=null,r.actionSpace=null,r.turnBased=!1,r.numPlayers=0),null!=e.implementation&&e.hasOwnProperty("implementation")&&(r.implementation=e.implementation),null!=e.observationSpace&&e.hasOwnProperty("observationSpace")&&(r.observationSpace=o.cogment_verse.spaces.Space.toObject(e.observationSpace,t)),null!=e.actionSpace&&e.hasOwnProperty("actionSpace")&&(r.actionSpace=o.cogment_verse.spaces.Space.toObject(e.actionSpace,t)),null!=e.turnBased&&e.hasOwnProperty("turnBased")&&(r.turnBased=e.turnBased),null!=e.numPlayers&&e.hasOwnProperty("numPlayers")&&(r.numPlayers=e.numPlayers),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.EnvironmentSpecs"},i}(),i.EnvironmentConfig=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.runId=e.string();break;case 2:i.render=e.bool();break;case 3:i.renderWidth=e.int32();break;case 4:i.seed=e.uint32();break;case 5:i.flatten=e.bool();break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.runId&&e.hasOwnProperty("runId")&&!n.isString(e.runId)?"runId: string expected":null!=e.render&&e.hasOwnProperty("render")&&"boolean"!==typeof e.render?"render: boolean expected":null!=e.renderWidth&&e.hasOwnProperty("renderWidth")&&!n.isInteger(e.renderWidth)?"renderWidth: integer expected":null!=e.seed&&e.hasOwnProperty("seed")&&!n.isInteger(e.seed)?"seed: integer expected":null!=e.flatten&&e.hasOwnProperty("flatten")&&"boolean"!==typeof e.flatten?"flatten: boolean expected":null},i.fromObject=function(e){if(e instanceof o.cogment_verse.EnvironmentConfig)return e;var t=new o.cogment_verse.EnvironmentConfig;return null!=e.runId&&(t.runId=String(e.runId)),null!=e.render&&(t.render=Boolean(e.render)),null!=e.renderWidth&&(t.renderWidth=0|e.renderWidth),null!=e.seed&&(t.seed=e.seed>>>0),null!=e.flatten&&(t.flatten=Boolean(e.flatten)),t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.runId="",r.render=!1,r.renderWidth=0,r.seed=0,r.flatten=!1),null!=e.runId&&e.hasOwnProperty("runId")&&(r.runId=e.runId),null!=e.render&&e.hasOwnProperty("render")&&(r.render=e.render),null!=e.renderWidth&&e.hasOwnProperty("renderWidth")&&(r.renderWidth=e.renderWidth),null!=e.seed&&e.hasOwnProperty("seed")&&(r.seed=e.seed),null!=e.flatten&&e.hasOwnProperty("flatten")&&(r.flatten=e.flatten),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.EnvironmentConfig"},i}(),i.HFHubModel=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.repoId=e.string();break;case 2:i.filename=e.string();break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.repoId&&e.hasOwnProperty("repoId")&&!n.isString(e.repoId)?"repoId: string expected":null!=e.filename&&e.hasOwnProperty("filename")&&!n.isString(e.filename)?"filename: string expected":null},i.fromObject=function(e){if(e instanceof o.cogment_verse.HFHubModel)return e;var t=new o.cogment_verse.HFHubModel;return null!=e.repoId&&(t.repoId=String(e.repoId)),null!=e.filename&&(t.filename=String(e.filename)),t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.repoId="",r.filename=""),null!=e.repoId&&e.hasOwnProperty("repoId")&&(r.repoId=e.repoId),null!=e.filename&&e.hasOwnProperty("filename")&&(r.filename=e.filename),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.HFHubModel"},i}(),i.AgentConfig=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.runId=e.string();break;case 2:i.environmentSpecs=o.cogment_verse.EnvironmentSpecs.decode(e,e.uint32());break;case 3:i.seed=e.uint32();break;case 4:i.modelId=e.string();break;case 5:i.modelVersion=e.int32();break;case 6:i.modelUpdateFrequency=e.int32();break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.runId&&e.hasOwnProperty("runId")&&!n.isString(e.runId))return"runId: string expected";if(null!=e.environmentSpecs&&e.hasOwnProperty("environmentSpecs")){var t=o.cogment_verse.EnvironmentSpecs.verify(e.environmentSpecs);if(t)return"environmentSpecs."+t}return null!=e.seed&&e.hasOwnProperty("seed")&&!n.isInteger(e.seed)?"seed: integer expected":null!=e.modelId&&e.hasOwnProperty("modelId")&&!n.isString(e.modelId)?"modelId: string expected":null!=e.modelVersion&&e.hasOwnProperty("modelVersion")&&!n.isInteger(e.modelVersion)?"modelVersion: integer expected":null!=e.modelUpdateFrequency&&e.hasOwnProperty("modelUpdateFrequency")&&!n.isInteger(e.modelUpdateFrequency)?"modelUpdateFrequency: integer expected":null},i.fromObject=function(e){if(e instanceof o.cogment_verse.AgentConfig)return e;var t=new o.cogment_verse.AgentConfig;if(null!=e.runId&&(t.runId=String(e.runId)),null!=e.environmentSpecs){if("object"!==typeof e.environmentSpecs)throw TypeError(".cogment_verse.AgentConfig.environmentSpecs: object expected");t.environmentSpecs=o.cogment_verse.EnvironmentSpecs.fromObject(e.environmentSpecs)}return null!=e.seed&&(t.seed=e.seed>>>0),null!=e.modelId&&(t.modelId=String(e.modelId)),null!=e.modelVersion&&(t.modelVersion=0|e.modelVersion),null!=e.modelUpdateFrequency&&(t.modelUpdateFrequency=0|e.modelUpdateFrequency),t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.runId="",r.environmentSpecs=null,r.seed=0,r.modelId="",r.modelVersion=0,r.modelUpdateFrequency=0),null!=e.runId&&e.hasOwnProperty("runId")&&(r.runId=e.runId),null!=e.environmentSpecs&&e.hasOwnProperty("environmentSpecs")&&(r.environmentSpecs=o.cogment_verse.EnvironmentSpecs.toObject(e.environmentSpecs,t)),null!=e.seed&&e.hasOwnProperty("seed")&&(r.seed=e.seed),null!=e.modelId&&e.hasOwnProperty("modelId")&&(r.modelId=e.modelId),null!=e.modelVersion&&e.hasOwnProperty("modelVersion")&&(r.modelVersion=e.modelVersion),null!=e.modelUpdateFrequency&&e.hasOwnProperty("modelUpdateFrequency")&&(r.modelUpdateFrequency=e.modelUpdateFrequency),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.AgentConfig"},i}(),i.TrialConfig=function(){function n(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.value=o.cogment_verse.nd_array.Array.decode(e,e.uint32());break;case 2:i.currentPlayer=e.string();break;case 3:i.actionMask=o.cogment_verse.nd_array.Array.decode(e,e.uint32());break;case 4:i.renderedFrame=e.bytes();break;case 5:i.overriddenPlayers&&i.overriddenPlayers.length||(i.overriddenPlayers=[]),i.overriddenPlayers.push(e.string());break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t,r={};if(null!=e.value&&e.hasOwnProperty("value")&&(t=o.cogment_verse.nd_array.Array.verify(e.value)))return"value."+t;if(null!=e.currentPlayer&&e.hasOwnProperty("currentPlayer")&&(r._currentPlayer=1,!n.isString(e.currentPlayer)))return"currentPlayer: string expected";if(null!=e.actionMask&&e.hasOwnProperty("actionMask")&&(r._actionMask=1,t=o.cogment_verse.nd_array.Array.verify(e.actionMask)))return"actionMask."+t;if(null!=e.renderedFrame&&e.hasOwnProperty("renderedFrame")&&(r._renderedFrame=1,!(e.renderedFrame&&"number"===typeof e.renderedFrame.length||n.isString(e.renderedFrame))))return"renderedFrame: buffer expected";if(null!=e.overriddenPlayers&&e.hasOwnProperty("overriddenPlayers")){if(!Array.isArray(e.overriddenPlayers))return"overriddenPlayers: array expected";for(var i=0;i=0&&(t.renderedFrame=e.renderedFrame)),e.overriddenPlayers){if(!Array.isArray(e.overriddenPlayers))throw TypeError(".cogment_verse.Observation.overriddenPlayers: array expected");t.overriddenPlayers=[];for(var r=0;r>>3===1?i.value=o.cogment_verse.nd_array.Array.decode(e,e.uint32()):e.skipType(7&a)}return i},n.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},n.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.value&&e.hasOwnProperty("value")){var t=o.cogment_verse.nd_array.Array.verify(e.value);if(t)return"value."+t}return null},n.fromObject=function(e){if(e instanceof o.cogment_verse.PlayerAction)return e;var t=new o.cogment_verse.PlayerAction;if(null!=e.value){if("object"!==typeof e.value)throw TypeError(".cogment_verse.PlayerAction.value: object expected");t.value=o.cogment_verse.nd_array.Array.fromObject(e.value)}return t},n.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.value=null),null!=e.value&&e.hasOwnProperty("value")&&(r.value=o.cogment_verse.nd_array.Array.toObject(e.value,t)),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},n.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.PlayerAction"},n}(),i.TeacherAction=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1?i.value=o.cogment_verse.nd_array.Array.decode(e,e.uint32()):e.skipType(7&a)}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t={};if(null!=e.value&&e.hasOwnProperty("value")){t._value=1;var r=o.cogment_verse.nd_array.Array.verify(e.value);if(r)return"value."+r}return null},i.fromObject=function(e){if(e instanceof o.cogment_verse.TeacherAction)return e;var t=new o.cogment_verse.TeacherAction;if(null!=e.value){if("object"!==typeof e.value)throw TypeError(".cogment_verse.TeacherAction.value: object expected");t.value=o.cogment_verse.nd_array.Array.fromObject(e.value)}return t},i.toObject=function(e,t){t||(t={});var r={};return null!=e.value&&e.hasOwnProperty("value")&&(r.value=o.cogment_verse.nd_array.Array.toObject(e.value,t),t.oneofs&&(r._value="value")),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.TeacherAction"},i}(),i.ObserverAction=function(){function n(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.dtype=e.int32();break;case 2:if(i.shape&&i.shape.length||(i.shape=[]),2===(7&a))for(var s=e.uint32()+e.pos;e.pos>>0}if(null!=e.rawData&&("string"===typeof e.rawData?n.base64.decode(e.rawData,t.rawData=n.newBuffer(n.base64.length(e.rawData)),0):e.rawData.length>=0&&(t.rawData=e.rawData)),null!=e.npyData&&("string"===typeof e.npyData?n.base64.decode(e.npyData,t.npyData=n.newBuffer(n.base64.length(e.npyData)),0):e.npyData.length>=0&&(t.npyData=e.npyData)),e.doubleData){if(!i.isArray(e.doubleData))throw TypeError(".cogment_verse.nd_array.Array.doubleData: array expected");for(t.doubleData=[],r=0;r>>0,e.int64Data[r].high>>>0).toNumber())}return t},i.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.shape=[],r.doubleData=[],r.int32Data=[],r.int64Data=[]),t.defaults&&(r.dtype=t.enums===String?"DTYPE_UNKNOWN":0,t.bytes===String?r.rawData="":(r.rawData=[],t.bytes!==i&&(r.rawData=n.newBuffer(r.rawData))),t.bytes===String?r.npyData="":(r.npyData=[],t.bytes!==i&&(r.npyData=n.newBuffer(r.npyData)))),null!=e.dtype&&e.hasOwnProperty("dtype")&&(r.dtype=t.enums===String?o.cogment_verse.nd_array.DType[e.dtype]:e.dtype),e.shape&&e.shape.length){r.shape=[];for(var a=0;a>>0,e.int64Data[a].high>>>0).toNumber():e.int64Data[a];return r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.nd_array.Array"},i}(),i}(),i.spaces=function(){var i={};return i.Discrete=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.n=e.int32();break;case 2:i.start=e.int32();break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.n&&e.hasOwnProperty("n")&&!n.isInteger(e.n)?"n: integer expected":null!=e.start&&e.hasOwnProperty("start")&&!n.isInteger(e.start)?"start: integer expected":null},i.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Discrete)return e;var t=new o.cogment_verse.spaces.Discrete;return null!=e.n&&(t.n=0|e.n),null!=e.start&&(t.start=0|e.start),t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.n=0,r.start=0),null!=e.n&&e.hasOwnProperty("n")&&(r.n=e.n),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Discrete"},i}(),i.Box=function(){function n(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:i.low=o.cogment_verse.nd_array.Array.decode(e,e.uint32());break;case 3:i.high=o.cogment_verse.nd_array.Array.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},n.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},n.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.low&&e.hasOwnProperty("low")&&(t=o.cogment_verse.nd_array.Array.verify(e.low))?"low."+t:null!=e.high&&e.hasOwnProperty("high")&&(t=o.cogment_verse.nd_array.Array.verify(e.high))?"high."+t:null;var t},n.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Box)return e;var t=new o.cogment_verse.spaces.Box;if(null!=e.low){if("object"!==typeof e.low)throw TypeError(".cogment_verse.spaces.Box.low: object expected");t.low=o.cogment_verse.nd_array.Array.fromObject(e.low)}if(null!=e.high){if("object"!==typeof e.high)throw TypeError(".cogment_verse.spaces.Box.high: object expected");t.high=o.cogment_verse.nd_array.Array.fromObject(e.high)}return t},n.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.low=null,r.high=null),null!=e.low&&e.hasOwnProperty("low")&&(r.low=o.cogment_verse.nd_array.Array.toObject(e.low,t)),null!=e.high&&e.hasOwnProperty("high")&&(r.high=o.cogment_verse.nd_array.Array.toObject(e.high,t)),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},n.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Box"},n}(),i.Dict=function(){function i(e){if(this.spaces=[],e)for(var t=Object.keys(e),r=0;r>>3===1?(i.spaces&&i.spaces.length||(i.spaces=[]),i.spaces.push(o.cogment_verse.spaces.Dict.SubSpace.decode(e,e.uint32()))):e.skipType(7&a)}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.spaces&&e.hasOwnProperty("spaces")){if(!Array.isArray(e.spaces))return"spaces: array expected";for(var t=0;t>>3){case 1:i.key=e.string();break;case 2:i.space=o.cogment_verse.spaces.Space.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.key&&e.hasOwnProperty("key")&&!n.isString(e.key))return"key: string expected";if(null!=e.space&&e.hasOwnProperty("space")){var t=o.cogment_verse.spaces.Space.verify(e.space);if(t)return"space."+t}return null},i.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Dict.SubSpace)return e;var t=new o.cogment_verse.spaces.Dict.SubSpace;if(null!=e.key&&(t.key=String(e.key)),null!=e.space){if("object"!==typeof e.space)throw TypeError(".cogment_verse.spaces.Dict.SubSpace.space: object expected");t.space=o.cogment_verse.spaces.Space.fromObject(e.space)}return t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.key="",r.space=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=e.key),null!=e.space&&e.hasOwnProperty("space")&&(r.space=o.cogment_verse.spaces.Space.toObject(e.space,t)),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Dict.SubSpace"},i}(),i}(),i.Space=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.discrete=o.cogment_verse.spaces.Discrete.decode(e,e.uint32());break;case 2:i.box=o.cogment_verse.spaces.Box.decode(e,e.uint32());break;case 3:i.dict=o.cogment_verse.spaces.Dict.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t={};if(null!=e.discrete&&e.hasOwnProperty("discrete")&&(t.kind=1,r=o.cogment_verse.spaces.Discrete.verify(e.discrete)))return"discrete."+r;if(null!=e.box&&e.hasOwnProperty("box")){if(1===t.kind)return"kind: multiple values";if(t.kind=1,r=o.cogment_verse.spaces.Box.verify(e.box))return"box."+r}if(null!=e.dict&&e.hasOwnProperty("dict")){if(1===t.kind)return"kind: multiple values";var r;if(t.kind=1,r=o.cogment_verse.spaces.Dict.verify(e.dict))return"dict."+r}return null},i.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Space)return e;var t=new o.cogment_verse.spaces.Space;if(null!=e.discrete){if("object"!==typeof e.discrete)throw TypeError(".cogment_verse.spaces.Space.discrete: object expected");t.discrete=o.cogment_verse.spaces.Discrete.fromObject(e.discrete)}if(null!=e.box){if("object"!==typeof e.box)throw TypeError(".cogment_verse.spaces.Space.box: object expected");t.box=o.cogment_verse.spaces.Box.fromObject(e.box)}if(null!=e.dict){if("object"!==typeof e.dict)throw TypeError(".cogment_verse.spaces.Space.dict: object expected");t.dict=o.cogment_verse.spaces.Dict.fromObject(e.dict)}return t},i.toObject=function(e,t){t||(t={});var r={};return null!=e.discrete&&e.hasOwnProperty("discrete")&&(r.discrete=o.cogment_verse.spaces.Discrete.toObject(e.discrete,t),t.oneofs&&(r.kind="discrete")),null!=e.box&&e.hasOwnProperty("box")&&(r.box=o.cogment_verse.spaces.Box.toObject(e.box,t),t.oneofs&&(r.kind="box")),null!=e.dict&&e.hasOwnProperty("dict")&&(r.dict=o.cogment_verse.spaces.Dict.toObject(e.dict,t),t.oneofs&&(r.kind="dict")),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Space"},i}(),i}(),i}(),o})?n.apply(t,o):n)||(e.exports=i)},666:function(e,t,r){var n,o,i;o=[r(886)],void 0===(i="function"===typeof(n=function(e){"use strict";var t=e.Reader,r=e.Writer,n=e.util,o=e.roots.default||(e.roots.default={});return o.cogment_verse=function(){var i={};return i.nd_array=function(){var i={};return i.DType=function(){var e={},t=Object.create(e);return t[e[0]="DTYPE_UNKNOWN"]=0,t[e[1]="DTYPE_FLOAT32"]=1,t[e[2]="DTYPE_FLOAT64"]=2,t[e[3]="DTYPE_INT8"]=3,t[e[4]="DTYPE_INT64"]=4,t}(),i.Array=function(){function i(e){if(this.shape=[],this.doubleData=[],this.int32Data=[],this.int64Data=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.dtype=e.int32();break;case 2:if(i.shape&&i.shape.length||(i.shape=[]),2===(7&a))for(var s=e.uint32()+e.pos;e.pos>>0}if(null!=e.rawData&&("string"===typeof e.rawData?n.base64.decode(e.rawData,t.rawData=n.newBuffer(n.base64.length(e.rawData)),0):e.rawData.length>=0&&(t.rawData=e.rawData)),null!=e.npyData&&("string"===typeof e.npyData?n.base64.decode(e.npyData,t.npyData=n.newBuffer(n.base64.length(e.npyData)),0):e.npyData.length>=0&&(t.npyData=e.npyData)),e.doubleData){if(!i.isArray(e.doubleData))throw TypeError(".cogment_verse.nd_array.Array.doubleData: array expected");for(t.doubleData=[],r=0;r>>0,e.int64Data[r].high>>>0).toNumber())}return t},i.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.shape=[],r.doubleData=[],r.int32Data=[],r.int64Data=[]),t.defaults&&(r.dtype=t.enums===String?"DTYPE_UNKNOWN":0,t.bytes===String?r.rawData="":(r.rawData=[],t.bytes!==i&&(r.rawData=n.newBuffer(r.rawData))),t.bytes===String?r.npyData="":(r.npyData=[],t.bytes!==i&&(r.npyData=n.newBuffer(r.npyData)))),null!=e.dtype&&e.hasOwnProperty("dtype")&&(r.dtype=t.enums===String?o.cogment_verse.nd_array.DType[e.dtype]:e.dtype),e.shape&&e.shape.length){r.shape=[];for(var a=0;a>>0,e.int64Data[a].high>>>0).toNumber():e.int64Data[a];return r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.nd_array.Array"},i}(),i}(),i}(),o})?n.apply(t,o):n)||(e.exports=i)},286:function(e,t,r){var n,o,i;o=[r(886)],void 0===(i="function"===typeof(n=function(e){"use strict";var t=e.Reader,r=e.Writer,n=e.util,o=e.roots.default||(e.roots.default={});return o.cogment_verse=function(){var i={};return i.spaces=function(){var i={};return i.Discrete=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.n=e.int32();break;case 2:i.start=e.int32();break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.n&&e.hasOwnProperty("n")&&!n.isInteger(e.n)?"n: integer expected":null!=e.start&&e.hasOwnProperty("start")&&!n.isInteger(e.start)?"start: integer expected":null},i.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Discrete)return e;var t=new o.cogment_verse.spaces.Discrete;return null!=e.n&&(t.n=0|e.n),null!=e.start&&(t.start=0|e.start),t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.n=0,r.start=0),null!=e.n&&e.hasOwnProperty("n")&&(r.n=e.n),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Discrete"},i}(),i.Box=function(){function n(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:i.low=o.cogment_verse.nd_array.Array.decode(e,e.uint32());break;case 3:i.high=o.cogment_verse.nd_array.Array.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},n.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},n.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.low&&e.hasOwnProperty("low")&&(t=o.cogment_verse.nd_array.Array.verify(e.low))?"low."+t:null!=e.high&&e.hasOwnProperty("high")&&(t=o.cogment_verse.nd_array.Array.verify(e.high))?"high."+t:null;var t},n.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Box)return e;var t=new o.cogment_verse.spaces.Box;if(null!=e.low){if("object"!==typeof e.low)throw TypeError(".cogment_verse.spaces.Box.low: object expected");t.low=o.cogment_verse.nd_array.Array.fromObject(e.low)}if(null!=e.high){if("object"!==typeof e.high)throw TypeError(".cogment_verse.spaces.Box.high: object expected");t.high=o.cogment_verse.nd_array.Array.fromObject(e.high)}return t},n.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.low=null,r.high=null),null!=e.low&&e.hasOwnProperty("low")&&(r.low=o.cogment_verse.nd_array.Array.toObject(e.low,t)),null!=e.high&&e.hasOwnProperty("high")&&(r.high=o.cogment_verse.nd_array.Array.toObject(e.high,t)),r},n.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},n.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Box"},n}(),i.Dict=function(){function i(e){if(this.spaces=[],e)for(var t=Object.keys(e),r=0;r>>3===1?(i.spaces&&i.spaces.length||(i.spaces=[]),i.spaces.push(o.cogment_verse.spaces.Dict.SubSpace.decode(e,e.uint32()))):e.skipType(7&a)}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.spaces&&e.hasOwnProperty("spaces")){if(!Array.isArray(e.spaces))return"spaces: array expected";for(var t=0;t>>3){case 1:i.key=e.string();break;case 2:i.space=o.cogment_verse.spaces.Space.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.key&&e.hasOwnProperty("key")&&!n.isString(e.key))return"key: string expected";if(null!=e.space&&e.hasOwnProperty("space")){var t=o.cogment_verse.spaces.Space.verify(e.space);if(t)return"space."+t}return null},i.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Dict.SubSpace)return e;var t=new o.cogment_verse.spaces.Dict.SubSpace;if(null!=e.key&&(t.key=String(e.key)),null!=e.space){if("object"!==typeof e.space)throw TypeError(".cogment_verse.spaces.Dict.SubSpace.space: object expected");t.space=o.cogment_verse.spaces.Space.fromObject(e.space)}return t},i.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.key="",r.space=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=e.key),null!=e.space&&e.hasOwnProperty("space")&&(r.space=o.cogment_verse.spaces.Space.toObject(e.space,t)),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Dict.SubSpace"},i}(),i}(),i.Space=function(){function i(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.discrete=o.cogment_verse.spaces.Discrete.decode(e,e.uint32());break;case 2:i.box=o.cogment_verse.spaces.Box.decode(e,e.uint32());break;case 3:i.dict=o.cogment_verse.spaces.Dict.decode(e,e.uint32());break;default:e.skipType(7&a)}}return i},i.decodeDelimited=function(e){return e instanceof t||(e=new t(e)),this.decode(e,e.uint32())},i.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t={};if(null!=e.discrete&&e.hasOwnProperty("discrete")&&(t.kind=1,r=o.cogment_verse.spaces.Discrete.verify(e.discrete)))return"discrete."+r;if(null!=e.box&&e.hasOwnProperty("box")){if(1===t.kind)return"kind: multiple values";if(t.kind=1,r=o.cogment_verse.spaces.Box.verify(e.box))return"box."+r}if(null!=e.dict&&e.hasOwnProperty("dict")){if(1===t.kind)return"kind: multiple values";var r;if(t.kind=1,r=o.cogment_verse.spaces.Dict.verify(e.dict))return"dict."+r}return null},i.fromObject=function(e){if(e instanceof o.cogment_verse.spaces.Space)return e;var t=new o.cogment_verse.spaces.Space;if(null!=e.discrete){if("object"!==typeof e.discrete)throw TypeError(".cogment_verse.spaces.Space.discrete: object expected");t.discrete=o.cogment_verse.spaces.Discrete.fromObject(e.discrete)}if(null!=e.box){if("object"!==typeof e.box)throw TypeError(".cogment_verse.spaces.Space.box: object expected");t.box=o.cogment_verse.spaces.Box.fromObject(e.box)}if(null!=e.dict){if("object"!==typeof e.dict)throw TypeError(".cogment_verse.spaces.Space.dict: object expected");t.dict=o.cogment_verse.spaces.Dict.fromObject(e.dict)}return t},i.toObject=function(e,t){t||(t={});var r={};return null!=e.discrete&&e.hasOwnProperty("discrete")&&(r.discrete=o.cogment_verse.spaces.Discrete.toObject(e.discrete,t),t.oneofs&&(r.kind="discrete")),null!=e.box&&e.hasOwnProperty("box")&&(r.box=o.cogment_verse.spaces.Box.toObject(e.box,t),t.oneofs&&(r.kind="box")),null!=e.dict&&e.hasOwnProperty("dict")&&(r.dict=o.cogment_verse.spaces.Dict.toObject(e.dict,t),t.oneofs&&(r.kind="dict")),r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.spaces.Space"},i}(),i}(),i.nd_array=function(){var i={};return i.DType=function(){var e={},t=Object.create(e);return t[e[0]="DTYPE_UNKNOWN"]=0,t[e[1]="DTYPE_FLOAT32"]=1,t[e[2]="DTYPE_FLOAT64"]=2,t[e[3]="DTYPE_INT8"]=3,t[e[4]="DTYPE_INT64"]=4,t}(),i.Array=function(){function i(e){if(this.shape=[],this.doubleData=[],this.int32Data=[],this.int64Data=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:i.dtype=e.int32();break;case 2:if(i.shape&&i.shape.length||(i.shape=[]),2===(7&a))for(var s=e.uint32()+e.pos;e.pos>>0}if(null!=e.rawData&&("string"===typeof e.rawData?n.base64.decode(e.rawData,t.rawData=n.newBuffer(n.base64.length(e.rawData)),0):e.rawData.length>=0&&(t.rawData=e.rawData)),null!=e.npyData&&("string"===typeof e.npyData?n.base64.decode(e.npyData,t.npyData=n.newBuffer(n.base64.length(e.npyData)),0):e.npyData.length>=0&&(t.npyData=e.npyData)),e.doubleData){if(!i.isArray(e.doubleData))throw TypeError(".cogment_verse.nd_array.Array.doubleData: array expected");for(t.doubleData=[],r=0;r>>0,e.int64Data[r].high>>>0).toNumber())}return t},i.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.shape=[],r.doubleData=[],r.int32Data=[],r.int64Data=[]),t.defaults&&(r.dtype=t.enums===String?"DTYPE_UNKNOWN":0,t.bytes===String?r.rawData="":(r.rawData=[],t.bytes!==i&&(r.rawData=n.newBuffer(r.rawData))),t.bytes===String?r.npyData="":(r.npyData=[],t.bytes!==i&&(r.npyData=n.newBuffer(r.npyData)))),null!=e.dtype&&e.hasOwnProperty("dtype")&&(r.dtype=t.enums===String?o.cogment_verse.nd_array.DType[e.dtype]:e.dtype),e.shape&&e.shape.length){r.shape=[];for(var a=0;a>>0,e.int64Data[a].high>>>0).toNumber():e.int64Data[a];return r},i.prototype.toJSON=function(){return this.constructor.toObject(this,e.util.toJSONOptions)},i.getTypeUrl=function(){return"type.googleapis.com/cogment_verse.nd_array.Array"},i}(),i}(),i}(),o})?n.apply(t,o):n)||(e.exports=i)},835:function(module){(function(){var __webpack_modules__={"./node_modules/@improbable-eng/grpc-web/dist/grpc-web-client.umd.js":function(e){e.exports=function(){return e={418:function(e,t){!function(e,t){for(var r in t)e[r]=t[r]}(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),o=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={splitValues:!1});var r,o=this;this.headersMap={},e&&("undefined"!=typeof Headers&&e instanceof Headers?n.getHeaderKeys(e).forEach((function(r){n.getHeaderValues(e,r).forEach((function(e){t.splitValues?o.append(r,n.splitHeaderValue(e)):o.append(r,e)}))})):"object"==typeof(r=e)&&"object"==typeof r.headersMap&&"function"==typeof r.forEach?e.forEach((function(e,t){o.append(e,t)})):"undefined"!=typeof Map&&e instanceof Map?e.forEach((function(e,t){o.append(t,e)})):"string"==typeof e?this.appendFromString(e):"object"==typeof e&&Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];Array.isArray(r)?r.forEach((function(e){o.append(t,e)})):o.append(t,r)})))}return e.prototype.appendFromString=function(e){for(var t=e.split("\r\n"),r=0;r0){var i=n.substring(0,o).trim(),a=n.substring(o+1).trim();this.append(i,a)}}},e.prototype.delete=function(e,t){var r=n.normalizeName(e);if(void 0===t)delete this.headersMap[r];else{var o=this.headersMap[r];if(o){var i=o.indexOf(t);i>=0&&o.splice(i,1),0===o.length&&delete this.headersMap[r]}}},e.prototype.append=function(e,t){var r=this,o=n.normalizeName(e);Array.isArray(this.headersMap[o])||(this.headersMap[o]=[]),Array.isArray(t)?t.forEach((function(e){r.headersMap[o].push(n.normalizeValue(e))})):this.headersMap[o].push(n.normalizeValue(t))},e.prototype.set=function(e,t){var r=n.normalizeName(e);if(Array.isArray(t)){var o=[];t.forEach((function(e){o.push(n.normalizeValue(e))})),this.headersMap[r]=o}else this.headersMap[r]=[n.normalizeValue(t)]},e.prototype.has=function(e,t){var r=this.headersMap[n.normalizeName(e)];if(!Array.isArray(r))return!1;if(void 0!==t){var o=n.normalizeValue(t);return r.indexOf(o)>=0}return!0},e.prototype.get=function(e){var t=this.headersMap[n.normalizeName(e)];return void 0!==t?t.concat():[]},e.prototype.forEach=function(e){var t=this;Object.getOwnPropertyNames(this.headersMap).forEach((function(r){e(r,t.headersMap[r])}),this)},e.prototype.toHeaders=function(){if("undefined"!=typeof Headers){var e=new Headers;return this.forEach((function(t,r){r.forEach((function(r){e.append(t,r)}))})),e}throw new Error("Headers class is not defined")},e}();t.BrowserHeaders=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.BrowserHeaders=n.BrowserHeaders},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterateHeaders=function(e,t){for(var r=e[Symbol.iterator](),n=r.next();!n.done;)t(n.value[0]),n=r.next()},t.iterateHeadersKeys=function(e,t){for(var r=e.keys(),n=r.next();!n.done;)t(n.value),n=r.next()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);t.normalizeName=function(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},t.normalizeValue=function(e){return"string"!=typeof e&&(e=String(e)),e},t.getHeaderValues=function(e,t){var r=e;if(r instanceof Headers&&r.getAll)return r.getAll(t);var n=r.get(t);return n&&"string"==typeof n?[n]:n},t.getHeaderKeys=function(e){var t=e,r={},o=[];return t.keys?n.iterateHeadersKeys(t,(function(e){r[e]||(r[e]=!0,o.push(e))})):t.forEach?t.forEach((function(e,t){r[t]||(r[t]=!0,o.push(t))})):n.iterateHeaders(t,(function(e){var t=e[0];r[t]||(r[t]=!0,o.push(t))})),o},t.splitHeaderValue=function(e){var t=[];return e.split(", ").forEach((function(e){e.split(",").forEach((function(e){t.push(e)}))})),t}}]))},617:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkParser=t.ChunkType=t.encodeASCII=t.decodeASCII=void 0;var n,o=r(65);function i(e){return 9===(t=e)||10===t||13===t||e>=32&&e<=126;var t}function a(e){for(var t=0;t!==e.length;++t)if(!i(e[t]))throw new Error("Metadata is not valid (printable) ASCII");return String.fromCharCode.apply(String,Array.prototype.slice.call(e))}function s(e){return 128==(128&e.getUint8(0))}function u(e){return e.getUint32(1,!1)}function l(e,t,r){return e.byteLength-t>=r}function c(e,t,r){if(e.slice)return e.slice(t,r);var n=e.length;void 0!==r&&(n=r);for(var o=new Uint8Array(n-t),i=0,a=t;a=0?r:i.httpStatusToCode(t);this.props.debug&&a.debug("onHeaders.code",n);var o=e.get("grpc-message")||[];if(this.props.debug&&a.debug("onHeaders.gRPCMessage",o),this.rawOnHeaders(e),n!==i.Code.OK){var s=this.decodeGRPCStatus(o[0]);this.rawOnError(n,s,e)}}},e.prototype.onTransportChunk=function(e){var t=this;if(this.closed)this.props.debug&&a.debug("grpc.onChunk received after request was closed - ignoring");else{var r=[];try{r=this.parser.parse(e)}catch(e){return this.props.debug&&a.debug("onChunk.parsing error",e,e.message),void this.rawOnError(i.Code.Internal,"parsing error: "+e.message)}r.forEach((function(e){if(e.chunkType===o.ChunkType.MESSAGE){var r=t.methodDefinition.responseType.deserializeBinary(e.data);t.rawOnMessage(r)}else e.chunkType===o.ChunkType.TRAILERS&&(t.responseHeaders?(t.responseTrailers=new n.Metadata(e.trailers),t.props.debug&&a.debug("onChunk.trailers",t.responseTrailers)):(t.responseHeaders=new n.Metadata(e.trailers),t.rawOnHeaders(t.responseHeaders)))}))}},e.prototype.onTransportEnd=function(){if(this.props.debug&&a.debug("grpc.onEnd"),this.closed)this.props.debug&&a.debug("grpc.onEnd received after request was closed - ignoring");else if(void 0!==this.responseTrailers){var e=c(this.responseTrailers);if(null!==e){var t=this.responseTrailers.get("grpc-message"),r=this.decodeGRPCStatus(t[0]);this.rawOnEnd(e,r,this.responseTrailers)}else this.rawOnError(i.Code.Internal,"Response closed without grpc-status (Trailers provided)")}else{if(void 0===this.responseHeaders)return void this.rawOnError(i.Code.Unknown,"Response closed without headers");var n=c(this.responseHeaders),o=this.responseHeaders.get("grpc-message");if(this.props.debug&&a.debug("grpc.headers only response ",n,o),null===n)return void this.rawOnEnd(i.Code.Unknown,"Response closed without grpc-status (Headers only)",this.responseHeaders);var s=this.decodeGRPCStatus(o[0]);this.rawOnEnd(n,s,this.responseHeaders)}},e.prototype.decodeGRPCStatus=function(e){if(!e)return"";try{return decodeURIComponent(e)}catch(t){return e}},e.prototype.rawOnEnd=function(e,t,r){var n=this;this.props.debug&&a.debug("rawOnEnd",e,t,r),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(o){if(!n.closed)try{o(e,t,r)}catch(e){setTimeout((function(){throw e}),0)}})))},e.prototype.rawOnHeaders=function(e){this.props.debug&&a.debug("rawOnHeaders",e),this.completed||this.onHeadersCallbacks.forEach((function(t){try{t(e)}catch(e){setTimeout((function(){throw e}),0)}}))},e.prototype.rawOnError=function(e,t,r){var o=this;void 0===r&&(r=new n.Metadata),this.props.debug&&a.debug("rawOnError",e,t),this.completed||(this.completed=!0,this.onEndCallbacks.forEach((function(n){if(!o.closed)try{n(e,t,r)}catch(e){setTimeout((function(){throw e}),0)}})))},e.prototype.rawOnMessage=function(e){var t=this;this.props.debug&&a.debug("rawOnMessage",e.toObject()),this.completed||this.closed||this.onMessageCallbacks.forEach((function(r){if(!t.closed)try{r(e)}catch(e){setTimeout((function(){throw e}),0)}}))},e.prototype.onHeaders=function(e){this.onHeadersCallbacks.push(e)},e.prototype.onMessage=function(e){this.onMessageCallbacks.push(e)},e.prototype.onEnd=function(e){this.onEndCallbacks.push(e)},e.prototype.start=function(e){if(this.started)throw new Error("Client already started - cannot .start()");this.started=!0;var t=new n.Metadata(e||{});t.set("content-type","application/grpc-web+proto"),t.set("x-grpc-web","1"),this.transport.start(t)},e.prototype.send=function(e){if(!this.started)throw new Error("Client not started - .start() must be called before .send()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .send()");if(!this.methodDefinition.requestStream&&this.sentFirstMessage)throw new Error("Message already sent for non-client-streaming method - cannot .send()");this.sentFirstMessage=!0;var t=u.frameRequest(e);this.transport.sendMessage(t)},e.prototype.finishSend=function(){if(!this.started)throw new Error("Client not started - .finishSend() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .send()");if(this.finishedSending)throw new Error("Client already finished sending - cannot .finishSend()");this.finishedSending=!0,this.transport.finishSend()},e.prototype.close=function(){if(!this.started)throw new Error("Client not started - .start() must be called before .close()");if(this.closed)throw new Error("Client already closed - cannot .close()");this.closed=!0,this.props.debug&&a.debug("request.abort aborting request"),this.transport.cancel()},e}();function c(e){var t=e.get("grpc-status")||[];if(t.length>0)try{var r=t[0];return parseInt(r,10)}catch(e){return null}return null}},346:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debug=void 0,t.debug=function(){for(var e=[],t=0;t=55296&&r<=56319){var n=e.charCodeAt(t+1);n>=56320&&n<=57343&&(r=65536+(r-55296<<10)+(n-56320))}return r}function g(e){for(var t=new Uint8Array(e.length),r=0,n=0;n1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var n=new Array(64),o=new Array(123),i=0;i<64;)o[n[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;r.encode=function(e,t,r){for(var o,i=null,a=[],s=0,u=0;t>2],o=(3&l)<<4,u=1;break;case 1:a[s++]=n[o|l>>4],o=(15&l)<<2,u=2;break;case 2:a[s++]=n[o|l>>6],a[s++]=n[63&l],u=0}s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),s=0)}return u&&(a[s++]=n[o],a[s++]=61,1===u&&(a[s++]=61)),i?(s&&i.push(String.fromCharCode.apply(String,a.slice(0,s))),i.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";r.decode=function(e,t,r){for(var n,i=r,s=0,u=0;u1)break;if(void 0===(l=o[l]))throw Error(a);switch(s){case 0:n=l,s=1;break;case 1:t[r++]=n<<2|(48&l)>>4,n=l,s=2;break;case 2:t[r++]=(15&n)<<4|(60&l)>>2,n=l,s=3;break;case 3:t[r++]=(3&n)<<6|l,s=0}}if(1===s)throw Error(a);return r-i},r.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},"./node_modules/@protobufjs/eventemitter/index.js":function(e){"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2);e((o<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,r,n)}}function a(e,t,r){var n=e(t,r),o=2*(n>>31)+1,i=n>>>23&255,a=8388607&n;return 255===i?a?NaN:o*(1/0):0===i?1401298464324817e-60*o*a:o*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=a.bind(null,o),e.readFloatBE=a.bind(null,i)}(),"undefined"!==typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3],n[o+4]=r[4],n[o+5]=r[5],n[o+6]=r[6],n[o+7]=r[7]}function i(e,n,o){t[0]=e,n[o]=r[7],n[o+1]=r[6],n[o+2]=r[5],n[o+3]=r[4],n[o+4]=r[3],n[o+5]=r[2],n[o+6]=r[1],n[o+7]=r[0]}function a(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function s(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?o:i,e.writeDoubleBE=n?i:o,e.readDoubleLE=n?a:s,e.readDoubleBE=n?s:a}():function(){function t(e,t,r,n,o,i){var a=n<0?1:0;if(a&&(n=-n),0===n)e(0,o,i+t),e(1/n>0?0:2147483648,o,i+r);else if(isNaN(n))e(0,o,i+t),e(2146959360,o,i+r);else if(n>17976931348623157e292)e(0,o,i+t),e((a<<31|2146435072)>>>0,o,i+r);else{var s;if(n<22250738585072014e-324)e((s=n/5e-324)>>>0,o,i+t),e((a<<31|s/4294967296)>>>0,o,i+r);else{var u=Math.floor(Math.log(n)/Math.LN2);1024===u&&(u=1023),e(4503599627370496*(s=n*Math.pow(2,-u))>>>0,o,i+t),e((a<<31|u+1023<<20|1048576*s&1048575)>>>0,o,i+r)}}}function a(e,t,r,n,o){var i=e(n,o+t),a=e(n,o+r),s=2*(a>>31)+1,u=a>>>20&2047,l=4294967296*(1048575&a)+i;return 2047===u?l?NaN:s*(1/0):0===u?5e-324*s*l:s*Math.pow(2,u-1075)*(l+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=a.bind(null,o,0,4),e.readDoubleBE=a.bind(null,i,4,0)}(),e}function r(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function n(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},"./node_modules/@protobufjs/inquire/index.js":function node_modulesProtobufjsInquireIndexJs(module){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},"./node_modules/@protobufjs/pool/index.js":function(e){"use strict";e.exports=function(e,t,r){var n=r||8192,o=n>>>1,i=null,a=n;return function(r){if(r<1||r>o)return e(r);a+r>n&&(i=e(n),a=0);var s=t.call(i,a,a+=r);return 7&a&&(a=1+(7|a)),s}}},"./node_modules/@protobufjs/utf8/index.js":function(e,t){"use strict";var r=t;r.length=function(e){for(var t=0,r=0,n=0;n191&&n<224?i[a++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[a++]=55296+(n>>10),i[a++]=56320+(1023&n)):i[a++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,i)),a=0);return o?(a&&o.push(String.fromCharCode.apply(String,i.slice(0,a))),o.join("")):String.fromCharCode.apply(String,i.slice(0,a))},r.write=function(e,t,r){for(var n,o,i=r,a=0;a>6|192,t[r++]=63&n|128):55296===(64512&n)&&56320===(64512&(o=e.charCodeAt(a+1)))?(n=65536+((1023&n)<<10)+(1023&o),++a,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-i}},"./node_modules/browser-headers/dist/browser-headers.umd.js":function(e){var t;t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),o=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={splitValues:!1});var r,o=this;this.headersMap={},e&&("undefined"!==typeof Headers&&e instanceof Headers?n.getHeaderKeys(e).forEach((function(r){n.getHeaderValues(e,r).forEach((function(e){t.splitValues?o.append(r,n.splitHeaderValue(e)):o.append(r,e)}))})):"object"===typeof(r=e)&&"object"===typeof r.headersMap&&"function"===typeof r.forEach?e.forEach((function(e,t){o.append(e,t)})):"undefined"!==typeof Map&&e instanceof Map?e.forEach((function(e,t){o.append(t,e)})):"string"===typeof e?this.appendFromString(e):"object"===typeof e&&Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];Array.isArray(r)?r.forEach((function(e){o.append(t,e)})):o.append(t,r)})))}return e.prototype.appendFromString=function(e){for(var t=e.split("\r\n"),r=0;r0){var i=n.substring(0,o).trim(),a=n.substring(o+1).trim();this.append(i,a)}}},e.prototype.delete=function(e,t){var r=n.normalizeName(e);if(void 0===t)delete this.headersMap[r];else{var o=this.headersMap[r];if(o){var i=o.indexOf(t);i>=0&&o.splice(i,1),0===o.length&&delete this.headersMap[r]}}},e.prototype.append=function(e,t){var r=this,o=n.normalizeName(e);Array.isArray(this.headersMap[o])||(this.headersMap[o]=[]),Array.isArray(t)?t.forEach((function(e){r.headersMap[o].push(n.normalizeValue(e))})):this.headersMap[o].push(n.normalizeValue(t))},e.prototype.set=function(e,t){var r=n.normalizeName(e);if(Array.isArray(t)){var o=[];t.forEach((function(e){o.push(n.normalizeValue(e))})),this.headersMap[r]=o}else this.headersMap[r]=[n.normalizeValue(t)]},e.prototype.has=function(e,t){var r=this.headersMap[n.normalizeName(e)];if(!Array.isArray(r))return!1;if(void 0!==t){var o=n.normalizeValue(t);return r.indexOf(o)>=0}return!0},e.prototype.get=function(e){var t=this.headersMap[n.normalizeName(e)];return void 0!==t?t.concat():[]},e.prototype.forEach=function(e){var t=this;Object.getOwnPropertyNames(this.headersMap).forEach((function(r){e(r,t.headersMap[r])}),this)},e.prototype.toHeaders=function(){if("undefined"!==typeof Headers){var e=new Headers;return this.forEach((function(t,r){r.forEach((function(r){e.append(t,r)}))})),e}throw new Error("Headers class is not defined")},e}();t.BrowserHeaders=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.BrowserHeaders=n.BrowserHeaders},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterateHeaders=function(e,t){for(var r=e[Symbol.iterator](),n=r.next();!n.done;)t(n.value[0]),n=r.next()},t.iterateHeadersKeys=function(e,t){for(var r=e.keys(),n=r.next();!n.done;)t(n.value),n=r.next()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);t.normalizeName=function(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()},t.normalizeValue=function(e){return"string"!==typeof e&&(e=String(e)),e},t.getHeaderValues=function(e,t){var r=e;if(r instanceof Headers&&r.getAll)return r.getAll(t);var n=r.get(t);return n&&"string"===typeof n?[n]:n},t.getHeaderKeys=function(e){var t=e,r={},o=[];return t.keys?n.iterateHeadersKeys(t,(function(e){r[e]||(r[e]=!0,o.push(e))})):t.forEach?t.forEach((function(e,t){r[t]||(r[t]=!0,o.push(t))})):n.iterateHeaders(t,(function(e){var t=e[0];r[t]||(r[t]=!0,o.push(t))})),o},t.splitHeaderValue=function(e){var t=[];return e.split(", ").forEach((function(e){e.split(",").forEach((function(e){t.push(e)}))})),t}}])},e.exports=t()},"./node_modules/google-protobuf/google-protobuf.js":function node_modulesGoogleProtobufGoogleProtobufJs(__unused_webpack_module,exports,__nested_webpack_require_86449__){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,r){e instanceof String&&(e=String(e));for(var n=e.length,o=0;o=n}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(e){return e||function(e,t){var r=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var n=r.length,o=e.length;t=Math.max(0,Math.min(0|t,r.length));for(var i=0;i=o}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279>>=1)&&(t+=t);return r}}),"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.isDef=function(e){return void 0!==e},goog.isString=function(e){return"string"==typeof e},goog.isBoolean=function(e){return"boolean"==typeof e},goog.isNumber=function(e){return"number"==typeof e},goog.exportPath_=function(e,t,r){e=e.split("."),r=r||goog.global,e[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)!e.length&&goog.isDef(t)?r[n]=t:r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}},goog.define=function(e,t){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,n=goog.global.CLOSURE_DEFINES;r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)?t=r[e]:n&&void 0===n.nodeType&&Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var r=e;(r=r.substring(0,r.lastIndexOf(".")))&&!goog.getObjectByName(r);)goog.implicitNamespaces_[r]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(!goog.isString(e)||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&("function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath())},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&goog.isDefAndNotNull(goog.getObjectByName(e))},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var r=0;r>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"===typeof e.clone)return e.clone();for(var r in t="array"==t?[]:{},e)t[r]=goog.cloneObject(e[r]);return t}return e},goog.bindNative_=function(e,t,r){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,r){if(!e)throw Error();if(2{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var r=this.createRequiresTranspilation_();this.requiresTranspilation_=r.map,this.transpilationTarget_=this.transpilationTarget_||r.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function r(){n&&(goog.global.setTimeout(n,0),n=null)}var n=t;if(e.length){t=[];for(var o=0;o<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(n):n)}else{var o=t.createElement("script");o.defer=goog.Dependency.defer_,o.async=!1,o.type="text/javascript",(n=goog.getScriptNonce())&&o.setAttribute("nonce",n),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(e.loaded(),e.resume())}):o.onload=function(){o.onload=null,e.loaded()},o.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(o)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,r,n,o){goog.Dependency.call(this,e,t,r,n,o)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,r=this;if(goog.isDocumentLoading_()){var n=function(e,r){e=r?'