From 8eb1937d228875cbfc506e9d1e57f649bf870c00 Mon Sep 17 00:00:00 2001 From: madflow Date: Mon, 30 Oct 2023 09:31:16 +0100 Subject: [PATCH] migrate to vite --- .github/workflows/test_js.yml | 43 +- web/.eslintrc.js | 33 + web/.nvmrc | 1 + web/build/asset-manifest.json | 22 - web/build/assets/index-b41087fd.css | 1 + web/build/assets/index-e9eca24e.js | 180 + web/build/assets/web-vitals-60d3425a.js | 1 + web/build/index.html | 20 +- web/build/static/css/main.0f6072c1.chunk.css | 4 - .../static/css/main.0f6072c1.chunk.css.map | 1 - web/build/static/js/2.071b5d19.chunk.js | 3 - .../static/js/2.071b5d19.chunk.js.LICENSE.txt | 56 - web/build/static/js/2.071b5d19.chunk.js.map | 1 - web/build/static/js/3.20685809.chunk.js | 2 - web/build/static/js/3.20685809.chunk.js.map | 1 - web/build/static/js/main.0bd0085c.chunk.js | 2 - .../static/js/main.0bd0085c.chunk.js.map | 1 - web/build/static/js/runtime-main.d43eed1c.js | 2 - .../static/js/runtime-main.d43eed1c.js.map | 1 - web/craco.config.js | 11 - web/{public => }/index.html | 5 +- web/package-lock.json | 35931 ---------------- web/package.json | 43 +- web/pnpm-lock.yaml | 4013 ++ web/postcss.config.js | 6 + web/src/{App.js => App.jsx} | 0 web/src/{Header.js => Header.jsx} | 0 web/src/{Header.test.js => Header.test.jsx} | 22 +- web/src/{Request.js => Request.jsx} | 0 web/src/{Request.test.js => Request.test.jsx} | 17 +- .../{RequestHeaders.js => RequestHeaders.jsx} | 0 ...eaders.test.js => RequestHeaders.test.jsx} | 4 +- .../{RequestParams.js => RequestParams.jsx} | 0 ...tParams.test.js => RequestParams.test.jsx} | 6 +- web/src/{Requests.js => Requests.jsx} | 0 .../{Requests.test.js => Requests.test.jsx} | 91 +- web/src/{SendRequest.js => SendRequest.jsx} | 0 ...ndRequest.test.js => SendRequest.test.jsx} | 24 +- .../{SendWebSocket.js => SendWebSocket.jsx} | 0 ...bSocket.test.js => SendWebSocket.test.jsx} | 14 +- web/src/{index.js => index.jsx} | 17 +- web/src/setupTests.js | 5 - web/tailwind.config.js | 24 +- web/vite.config.js | 23 + web/yarn.lock | 12126 ------ 45 files changed, 4453 insertions(+), 48304 deletions(-) create mode 100644 web/.eslintrc.js create mode 100644 web/.nvmrc delete mode 100644 web/build/asset-manifest.json create mode 100644 web/build/assets/index-b41087fd.css create mode 100644 web/build/assets/index-e9eca24e.js create mode 100644 web/build/assets/web-vitals-60d3425a.js delete mode 100644 web/build/static/css/main.0f6072c1.chunk.css delete mode 100644 web/build/static/css/main.0f6072c1.chunk.css.map delete mode 100644 web/build/static/js/2.071b5d19.chunk.js delete mode 100644 web/build/static/js/2.071b5d19.chunk.js.LICENSE.txt delete mode 100644 web/build/static/js/2.071b5d19.chunk.js.map delete mode 100644 web/build/static/js/3.20685809.chunk.js delete mode 100644 web/build/static/js/3.20685809.chunk.js.map delete mode 100644 web/build/static/js/main.0bd0085c.chunk.js delete mode 100644 web/build/static/js/main.0bd0085c.chunk.js.map delete mode 100644 web/build/static/js/runtime-main.d43eed1c.js delete mode 100644 web/build/static/js/runtime-main.d43eed1c.js.map delete mode 100644 web/craco.config.js rename web/{public => }/index.html (85%) delete mode 100644 web/package-lock.json create mode 100644 web/pnpm-lock.yaml create mode 100644 web/postcss.config.js rename web/src/{App.js => App.jsx} (100%) rename web/src/{Header.js => Header.jsx} (100%) rename web/src/{Header.test.js => Header.test.jsx} (92%) rename web/src/{Request.js => Request.jsx} (100%) rename web/src/{Request.test.js => Request.test.jsx} (87%) rename web/src/{RequestHeaders.js => RequestHeaders.jsx} (100%) rename web/src/{RequestHeaders.test.js => RequestHeaders.test.jsx} (86%) rename web/src/{RequestParams.js => RequestParams.jsx} (100%) rename web/src/{RequestParams.test.js => RequestParams.test.jsx} (90%) rename web/src/{Requests.js => Requests.jsx} (100%) rename web/src/{Requests.test.js => Requests.test.jsx} (73%) rename web/src/{SendRequest.js => SendRequest.jsx} (100%) rename web/src/{SendRequest.test.js => SendRequest.test.jsx} (86%) rename web/src/{SendWebSocket.js => SendWebSocket.jsx} (100%) rename web/src/{SendWebSocket.test.js => SendWebSocket.test.jsx} (91%) rename web/src/{index.js => index.jsx} (85%) delete mode 100644 web/src/setupTests.js create mode 100644 web/vite.config.js delete mode 100644 web/yarn.lock diff --git a/.github/workflows/test_js.yml b/.github/workflows/test_js.yml index a0fa51d..74b5e23 100644 --- a/.github/workflows/test_js.yml +++ b/.github/workflows/test_js.yml @@ -2,9 +2,9 @@ name: Test JS on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: @@ -14,14 +14,35 @@ jobs: working-directory: web steps: - - uses: actions/checkout@v2 - - name: Setup node 16 - uses: actions/setup-node@v2 - with: - node-version: '16' + - uses: actions/checkout@v3 + - name: Setup node 20 + uses: actions/setup-node@v3 + with: + node-version: "20" + - uses: pnpm/action-setup@v2 + name: Install pnpm + with: + version: 8 + run_install: false - - name: Install dependencies - run: yarn install + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - name: Run tests - run: yarn test + - uses: actions/cache@v3 + name: Setup pnpm cache + with: + path: ${{ env.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + + - name: Install dependencies + run: pnpm install + + - name: Lint + run: pnpm run lint + + - name: Test + run: pnpm run test diff --git a/web/.eslintrc.js b/web/.eslintrc.js new file mode 100644 index 0000000..a793b36 --- /dev/null +++ b/web/.eslintrc.js @@ -0,0 +1,33 @@ +module.exports = { + env: { + browser: true, + es2021: true, + }, + extends: ["eslint:recommended", "plugin:react/recommended"], + settings: { + react: { + version: "detect", + }, + }, + overrides: [ + { + env: { + node: true, + }, + files: [".eslintrc.{js,cjs}"], + parserOptions: { + sourceType: "script", + }, + }, + ], + parserOptions: { + ecmaVersion: "latest", + sourceType: "module", + }, + plugins: ["react"], + rules: { + "react/react-in-jsx-scope": "off", + "react/prop-types": "off", + "no-unused-vars": "off", + }, +}; diff --git a/web/.nvmrc b/web/.nvmrc new file mode 100644 index 0000000..9a2a0e2 --- /dev/null +++ b/web/.nvmrc @@ -0,0 +1 @@ +v20 diff --git a/web/build/asset-manifest.json b/web/build/asset-manifest.json deleted file mode 100644 index 936c95f..0000000 --- a/web/build/asset-manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "files": { - "main.css": "/static/css/main.0f6072c1.chunk.css", - "main.js": "/static/js/main.0bd0085c.chunk.js", - "main.js.map": "/static/js/main.0bd0085c.chunk.js.map", - "runtime-main.js": "/static/js/runtime-main.d43eed1c.js", - "runtime-main.js.map": "/static/js/runtime-main.d43eed1c.js.map", - "static/js/2.071b5d19.chunk.js": "/static/js/2.071b5d19.chunk.js", - "static/js/2.071b5d19.chunk.js.map": "/static/js/2.071b5d19.chunk.js.map", - "static/js/3.20685809.chunk.js": "/static/js/3.20685809.chunk.js", - "static/js/3.20685809.chunk.js.map": "/static/js/3.20685809.chunk.js.map", - "index.html": "/index.html", - "static/css/main.0f6072c1.chunk.css.map": "/static/css/main.0f6072c1.chunk.css.map", - "static/js/2.071b5d19.chunk.js.LICENSE.txt": "/static/js/2.071b5d19.chunk.js.LICENSE.txt" - }, - "entrypoints": [ - "static/js/runtime-main.d43eed1c.js", - "static/js/2.071b5d19.chunk.js", - "static/css/main.0f6072c1.chunk.css", - "static/js/main.0bd0085c.chunk.js" - ] -} \ No newline at end of file diff --git a/web/build/assets/index-b41087fd.css b/web/build/assets/index-b41087fd.css new file mode 100644 index 0000000..3a569de --- /dev/null +++ b/web/build/assets/index-b41087fd.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;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";-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}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,samp,pre{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:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(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}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.-m-4{margin:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-1{height:.25rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.w-1\/6{width:16.666667%}.w-10{width:2.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-max{width:-webkit-max-content;width:max-content}.max-w-2xl{max-width:42rem}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.self-start{align-self:flex-start}.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.tracking-widest{letter-spacing:.1em}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.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)}.transition-colors{transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-indigo-900:hover{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.focus\:bg-white:focus{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-red-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(254 202 202 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}@media (min-width: 640px){.sm\:w-1\/2{width:50%}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}}@media (min-width: 768px){.md\:mb-0{margin-bottom:0}.md\:ml-4{margin-left:1rem}.md\:ml-auto{margin-left:auto}.md\:mr-auto{margin-right:auto}.md\:w-1\/2{width:50%}.md\:w-2\/6{width:33.333333%}.md\:w-4\/6{width:66.666667%}.md\:w-56{width:14rem}.md\:flex-grow{flex-grow:1}.md\:flex-row{flex-direction:row}.md\:flex-nowrap{flex-wrap:nowrap}.md\:border-l{border-left-width:1px}.md\:border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.md\:py-1{padding-top:.25rem;padding-bottom:.25rem}.md\:pl-1{padding-left:.25rem}.md\:pl-4{padding-left:1rem}.md\:pr-1{padding-right:.25rem}}@media (min-width: 1024px){.lg\:mb-0{margin-bottom:0}.lg\:w-1\/2{width:50%}} diff --git a/web/build/assets/index-e9eca24e.js b/web/build/assets/index-e9eca24e.js new file mode 100644 index 0000000..978568f --- /dev/null +++ b/web/build/assets/index-e9eca24e.js @@ -0,0 +1,180 @@ +var km=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Nx=km((Dx,Wo)=>{function _m(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var un=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function tc(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Hp={exports:{}},ws={},Gp={exports:{}},ye={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var $o=Symbol.for("react.element"),Om=Symbol.for("react.portal"),Cm=Symbol.for("react.fragment"),Tm=Symbol.for("react.strict_mode"),Nm=Symbol.for("react.profiler"),jm=Symbol.for("react.provider"),Im=Symbol.for("react.context"),Dm=Symbol.for("react.forward_ref"),Pm=Symbol.for("react.suspense"),Rm=Symbol.for("react.memo"),Am=Symbol.for("react.lazy"),Of=Symbol.iterator;function Mm(e){return e===null||typeof e!="object"?null:(e=Of&&e[Of]||e["@@iterator"],typeof e=="function"?e:null)}var Kp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Yp=Object.assign,Jp={};function Mi(e,t,n){this.props=e,this.context=t,this.refs=Jp,this.updater=n||Kp}Mi.prototype.isReactComponent={};Mi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Mi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xp(){}Xp.prototype=Mi.prototype;function nc(e,t,n){this.props=e,this.context=t,this.refs=Jp,this.updater=n||Kp}var rc=nc.prototype=new Xp;rc.constructor=nc;Yp(rc,Mi.prototype);rc.isPureReactComponent=!0;var Cf=Array.isArray,Zp=Object.prototype.hasOwnProperty,ic={current:null},eh={key:!0,ref:!0,__self:!0,__source:!0};function th(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Zp.call(t,r)&&!eh.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,Z=G[se];if(0>>1;sei(Xe,H))Oei(Qe,Xe)?(G[se]=Qe,G[Oe]=H,se=Oe):(G[se]=Xe,G[we]=H,se=we);else if(Oei(Qe,H))G[se]=Qe,G[Oe]=H,se=Oe;else break e}}return Y}function i(G,Y){var H=G.sortIndex-Y.sortIndex;return H!==0?H:G.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,p=3,h=!1,g=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(G){for(var Y=n(u);Y!==null;){if(Y.callback===null)r(u);else if(Y.startTime<=G)r(u),Y.sortIndex=Y.expirationTime,t(l,Y);else break;Y=n(u)}}function d(G){if(E=!1,y(G),!g)if(n(l)!==null)g=!0,V(O);else{var Y=n(u);Y!==null&&ue(d,Y.startTime-G)}}function O(G,Y){g=!1,E&&(E=!1,v(D),D=-1),h=!0;var H=p;try{for(y(Y),f=n(l);f!==null&&(!(f.expirationTime>Y)||G&&!q());){var se=f.callback;if(typeof se=="function"){f.callback=null,p=f.priorityLevel;var Z=se(f.expirationTime<=Y);Y=e.unstable_now(),typeof Z=="function"?f.callback=Z:f===n(l)&&r(l),y(Y)}else r(l);f=n(l)}if(f!==null)var Se=!0;else{var we=n(u);we!==null&&ue(d,we.startTime-Y),Se=!1}return Se}finally{f=null,p=H,h=!1}}var C=!1,N=null,D=-1,T=5,j=-1;function q(){return!(e.unstable_now()-jG||125se?(G.sortIndex=H,t(u,G),n(l)===null&&G===n(u)&&(E?(v(D),D=-1):E=!0,ue(d,H-se))):(G.sortIndex=Z,t(l,G),g||h||(g=!0,V(O))),G},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(G){var Y=p;return function(){var H=p;p=Y;try{return G.apply(this,arguments)}finally{p=H}}}})(sh);ah.exports=sh;var Hm=ah.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lh=ce,zt=Hm;function K(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,Gm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Nf={},jf={};function Km(e){return Fl.call(jf,e)?!0:Fl.call(Nf,e)?!1:Gm.test(e)?jf[e]=!0:(Nf[e]=!0,!1)}function Ym(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Jm(e,t,n,r){if(t===null||typeof t>"u"||Ym(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function _t(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pt[e]=new _t(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pt[t]=new _t(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pt[e]=new _t(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pt[e]=new _t(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pt[e]=new _t(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pt[e]=new _t(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pt[e]=new _t(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pt[e]=new _t(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pt[e]=new _t(e,5,!1,e.toLowerCase(),null,!1,!1)});var ac=/[\-:]([a-z])/g;function sc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ac,sc);pt[t]=new _t(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ac,sc);pt[t]=new _t(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ac,sc);pt[t]=new _t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pt[e]=new _t(e,1,!1,e.toLowerCase(),null,!1,!1)});pt.xlinkHref=new _t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pt[e]=new _t(e,1,!1,e.toLowerCase(),null,!0,!0)});function lc(e,t,n,r){var i=pt.hasOwnProperty(t)?pt[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` +`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Xs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ro(e):""}function Xm(e){switch(e.tag){case 5:return ro(e.type);case 16:return ro("Lazy");case 13:return ro("Suspense");case 19:return ro("SuspenseList");case 0:case 2:case 15:return e=Zs(e.type,!1),e;case 11:return e=Zs(e.type.render,!1),e;case 1:return e=Zs(e.type,!0),e;default:return""}}function ql(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ei:return"Fragment";case Zr:return"Portal";case Ll:return"Profiler";case uc:return"StrictMode";case zl:return"Suspense";case Vl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fh:return(e.displayName||"Context")+".Consumer";case ch:return(e._context.displayName||"Context")+".Provider";case cc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fc:return t=e.displayName||null,t!==null?t:ql(e.type)||"Memo";case Hn:t=e._payload,e=e._init;try{return ql(e(t))}catch{}}return null}function Zm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ql(t);case 8:return t===uc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ur(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ph(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ey(e){var t=ph(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function la(e){e._valueTracker||(e._valueTracker=ey(e))}function hh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ph(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $a(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Bl(e,t){var n=t.checked;return Be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Df(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ur(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vh(e,t){t=t.checked,t!=null&&lc(e,"checked",t,!1)}function Ql(e,t){vh(e,t);var n=ur(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ul(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ul(e,t.type,ur(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Pf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ul(e,t,n){(t!=="number"||$a(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var io=Array.isArray;function vi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ua.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function So(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ty=["Webkit","ms","Moz","O"];Object.keys(lo).forEach(function(e){ty.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lo[t]=lo[e]})});function bh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||lo.hasOwnProperty(e)&&lo[e]?(""+t).trim():t+"px"}function Eh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=bh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ny=Be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hl(e,t){if(t){if(ny[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(K(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(K(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(K(61))}if(t.style!=null&&typeof t.style!="object")throw Error(K(62))}}function Gl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function dc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,mi=null,yi=null;function Mf(e){if(e=Ko(e)){if(typeof Yl!="function")throw Error(K(280));var t=e.stateNode;t&&(t=Os(t),Yl(e.stateNode,e.type,t))}}function wh(e){mi?yi?yi.push(e):yi=[e]:mi=e}function xh(){if(mi){var e=mi,t=yi;if(yi=mi=null,Mf(e),t)for(e=0;e>>=0,e===0?32:31-(py(e)/hy|0)|0}var ca=64,fa=4194304;function oo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ya(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=oo(s):(o&=a,o!==0&&(r=oo(o)))}else a=n&~i,a!==0?r=oo(a):o!==0&&(r=oo(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ho(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-sn(t),e[t]=n}function gy(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=co),Wf=String.fromCharCode(32),$f=!1;function Bh(e,t){switch(e){case"keyup":return $y.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ti=!1;function Gy(e,t){switch(e){case"compositionend":return Qh(t);case"keypress":return t.which!==32?null:($f=!0,Wf);case"textInput":return e=t.data,e===Wf&&$f?null:e;default:return null}}function Ky(e,t){if(ti)return e==="compositionend"||!Ec&&Bh(e,t)?(e=Vh(),ja=yc=Zn=null,ti=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Yf(n)}}function Hh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gh(){for(var e=window,t=$a();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$a(e.document)}return t}function wc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ig(e){var t=Gh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Hh(n.ownerDocument.documentElement,n)){if(r!==null&&wc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Jf(n,o);var a=Jf(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ni=null,nu=null,po=null,ru=!1;function Xf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ru||ni==null||ni!==$a(r)||(r=ni,"selectionStart"in r&&wc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),po&&No(po,r)||(po=r,r=Za(nu,"onSelect"),0oi||(e.current=uu[oi],uu[oi]=null,oi--)}function De(e,t){oi++,uu[oi]=e.current,e.current=t}var cr={},gt=yr(cr),Nt=yr(!1),jr=cr;function _i(e,t){var n=e.type.contextTypes;if(!n)return cr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function jt(e){return e=e.childContextTypes,e!=null}function ts(){Ae(Nt),Ae(gt)}function od(e,t,n){if(gt.current!==cr)throw Error(K(168));De(gt,t),De(Nt,n)}function rv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(K(108,Zm(e)||"Unknown",i));return Be({},n,r)}function ns(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cr,jr=gt.current,De(gt,e),De(Nt,Nt.current),!0}function ad(e,t,n){var r=e.stateNode;if(!r)throw Error(K(169));n?(e=rv(e,t,jr),r.__reactInternalMemoizedMergedChildContext=e,Ae(Nt),Ae(gt),De(gt,e)):Ae(Nt),De(Nt,n)}var Tn=null,Cs=!1,pl=!1;function iv(e){Tn===null?Tn=[e]:Tn.push(e)}function mg(e){Cs=!0,iv(e)}function gr(){if(!pl&&Tn!==null){pl=!0;var e=0,t=_e;try{var n=Tn;for(_e=1;e>=a,i-=a,jn=1<<32-sn(t)+i|n<D?(T=N,N=null):T=N.sibling;var j=p(v,N,y[D],d);if(j===null){N===null&&(N=T);break}e&&N&&j.alternate===null&&t(v,N),m=o(j,m,D),C===null?O=j:C.sibling=j,C=j,N=T}if(D===y.length)return n(v,N),Me&&Er(v,D),O;if(N===null){for(;DD?(T=N,N=null):T=N.sibling;var q=p(v,N,j.value,d);if(q===null){N===null&&(N=T);break}e&&N&&q.alternate===null&&t(v,N),m=o(q,m,D),C===null?O=q:C.sibling=q,C=q,N=T}if(j.done)return n(v,N),Me&&Er(v,D),O;if(N===null){for(;!j.done;D++,j=y.next())j=f(v,j.value,d),j!==null&&(m=o(j,m,D),C===null?O=j:C.sibling=j,C=j);return Me&&Er(v,D),O}for(N=r(v,N);!j.done;D++,j=y.next())j=h(N,v,D,j.value,d),j!==null&&(e&&j.alternate!==null&&N.delete(j.key===null?D:j.key),m=o(j,m,D),C===null?O=j:C.sibling=j,C=j);return e&&N.forEach(function(J){return t(v,J)}),Me&&Er(v,D),O}function _(v,m,y,d){if(typeof y=="object"&&y!==null&&y.type===ei&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case sa:e:{for(var O=y.key,C=m;C!==null;){if(C.key===O){if(O=y.type,O===ei){if(C.tag===7){n(v,C.sibling),m=i(C,y.props.children),m.return=v,v=m;break e}}else if(C.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Hn&&pd(O)===C.type){n(v,C.sibling),m=i(C,y.props),m.ref=Ki(v,C,y),m.return=v,v=m;break e}n(v,C);break}else t(v,C);C=C.sibling}y.type===ei?(m=Cr(y.props.children,v.mode,d,y.key),m.return=v,v=m):(d=La(y.type,y.key,y.props,null,v.mode,d),d.ref=Ki(v,m,y),d.return=v,v=d)}return a(v);case Zr:e:{for(C=y.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(v,m.sibling),m=i(m,y.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=wl(y,v.mode,d),m.return=v,v=m}return a(v);case Hn:return C=y._init,_(v,m,C(y._payload),d)}if(io(y))return g(v,m,y,d);if(Ui(y))return E(v,m,y,d);ga(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(v,m.sibling),m=i(m,y),m.return=v,v=m):(n(v,m),m=El(y,v.mode,d),m.return=v,v=m),a(v)):n(v,m)}return _}var Ci=dv(!0),pv=dv(!1),Yo={},gn=yr(Yo),Po=yr(Yo),Ro=yr(Yo);function _r(e){if(e===Yo)throw Error(K(174));return e}function jc(e,t){switch(De(Ro,t),De(Po,e),De(gn,Yo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:$l(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=$l(t,e)}Ae(gn),De(gn,t)}function Ti(){Ae(gn),Ae(Po),Ae(Ro)}function hv(e){_r(Ro.current);var t=_r(gn.current),n=$l(t,e.type);t!==n&&(De(Po,e),De(gn,n))}function Ic(e){Po.current===e&&(Ae(gn),Ae(Po))}var Ve=yr(0);function ls(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var hl=[];function Dc(){for(var e=0;en?n:4,e(!0);var r=vl.transition;vl.transition={};try{e(!1),t()}finally{_e=n,vl.transition=r}}function jv(){return Kt().memoizedState}function Eg(e,t,n){var r=sr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Iv(e))Dv(t,n);else if(n=lv(e,t,n,r),n!==null){var i=xt();ln(n,e,r,i),Pv(n,t,r)}}function wg(e,t,n){var r=sr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Iv(e))Dv(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,cn(s,a)){var l=t.interleaved;l===null?(i.next=i,Tc(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=lv(e,t,i,r),n!==null&&(i=xt(),ln(n,e,r,i),Pv(n,t,r))}}function Iv(e){var t=e.alternate;return e===qe||t!==null&&t===qe}function Dv(e,t){ho=us=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Pv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hc(e,n)}}var cs={readContext:Gt,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useInsertionEffect:vt,useLayoutEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useMutableSource:vt,useSyncExternalStore:vt,useId:vt,unstable_isNewReconciler:!1},xg={readContext:Gt,useCallback:function(e,t){return vn().memoizedState=[e,t===void 0?null:t],e},useContext:Gt,useEffect:vd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ra(4194308,4,_v.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=vn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Eg.bind(null,qe,e),[r.memoizedState,e]},useRef:function(e){var t=vn();return e={current:e},t.memoizedState=e},useState:hd,useDebugValue:Fc,useDeferredValue:function(e){return vn().memoizedState=e},useTransition:function(){var e=hd(!1),t=e[0];return e=bg.bind(null,e[1]),vn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=qe,i=vn();if(Me){if(n===void 0)throw Error(K(407));n=n()}else{if(n=t(),at===null)throw Error(K(349));Dr&30||yv(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,vd(bv.bind(null,r,o,e),[e]),r.flags|=2048,Fo(9,gv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=vn(),t=at.identifierPrefix;if(Me){var n=In,r=jn;n=(r&~(1<<32-sn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ao++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[mn]=t,e[Do]=r,Bv(e,t,!1,!1),t.stateNode=e;e:{switch(a=Gl(n,r),n){case"dialog":Pe("cancel",e),Pe("close",e),i=r;break;case"iframe":case"object":case"embed":Pe("load",e),i=r;break;case"video":case"audio":for(i=0;iji&&(t.flags|=128,r=!0,Yi(o,!1),t.lanes=4194304)}else{if(!r)if(e=ls(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Me)return mt(t),null}else 2*Ke()-o.renderingStartTime>ji&&n!==1073741824&&(t.flags|=128,r=!0,Yi(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ke(),t.sibling=null,n=Ve.current,De(Ve,r?n&1|2:n&1),t):(mt(t),null);case 22:case 23:return Qc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Mt&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(K(156,t.tag))}function jg(e,t){switch(Sc(t),t.tag){case 1:return jt(t.type)&&ts(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ti(),Ae(Nt),Ae(gt),Dc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ic(t),null;case 13:if(Ae(Ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(K(340));Oi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae(Ve),null;case 4:return Ti(),null;case 10:return Cc(t.type._context),null;case 22:case 23:return Qc(),null;case 24:return null;default:return null}}var Ea=!1,yt=!1,Ig=typeof WeakSet=="function"?WeakSet:Set,ee=null;function ui(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ue(e,t,r)}else n.current=null}function wu(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var kd=!1;function Dg(e,t){if(iu=Ja,e=Gh(),wc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(s=a+i),f!==o||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===i&&(s=a),p===o&&++c===r&&(l=a),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ou={focusedElem:e,selectionRange:n},Ja=!1,ee=t;ee!==null;)if(t=ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ee=e;else for(;ee!==null;){t=ee;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var E=g.memoizedProps,_=g.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?E:nn(t.type,E),_);v.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(K(163))}}catch(d){Ue(t,t.return,d)}if(e=t.sibling,e!==null){e.return=t.return,ee=e;break}ee=t.return}return g=kd,kd=!1,g}function vo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&wu(t,n,o)}i=i.next}while(i!==r)}}function js(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function xu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wv(e){var t=e.alternate;t!==null&&(e.alternate=null,Wv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mn],delete t[Do],delete t[lu],delete t[hg],delete t[vg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function $v(e){return e.tag===5||e.tag===3||e.tag===4}function _d(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$v(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Su(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=es));else if(r!==4&&(e=e.child,e!==null))for(Su(e,t,n),e=e.sibling;e!==null;)Su(e,t,n),e=e.sibling}function ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ku(e,t,n),e=e.sibling;e!==null;)ku(e,t,n),e=e.sibling}var ft=null,rn=!1;function Wn(e,t,n){for(n=n.child;n!==null;)Hv(e,t,n),n=n.sibling}function Hv(e,t,n){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(xs,n)}catch{}switch(n.tag){case 5:yt||ui(n,t);case 6:var r=ft,i=rn;ft=null,Wn(e,t,n),ft=r,rn=i,ft!==null&&(rn?(e=ft,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ft.removeChild(n.stateNode));break;case 18:ft!==null&&(rn?(e=ft,n=n.stateNode,e.nodeType===8?dl(e.parentNode,n):e.nodeType===1&&dl(e,n),Co(e)):dl(ft,n.stateNode));break;case 4:r=ft,i=rn,ft=n.stateNode.containerInfo,rn=!0,Wn(e,t,n),ft=r,rn=i;break;case 0:case 11:case 14:case 15:if(!yt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&wu(n,t,a),i=i.next}while(i!==r)}Wn(e,t,n);break;case 1:if(!yt&&(ui(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ue(n,t,s)}Wn(e,t,n);break;case 21:Wn(e,t,n);break;case 22:n.mode&1?(yt=(r=yt)||n.memoizedState!==null,Wn(e,t,n),yt=r):Wn(e,t,n);break;default:Wn(e,t,n)}}function Od(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ig),t.forEach(function(r){var i=qg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function en(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Rg(r/1960))-r,10e?16:e,er===null)var r=!1;else{if(e=er,er=null,ps=0,Ee&6)throw Error(K(331));var i=Ee;for(Ee|=4,ee=e.current;ee!==null;){var o=ee,a=o.child;if(ee.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lKe()-qc?Or(e,0):Vc|=n),It(e,t)}function t0(e,t){t===0&&(e.mode&1?(t=fa,fa<<=1,!(fa&130023424)&&(fa=4194304)):t=1);var n=xt();e=An(e,t),e!==null&&(Ho(e,t,n),It(e,n))}function Vg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),t0(e,n)}function qg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(K(314))}r!==null&&r.delete(t),t0(e,n)}var n0;n0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)Tt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Tt=!1,Tg(e,t,n);Tt=!!(e.flags&131072)}else Tt=!1,Me&&t.flags&1048576&&ov(t,is,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Aa(e,t),e=t.pendingProps;var i=_i(t,gt.current);bi(t,n),i=Rc(null,t,r,e,i,n);var o=Ac();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jt(r)?(o=!0,ns(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Nc(t),i.updater=Ts,t.stateNode=i,i._reactInternals=t,hu(t,r,e,n),t=yu(null,t,r,!0,o,n)):(t.tag=0,Me&&o&&xc(t),wt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Aa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Qg(r),e=nn(r,e),i){case 0:t=mu(null,t,r,e,n);break e;case 1:t=wd(null,t,r,e,n);break e;case 11:t=bd(null,t,r,e,n);break e;case 14:t=Ed(null,t,r,nn(r.type,e),n);break e}throw Error(K(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nn(r,i),mu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nn(r,i),wd(e,t,r,i,n);case 3:e:{if(zv(t),e===null)throw Error(K(387));r=t.pendingProps,o=t.memoizedState,i=o.element,uv(e,t),ss(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ni(Error(K(423)),t),t=xd(e,t,r,n,i);break e}else if(r!==i){i=Ni(Error(K(424)),t),t=xd(e,t,r,n,i);break e}else for(Ft=ir(t.stateNode.containerInfo.firstChild),Lt=t,Me=!0,on=null,n=pv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Oi(),r===i){t=Mn(e,t,n);break e}wt(e,t,r,n)}t=t.child}return t;case 5:return hv(t),e===null&&fu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,au(r,i)?a=null:o!==null&&au(r,o)&&(t.flags|=32),Lv(e,t),wt(e,t,a,n),t.child;case 6:return e===null&&fu(t),null;case 13:return Vv(e,t,n);case 4:return jc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ci(t,null,r,n):wt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nn(r,i),bd(e,t,r,i,n);case 7:return wt(e,t,t.pendingProps,n),t.child;case 8:return wt(e,t,t.pendingProps.children,n),t.child;case 12:return wt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,De(os,r._currentValue),r._currentValue=a,o!==null)if(cn(o.value,a)){if(o.children===i.children&&!Nt.current){t=Mn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Dn(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),du(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(K(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),du(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}wt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,bi(t,n),i=Gt(i),r=r(i),t.flags|=1,wt(e,t,r,n),t.child;case 14:return r=t.type,i=nn(r,t.pendingProps),i=nn(r.type,i),Ed(e,t,r,i,n);case 15:return Mv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:nn(r,i),Aa(e,t),t.tag=1,jt(r)?(e=!0,ns(t)):e=!1,bi(t,n),fv(t,r,i),hu(t,r,i,n),yu(null,t,r,!0,e,n);case 19:return qv(e,t,n);case 22:return Fv(e,t,n)}throw Error(K(156,t.tag))};function r0(e,t){return Nh(e,t)}function Bg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $t(e,t,n,r){return new Bg(e,t,n,r)}function Wc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qg(e){if(typeof e=="function")return Wc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===cc)return 11;if(e===fc)return 14}return 2}function lr(e,t){var n=e.alternate;return n===null?(n=$t(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function La(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Wc(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ei:return Cr(n.children,i,o,t);case uc:a=8,i|=8;break;case Ll:return e=$t(12,n,t,i|2),e.elementType=Ll,e.lanes=o,e;case zl:return e=$t(13,n,t,i),e.elementType=zl,e.lanes=o,e;case Vl:return e=$t(19,n,t,i),e.elementType=Vl,e.lanes=o,e;case dh:return Ds(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ch:a=10;break e;case fh:a=9;break e;case cc:a=11;break e;case fc:a=14;break e;case Hn:a=16,r=null;break e}throw Error(K(130,e==null?e:typeof e,""))}return t=$t(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Cr(e,t,n,r){return e=$t(7,e,r,t),e.lanes=n,e}function Ds(e,t,n,r){return e=$t(22,e,r,t),e.elementType=dh,e.lanes=n,e.stateNode={isHidden:!1},e}function El(e,t,n){return e=$t(6,e,null,t),e.lanes=n,e}function wl(e,t,n){return t=$t(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ug(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tl(0),this.expirationTimes=tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $c(e,t,n,r,i,o,a,s,l){return e=new Ug(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=$t(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nc(o),e}function Wg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s0)}catch(e){console.error(e)}}s0(),oh.exports=Vt;var Yg=oh.exports,Rd=Yg;Ml.createRoot=Rd.createRoot,Ml.hydrateRoot=Rd.hydrateRoot;var Nu=function(e,t){return Nu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Nu(e,t)};function fn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nu(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var L=function(){return L=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=Xg){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=Sa("debug"),e.log=Sa("log"),e.warn=Sa("warn"),e.error=Sa("error")})(xr||(xr={}));var Yc="3.8.6";function an(e){try{return e()}catch{}}const Md=an(function(){return globalThis})||an(function(){return window})||an(function(){return self})||an(function(){return global})||an(function(){return an.constructor("return this")()});var Fd=new Map;function ju(e){var t=Fd.get(e)||1;return Fd.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function c0(e,t){t===void 0&&(t=0);var n=ju("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("")}function ka(e){return function(t){for(var n=[],r=1;r=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function nb(e){return d0(e.source,Iu(e.source,e.start))}function d0(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=t.line===1?n:0,l=t.column+s,u=`${e.name}:${a}:${l} +`,c=r.split(/\r\n|[\n\r]/g),f=c[i];if(f.length>120){const p=Math.floor(l/80),h=l%80,g=[];for(let E=0;E["|",E]),["|","^".padStart(h)],["|",g[p+1]]])}return u+zd([[`${a-1} |`,c[i-1]],[`${a} |`,f],["|","^".padStart(l)],[`${a+1} |`,c[i+1]]])}function zd(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function rb(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class Zc extends Error{constructor(t,...n){var r,i,o;const{nodes:a,source:s,positions:l,path:u,originalError:c,extensions:f}=rb(n);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=c??void 0,this.nodes=Vd(Array.isArray(a)?a:a?[a]:void 0);const p=Vd((r=this.nodes)===null||r===void 0?void 0:r.map(g=>g.loc).filter(g=>g!=null));this.source=s??(p==null||(i=p[0])===null||i===void 0?void 0:i.source),this.positions=l??(p==null?void 0:p.map(g=>g.start)),this.locations=l&&s?l.map(g=>Iu(s,g)):p==null?void 0:p.map(g=>Iu(g.source,g.start));const h=Zg(c==null?void 0:c.extensions)?c==null?void 0:c.extensions:void 0;this.extensions=(o=f??h)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Zc):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` + +`+nb(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` + +`+d0(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function Vd(e){return e===void 0||e.length===0?void 0:e}function ot(e,t,n){return new Zc(`Syntax Error: ${n}`,{source:e,positions:[t]})}class ib{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class p0{constructor(t,n,r,i,o,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const h0={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},ob=new Set(Object.keys(h0));function qd(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&ob.has(t)}var fi;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(fi||(fi={}));var Du;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(Du||(Du={}));var te;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(te||(te={}));function Pu(e){return e===9||e===32}function zo(e){return e>=48&&e<=57}function v0(e){return e>=97&&e<=122||e>=65&&e<=90}function m0(e){return v0(e)||e===95}function ab(e){return v0(e)||zo(e)||e===95}function sb(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;as===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function lb(e){let t=0;for(;t1&&r.slice(1).every(h=>h.length===0||Pu(h.charCodeAt(0))),a=n.endsWith('\\"""'),s=e.endsWith('"')&&!a,l=e.endsWith("\\"),u=s||l,c=!(t!=null&&t.minimize)&&(!i||e.length>70||u||o||a);let f="";const p=i&&Pu(e.charCodeAt(0));return(c&&!p||o)&&(f+=` +`),f+=n,(c||u)&&(f+=` +`),'"""'+f+'"""'}var W;(function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(W||(W={}));class cb{constructor(t){const n=new p0(W.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==W.EOF)do if(t.next)t=t.next;else{const n=db(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===W.COMMENT);return t}}function fb(e){return e===W.BANG||e===W.DOLLAR||e===W.AMP||e===W.PAREN_L||e===W.PAREN_R||e===W.SPREAD||e===W.COLON||e===W.EQUALS||e===W.AT||e===W.BRACKET_L||e===W.BRACKET_R||e===W.BRACE_L||e===W.PIPE||e===W.BRACE_R}function zi(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Fs(e,t){return y0(e.charCodeAt(t))&&g0(e.charCodeAt(t+1))}function y0(e){return e>=55296&&e<=56319}function g0(e){return e>=56320&&e<=57343}function Ar(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return W.EOF;if(n>=32&&n<=126){const r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Ye(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new p0(t,n,r,o,a,i)}function db(e,t){const n=e.source.body,r=n.length;let i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function gb(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ot(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function bb(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const l=[];for(;ob0?"["+Ob(e)+"]":"{ "+n.map(([i,o])=>i+": "+Ls(o,t)).join(", ")+" }"}function _b(e,t){if(e.length===0)return"[]";if(t.length>b0)return"[Array]";const n=Math.min(wb,e.length),r=e.length-n,i=[];for(let o=0;o1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Ob(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const Cb=globalThis.process?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var r;const i=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(r=t.constructor)===null||r===void 0?void 0:r.name;if(i===o){const a=ef(t);throw new Error(`Cannot use ${i} "${a}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1};class E0{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||za(!1,`Body must be a string. Received: ${ef(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||za(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||za(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Tb(e){return Cb(e,E0)}function Nb(e,t){return new jb(e,t).parseDocument()}class jb{constructor(t,n={}){const r=Tb(t)?t:new E0(t);this._lexer=new cb(r),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(W.NAME);return this.node(t,{kind:te.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:te.DOCUMENT,definitions:this.many(W.SOF,this.parseDefinition,W.EOF)})}parseDefinition(){if(this.peek(W.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===W.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw ot(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(W.BRACE_L))return this.node(t,{kind:te.OPERATION_DEFINITION,operation:fi.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let r;return this.peek(W.NAME)&&(r=this.parseName()),this.node(t,{kind:te.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(W.NAME);switch(t.value){case"query":return fi.QUERY;case"mutation":return fi.MUTATION;case"subscription":return fi.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(W.PAREN_L,this.parseVariableDefinition,W.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:te.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(W.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(W.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(W.DOLLAR),this.node(t,{kind:te.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:te.SELECTION_SET,selections:this.many(W.BRACE_L,this.parseSelection,W.BRACE_R)})}parseSelection(){return this.peek(W.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let r,i;return this.expectOptionalToken(W.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:te.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(W.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(W.PAREN_L,n,W.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,r=this.parseName();return this.expectToken(W.COLON),this.node(n,{kind:te.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(W.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(W.NAME)?this.node(t,{kind:te.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:te.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:te.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:te.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case W.BRACKET_L:return this.parseList(t);case W.BRACE_L:return this.parseObject(t);case W.INT:return this.advanceLexer(),this.node(n,{kind:te.INT,value:n.value});case W.FLOAT:return this.advanceLexer(),this.node(n,{kind:te.FLOAT,value:n.value});case W.STRING:case W.BLOCK_STRING:return this.parseStringLiteral();case W.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:te.BOOLEAN,value:!0});case"false":return this.node(n,{kind:te.BOOLEAN,value:!1});case"null":return this.node(n,{kind:te.NULL});default:return this.node(n,{kind:te.ENUM,value:n.value})}case W.DOLLAR:if(t)if(this.expectToken(W.DOLLAR),this._lexer.token.kind===W.NAME){const r=this._lexer.token.value;throw ot(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:te.STRING,value:t.value,block:t.kind===W.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:te.LIST,values:this.any(W.BRACKET_L,n,W.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:te.OBJECT,fields:this.any(W.BRACE_L,n,W.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,r=this.parseName();return this.expectToken(W.COLON),this.node(n,{kind:te.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(W.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(W.AT),this.node(n,{kind:te.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(W.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(W.BRACKET_R),n=this.node(t,{kind:te.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(W.BANG)?this.node(t,{kind:te.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:te.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(W.STRING)||this.peek(W.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),i=this.many(W.BRACE_L,this.parseOperationTypeDefinition,W.BRACE_R);return this.node(t,{kind:te.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(W.COLON);const r=this.parseNamedType();return this.node(t,{kind:te.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:te.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:te.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(W.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(W.BRACE_L,this.parseFieldDefinition,W.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(W.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:te.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(W.PAREN_L,this.parseInputValueDef,W.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(W.COLON);const i=this.parseTypeReference();let o;this.expectOptionalToken(W.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:te.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:te.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:te.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(W.EQUALS)?this.delimitedMany(W.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:te.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o})}parseEnumValuesDefinition(){return this.optionalMany(W.BRACE_L,this.parseEnumValueDefinition,W.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:te.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ot(this._lexer.source,this._lexer.token.start,`${_a(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),i=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:te.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(W.BRACE_L,this.parseInputValueDef,W.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===W.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.optionalMany(W.BRACE_L,this.parseOperationTypeDefinition,W.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:te.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:te.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:te.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:te.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:te.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:te.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:te.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(W.AT);const r=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:te.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(W.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(Du,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new ib(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw ot(this._lexer.source,n.start,`Expected ${w0(t)}, found ${_a(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===W.NAME&&n.value===t)this.advanceLexer();else throw ot(this._lexer.source,n.start,`Expected "${t}", found ${_a(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===W.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return ot(this._lexer.source,n.start,`Unexpected ${_a(n)}.`)}any(t,n,r){this.expectToken(t);const i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);const i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);const r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==W.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw ot(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function _a(e){const t=e.value;return w0(e.kind)+(t!=null?` "${t}"`:"")}function w0(e){return fb(e)?`"${e}"`:e}function Ib(e){return`"${e.replace(Db,Pb)}"`}const Db=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Pb(e){return Rb[e.charCodeAt(0)]}const Rb=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],tf=Object.freeze({});function Fn(e,t,n=h0){const r=new Map;for(const v of Object.values(te))r.set(v,Ab(t,v));let i,o=Array.isArray(e),a=[e],s=-1,l=[],u=e,c,f;const p=[],h=[];do{s++;const v=s===a.length,m=v&&l.length!==0;if(v){if(c=h.length===0?void 0:p[p.length-1],u=f,f=h.pop(),m)if(o){u=u.slice();let d=0;for(const[O,C]of l){const N=O-d;C===null?(u.splice(N,1),d++):u[N]=C}}else{u=Object.defineProperties({},Object.getOwnPropertyDescriptors(u));for(const[d,O]of l)u[d]=O}s=i.index,a=i.keys,l=i.edits,o=i.inArray,i=i.prev}else if(f){if(c=o?s:a[s],u=f[c],u==null)continue;p.push(c)}let y;if(!Array.isArray(u)){var g,E;qd(u)||za(!1,`Invalid AST Node: ${ef(u)}.`);const d=v?(g=r.get(u.kind))===null||g===void 0?void 0:g.leave:(E=r.get(u.kind))===null||E===void 0?void 0:E.enter;if(y=d==null?void 0:d.call(t,u,c,f,p,h),y===tf)break;if(y===!1){if(!v){p.pop();continue}}else if(y!==void 0&&(l.push([c,y]),!v))if(qd(y))u=y;else{p.pop();continue}}if(y===void 0&&m&&l.push([c,u]),v)p.pop();else{var _;i={inArray:o,index:s,keys:a,edits:l,prev:i},o=Array.isArray(u),a=o?u:(_=n[u.kind])!==null&&_!==void 0?_:[],s=-1,l=[],f&&h.push(f),f=u}}while(i!==void 0);return l.length!==0?l[l.length-1][1]:e}function Ab(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function x0(e){return Fn(e,Fb)}const Mb=80,Fb={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ne(e.definitions,` + +`)},OperationDefinition:{leave(e){const t=me("(",ne(e.variableDefinitions,", "),")"),n=ne([e.operation,ne([e.name,t]),ne(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+me(" = ",n)+me(" ",ne(r," "))},SelectionSet:{leave:({selections:e})=>tn(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=me("",e,": ")+t;let a=o+me("(",ne(n,", "),")");return a.length>Mb&&(a=o+me(`( +`,Va(ne(n,` +`)),` +)`)),ne([a,ne(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+me(" ",ne(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>ne(["...",me("on ",e),ne(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${me("(",ne(n,", "),")")} on ${t} ${me("",ne(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?ub(e):Ib(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ne(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ne(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+me("(",ne(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>me("",e,` +`)+ne(["schema",ne(t," "),tn(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>me("",e,` +`)+ne(["scalar",t,ne(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>me("",e,` +`)+ne(["type",t,me("implements ",ne(n," & ")),ne(r," "),tn(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>me("",e,` +`)+t+(Qd(n)?me(`( +`,Va(ne(n,` +`)),` +)`):me("(",ne(n,", "),")"))+": "+r+me(" ",ne(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>me("",e,` +`)+ne([t+": "+n,me("= ",r),ne(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>me("",e,` +`)+ne(["interface",t,me("implements ",ne(n," & ")),ne(r," "),tn(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>me("",e,` +`)+ne(["union",t,ne(n," "),me("= ",ne(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>me("",e,` +`)+ne(["enum",t,ne(n," "),tn(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>me("",e,` +`)+ne([t,ne(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>me("",e,` +`)+ne(["input",t,ne(n," "),tn(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>me("",e,` +`)+"directive @"+t+(Qd(n)?me(`( +`,Va(ne(n,` +`)),` +)`):me("(",ne(n,", "),")"))+(r?" repeatable":"")+" on "+ne(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ne(["extend schema",ne(e," "),tn(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ne(["extend scalar",e,ne(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ne(["extend type",e,me("implements ",ne(t," & ")),ne(n," "),tn(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ne(["extend interface",e,me("implements ",ne(t," & ")),ne(n," "),tn(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>ne(["extend union",e,ne(t," "),me("= ",ne(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>ne(["extend enum",e,ne(t," "),tn(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>ne(["extend input",e,ne(t," "),tn(n)]," ")}};function ne(e,t=""){var n;return(n=e==null?void 0:e.filter(r=>r).join(t))!==null&&n!==void 0?n:""}function tn(e){return me(`{ +`,Va(ne(e,` +`)),` +}`)}function me(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function Va(e){return me(" ",e.replace(/\n/g,` + `))}function Qd(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(` +`)))!==null&&t!==void 0?t:!1}const Lb=Object.freeze(Object.defineProperty({__proto__:null,print:x0},Symbol.toStringTag,{value:"Module"}));function Ud(e){return e.kind===te.FIELD||e.kind===te.FRAGMENT_SPREAD||e.kind===te.INLINE_FRAGMENT}function zb(e,t){let n=null;for(const i of e.definitions)if(i.kind===te.OPERATION_DEFINITION){var r;if(t==null){if(n)return null;n=i}else if(((r=i.name)===null||r===void 0?void 0:r.value)===t)return i}return n}const Vb=Object.freeze(Object.defineProperty({__proto__:null,getOperationAST:zb},Symbol.toStringTag,{value:"Module"}));function Jo(e,t){var n=e.directives;return!n||!n.length?!0:Qb(n).every(function(r){var i=r.directive,o=r.ifArgument,a=!1;return o.value.kind==="Variable"?(a=t&&t[o.value.name.value],ae(a!==void 0,66,i.name.value)):a=o.value.value,i.name.value==="skip"?!a:a})}function Vo(e,t,n){var r=new Set(e),i=r.size;return Fn(t,{Directive:function(o){if(r.delete(o.name.value)&&(!n||!r.size))return tf}}),n?!r.size:r.sizeObject.create(null),{forEach:Wb,slice:$b}=Array.prototype,{hasOwnProperty:Hb}=Object.prototype;class br{constructor(t=!0,n=Ub){this.weakness=t,this.makeData=n}lookup(...t){return this.lookupArray(t)}lookupArray(t){let n=this;return Wb.call(t,r=>n=n.getChildTrie(r)),Hb.call(n,"data")?n.data:n.data=this.makeData($b.call(t))}peek(...t){return this.peekArray(t)}peekArray(t){let n=this;for(let r=0,i=t.length;n&&r=0})||!1,Yb=Gb&&!Kb;function Fe(e){return e!==null&&typeof e=="object"}function Jb(e,t){var n=t,r=[];e.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw St(70,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&r.push(o)}),typeof n>"u"&&(ae(r.length===1,71,r.length),n=r[0].name.value);var i=L(L({},e),{definitions:Tr([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)});return i}function Vs(e){e===void 0&&(e=[]);var t={};return e.forEach(function(n){t[n.name.value]=n}),t}function qs(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{var n=e.name.value;if(typeof t=="function")return t(n);var r=t&&t[n];return ae(r,72,n),r||null}default:return null}}function wi(e){return{__ref:String(e)}}function ke(e){return!!(e&&typeof e=="object"&&typeof e.__ref=="string")}function Xb(e){return Fe(e)&&e.kind==="Document"&&Array.isArray(e.definitions)}function Zb(e){return e.kind==="StringValue"}function e1(e){return e.kind==="BooleanValue"}function t1(e){return e.kind==="IntValue"}function n1(e){return e.kind==="FloatValue"}function r1(e){return e.kind==="Variable"}function i1(e){return e.kind==="ObjectValue"}function o1(e){return e.kind==="ListValue"}function a1(e){return e.kind==="EnumValue"}function s1(e){return e.kind==="NullValue"}function Ii(e,t,n,r){if(t1(n)||n1(n))e[t.value]=Number(n.value);else if(e1(n)||Zb(n))e[t.value]=n.value;else if(i1(n)){var i={};n.fields.map(function(a){return Ii(i,a.name,a.value,r)}),e[t.value]=i}else if(r1(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(o1(n))e[t.value]=n.values.map(function(a){var s={};return Ii(s,t,a,r),s[t.value]});else if(a1(n))e[t.value]=n.value;else if(s1(n))e[t.value]=null;else throw St(81,t.value,n.kind)}function l1(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(i){n[i.name.value]={},i.arguments&&i.arguments.forEach(function(o){var a=o.name,s=o.value;return Ii(n[i.name.value],a,s,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(i){var o=i.name,a=i.value;return Ii(r,o,a,t)})),rf(e.name.value,r,n)}var u1=["connection","include","skip","client","rest","export","nonreactive"],rf=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key)if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(s){i[s]=t[s]}),"".concat(n.connection.key,"(").concat(Xi(i),")")}else return n.connection.key;var o=e;if(t){var a=Xi(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(s){u1.indexOf(s)===-1&&(n[s]&&Object.keys(n[s]).length?o+="@".concat(s,"(").concat(Xi(n[s]),")"):o+="@".concat(s))}),o},{setStringify:function(e){var t=Xi;return Xi=e,t}}),Xi=function(t){return JSON.stringify(t,c1)};function c1(e,t){return Fe(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(n,r){return n[r]=t[r],n},{})),t}function Bs(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(r){var i=r.name,o=r.value;return Ii(n,i,o,t)}),n}return null}function fr(e){return e.alias?e.alias.value:e.name.value}function Ru(e,t,n){for(var r,i=0,o=t.selections;i0}var $d={kind:te.FIELD,name:{kind:te.NAME,value:"__typename"}};function C0(e,t){return!e||e.selectionSet.selections.every(function(n){return n.kind===te.FRAGMENT_SPREAD&&C0(t[n.name.value],t)})}function h1(e){return C0(Zo(e)||d1(e),Vs(Qs(e)))?null:e}function v1(e){var t=new Map,n=new Map;return e.forEach(function(r){r&&(r.name?t.set(r.name,r):r.test&&n.set(r.test,r))}),function(r){var i=t.get(r.name.value);return!i&&n.size&&n.forEach(function(o,a){a(r)&&(i=o)}),i}}function Hd(e){var t=new Map;return function(r){r===void 0&&(r=e);var i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function T0(e,t){Xo(t);for(var n=Hd(""),r=Hd(""),i=function(v){for(var m=0,y=void 0;m=0;--a)t.definitions[a].kind===te.OPERATION_DEFINITION&&++o;var s=v1(e),l=function(v){return Yt(v)&&v.map(s).some(function(m){return m&&m.remove})},u=new Map,c=!1,f={enter:function(v){if(l(v.directives))return c=!0,null}},p=Fn(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,m,y,d,O){var C=i(O);C&&C.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,m,y,d,O){if(l(v.directives))return c=!0,null;var C=i(O);C&&C.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,m,y,d){u.set(JSON.stringify(d),v)},leave:function(v,m,y,d){var O=u.get(JSON.stringify(d));if(v===O)return v;if(o>0&&v.selectionSet.selections.every(function(C){return C.kind===te.FIELD&&C.name.value==="__typename"}))return r(v.name.value).removed=!0,c=!0,null}},Directive:{leave:function(v){if(s(v))return c=!0,null}}});if(!c)return t;var h=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(m){h(r(m)).transitiveVars.forEach(function(y){v.transitiveVars.add(y)})})),v},g=new Set;p.definitions.forEach(function(v){v.kind===te.OPERATION_DEFINITION?h(n(v.name&&v.name.value)).fragmentSpreads.forEach(function(m){g.add(m)}):v.kind===te.FRAGMENT_DEFINITION&&o===0&&!r(v.name.value).removed&&g.add(v.name.value)}),g.forEach(function(v){h(r(v)).fragmentSpreads.forEach(function(m){g.add(m)})});var E=function(v){return!!(!g.has(v)||r(v).removed)},_={enter:function(v){if(E(v.name.value))return null}};return h1(Fn(p,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var m=h(n(v.name&&v.name.value)).transitiveVars;if(m.size1)for(var r=new pr,i=1;i=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E1(e,t){if(e){if(typeof e=="string")return Kd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kd(e,t)}}function Kd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1,s=!1,l=arguments[1],u=l;return new o(function(c){return i.subscribe({next:function(f){var p=!s;if(s=!0,!p||a)try{u=r(u,f)}catch(h){return c.error(h)}else u=f},error:function(f){c.error(f)},complete:function(){if(!s&&!a)return c.error(new TypeError("Cannot reduce an empty sequence"));c.next(u),c.complete()}})})},t.concat=function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a=0&&s.splice(p,1),u()}});s.push(f)},error:function(c){a.error(c)},complete:function(){u()}});function u(){l.closed&&s.length===0&&a.complete()}return function(){s.forEach(function(c){return c.unsubscribe()}),l.unsubscribe()}})},t[Mu]=function(){return this},e.from=function(r){var i=typeof this=="function"?this:e;if(r==null)throw new TypeError(r+" is not an object");var o=ms(r,Mu);if(o){var a=o.call(r);if(Object(a)!==a)throw new TypeError(a+" is not an object");return x1(a)&&a.constructor===i?a:new i(function(s){return a.subscribe(s)})}if(cf("iterator")&&(o=ms(r,w1),o))return new i(function(s){qa(function(){if(!s.closed){for(var l=b1(o.call(r)),u;!(u=l()).done;){var c=u.value;if(s.next(c),s.closed)return}s.complete()}})});if(Array.isArray(r))return new i(function(s){qa(function(){if(!s.closed){for(var l=0;l=0;--s){var l=a[s],u=!isNaN(+l),c=u?[]:{};c[l]=o,o=c}n=r.merge(n,o)}),n}function Ba(e){var t=zu(e);return Yt(t)}function zu(e){var t=Yt(e.errors)?e.errors.slice(0):[];return xi(e)&&Yt(e.incremental)&&e.incremental.forEach(function(n){n.errors&&t.push.apply(t,n.errors)}),t}function Mr(){for(var e=[],t=0;t-1;){if(v=void 0,D=[l.slice(0,_),l.slice(_+s.length)],v=D[0],l=D[1],m=v.indexOf(`\r +\r +`),y=X1(v.slice(0,m)),d=y["content-type"],d&&d.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(O=v.slice(m),O){if(C=M0(e,O),Object.keys(C).length>1||"data"in C||"incremental"in C||"errors"in C||"payload"in C)D1(C)?(N={},"payload"in C&&(N=L({},C.payload)),"errors"in C&&(N=L(L({},N),{extensions:L(L({},"extensions"in N?N.extensions:null),(T={},T[df]=C.errors,T))})),t(N)):t(C);else if(Object.keys(C).length===1&&"hasNext"in C&&!C.hasNext)return[2]}_=l.indexOf(s)}return[3,1];case 3:return[2]}})})}function X1(e){var t={};return e.split(` +`).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),o=n.slice(r+1).trim();t[i]=o}}),t}function M0(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};Vu(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function Z1(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function eE(e){return function(t){return t.text().then(function(n){return M0(t,n)}).then(function(n){return t.status>=300&&Vu(t,n,"Response not successful: Received status code ".concat(t.status)),!Array.isArray(n)&&!np.call(n,"data")&&!np.call(n,"errors")&&Vu(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(r){return r.operationName}):e.operationName,"'.")),n})}}var Bu=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=St(39,t,i.message);throw r.parseError=i,r}return n},tE={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},nE={accept:"*/*","content-type":"application/json"},rE={method:"POST"},iE={http:tE,headers:nE,options:rE},oE=function(e,t){return t(e)};function aE(e,t){for(var n=[],r=2;r"u")throw St(37)},uE=function(e,t){var n=e.getContext(),r=n.uri;return r||(typeof t=="function"?t(e):t||"/graphql")};function cE(e,t){var n=[],r=function(f,p){n.push("".concat(f,"=").concat(encodeURIComponent(p)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=Bu(t.variables,"Variables map")}catch(f){return{parseError:f}}r("variables",i)}if(t.extensions){var o=void 0;try{o=Bu(t.extensions,"Extensions map")}catch(f){return{parseError:f}}r("extensions",o)}var a="",s=e,l=e.indexOf("#");l!==-1&&(a=e.substr(l),s=e.substr(0,l));var u=s.indexOf("?")===-1?"?":"&",c=s+u+n.join("&")+a;return{newURI:c}}var rp=an(function(){return fetch}),fE=function(e){e===void 0&&(e={});var t=e.uri,n=t===void 0?"/graphql":t,r=e.fetch,i=e.print,o=i===void 0?oE:i,a=e.includeExtensions,s=e.preserveHeaderCase,l=e.useGETForQueries,u=e.includeUnusedVariables,c=u===void 0?!1:u,f=En(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&lE(r||rp);var p={http:{includeExtensions:a,preserveHeaderCase:s},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new zr(function(h){var g=uE(h,n),E=h.getContext(),_={};if(E.clientAwareness){var v=E.clientAwareness,m=v.name,y=v.version;m&&(_["apollographql-client-name"]=m),y&&(_["apollographql-client-version"]=y)}var d=L(L({},_),E.headers),O={http:E.http,options:E.fetchOptions,credentials:E.credentials,headers:d};if(Vo(["client"],h.query)){var C=N0(h.query);if(!C)return Ol(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));h.query=C}var N=aE(h,o,iE,p,O),D=N.options,T=N.body;T.variables&&!c&&(T.variables=M1(T.variables,h.query));var j;!D.signal&&typeof AbortController<"u"&&(j=new AbortController,D.signal=j.signal);var q=function(Y){return Y.kind==="OperationDefinition"&&Y.operation==="mutation"},J=function(Y){return Y.kind==="OperationDefinition"&&Y.operation==="subscription"},A=J(Vi(h.query)),le=Vo(["defer"],h.query);if(l&&!h.query.definitions.some(q)&&(D.method="GET"),le||A){D.headers=D.headers||{};var re="multipart/mixed;";A&&le&&globalThis.__DEV__!==!1&&ae.warn(38),A?re+="boundary=graphql;subscriptionSpec=1.0,application/json":le&&(re+="deferSpec=20220824,application/json"),D.headers.accept=re}if(D.method==="GET"){var V=cE(g,T),ue=V.newURI,G=V.parseError;if(G)return Ol(G);g=ue}else try{D.body=Bu(T,"Payload")}catch(Y){return Ol(Y)}return new Re(function(Y){var H=r||an(function(){return fetch})||rp,se=Y.next.bind(Y);return H(g,D).then(function(Z){var Se;h.setContext({response:Z});var we=(Se=Z.headers)===null||Se===void 0?void 0:Se.get("content-type");return we!==null&&/^multipart\/mixed/i.test(we)?J1(Z,se):eE(h)(Z).then(se)}).then(function(){j=void 0,Y.complete()}).catch(function(Z){j=void 0,Z1(Z,Y)}),function(){j&&j.abort()}})})},F0=function(e){fn(t,e);function t(n){n===void 0&&(n={});var r=e.call(this,fE(n).request)||this;return r.options=n,r}return t}(zr);const{toString:ip,hasOwnProperty:dE}=Object.prototype,op=Function.prototype.toString,Qu=new Map;function je(e,t){try{return Uu(e,t)}finally{Qu.clear()}}function Uu(e,t){if(e===t)return!0;const n=ip.call(e),r=ip.call(t);if(n!==r)return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(sp(e,t))return!0;const i=ap(e),o=ap(t),a=i.length;if(a!==o.length)return!1;for(let s=0;s=0&&e.indexOf(t,n)===n}function sp(e,t){let n=Qu.get(e);if(n){if(n.has(t))return!0}else Qu.set(e,n=new Set);return n.add(t),!1}function mE(){}class yE{constructor(t=1/0,n=mE){this.max=t,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}has(t){return this.map.has(t)}get(t){const n=this.getNode(t);return n&&n.value}getNode(t){const n=this.map.get(t);if(n&&n!==this.newest){const{older:r,newer:i}=n;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n}set(t,n){let r=this.getNode(t);return r?r.value=n:(r={key:t,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(t,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(t){const n=this.map.get(t);return n?(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(t),this.dispose(n.value,t),!0):!1}}let ct=null;const lp={};let gE=1;const bE=()=>class{constructor(){this.id=["slot",gE++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let t=ct;t;t=t.parent)if(this.id in t.slots){const n=t.slots[this.id];if(n===lp)break;return t!==ct&&(ct.slots[this.id]=n),!0}return ct&&(ct.slots[this.id]=lp),!1}getValue(){if(this.hasValue())return ct.slots[this.id]}withValue(t,n,r,i){const o={__proto__:null,[this.id]:t},a=ct;ct={parent:a,slots:o};try{return n.apply(i,r)}finally{ct=a}}static bind(t){const n=ct;return function(){const r=ct;try{return ct=n,t.apply(this,arguments)}finally{ct=r}}}static noContext(t,n,r){if(ct){const i=ct;try{return ct=null,t.apply(r,n)}finally{ct=i}}else return t.apply(r,n)}};function up(e){try{return e()}catch{}}const Cl="@wry/context:Slot",EE=up(()=>globalThis)||up(()=>global)||Object.create(null),cp=EE,L0=cp[Cl]||Array[Cl]||function(e){try{Object.defineProperty(cp,Cl,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(bE()),Us=new L0,{hasOwnProperty:wE}=Object.prototype,pf=Array.from||function(e){const t=[];return e.forEach(n=>t.push(n)),t};function ys(e){const{unsubscribe:t}=e;typeof t=="function"&&(e.unsubscribe=void 0,t())}const Bo=[],xE=100;function Pi(e,t){if(!e)throw new Error(t||"assertion failure")}function SE(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function z0(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function kE(e){return e.slice(0)}class Ws{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Ws.count}peek(){if(this.value.length===1&&!hr(this))return fp(this),this.value[0]}recompute(t){return Pi(!this.recomputing,"already recomputing"),fp(this),hr(this)?_E(this,t):z0(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,V0(this),ys(this))}dispose(){this.setDirty(),W0(this),hf(this,(t,n)=>{t.setDirty(),$0(t,this)})}forget(){this.dispose()}dependOn(t){t.add(this),this.deps||(this.deps=Bo.pop()||new Set),this.deps.add(t)}forgetDeps(){this.deps&&(pf(this.deps).forEach(t=>t.delete(this)),this.deps.clear(),Bo.push(this.deps),this.deps=null)}}Ws.count=0;function fp(e){const t=Us.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),hr(e)?B0(t,e):Q0(t,e),t}function _E(e,t){return W0(e),Us.withValue(e,OE,[e,t]),TE(e,t)&&CE(e),z0(e.value)}function OE(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function hr(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function CE(e){e.dirty=!1,!hr(e)&&q0(e)}function V0(e){hf(e,B0)}function q0(e){hf(e,Q0)}function hf(e,t){const n=e.parents.size;if(n){const r=pf(e.parents);for(let i=0;i0&&e.childValues.forEach((t,n)=>{$0(e,n)}),e.forgetDeps(),Pi(e.dirtyChildren===null)}function $0(e,t){t.parents.delete(e),e.childValues.delete(t),U0(e,t)}function TE(e,t){if(typeof e.subscribe=="function")try{ys(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}const NE={setDirty:!0,dispose:!0,forget:!0};function H0(e){const t=new Map,n=e&&e.subscribe;function r(i){const o=Us.getValue();if(o){let a=t.get(i);a||t.set(i,a=new Set),o.dependOn(a),typeof n=="function"&&(ys(a),a.unsubscribe=n(i))}}return r.dirty=function(o,a){const s=t.get(o);if(s){const l=a&&wE.call(NE,a)?a:"setDirty";pf(s).forEach(u=>u[l]()),t.delete(o),ys(s)}},r}let dp;function jE(...e){return(dp||(dp=new br(typeof WeakMap=="function"))).lookupArray(e)}const Tl=new Set;function gs(e,{max:t=Math.pow(2,16),makeCacheKey:n=jE,keyArgs:r,subscribe:i}=Object.create(null)){const o=new yE(t,c=>c.dispose()),a=function(){const c=n.apply(null,r?r.apply(null,arguments):arguments);if(c===void 0)return e.apply(null,arguments);let f=o.get(c);f||(o.set(c,f=new Ws(e)),f.subscribe=i,f.forget=()=>o.delete(c));const p=f.recompute(Array.prototype.slice.call(arguments));return o.set(c,f),Tl.add(o),Us.hasValue()||(Tl.forEach(h=>h.clean()),Tl.clear()),p};Object.defineProperty(a,"size",{get(){return o.map.size},configurable:!1,enumerable:!1}),Object.freeze(a.options={max:t,makeCacheKey:n,keyArgs:r,subscribe:i});function s(c){const f=o.get(c);f&&f.setDirty()}a.dirtyKey=s,a.dirty=function(){s(n.apply(null,arguments))};function l(c){const f=o.get(c);if(f)return f.peek()}a.peekKey=l,a.peek=function(){return l(n.apply(null,arguments))};function u(c){return o.delete(c)}return a.forgetKey=u,a.forget=function(){return u(n.apply(null,arguments))},a.makeCacheKey=n,a.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(a)}var IE=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=gs(Jb)}return e.prototype.batch=function(t){var n=this,r=typeof t.optimistic=="string"?t.optimistic:t.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=t.update(n)},r),i},e.prototype.recordOptimisticTransaction=function(t,n){this.performTransaction(t,n)},e.prototype.transformDocument=function(t){return t},e.prototype.transformForLink=function(t){return t},e.prototype.identify=function(t){},e.prototype.gc=function(){return[]},e.prototype.modify=function(t){return!1},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(L(L({},t),{rootId:t.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!!t.optimistic),this.read(L(L({},t),{query:this.getFragmentDoc(t.fragment,t.fragmentName),rootId:t.id,optimistic:n}))},e.prototype.writeQuery=function(t){var n=t.id,r=t.data,i=En(t,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(t){var n=t.id,r=t.data,i=t.fragment,o=t.fragmentName,a=En(t,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:n,result:r}))},e.prototype.updateQuery=function(t,n){return this.batch({update:function(r){var i=r.readQuery(t),o=n(i);return o==null?i:(r.writeQuery(L(L({},t),{data:o})),o)}})},e.prototype.updateFragment=function(t,n){return this.batch({update:function(r){var i=r.readFragment(t),o=n(i);return o==null?i:(r.writeFragment(L(L({},t),{data:o})),o)}})},e}(),G0=function(e){fn(t,e);function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=(a={},a[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return t}(Error),rt=Object.prototype.hasOwnProperty;function to(e){return e==null}function K0(e,t){var n=e.__typename,r=e.id,i=e._id;if(typeof n=="string"&&(t&&(t.keyObject=to(r)?to(i)?void 0:{_id:i}:{id:r}),to(r)&&!to(i)&&(r=i),!to(r)))return"".concat(n,":").concat(typeof r=="number"||typeof r=="string"?r:JSON.stringify(r))}var Y0={dataIdFromObject:K0,addTypename:!0,resultCaching:!0,canonizeResults:!1};function DE(e){return Mr(Y0,e)}function J0(e){var t=e.canonizeResults;return t===void 0?Y0.canonizeResults:t}function PE(e,t){return ke(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var X0=/^[_a-z][_0-9a-z]*/i;function vr(e){var t=e.match(X0);return t?t[0]:e}function Wu(e,t,n){return Fe(t)?We(t)?t.every(function(r){return Wu(e,r,n)}):e.selections.every(function(r){if(dr(r)&&Jo(r,n)){var i=fr(r);return rt.call(t,i)&&(!r.selectionSet||Wu(r.selectionSet,t[i],n))}return!0}):!1}function di(e){return Fe(e)&&!ke(e)&&!We(e)}function RE(){return new pr}function Z0(e,t){var n=Vs(Qs(e));return{fragmentMap:n,lookupFragment:function(r){var i=n[r];return!i&&t&&(i=t.lookup(r)),i||null}}}var Qa=Object.create(null),Nl=function(){return Qa},pp=Object.create(null),Qo=function(){function e(t,n){var r=this;this.policies=t,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,o){return qo(ke(i)?r.get(i.__ref,o):i&&i[o])},this.canRead=function(i){return ke(i)?r.has(i.__ref):typeof i=="object"},this.toReference=function(i,o){if(typeof i=="string")return wi(i);if(ke(i))return i;var a=r.policies.identify(i)[0];if(a){var s=wi(a);return o&&r.merge(a,i),s}}}return e.prototype.toObject=function(){return L({},this.data)},e.prototype.has=function(t){return this.lookup(t,!0)!==void 0},e.prototype.get=function(t,n){if(this.group.depend(t,n),rt.call(this.data,t)){var r=this.data[t];if(r&&rt.call(r,n))return r[n]}if(n==="__typename"&&rt.call(this.policies.rootTypenamesById,t))return this.policies.rootTypenamesById[t];if(this instanceof $n)return this.parent.get(t,n)},e.prototype.lookup=function(t,n){if(n&&this.group.depend(t,"__exists"),rt.call(this.data,t))return this.data[t];if(this instanceof $n)return this.parent.lookup(t,n);if(this.policies.rootTypenamesById[t])return Object.create(null)},e.prototype.merge=function(t,n){var r=this,i;ke(t)&&(t=t.__ref),ke(n)&&(n=n.__ref);var o=typeof t=="string"?this.lookup(i=t):t,a=typeof n=="string"?this.lookup(i=n):n;if(a){ae(typeof i=="string",1);var s=new pr(ME).merge(o,a);if(this.data[i]=s,s!==o&&(delete this.refs[i],this.group.caching)){var l=Object.create(null);o||(l.__exists=1),Object.keys(a).forEach(function(u){if(!o||o[u]!==s[u]){l[u]=1;var c=vr(u);c!==u&&!r.policies.hasKeyArgs(s.__typename,c)&&(l[c]=1),s[u]===void 0&&!(r instanceof $n)&&delete s[u]}}),l.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[i]===s.__typename&&delete l.__typename,Object.keys(l).forEach(function(u){return r.group.dirty(i,u)})}}},e.prototype.modify=function(t,n){var r=this,i=this.lookup(t);if(i){var o=Object.create(null),a=!1,s=!0,l={DELETE:Qa,INVALIDATE:pp,isReference:ke,toReference:this.toReference,canRead:this.canRead,readField:function(u,c){return r.policies.readField(typeof u=="string"?{fieldName:u,from:c||wi(t)}:u,{store:r})}};if(Object.keys(i).forEach(function(u){var c=vr(u),f=i[u];if(f!==void 0){var p=typeof n=="function"?n:n[u]||n[c];if(p){var h=p===Nl?Qa:p(qo(f),L(L({},l),{fieldName:c,storeFieldName:u,storage:r.getStorage(t,u)}));if(h===pp)r.group.dirty(t,u);else if(h===Qa&&(h=void 0),h!==f&&(o[u]=h,a=!0,f=h,globalThis.__DEV__!==!1)){var g=function(O){if(r.lookup(O.__ref)===void 0)return globalThis.__DEV__!==!1&&ae.warn(2,O),!0};if(ke(h))g(h);else if(Array.isArray(h))for(var E=!1,_=void 0,v=0,m=h;v0){var n=--this.rootIds[t];return n||delete this.rootIds[t],n}return 0},e.prototype.getRootIdSet=function(t){return t===void 0&&(t=new Set),Object.keys(this.rootIds).forEach(t.add,t),this instanceof $n?this.parent.getRootIdSet(t):Object.keys(this.policies.rootTypenamesById).forEach(t.add,t),t},e.prototype.gc=function(){var t=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(a){rt.call(r,a)&&(Object.keys(t.findChildRefIds(a)).forEach(n.add,n),delete r[a])});var i=Object.keys(r);if(i.length){for(var o=this;o instanceof $n;)o=o.parent;i.forEach(function(a){return o.delete(a)})}return i},e.prototype.findChildRefIds=function(t){if(!rt.call(this.refs,t)){var n=this.refs[t]=Object.create(null),r=this.data[t];if(!r)return n;var i=new Set([r]);i.forEach(function(o){ke(o)&&(n[o.__ref]=!0),Fe(o)&&Object.keys(o).forEach(function(a){var s=o[a];Fe(s)&&i.add(s)})})}return this.refs[t]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),em=function(){function e(t,n){n===void 0&&(n=null),this.caching=t,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?H0():null,this.keyMaker=new br(wn)},e.prototype.depend=function(t,n){if(this.d){this.d(jl(t,n));var r=vr(n);r!==n&&this.d(jl(t,r)),this.parent&&this.parent.depend(t,n)}},e.prototype.dirty=function(t,n){this.d&&this.d.dirty(jl(t,n),n==="__exists"?"forget":"setDirty")},e}();function jl(e,t){return t+"#"+e}function hp(e,t){Eo(e)&&e.group.depend(t,"__exists")}(function(e){var t=function(n){fn(r,n);function r(i){var o=i.policies,a=i.resultCaching,s=a===void 0?!0:a,l=i.seed,u=n.call(this,o,new em(s))||this;return u.stump=new AE(u),u.storageTrie=new br(wn),l&&u.replace(l),u}return r.prototype.addLayer=function(i,o){return this.stump.addLayer(i,o)},r.prototype.removeLayer=function(){return this},r.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},r}(e);e.Root=t})(Qo||(Qo={}));var $n=function(e){fn(t,e);function t(n,r,i,o){var a=e.call(this,r.policies,o)||this;return a.id=n,a.parent=r,a.replay=i,a.group=o,i(a),a}return t.prototype.addLayer=function(n,r){return new t(n,this,r,this.group)},t.prototype.removeLayer=function(n){var r=this,i=this.parent.removeLayer(n);return n===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=r.data[o],s=i.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(l){je(a[l],s[l])||r.group.dirty(o,l)}):(r.group.dirty(o,"__exists"),Object.keys(s).forEach(function(l){r.group.dirty(o,l)})):r.delete(o)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return L(L({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return rt.call(this.data,n)?L(L({},r),e.prototype.findChildRefIds.call(this,n)):r},t.prototype.getStorage=function(){for(var n=this.parent;n.parent;)n=n.parent;return n.getStorage.apply(n,arguments)},t}(Qo),AE=function(e){fn(t,e);function t(n){return e.call(this,"EntityStore.Stump",n,function(){},new em(n.group.caching,n.group))||this}return t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}($n);function ME(e,t,n){var r=e[n],i=t[n];return je(r,i)?r:i}function Eo(e){return!!(e instanceof Qo&&e.group.caching)}function FE(e){return Fe(e)?We(e)?e.slice(0):L({__proto__:Object.getPrototypeOf(e)},e):e}var $u=function(){function e(){this.known=new(S0?WeakSet:Set),this.pool=new br(wn),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(t){return Fe(t)&&this.known.has(t)},e.prototype.pass=function(t){if(Fe(t)){var n=FE(t);return this.passes.set(n,t),n}return t},e.prototype.admit=function(t){var n=this;if(Fe(t)){var r=this.passes.get(t);if(r)return r;var i=Object.getPrototypeOf(t);switch(i){case Array.prototype:{if(this.known.has(t))return t;var o=t.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(t))return t;var s=Object.getPrototypeOf(t),l=[s],u=this.sortedKeys(t);l.push(u.json);var c=l.length;u.sorted.forEach(function(h){l.push(n.admit(t[h]))});var a=this.pool.lookupArray(l);if(!a.object){var f=a.object=Object.create(s);this.known.add(f),u.sorted.forEach(function(h,g){f[h]=l[c+g]}),globalThis.__DEV__!==!1&&Object.freeze(f)}return a.object}}}return t},e.prototype.sortedKeys=function(t){var n=Object.keys(t),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),Nr=Object.assign(function(e){if(Fe(e)){Hu===void 0&&vp();var t=Hu.admit(e),n=Gu.get(t);return n===void 0&&Gu.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:vp}),Hu,Gu;function vp(){Hu=new $u,Gu=new(wn?WeakMap:Map)}function mp(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var LE=function(){function e(t){var n=this;this.knownResults=new(wn?WeakMap:Map),this.config=Mr(t,{addTypename:t.addTypename!==!1,canonizeResults:J0(t)}),this.canon=t.canon||new $u,this.executeSelectionSet=gs(function(r){var i,o=r.context.canonizeResults,a=mp(r);a[3]=!o;var s=(i=n.executeSelectionSet).peek.apply(i,a);return s?o?L(L({},s),{result:n.canon.admit(s.result)}):s:(hp(r.context.store,r.enclosingRef.__ref),n.execSelectionSetImpl(r))},{max:this.config.resultCacheMaxSize,keyArgs:mp,makeCacheKey:function(r,i,o,a){if(Eo(o.store))return o.store.makeCacheKey(r,ke(i)?i.__ref:i,o.varString,a)}}),this.executeSubSelectedArray=gs(function(r){return hp(r.context.store,r.enclosingRef.__ref),n.execSubSelectedArrayImpl(r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(r){var i=r.field,o=r.array,a=r.context;if(Eo(a.store))return a.store.makeCacheKey(i,o,a.varString)}})}return e.prototype.resetCanon=function(){this.canon=new $u},e.prototype.diffQueryAgainstStore=function(t){var n=t.store,r=t.query,i=t.rootId,o=i===void 0?"ROOT_QUERY":i,a=t.variables,s=t.returnPartialData,l=s===void 0?!0:s,u=t.canonizeResults,c=u===void 0?this.config.canonizeResults:u,f=this.config.cache.policies;a=L(L({},of(k0(r))),a);var p=wi(o),h=this.executeSelectionSet({selectionSet:Vi(r).selectionSet,objectOrReference:p,enclosingRef:p,context:L({store:n,query:r,policies:f,variables:a,varString:Nr(a),canonizeResults:c},Z0(r,this.config.fragments))}),g;if(h.missing&&(g=[new G0(zE(h.missing),h.missing,r,a)],!l))throw g[0];return{result:h.result,complete:!g,missing:g}},e.prototype.isFresh=function(t,n,r,i){if(Eo(i.store)&&this.knownResults.get(t)===r){var o=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(t));if(o&&t===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(t){var n=this,r=t.selectionSet,i=t.objectOrReference,o=t.enclosingRef,a=t.context;if(ke(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,l=a.policies,u=a.store,c=u.getFieldValue(i,"__typename"),f=[],p,h=new pr;this.config.addTypename&&typeof c=="string"&&!l.rootIdsByTypename[c]&&f.push({__typename:c});function g(y,d){var O;return y.missing&&(p=h.merge(p,(O={},O[d]=y.missing,O))),y.result}var E=new Set(r.selections);E.forEach(function(y){var d,O;if(Jo(y,s))if(dr(y)){var C=l.readField({fieldName:y.name.value,field:y,variables:a.variables,from:i},a),N=fr(y);C===void 0?af.added(y)||(p=h.merge(p,(d={},d[N]="Can't find field '".concat(y.name.value,"' on ").concat(ke(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),d))):We(C)?C=g(n.executeSubSelectedArray({field:y,array:C,enclosingRef:o,context:a}),N):y.selectionSet?C!=null&&(C=g(n.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:C,enclosingRef:ke(C)?C:o,context:a}),N)):a.canonizeResults&&(C=n.canon.pass(C)),C!==void 0&&f.push((O={},O[N]=C,O))}else{var D=qs(y,a.lookupFragment);if(!D&&y.kind===te.FRAGMENT_SPREAD)throw St(9,y.name.value);D&&l.fragmentMatches(D,c)&&D.selectionSet.selections.forEach(E.add,E)}});var _=sf(f),v={result:_,missing:p},m=a.canonizeResults?this.canon.admit(v):qo(v);return m.result&&this.knownResults.set(m.result,r),m},e.prototype.execSubSelectedArrayImpl=function(t){var n=this,r=t.field,i=t.array,o=t.enclosingRef,a=t.context,s,l=new pr;function u(c,f){var p;return c.missing&&(s=l.merge(s,(p={},p[f]=c.missing,p))),c.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(c,f){return c===null?null:We(c)?u(n.executeSubSelectedArray({field:r,array:c,enclosingRef:o,context:a}),f):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:c,enclosingRef:ke(c)?c:o,context:a}),f):(globalThis.__DEV__!==!1&&VE(a.store,r,c),c)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:s}},e}();function zE(e){try{JSON.stringify(e,function(t,n){if(typeof n=="string")throw n;return n})}catch(t){return t}}function VE(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(i){Fe(i)&&(ae(!ke(i),10,PE(e,i),t.name.value),Object.values(i).forEach(r.add,r))})}}var vf=new L0,yp=new WeakMap;function wo(e){var t=yp.get(e);return t||yp.set(e,t={vars:new Set,dep:H0()}),t}function gp(e){wo(e).vars.forEach(function(t){return t.forgetCache(e)})}function qE(e){wo(e).vars.forEach(function(t){return t.attachCache(e)})}function BE(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(l){wo(l).dep.dirty(r),QE(l)});var a=Array.from(n);n.clear(),a.forEach(function(l){return l(e)})}}else{var s=vf.getValue();s&&(i(s),wo(s).dep(r))}return e};r.onNextChange=function(o){return n.add(o),function(){n.delete(o)}};var i=r.attachCache=function(o){return t.add(o),wo(o).vars.add(r),r};return r.forgetCache=function(o){return t.delete(o)},r}function QE(e){e.broadcastWatches&&e.broadcastWatches()}var bp=Object.create(null);function mf(e){var t=JSON.stringify(e);return bp[t]||(bp[t]=Object.create(null))}function Ep(e){var t=mf(e);return t.keyFieldsFn||(t.keyFieldsFn=function(n,r){var i=function(a,s){return r.readField(s,a)},o=r.keyObject=yf(e,function(a){var s=Si(r.storeObject,a,i);return s===void 0&&n!==r.storeObject&&rt.call(n,a[0])&&(s=Si(n,a,nm)),ae(s!==void 0,4,a.join("."),n),s});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function wp(e){var t=mf(e);return t.keyArgsFn||(t.keyArgsFn=function(n,r){var i=r.field,o=r.variables,a=r.fieldName,s=yf(e,function(u){var c=u[0],f=c.charAt(0);if(f==="@"){if(i&&Yt(i.directives)){var p=c.slice(1),h=i.directives.find(function(v){return v.name.value===p}),g=h&&Bs(h,o);return g&&Si(g,u.slice(1))}return}if(f==="$"){var E=c.slice(1);if(o&&rt.call(o,E)){var _=u.slice(0);return _[0]=E,Si(o,_)}return}if(n)return Si(n,u)}),l=JSON.stringify(s);return(n||l!=="{}")&&(a+=":"+l),a})}function yf(e,t){var n=new pr;return tm(e).reduce(function(r,i){var o,a=t(i);if(a!==void 0){for(var s=i.length-1;s>=0;--s)a=(o={},o[i[s]]=a,o);r=n.merge(r,a)}return r},Object.create(null))}function tm(e){var t=mf(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(i,o){We(i)?(tm(i).forEach(function(a){return n.push(r.concat(a))}),r.length=0):(r.push(i),We(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function nm(e,t){return e[t]}function Si(e,t,n){return n=n||nm,rm(t.reduce(function r(i,o){return We(i)?i.map(function(a){return r(a,o)}):i&&n(i,o)},e))}function rm(e){return Fe(e)?We(e)?e.map(rm):yf(Object.keys(e).sort(),function(t){return Si(e,t)}):e}rf.setStringify(Nr);function Ku(e){return e.args!==void 0?e.args:e.field?Bs(e.field,e.variables):null}var UE=function(){},xp=function(e,t){return t.fieldName},Sp=function(e,t,n){var r=n.mergeObjects;return r(e,t)},kp=function(e,t){return t},WE=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=L({dataIdFromObject:K0},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,n){var r,i=this,o=n&&(n.typename||((r=n.storeObject)===null||r===void 0?void 0:r.__typename))||t.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=n&&n.storeObject||t,s=L(L({},n),{typename:o,storeObject:a,readField:n&&n.readField||function(){var p=gf(arguments,a);return i.readField(p,{store:i.cache.data,variables:p.variables})}}),l,u=o&&this.getTypePolicy(o),c=u&&u.keyFn||this.config.dataIdFromObject;c;){var f=c(L(L({},t),a),s);if(We(f))c=Ep(f);else{l=f;break}}return l=l?String(l):void 0,s.keyObject?[l,s.keyObject]:[l]},e.prototype.addTypePolicies=function(t){var n=this;Object.keys(t).forEach(function(r){var i=t[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,l=En(i,["queryType","mutationType","subscriptionType"]);o&&n.setRootTypename("Query",r),a&&n.setRootTypename("Mutation",r),s&&n.setRootTypename("Subscription",r),rt.call(n.toBeAdded,r)?n.toBeAdded[r].push(l):n.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(t,n){var r=this,i=this.getTypePolicy(t),o=n.keyFields,a=n.fields;function s(l,u){l.merge=typeof u=="function"?u:u===!0?Sp:u===!1?kp:l.merge}s(i,n.merge),i.keyFn=o===!1?UE:We(o)?Ep(o):typeof o=="function"?o:i.keyFn,a&&Object.keys(a).forEach(function(l){var u=r.getFieldPolicy(t,l,!0),c=a[l];if(typeof c=="function")u.read=c;else{var f=c.keyArgs,p=c.read,h=c.merge;u.keyFn=f===!1?xp:We(f)?wp(f):typeof f=="function"?f:u.keyFn,typeof p=="function"&&(u.read=p),s(u,h)}u.read&&u.merge&&(u.keyFn=u.keyFn||xp)})},e.prototype.setRootTypename=function(t,n){n===void 0&&(n=t);var r="ROOT_"+t.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(ae(!i||i===t,5,t),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(t){var n=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(r){n.getSupertypeSet(r,!0),t[r].forEach(function(i){n.getSupertypeSet(i,!0).add(r);var o=i.match(X0);(!o||o[0]!==i)&&n.fuzzySubtypes.set(i,new RegExp(i))})})},e.prototype.getTypePolicy=function(t){var n=this;if(!rt.call(this.typePolicies,t)){var r=this.typePolicies[t]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(t);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(t,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(t)){var l=n.supertypeMap.get(s);l&&l.forEach(function(u){return i.add(u)})}})),i&&i.size&&i.forEach(function(a){var s=n.getTypePolicy(a),l=s.fields,u=En(s,["fields"]);Object.assign(r,u),Object.assign(r.fields,l)})}var o=this.toBeAdded[t];return o&&o.length&&o.splice(0).forEach(function(a){n.updateTypePolicy(t,a)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,n,r){if(t){var i=this.getTypePolicy(t).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(t,n){var r=this.supertypeMap.get(t);return!r&&n&&this.supertypeMap.set(t,r=new Set),r},e.prototype.fragmentMatches=function(t,n,r,i){var o=this;if(!t.typeCondition)return!0;if(!n)return!1;var a=t.typeCondition.name.value;if(n===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(n,!0),l=[s],u=function(g){var E=o.getSupertypeSet(g,!1);E&&E.size&&l.indexOf(E)<0&&l.push(E)},c=!!(r&&this.fuzzySubtypes.size),f=!1,p=0;p1?i:t}:(a=L({},r),rt.call(a,"from")||(a.from=t)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&ae.warn(7,c0(Array.from(e))),a.variables===void 0&&(a.variables=n),a}function im(e){return function(n,r){if(We(n)||We(r))throw St(8);if(Fe(n)&&Fe(r)){var i=e.getFieldValue(n,"__typename"),o=e.getFieldValue(r,"__typename"),a=i&&o&&i!==o;if(a)return r;if(ke(n)&&di(r))return e.merge(n.__ref,r),n;if(di(n)&&ke(r))return e.merge(n,r.__ref),r;if(di(n)&&di(r))return L(L({},n),r)}return r}}function Il(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:L(L({},e),{clientOnly:t,deferred:n})),i}var $E=function(){function e(t,n,r){this.cache=t,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(t,n){var r=this,i=n.query,o=n.result,a=n.dataId,s=n.variables,l=n.overwrite,u=Zo(i),c=RE();s=L(L({},of(u)),s);var f=L(L({store:t,written:Object.create(null),merge:function(h,g){return c.merge(h,g)},variables:s,varString:Nr(s)},Z0(i,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:f});if(!ke(p))throw St(11,o);return f.incomingById.forEach(function(h,g){var E=h.storeObject,_=h.mergeTree,v=h.fieldNodeSet,m=wi(g);if(_&&_.map.size){var y=r.applyMerges(_,m,E,f);if(ke(y))return;E=y}if(globalThis.__DEV__!==!1&&!f.overwrite){var d=Object.create(null);v.forEach(function(N){N.selectionSet&&(d[N.name.value]=!0)});var O=function(N){return d[vr(N)]===!0},C=function(N){var D=_&&_.map.get(N);return!!(D&&D.info&&D.info.merge)};Object.keys(E).forEach(function(N){O(N)&&!C(N)&&HE(m,E,N,f.store)})}t.merge(g,E)}),t.retain(p.__ref),p},e.prototype.processSelectionSet=function(t){var n=this,r=t.dataId,i=t.result,o=t.selectionSet,a=t.context,s=t.mergeTree,l=this.cache.policies,u=Object.create(null),c=r&&l.rootTypenamesById[r]||Ru(i,o,a.fragmentMap)||r&&a.store.get(r,"__typename");typeof c=="string"&&(u.__typename=c);var f=function(){var y=gf(arguments,u,a.variables);if(ke(y.from)){var d=a.incomingById.get(y.from.__ref);if(d){var O=l.readField(L(L({},y),{from:d.storeObject}),a);if(O!==void 0)return O}}return l.readField(y,a)},p=new Set;this.flattenFields(o,i,a,c).forEach(function(y,d){var O,C=fr(d),N=i[C];if(p.add(d),N!==void 0){var D=l.getStoreFieldName({typename:c,fieldName:d.name.value,field:d,variables:y.variables}),T=Op(s,D),j=n.processFieldValue(N,d,d.selectionSet?Il(y,!1,!1):y,T),q=void 0;d.selectionSet&&(ke(j)||di(j))&&(q=f("__typename",j));var J=l.getMergeFunction(c,d.name.value,q);J?T.info={field:d,typename:c,merge:J}:Cp(s,D),u=y.merge(u,(O={},O[D]=j,O))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!af.added(d)&&!l.getReadFunction(c,d.name.value)&&globalThis.__DEV__!==!1&&ae.error(12,fr(d),i)});try{var h=l.identify(i,{typename:c,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:u,readField:f}),g=h[0],E=h[1];r=r||g,E&&(u=a.merge(u,E))}catch(y){if(!r)throw y}if(typeof r=="string"){var _=wi(r),v=a.written[r]||(a.written[r]=[]);if(v.indexOf(o)>=0||(v.push(o),this.reader&&this.reader.isFresh(i,_,o,a)))return _;var m=a.incomingById.get(r);return m?(m.storeObject=a.merge(m.storeObject,u),m.mergeTree=Yu(m.mergeTree,s),p.forEach(function(y){return m.fieldNodeSet.add(y)})):a.incomingById.set(r,{storeObject:u,mergeTree:bs(s)?void 0:s,fieldNodeSet:p}),_}return u},e.prototype.processFieldValue=function(t,n,r,i){var o=this;return!n.selectionSet||t===null?globalThis.__DEV__!==!1?P0(t):t:We(t)?t.map(function(a,s){var l=o.processFieldValue(a,n,r,Op(i,s));return Cp(i,s),l}):this.processSelectionSet({result:t,selectionSet:n.selectionSet,context:r,mergeTree:i})},e.prototype.flattenFields=function(t,n,r,i){i===void 0&&(i=Ru(n,t,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new br(!1);return function l(u,c){var f=s.lookup(u,c.clientOnly,c.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(p){if(Jo(p,r.variables)){var h=c.clientOnly,g=c.deferred;if(!(h&&g)&&Yt(p.directives)&&p.directives.forEach(function(v){var m=v.name.value;if(m==="client"&&(h=!0),m==="defer"){var y=Bs(v,r.variables);(!y||y.if!==!1)&&(g=!0)}}),dr(p)){var E=o.get(p);E&&(h=h&&E.clientOnly,g=g&&E.deferred),o.set(p,Il(r,h,g))}else{var _=qs(p,r.lookupFragment);if(!_&&p.kind===te.FRAGMENT_SPREAD)throw St(13,p.name.value);_&&a.fragmentMatches(_,i,n,r.variables)&&l(_.selectionSet,Il(r,h,g))}}}))}(t,r),o},e.prototype.applyMerges=function(t,n,r,i,o){var a,s=this;if(t.map.size&&!ke(r)){var l=!We(r)&&(ke(n)||di(n))?n:void 0,u=r;l&&!o&&(o=[ke(l)?l.__ref:l]);var c,f=function(p,h){return We(p)?typeof h=="number"?p[h]:void 0:i.store.getFieldValue(p,String(h))};t.map.forEach(function(p,h){var g=f(l,h),E=f(u,h);if(E!==void 0){o&&o.push(h);var _=s.applyMerges(p,g,E,i,o);_!==E&&(c=c||new Map,c.set(h,_)),o&&ae(o.pop()===h)}}),c&&(r=We(u)?u.slice(0):L({},u),c.forEach(function(p,h){r[h]=p}))}return t.info?this.cache.policies.runMergeFunction(n,r,t.info,i,o&&(a=i.store).getStorage.apply(a,o)):r},e}(),om=[];function Op(e,t){var n=e.map;return n.has(t)||n.set(t,om.pop()||{map:new Map}),n.get(t)}function Yu(e,t){if(e===t||!t||bs(t))return e;if(!e||bs(e))return t;var n=e.info&&t.info?L(L({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i=r?new Map:e.map.size?e.map:t.map,o={info:n,map:i};if(r){var a=new Set(t.map.keys());e.map.forEach(function(s,l){o.map.set(l,Yu(s,t.map.get(l))),a.delete(l)}),a.forEach(function(s){o.map.set(s,Yu(t.map.get(s),e.map.get(s)))})}return o}function bs(e){return!e||!(e.info||e.map.size)}function Cp(e,t){var n=e.map,r=n.get(t);r&&bs(r)&&(om.push(r),n.delete(t))}var Tp=new Set;function HE(e,t,n,r){var i=function(f){var p=r.getFieldValue(f,n);return typeof p=="object"&&p},o=i(e);if(o){var a=i(t);if(a&&!ke(o)&&!je(o,a)&&!Object.keys(o).every(function(f){return r.getFieldValue(a,f)!==void 0})){var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=vr(n),u="".concat(s,".").concat(l);if(!Tp.has(u)){Tp.add(u);var c=[];!We(o)&&!We(a)&&[o,a].forEach(function(f){var p=r.getFieldValue(f,"__typename");typeof p=="string"&&!c.includes(p)&&c.push(p)}),globalThis.__DEV__!==!1&&ae.warn(14,l,s,c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"",u,o,a)}}}}var GE=function(e){fn(t,e);function t(n){n===void 0&&(n={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new _0(af),r.assumeImmutableResults=!0,r.makeVar=BE,r.txCount=0,r.config=DE(n),r.addTypename=!!r.config.addTypename,r.policies=new WE({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return t.prototype.init=function(){var n=this.data=new Qo.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=n.stump,this.resetResultCache()},t.prototype.resetResultCache=function(n){var r=this,i=this.storeReader,o=this.config.fragments;this.storeWriter=new $E(this,this.storeReader=new LE({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:J0(this.config),canon:n?void 0:i&&i.canon,fragments:o}),o),this.maybeBroadcastWatch=gs(function(a,s){return r.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(a){var s=a.optimistic?r.optimisticData:r.data;if(Eo(s)){var l=a.optimistic,u=a.id,c=a.variables;return s.makeCacheKey(a.query,a.callback,Nr({optimistic:l,id:u,variables:c}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},t.prototype.restore=function(n){return this.init(),n&&this.data.replace(n),this},t.prototype.extract=function(n){return n===void 0&&(n=!1),(n?this.optimisticData:this.data).extract()},t.prototype.read=function(n){var r=n.returnPartialData,i=r===void 0?!1:r;try{return this.storeReader.diffQueryAgainstStore(L(L({},n),{store:n.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(o){if(o instanceof G0)return null;throw o}},t.prototype.write=function(n){try{return++this.txCount,this.storeWriter.writeToStore(this.data,n)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.modify=function(n){if(rt.call(n,"id")&&!n.id)return!1;var r=n.optimistic?this.optimisticData:this.data;try{return++this.txCount,r.modify(n.id||"ROOT_QUERY",n.fields)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.diff=function(n){return this.storeReader.diffQueryAgainstStore(L(L({},n),{store:n.optimistic?this.optimisticData:this.data,rootId:n.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(n){var r=this;return this.watches.size||qE(this),this.watches.add(n),n.immediate&&this.maybeBroadcastWatch(n),function(){r.watches.delete(n)&&!r.watches.size&&gp(r),r.maybeBroadcastWatch.forget(n)}},t.prototype.gc=function(n){Nr.reset();var r=this.optimisticData.gc();return n&&!this.txCount&&(n.resetResultCache?this.resetResultCache(n.resetResultIdentities):n.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(n,r){return(r?this.optimisticData:this.data).retain(n)},t.prototype.release=function(n,r){return(r?this.optimisticData:this.data).release(n)},t.prototype.identify=function(n){if(ke(n))return n.__ref;try{return this.policies.identify(n)[0]}catch(r){globalThis.__DEV__!==!1&&ae.warn(r)}},t.prototype.evict=function(n){if(!n.id){if(rt.call(n,"id"))return!1;n=L(L({},n),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(n,this.data)}finally{!--this.txCount&&n.broadcast!==!1&&this.broadcastWatches()}},t.prototype.reset=function(n){var r=this;return this.init(),Nr.reset(),n&&n.discardWatches?(this.watches.forEach(function(i){return r.maybeBroadcastWatch.forget(i)}),this.watches.clear(),gp(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(n){var r=this.optimisticData.removeLayer(n);r!==this.optimisticData&&(this.optimisticData=r,this.broadcastWatches())},t.prototype.batch=function(n){var r=this,i=n.update,o=n.optimistic,a=o===void 0?!0:o,s=n.removeOptimistic,l=n.onWatchUpdated,u,c=function(p){var h=r,g=h.data,E=h.optimisticData;++r.txCount,p&&(r.data=r.optimisticData=p);try{return u=i(r)}finally{--r.txCount,r.data=g,r.optimisticData=E}},f=new Set;return l&&!this.txCount&&this.broadcastWatches(L(L({},n),{onWatchUpdated:function(p){return f.add(p),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,c):a===!1?c(this.data):c(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),l&&f.size?(this.broadcastWatches(L(L({},n),{onWatchUpdated:function(p,h){var g=l.call(this,p,h);return g!==!1&&f.delete(p),g}})),f.size&&f.forEach(function(p){return r.maybeBroadcastWatch.dirty(p)})):this.broadcastWatches(n),u},t.prototype.performTransaction=function(n,r){return this.batch({update:n,optimistic:r||r!==null})},t.prototype.transformDocument=function(n){return this.addTypenameToDocument(this.addFragmentsToDocument(n))},t.prototype.broadcastWatches=function(n){var r=this;this.txCount||this.watches.forEach(function(i){return r.maybeBroadcastWatch(i,n)})},t.prototype.addFragmentsToDocument=function(n){var r=this.config.fragments;return r?r.transform(n):n},t.prototype.addTypenameToDocument=function(n){return this.addTypename?this.addTypenameTransform.transformDocument(n):n},t.prototype.broadcastWatch=function(n,r){var i=n.lastDiff,o=this.diff(n);r&&(n.optimistic&&typeof r.optimistic=="string"&&(o.fromOptimisticTransaction=!0),r.onWatchUpdated&&r.onWatchUpdated.call(this,n,o,i)===!1)||(!i||!je(i.result,o.result))&&n.callback(n.lastDiff=o,i)},t}(IE),be;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(be||(be={}));function Uo(e){return e?e<7:!1}function KE(e,t,n,r){var i=t.data,o=En(t,["data"]),a=n.data,s=En(n,["data"]);return je(o,s)&&Ua(Vi(e).selectionSet,i,a,{fragmentMap:Vs(Qs(e)),variables:r})}function Ua(e,t,n,r){if(t===n)return!0;var i=new Set;return e.selections.every(function(o){if(i.has(o)||(i.add(o),!Jo(o,r.variables))||Np(o))return!0;if(dr(o)){var a=fr(o),s=t&&t[a],l=n&&n[a],u=o.selectionSet;if(!u)return je(s,l);var c=Array.isArray(s),f=Array.isArray(l);if(c!==f)return!1;if(c&&f){var p=s.length;if(l.length!==p)return!1;for(var h=0;h0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(n){return n.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(n){return this.queryManager.transform(n)},t}(Re);R0(Ju);function am(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return n==="cache-and-network"||n==="network-only"?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,typeof r=="function"?r.apply(this,arguments):n}}):e.reobserve()}function XE(e){globalThis.__DEV__!==!1&&ae.error(23,e.message,e.stack)}function sm(e){globalThis.__DEV__!==!1&&e&&globalThis.__DEV__!==!1&&ae.debug(24,e)}function Dl(e){return e==="network-only"||e==="no-cache"||e==="standby"}var lm=function(){function e(t){var n=t.cache,r=t.client,i=t.resolvers,o=t.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(t){var n=this;this.resolvers=this.resolvers||{},Array.isArray(t)?t.forEach(function(r){n.resolvers=Gd(n.resolvers,r)}):this.resolvers=Gd(this.resolvers,t)},e.prototype.setResolvers=function(t){this.resolvers={},this.addResolvers(t)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(t){var n=t.document,r=t.remoteResult,i=t.context,o=t.variables,a=t.onlyRunForcedResolvers,s=a===void 0?!1:a;return Kn(this,void 0,void 0,function(){return Yn(this,function(l){return n?[2,this.resolveDocument(n,r.data,i,o,this.fragmentMatcher,s).then(function(u){return L(L({},r),{data:u.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(t){this.fragmentMatcher=t},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(t){return Vo(["client"],t)&&this.resolvers?t:null},e.prototype.serverQuery=function(t){return N0(t)},e.prototype.prepareContext=function(t){var n=this.cache;return L(L({},t),{cache:n,getCacheKey:function(r){return n.identify(r)}})},e.prototype.addExportedVariables=function(t,n,r){return n===void 0&&(n={}),r===void 0&&(r={}),Kn(this,void 0,void 0,function(){return Yn(this,function(i){return t?[2,this.resolveDocument(t,this.buildRootValueFromCache(t,n)||{},this.prepareContext(r),n).then(function(o){return L(L({},n),o.exportedVariables)})]:[2,L({},n)]})})},e.prototype.shouldForceResolvers=function(t){var n=!1;return Fn(t,{Directive:{enter:function(r){if(r.name.value==="client"&&r.arguments&&(n=r.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),n))return tf}}}),n},e.prototype.buildRootValueFromCache=function(t,n){return this.cache.diff({query:m1(t),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(t,n,r,i,o,a){return r===void 0&&(r={}),i===void 0&&(i={}),o===void 0&&(o=function(){return!0}),a===void 0&&(a=!1),Kn(this,void 0,void 0,function(){var s,l,u,c,f,p,h,g,E,_,v;return Yn(this,function(m){return s=Vi(t),l=Qs(t),u=Vs(l),c=this.collectSelectionsToResolve(s,u),f=s.operation,p=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",h=this,g=h.cache,E=h.client,_={fragmentMap:u,context:L(L({},r),{cache:g,client:E}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},v=!1,[2,this.resolveSelectionSet(s.selectionSet,v,n,_).then(function(y){return{result:y,exportedVariables:_.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(t,n,r,i){return Kn(this,void 0,void 0,function(){var o,a,s,l,u,c=this;return Yn(this,function(f){return o=i.fragmentMap,a=i.context,s=i.variables,l=[r],u=function(p){return Kn(c,void 0,void 0,function(){var h,g;return Yn(this,function(E){return!n&&!i.selectionsToResolve.has(p)?[2]:Jo(p,s)?dr(p)?[2,this.resolveField(p,n,r,i).then(function(_){var v;typeof _<"u"&&l.push((v={},v[fr(p)]=_,v))})]:(f1(p)?h=p:(h=o[p.name.value],ae(h,18,p.name.value)),h&&h.typeCondition&&(g=h.typeCondition.name.value,i.fragmentMatcher(r,g,a))?[2,this.resolveSelectionSet(h.selectionSet,n,r,i).then(function(_){l.push(_)})]:[2]):[2]})})},[2,Promise.all(t.selections.map(u)).then(function(){return sf(l)})]})})},e.prototype.resolveField=function(t,n,r,i){return Kn(this,void 0,void 0,function(){var o,a,s,l,u,c,f,p,h,g=this;return Yn(this,function(E){return r?(o=i.variables,a=t.name.value,s=fr(t),l=a!==s,u=r[s]||r[a],c=Promise.resolve(u),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(t))&&(f=r.__typename||i.defaultOperationType,p=this.resolvers&&this.resolvers[f],p&&(h=p[l?a:s],h&&(c=Promise.resolve(vf.withValue(this.cache,h,[r,Bs(t,o),i.context,{field:t,fragmentMap:i.fragmentMap}]))))),[2,c.then(function(_){var v,m;if(_===void 0&&(_=u),t.directives&&t.directives.forEach(function(d){d.name.value==="export"&&d.arguments&&d.arguments.forEach(function(O){O.name.value==="as"&&O.value.kind==="StringValue"&&(i.exportedVariables[O.value.value]=_)})}),!t.selectionSet||_==null)return _;var y=(m=(v=t.directives)===null||v===void 0?void 0:v.some(function(d){return d.name.value==="client"}))!==null&&m!==void 0?m:!1;if(Array.isArray(_))return g.resolveSubSelectedArray(t,n||y,_,i);if(t.selectionSet)return g.resolveSelectionSet(t.selectionSet,n||y,_,i)})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(t,n,r,i){var o=this;return Promise.all(r.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(t,n,a,i);if(t.selectionSet)return o.resolveSelectionSet(t.selectionSet,n,a,i)}))},e.prototype.collectSelectionsToResolve=function(t,n){var r=function(a){return!Array.isArray(a)},i=this.selectionsToResolveCache;function o(a){if(!i.has(a)){var s=new Set;i.set(a,s),Fn(a,{Directive:function(l,u,c,f,p){l.name.value==="client"&&p.forEach(function(h){r(h)&&Ud(h)&&s.add(h)})},FragmentSpread:function(l,u,c,f,p){var h=n[l.name.value];ae(h,19,l.name.value);var g=o(h);g.size>0&&(p.forEach(function(E){r(E)&&Ud(E)&&s.add(E)}),s.add(l),g.forEach(function(E){s.add(E)}))}})}return i.get(a)}return o(t)},e}(),pi=new(wn?WeakMap:Map);function Pl(e,t){var n=e[t];typeof n=="function"&&(e[t]=function(){return pi.set(e,(pi.get(e)+1)%1e15),n.apply(this,arguments)})}function Ip(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Rl=function(){function e(t,n){n===void 0&&(n=t.generateQueryId()),this.queryId=n,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=t.cache;pi.has(r)||(pi.set(r,0),Pl(r,"evict"),Pl(r,"modify"),Pl(r,"reset"))}return e.prototype.init=function(t){var n=t.networkStatus||be.loading;return this.variables&&this.networkStatus!==be.loading&&!je(this.variables,t.variables)&&(n=be.setVariables),je(t.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:t.document,variables:t.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),t.observableQuery&&this.setObservableQuery(t.observableQuery),t.lastRequestId&&(this.lastRequestId=t.lastRequestId),this},e.prototype.reset=function(){Ip(this),this.dirty=!1},e.prototype.getDiff=function(){var t=this.getDiffOptions();if(this.lastDiff&&je(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&n.options.fetchPolicy==="no-cache")return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(t,n){this.lastDiff=t?{diff:t,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(t){var n;return t===void 0&&(t=this.variables),{query:this.document,variables:t,returnPartialData:!0,optimistic:!0,canonizeResults:(n=this.observableQuery)===null||n===void 0?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(t){var n=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(t),!this.dirty&&!je(r&&r.result,t&&t.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},e.prototype.setObservableQuery=function(t){var n=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){var r=n.getDiff();r.fromOptimisticTransaction?t.observe():am(t)})):delete this.oqListener)},e.prototype.notify=function(){var t=this;Ip(this),this.shouldNotify()&&this.listeners.forEach(function(n){return n(t)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Uo(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if(t!=="cache-only"&&t!=="cache-and-network")return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(t){var n=this;t===void 0&&(t=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=L(L({},this.getDiffOptions(t)),{watcher:this,callback:function(o){return n.setDiff(o)}});(!this.lastWatch||!je(i,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(t,n){var r=this.lastWrite;return!(r&&r.dmCount===pi.get(this.cache)&&je(n,r.variables)&&je(t.data,r.result.data))},e.prototype.markResult=function(t,n,r,i){var o=this,a=new pr,s=Yt(t.errors)?t.errors.slice(0):[];if(this.reset(),"incremental"in t&&Yt(t.incremental)){var l=A0(this.getDiff().result,t);t.data=l}else if("hasNext"in t&&t.hasNext){var u=this.getDiff();t.data=a.merge(u.result,t.data)}this.graphQLErrors=s,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:t.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(Xu(t,r.errorPolicy)?this.cache.performTransaction(function(c){if(o.shouldWrite(t,r.variables))c.writeQuery({query:n,data:t.data,variables:r.variables,overwrite:i===1}),o.lastWrite={result:t,variables:r.variables,dmCount:pi.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){t.data=o.lastDiff.diff.result;return}var f=o.getDiffOptions(r.variables),p=c.diff(f);!o.stopped&&je(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(p,f),p.complete&&(t.data=p.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=be.ready},e.prototype.markError=function(t){return this.networkStatus=be.error,this.lastWrite=void 0,this.reset(),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function Xu(e,t){t===void 0&&(t="none");var n=t==="ignore"||t==="all",r=!Ba(e);return!r&&n&&e.data&&(r=!0),r}var ZE=Object.prototype.hasOwnProperty,ew=function(){function e(t){var n=this,r=t.cache,i=t.link,o=t.defaultOptions,a=t.documentTransform,s=t.queryDeduplication,l=s===void 0?!1:s,u=t.onBroadcast,c=t.ssrMode,f=c===void 0?!1:c,p=t.clientAwareness,h=p===void 0?{}:p,g=t.localState,E=t.assumeImmutableResults,_=E===void 0?!!r.assumeImmutableResults:E;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(wn?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var v=new _0(function(m){return n.cache.transformDocument(m)},{cache:!1});this.cache=r,this.link=i,this.defaultOptions=o||Object.create(null),this.queryDeduplication=l,this.clientAwareness=h,this.localState=g||new lm({cache:r}),this.ssrMode=f,this.assumeImmutableResults=_,this.documentTransform=a?v.concat(a).concat(v):v,(this.onBroadcast=u)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var t=this;this.queries.forEach(function(n,r){t.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(St(25))},e.prototype.cancelPendingFetches=function(t){this.fetchCancelFns.forEach(function(n){return n(t)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(t){var n,r,i=t.mutation,o=t.variables,a=t.optimisticResponse,s=t.updateQueries,l=t.refetchQueries,u=l===void 0?[]:l,c=t.awaitRefetchQueries,f=c===void 0?!1:c,p=t.update,h=t.onQueryUpdated,g=t.fetchPolicy,E=g===void 0?((n=this.defaultOptions.mutate)===null||n===void 0?void 0:n.fetchPolicy)||"network-only":g,_=t.errorPolicy,v=_===void 0?((r=this.defaultOptions.mutate)===null||r===void 0?void 0:r.errorPolicy)||"none":_,m=t.keepRootFields,y=t.context;return Kn(this,void 0,void 0,function(){var d,O,C,N;return Yn(this,function(D){switch(D.label){case 0:return ae(i,26),ae(E==="network-only"||E==="no-cache",27),d=this.generateMutationId(),i=this.cache.transformForLink(this.transform(i)),O=this.getDocumentInfo(i).hasClientExports,o=this.getVariables(i,o),O?[4,this.localState.addExportedVariables(i,o,y)]:[3,2];case 1:o=D.sent(),D.label=2;case 2:return C=this.mutationStore&&(this.mutationStore[d]={mutation:i,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:d,document:i,variables:o,fetchPolicy:E,errorPolicy:v,context:y,updateQueries:s,update:p,keepRootFields:m}),this.broadcastQueries(),N=this,[2,new Promise(function(T,j){return _l(N.getObservableFromLink(i,L(L({},y),{optimisticResponse:a}),o,!1),function(q){if(Ba(q)&&v==="none")throw new Nn({graphQLErrors:zu(q)});C&&(C.loading=!1,C.error=null);var J=L({},q);return typeof u=="function"&&(u=u(J)),v==="ignore"&&Ba(J)&&delete J.errors,N.markMutationResult({mutationId:d,result:J,document:i,variables:o,fetchPolicy:E,errorPolicy:v,context:y,update:p,updateQueries:s,awaitRefetchQueries:f,refetchQueries:u,removeOptimistic:a?d:void 0,onQueryUpdated:h,keepRootFields:m})}).subscribe({next:function(q){N.broadcastQueries(),(!("hasNext"in q)||q.hasNext===!1)&&T(q)},error:function(q){C&&(C.loading=!1,C.error=q),a&&N.cache.removeOptimistic(d),N.broadcastQueries(),j(q instanceof Nn?q:new Nn({networkError:q}))}})})]}})})},e.prototype.markMutationResult=function(t,n){var r=this;n===void 0&&(n=this.cache);var i=t.result,o=[],a=t.fetchPolicy==="no-cache";if(!a&&Xu(i,t.errorPolicy)){if(xi(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}),xi(i)&&Yt(i.incremental)){var s=n.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}),l=void 0;s.result&&(l=A0(s.result,i)),typeof l<"u"&&(i.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables}))}var u=t.updateQueries;u&&this.queries.forEach(function(f,p){var h=f.observableQuery,g=h&&h.queryName;if(!(!g||!ZE.call(u,g))){var E=u[g],_=r.queries.get(p),v=_.document,m=_.variables,y=n.diff({query:v,variables:m,returnPartialData:!0,optimistic:!1}),d=y.result,O=y.complete;if(O&&d){var C=E(d,{mutationResult:i,queryName:v&&Au(v)||void 0,queryVariables:m});C&&o.push({result:C,dataId:"ROOT_QUERY",query:v,variables:m})}}})}if(o.length>0||t.refetchQueries||t.update||t.onQueryUpdated||t.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(f){a||o.forEach(function(E){return f.write(E)});var p=t.update,h=!I1(i)||xi(i)&&!i.hasNext;if(p){if(!a){var g=f.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});g.complete&&(i=L(L({},i),{data:g.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}h&&p(f,i,{context:t.context,variables:t.variables})}!a&&!t.keepRootFields&&h&&f.modify({id:"ROOT_MUTATION",fields:function(E,_){var v=_.fieldName,m=_.DELETE;return v==="__typename"?E:m}})},include:t.refetchQueries,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(function(f){return c.push(f)}),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(c).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(t,n){var r=this,i=typeof t=="function"?t(n.variables):t;return this.cache.recordOptimisticTransaction(function(o){try{r.markMutationResult(L(L({},n),{result:{data:i}}),o)}catch(a){globalThis.__DEV__!==!1&&ae.error(a)}},n.mutationId)},e.prototype.fetchQuery=function(t,n,r){return this.fetchConcastWithInfo(t,n,r).concast.promise},e.prototype.getQueryStore=function(){var t=Object.create(null);return this.queries.forEach(function(n,r){t[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),t},e.prototype.resetErrors=function(t){var n=this.queries.get(t);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(t){return this.documentTransform.transformDocument(t)},e.prototype.getDocumentInfo=function(t){var n=this.transformCache;if(!n.has(t)){var r={hasClientExports:qb(t),hasForcedResolvers:this.localState.shouldForceResolvers(t),hasNonreactiveDirective:Vo(["nonreactive"],t),clientQuery:this.localState.clientQuery(t),serverQuery:T0([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],t),defaultVars:of(Zo(t)),asQuery:L(L({},t),{definitions:t.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?L(L({},i),{operation:"query"}):i})})};n.set(t,r)}return n.get(t)},e.prototype.getVariables=function(t,n){return L(L({},this.getDocumentInfo(t).defaultVars),n)},e.prototype.watchQuery=function(t){var n=this.transform(t.query);t=L(L({},t),{variables:this.getVariables(n,t.variables)}),typeof t.notifyOnNetworkStatusChange>"u"&&(t.notifyOnNetworkStatusChange=!1);var r=new Rl(this),i=new Ju({queryManager:this,queryInfo:r,options:t});return i.lastQuery=n,this.queries.set(i.queryId,r),r.init({document:n,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(t,n){var r=this;return n===void 0&&(n=this.generateQueryId()),ae(t.query,28),ae(t.query.kind==="Document",29),ae(!t.returnPartialData,30),ae(!t.pollInterval,31),this.fetchQuery(n,L(L({},t),{query:this.transform(t.query)})).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(t){this.stopQueryInStoreNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(t){var n=this.queries.get(t);n&&n.stop()},e.prototype.clearStore=function(t){return t===void 0&&(t={discardWatches:!0}),this.cancelPendingFetches(St(32)),this.queries.forEach(function(n){n.observableQuery?n.networkStatus=be.loading:n.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(t)},e.prototype.getObservableQueries=function(t){var n=this;t===void 0&&(t="active");var r=new Map,i=new Map,o=new Set;return Array.isArray(t)&&t.forEach(function(a){typeof a=="string"?i.set(a,!1):Xb(a)?i.set(n.transform(a),!1):Fe(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var l=a.observableQuery,u=a.document;if(l){if(t==="all"){r.set(s,l);return}var c=l.queryName,f=l.options.fetchPolicy;if(f==="standby"||t==="active"&&!l.hasObservers())return;(t==="active"||c&&i.has(c)||u&&i.has(u))&&(r.set(s,l),c&&i.set(c,!0),u&&i.set(u,!0))}}),o.size&&o.forEach(function(a){var s=ju("legacyOneTimeQuery"),l=n.getQuery(s).init({document:a.query,variables:a.variables}),u=new Ju({queryManager:n,queryInfo:l,options:L(L({},a),{fetchPolicy:"network-only"})});ae(u.queryId===s),l.setObservableQuery(u),r.set(s,u)}),globalThis.__DEV__!==!1&&i.size&&i.forEach(function(a,s){a||globalThis.__DEV__!==!1&&ae.warn(typeof s=="string"?33:34,s)}),r},e.prototype.reFetchObservableQueries=function(t){var n=this;t===void 0&&(t=!1);var r=[];return this.getObservableQueries(t?"all":"active").forEach(function(i,o){var a=i.options.fetchPolicy;i.resetLastResults(),(t||a!=="standby"&&a!=="cache-only")&&r.push(i.refetch()),n.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(t){this.getQuery(t.queryId).setObservableQuery(t)},e.prototype.startGraphQLSubscription=function(t){var n=this,r=t.query,i=t.fetchPolicy,o=t.errorPolicy,a=o===void 0?"none":o,s=t.variables,l=t.context,u=l===void 0?{}:l;r=this.transform(r),s=this.getVariables(r,s);var c=function(p){return n.getObservableFromLink(r,u,p).map(function(h){i!=="no-cache"&&(Xu(h,a)&&n.cache.write({query:r,result:h.data,dataId:"ROOT_SUBSCRIPTION",variables:p}),n.broadcastQueries());var g=Ba(h),E=G1(h);if(g||E){var _={};if(g&&(_.graphQLErrors=h.errors),E&&(_.protocolErrors=h.extensions[df]),a==="none"||E)throw new Nn(_)}return a==="ignore"&&delete h.errors,h})};if(this.getDocumentInfo(r).hasClientExports){var f=this.localState.addExportedVariables(r,s,u).then(c);return new Re(function(p){var h=null;return f.then(function(g){return h=g.subscribe(p)},p.error),function(){return h&&h.unsubscribe()}})}return c(s)},e.prototype.stopQuery=function(t){this.stopQueryNoBroadcast(t),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(t){this.stopQueryInStoreNoBroadcast(t),this.removeQuery(t)},e.prototype.removeQuery=function(t){this.fetchCancelFns.delete(t),this.queries.has(t)&&(this.getQuery(t).stop(),this.queries.delete(t))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(t){return t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(t,n,r,i){var o=this,a;i===void 0&&(i=(a=n==null?void 0:n.queryDeduplication)!==null&&a!==void 0?a:this.queryDeduplication);var s,l=this.getDocumentInfo(t),u=l.serverQuery,c=l.clientQuery;if(u){var f=this,p=f.inFlightLinkObservables,h=f.link,g={query:u,variables:r,operationName:Au(u)||void 0,context:this.prepareContext(L(L({},n),{forceFetch:!i}))};if(n=g.context,i){var E=O0(u),_=p.get(E)||new Map;p.set(E,_);var v=Nr(r);if(s=_.get(v),!s){var m=new Jr([qu(h,g)]);_.set(v,s=m),m.beforeNext(function(){_.delete(v)&&_.size<1&&p.delete(E)})}}else s=new Jr([qu(h,g)])}else s=new Jr([Re.of({data:{}})]),n=this.prepareContext(n);return c&&(s=_l(s,function(y){return o.localState.runResolvers({document:c,remoteResult:y,context:n,variables:r})})),s},e.prototype.getResultsFromLink=function(t,n,r){var i=t.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return _l(this.getObservableFromLink(o,r.context,r.variables),function(a){var s=zu(a),l=s.length>0;if(i>=t.lastRequestId){if(l&&r.errorPolicy==="none")throw t.markError(new Nn({graphQLErrors:s}));t.markResult(a,o,r,n),t.markReady()}var u={data:a.data,loading:!1,networkStatus:be.ready};return l&&r.errorPolicy!=="ignore"&&(u.errors=s,u.networkStatus=be.error),u},function(a){var s=K1(a)?a:new Nn({networkError:a});throw i>=t.lastRequestId&&t.markError(s),s})},e.prototype.fetchConcastWithInfo=function(t,n,r,i){var o=this;r===void 0&&(r=be.loading),i===void 0&&(i=n.query);var a=this.getVariables(i,n.variables),s=this.getQuery(t),l=this.defaultOptions.watchQuery,u=n.fetchPolicy,c=u===void 0?l&&l.fetchPolicy||"cache-first":u,f=n.errorPolicy,p=f===void 0?l&&l.errorPolicy||"none":f,h=n.returnPartialData,g=h===void 0?!1:h,E=n.notifyOnNetworkStatusChange,_=E===void 0?!1:E,v=n.context,m=v===void 0?{}:v,y=Object.assign({},n,{query:i,variables:a,fetchPolicy:c,errorPolicy:p,returnPartialData:g,notifyOnNetworkStatusChange:_,context:m}),d=function(T){y.variables=T;var j=o.fetchQueryByPolicy(s,y,r);return y.fetchPolicy!=="standby"&&j.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",n),j},O=function(){return o.fetchCancelFns.delete(t)};this.fetchCancelFns.set(t,function(T){O(),setTimeout(function(){return C.cancel(T)})});var C,N;if(this.getDocumentInfo(y.query).hasClientExports)C=new Jr(this.localState.addExportedVariables(y.query,y.variables,y.context).then(d).then(function(T){return T.sources})),N=!0;else{var D=d(y.variables);N=D.fromLink,C=new Jr(D.sources)}return C.promise.then(O,O),{concast:C,fromLink:N}},e.prototype.refetchQueries=function(t){var n=this,r=t.updateCache,i=t.include,o=t.optimistic,a=o===void 0?!1:o,s=t.removeOptimistic,l=s===void 0?a?ju("refetchQueries"):void 0:s,u=t.onQueryUpdated,c=new Map;i&&this.getObservableQueries(i).forEach(function(p,h){c.set(h,{oq:p,lastDiff:n.getQuery(h).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:a&&l||!1,removeOptimistic:l,onWatchUpdated:function(p,h,g){var E=p.watcher instanceof Rl&&p.watcher.observableQuery;if(E){if(u){c.delete(E.queryId);var _=u(E,h,g);return _===!0&&(_=E.refetch()),_!==!1&&f.set(E,_),_}u!==null&&c.set(E.queryId,{oq:E,lastDiff:g,diff:h})}}}),c.size&&c.forEach(function(p,h){var g=p.oq,E=p.lastDiff,_=p.diff,v;if(u){if(!_){var m=g.queryInfo;m.reset(),_=m.getDiff()}v=u(g,_,E)}(!u||v===!0)&&(v=g.refetch()),v!==!1&&f.set(g,v),h.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(h)}),l&&this.cache.removeOptimistic(l),f},e.prototype.fetchQueryByPolicy=function(t,n,r){var i=this,o=n.query,a=n.variables,s=n.fetchPolicy,l=n.refetchWritePolicy,u=n.errorPolicy,c=n.returnPartialData,f=n.context,p=n.notifyOnNetworkStatusChange,h=t.networkStatus;t.init({document:o,variables:a,networkStatus:r});var g=function(){return t.getDiff()},E=function(d,O){O===void 0&&(O=t.networkStatus||be.loading);var C=d.result;globalThis.__DEV__!==!1&&!c&&!je(C,{})&&sm(d.missing);var N=function(D){return Re.of(L({data:D,loading:Uo(O),networkStatus:O},d.complete?null:{partial:!0}))};return C&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:C},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(D){return N(D.data||void 0)}):u==="none"&&O===be.refetch&&Array.isArray(d.missing)?N(void 0):N(C)},_=s==="no-cache"?0:r===be.refetch&&l!=="merge"?1:2,v=function(){return i.getResultsFromLink(t,_,{query:o,variables:a,context:f,fetchPolicy:s,errorPolicy:u})},m=p&&typeof h=="number"&&h!==r&&Uo(r);switch(s){default:case"cache-first":{var y=g();return y.complete?{fromLink:!1,sources:[E(y,t.markReady())]}:c||m?{fromLink:!0,sources:[E(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var y=g();return y.complete||c||m?{fromLink:!0,sources:[E(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[E(g(),t.markReady())]};case"network-only":return m?{fromLink:!0,sources:[E(g()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return m?{fromLink:!0,sources:[E(t.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(t){return t&&!this.queries.has(t)&&this.queries.set(t,new Rl(this,t)),this.queries.get(t)},e.prototype.prepareContext=function(t){t===void 0&&(t={});var n=this.localState.prepareContext(t);return L(L({},n),{clientAwareness:this.clientAwareness})},e}(),Dp=!1,tw=function(){function e(t){var n=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!t.cache)throw St(15);var r=t.uri,i=t.credentials,o=t.headers,a=t.cache,s=t.documentTransform,l=t.ssrMode,u=l===void 0?!1:l,c=t.ssrForceFetchDelay,f=c===void 0?0:c,p=t.connectToDevTools,h=p===void 0?typeof window=="object"&&!window.__APOLLO_CLIENT__&&globalThis.__DEV__!==!1:p,g=t.queryDeduplication,E=g===void 0?!0:g,_=t.defaultOptions,v=t.assumeImmutableResults,m=v===void 0?a.assumeImmutableResults:v,y=t.resolvers,d=t.typeDefs,O=t.fragmentMatcher,C=t.name,N=t.version,D=t.link;D||(D=r?new F0({uri:r,credentials:i,headers:o}):zr.empty()),this.link=D,this.cache=a,this.disableNetworkFetches=u||f>0,this.queryDeduplication=E,this.defaultOptions=_||Object.create(null),this.typeDefs=d,f&&setTimeout(function(){return n.disableNetworkFetches=!1},f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=Yc,this.localState=new lm({cache:a,client:this,resolvers:y,fragmentMatcher:O}),this.queryManager=new ew({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:s,queryDeduplication:E,ssrMode:u,clientAwareness:{name:C,version:N},localState:this.localState,assumeImmutableResults:m,onBroadcast:h?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0}),h&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if(typeof window=="object"){var t=window,n=Symbol.for("apollo.devtools");(t[n]=t[n]||[]).push(this),t.__APOLLO_CLIENT__=this}!Dp&&globalThis.__DEV__!==!1&&(Dp=!0,setTimeout(function(){if(typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var r=window.navigator,i=r&&r.userAgent,o=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&ae.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=bo(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=L(L({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=bo(this.defaultOptions.query,t)),ae(t.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=L(L({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=bo(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},e.prototype.readQuery=function(t,n){return n===void 0&&(n=!1),this.cache.readQuery(t,n)},e.prototype.readFragment=function(t,n){return n===void 0&&(n=!1),this.cache.readFragment(t,n)},e.prototype.writeQuery=function(t){var n=this.cache.writeQuery(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.writeFragment=function(t){var n=this.cache.writeFragment(t);return t.broadcast!==!1&&this.queryManager.broadcastQueries(),n},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return qu(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(n){return n()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(n){return n()}))})},e.prototype.onResetStore=function(t){var n=this;return this.resetStoreCallbacks.push(t),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.onClearStore=function(t){var n=this;return this.clearStoreCallbacks.push(t),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(r){return r!==t})}},e.prototype.reFetchObservableQueries=function(t){return this.queryManager.reFetchObservableQueries(t)},e.prototype.refetchQueries=function(t){var n=this.queryManager.refetchQueries(t),r=[],i=[];n.forEach(function(a,s){r.push(s),i.push(a)});var o=Promise.all(i);return o.queries=r,o.results=i,o.catch(function(a){globalThis.__DEV__!==!1&&ae.debug(17,a)}),o},e.prototype.getObservableQueries=function(t){return t===void 0&&(t="active"),this.queryManager.getObservableQueries(t)},e.prototype.extract=function(t){return this.cache.extract(t)},e.prototype.restore=function(t){return this.cache.restore(t)},e.prototype.addResolvers=function(t){this.localState.addResolvers(t)},e.prototype.setResolvers=function(t){this.localState.setResolvers(t)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(t){this.localState.setFragmentMatcher(t)},e.prototype.setLink=function(t){this.link=this.queryManager.link=t},e}(),Wa=new Map,Zu=new Map,um=!0,Es=!1;function cm(e){return e.replace(/[\s,]+/g," ").trim()}function nw(e){return cm(e.source.body.substring(e.start,e.end))}function rw(e){var t=new Set,n=[];return e.definitions.forEach(function(r){if(r.kind==="FragmentDefinition"){var i=r.name.value,o=nw(r.loc),a=Zu.get(i);a&&!a.has(o)?um&&console.warn("Warning: fragment with name "+i+` already exists. +graphql-tag enforces all fragment names across your application to be unique; read more about +this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||Zu.set(i,a=new Set),a.add(o),t.has(o)||(t.add(o),n.push(r))}else n.push(r)}),L(L({},e),{definitions:n})}function iw(e){var t=new Set(e.definitions);t.forEach(function(r){r.loc&&delete r.loc,Object.keys(r).forEach(function(i){var o=r[i];o&&typeof o=="object"&&t.add(o)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function ow(e){var t=cm(e);if(!Wa.has(t)){var n=Nb(e,{experimentalFragmentVariables:Es,allowLegacyFragmentVariables:Es});if(!n||n.kind!=="Document")throw new Error("Not a valid GraphQL document.");Wa.set(t,iw(rw(n)))}return Wa.get(t)}function Jt(e){for(var t=[],n=1;n0?new Nn({graphQLErrors:O}):void 0,N=u.onError||((m=a.current.options)===null||m===void 0?void 0:m.onError);if(C&&N&&N(C,_),E===a.current.mutationId&&!_.ignoreResults){var D={called:!0,loading:!1,data:d,error:C,client:g};a.current.isMounted&&!je(a.current.result,D)&&o(a.current.result=D)}var T=u.onCompleted||((y=a.current.options)===null||y===void 0?void 0:y.onCompleted);return C||T==null||T(v.data,_),v}).catch(function(v){var m;if(E===a.current.mutationId&&a.current.isMounted){var y={loading:!1,error:v,data:void 0,called:!0,client:g};je(a.current.result,y)||o(a.current.result=y)}var d=u.onError||((m=a.current.options)===null||m===void 0?void 0:m.onError);if(d)return d(v,_),{data:void 0,errors:v};throw v})},[]),l=ce.useCallback(function(){a.current.isMounted&&o({called:!1,loading:!1,client:n})},[]);return ce.useEffect(function(){return a.current.isMounted=!0,function(){a.current.isMounted=!1}},[]),[s,L({reset:l},i)]}function bw(e){let t={};return e.headers!=null&&(t=e.headers),R.jsx("div",{className:"p-4 md:w-1/2 w-full",children:R.jsxs("div",{className:"bg-gray-100 p-4 rounded",children:[R.jsx("h2",{className:"tracking-midwest text-xs text-gray-400 mb-2",children:Ew(Object.keys(t).length,"HEADER","S")}),Object.keys(t).map((n,r)=>R.jsxs("div",{className:"flex border-t border-gray-200 py-2 text-xs",children:[R.jsx("span",{className:"text-gray-500",children:n}),R.jsx("span",{className:"ml-auto text-gray-900",children:t[n]})]},r))]})})}const Ew=(e,t,n="s")=>`${e} ${t}${e!==1?n:""}`;var pm={exports:{}};(function(e,t){(function(n,r){e.exports=r(ce)})(un,function(n){return function(r){var i={};function o(a){if(i[a])return i[a].exports;var s=i[a]={i:a,l:!1,exports:{}};return r[a].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=r,o.c=i,o.d=function(a,s,l){o.o(a,s)||Object.defineProperty(a,s,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,s){if(1&s&&(a=o(a)),8&s||4&s&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&s&&typeof a!="string")for(var u in a)o.d(l,u,(function(c){return a[c]}).bind(null,u));return l},o.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(s,"a",s),s},o.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},o.p="",o(o.s=48)}([function(r,i){r.exports=n},function(r,i){var o=r.exports={version:"2.6.12"};typeof __e=="number"&&(__e=o)},function(r,i,o){var a=o(26)("wks"),s=o(17),l=o(3).Symbol,u=typeof l=="function";(r.exports=function(c){return a[c]||(a[c]=u&&l[c]||(u?l:s)("Symbol."+c))}).store=a},function(r,i){var o=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=o)},function(r,i,o){r.exports=!o(8)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(r,i){var o={}.hasOwnProperty;r.exports=function(a,s){return o.call(a,s)}},function(r,i,o){var a=o(7),s=o(16);r.exports=o(4)?function(l,u,c){return a.f(l,u,s(1,c))}:function(l,u,c){return l[u]=c,l}},function(r,i,o){var a=o(10),s=o(35),l=o(23),u=Object.defineProperty;i.f=o(4)?Object.defineProperty:function(c,f,p){if(a(c),f=l(f,!0),a(p),s)try{return u(c,f,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported!");return"value"in p&&(c[f]=p.value),c}},function(r,i){r.exports=function(o){try{return!!o()}catch{return!0}}},function(r,i,o){var a=o(40),s=o(22);r.exports=function(l){return a(s(l))}},function(r,i,o){var a=o(11);r.exports=function(s){if(!a(s))throw TypeError(s+" is not an object!");return s}},function(r,i){r.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(r,i){r.exports={}},function(r,i,o){var a=o(39),s=o(27);r.exports=Object.keys||function(l){return a(l,s)}},function(r,i){r.exports=!0},function(r,i,o){var a=o(3),s=o(1),l=o(53),u=o(6),c=o(5),f=function(p,h,g){var E,_,v,m=p&f.F,y=p&f.G,d=p&f.S,O=p&f.P,C=p&f.B,N=p&f.W,D=y?s:s[h]||(s[h]={}),T=D.prototype,j=y?a:d?a[h]:(a[h]||{}).prototype;for(E in y&&(g=h),g)(_=!m&&j&&j[E]!==void 0)&&c(D,E)||(v=_?j[E]:g[E],D[E]=y&&typeof j[E]!="function"?g[E]:C&&_?l(v,a):N&&j[E]==v?function(q){var J=function(A,le,re){if(this instanceof q){switch(arguments.length){case 0:return new q;case 1:return new q(A);case 2:return new q(A,le)}return new q(A,le,re)}return q.apply(this,arguments)};return J.prototype=q.prototype,J}(v):O&&typeof v=="function"?l(Function.call,v):v,O&&((D.virtual||(D.virtual={}))[E]=v,p&f.R&&T&&!T[E]&&u(T,E,v)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,r.exports=f},function(r,i){r.exports=function(o,a){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:a}}},function(r,i){var o=0,a=Math.random();r.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++o+a).toString(36))}},function(r,i,o){var a=o(22);r.exports=function(s){return Object(a(s))}},function(r,i){i.f={}.propertyIsEnumerable},function(r,i,o){var a=o(52)(!0);o(34)(String,"String",function(s){this._t=String(s),this._i=0},function(){var s,l=this._t,u=this._i;return u>=l.length?{value:void 0,done:!0}:(s=a(l,u),this._i+=s.length,{value:s,done:!1})})},function(r,i){var o=Math.ceil,a=Math.floor;r.exports=function(s){return isNaN(s=+s)?0:(s>0?a:o)(s)}},function(r,i){r.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},function(r,i,o){var a=o(11);r.exports=function(s,l){if(!a(s))return s;var u,c;if(l&&typeof(u=s.toString)=="function"&&!a(c=u.call(s))||typeof(u=s.valueOf)=="function"&&!a(c=u.call(s))||!l&&typeof(u=s.toString)=="function"&&!a(c=u.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},function(r,i){var o={}.toString;r.exports=function(a){return o.call(a).slice(8,-1)}},function(r,i,o){var a=o(26)("keys"),s=o(17);r.exports=function(l){return a[l]||(a[l]=s(l))}},function(r,i,o){var a=o(1),s=o(3),l=s["__core-js_shared__"]||(s["__core-js_shared__"]={});(r.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:a.version,mode:o(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(r,i){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(r,i,o){var a=o(7).f,s=o(5),l=o(2)("toStringTag");r.exports=function(u,c,f){u&&!s(u=f?u:u.prototype,l)&&a(u,l,{configurable:!0,value:c})}},function(r,i,o){o(62);for(var a=o(3),s=o(6),l=o(12),u=o(2)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;fdocument.F=Object<\/script>"),p.close(),f=p.F;g--;)delete f.prototype[l[g]];return f()};r.exports=Object.create||function(p,h){var g;return p!==null?(c.prototype=a(p),g=new c,c.prototype=null,g[u]=p):g=f(),h===void 0?g:s(g,h)}},function(r,i,o){var a=o(5),s=o(9),l=o(57)(!1),u=o(25)("IE_PROTO");r.exports=function(c,f){var p,h=s(c),g=0,E=[];for(p in h)p!=u&&a(h,p)&&E.push(p);for(;f.length>g;)a(h,p=f[g++])&&(~l(E,p)||E.push(p));return E}},function(r,i,o){var a=o(24);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(s){return a(s)=="String"?s.split(""):Object(s)}},function(r,i,o){var a=o(39),s=o(27).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(l){return a(l,s)}},function(r,i,o){var a=o(24),s=o(2)("toStringTag"),l=a(function(){return arguments}())=="Arguments";r.exports=function(u){var c,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=function(h,g){try{return h[g]}catch{}}(c=Object(u),s))=="string"?f:l?a(c):(p=a(c))=="Object"&&typeof c.callee=="function"?"Arguments":p}},function(r,i){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}r.exports=o},function(r,i){var o=/-?\d+(\.\d+)?%?/g;r.exports=function(a){return a.match(o)}},function(r,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.getBase16Theme=i.createStyling=i.invertTheme=void 0;var a=_(o(49)),s=_(o(76)),l=_(o(81)),u=_(o(89)),c=_(o(93)),f=function(T){if(T&&T.__esModule)return T;var j={};if(T!=null)for(var q in T)Object.prototype.hasOwnProperty.call(T,q)&&(j[q]=T[q]);return j.default=T,j}(o(94)),p=_(o(132)),h=_(o(133)),g=_(o(138)),E=o(139);function _(T){return T&&T.__esModule?T:{default:T}}var v=f.default,m=(0,u.default)(v),y=(0,g.default)(h.default,E.rgb2yuv,function(T){var j,q=(0,l.default)(T,3),J=q[0],A=q[1],le=q[2];return[(j=J,j<.25?1:j<.5?.9-j:1.1-j),A,le]},E.yuv2rgb,p.default),d=function(T){return function(j){return{className:[j.className,T.className].filter(Boolean).join(" "),style:(0,s.default)({},j.style||{},T.style||{})}}},O=function(T,j){var q=(0,u.default)(j);for(var J in T)q.indexOf(J)===-1&&q.push(J);return q.reduce(function(A,le){return A[le]=function(re,V){if(re===void 0)return V;if(V===void 0)return re;var ue=re===void 0?"undefined":(0,a.default)(re),G=V===void 0?"undefined":(0,a.default)(V);switch(ue){case"string":switch(G){case"string":return[V,re].filter(Boolean).join(" ");case"object":return d({className:re,style:V});case"function":return function(Y){for(var H=arguments.length,se=Array(H>1?H-1:0),Z=1;Z1?H-1:0),Z=1;Z1?H-1:0),Z=1;Z1?H-1:0),Z=1;Z1?H-1:0),Z=1;Z2?q-2:0),A=2;A3?j-3:0),J=3;J1&&arguments[1]!==void 0?arguments[1]:{},le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=A.defaultBase16,V=re===void 0?v:re,ue=A.base16Themes,G=ue===void 0?null:ue,Y=D(le,G);Y&&(le=(0,s.default)({},Y,le));var H=m.reduce(function(we,Xe){return we[Xe]=le[Xe]||V[Xe],we},{}),se=(0,u.default)(le).reduce(function(we,Xe){return m.indexOf(Xe)===-1&&(we[Xe]=le[Xe]),we},{}),Z=T(H),Se=O(se,Z);return(0,c.default)(C,2).apply(void 0,[Se].concat(q))},3),i.getBase16Theme=function(T,j){if(T&&T.extend&&(T=T.extend),typeof T=="string"){var q=T.split(":"),J=(0,l.default)(q,2),A=J[0],le=J[1];T=(j||{})[A]||f[A],le==="inverted"&&(T=N(T))}return T&&T.hasOwnProperty("base00")?T:void 0})},function(r,i,o){var a,s=typeof Reflect=="object"?Reflect:null,l=s&&typeof s.apply=="function"?s.apply:function(d,O,C){return Function.prototype.apply.call(d,O,C)};a=s&&typeof s.ownKeys=="function"?s.ownKeys:Object.getOwnPropertySymbols?function(d){return Object.getOwnPropertyNames(d).concat(Object.getOwnPropertySymbols(d))}:function(d){return Object.getOwnPropertyNames(d)};var u=Number.isNaN||function(d){return d!=d};function c(){c.init.call(this)}r.exports=c,r.exports.once=function(d,O){return new Promise(function(C,N){function D(){T!==void 0&&d.removeListener("error",T),C([].slice.call(arguments))}var T;O!=="error"&&(T=function(j){d.removeListener(O,D),N(j)},d.once("error",T)),d.once(O,D)})},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var f=10;function p(d){if(typeof d!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof d)}function h(d){return d._maxListeners===void 0?c.defaultMaxListeners:d._maxListeners}function g(d,O,C,N){var D,T,j,q;if(p(C),(T=d._events)===void 0?(T=d._events=Object.create(null),d._eventsCount=0):(T.newListener!==void 0&&(d.emit("newListener",O,C.listener?C.listener:C),T=d._events),j=T[O]),j===void 0)j=T[O]=C,++d._eventsCount;else if(typeof j=="function"?j=T[O]=N?[C,j]:[j,C]:N?j.unshift(C):j.push(C),(D=h(d))>0&&j.length>D&&!j.warned){j.warned=!0;var J=new Error("Possible EventEmitter memory leak detected. "+j.length+" "+String(O)+" listeners added. Use emitter.setMaxListeners() to increase limit");J.name="MaxListenersExceededWarning",J.emitter=d,J.type=O,J.count=j.length,q=J,console&&console.warn&&console.warn(q)}return d}function E(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(d,O,C){var N={fired:!1,wrapFn:void 0,target:d,type:O,listener:C},D=E.bind(N);return D.listener=C,N.wrapFn=D,D}function v(d,O,C){var N=d._events;if(N===void 0)return[];var D=N[O];return D===void 0?[]:typeof D=="function"?C?[D.listener||D]:[D]:C?function(T){for(var j=new Array(T.length),q=0;q0&&(T=O[0]),T instanceof Error)throw T;var j=new Error("Unhandled error."+(T?" ("+T.message+")":""));throw j.context=T,j}var q=D[d];if(q===void 0)return!1;if(typeof q=="function")l(q,this,O);else{var J=q.length,A=y(q,J);for(C=0;C=0;T--)if(C[T]===O||C[T].listener===O){j=C[T].listener,D=T;break}if(D<0)return this;D===0?C.shift():function(q,J){for(;J+1=0;N--)this.removeListener(d,O[N]);return this},c.prototype.listeners=function(d){return v(this,d,!0)},c.prototype.rawListeners=function(d){return v(this,d,!1)},c.listenerCount=function(d,O){return typeof d.listenerCount=="function"?d.listenerCount(O):m.call(d,O)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},function(r,i,o){r.exports.Dispatcher=o(140)},function(r,i,o){r.exports=o(142)},function(r,i,o){i.__esModule=!0;var a=u(o(50)),s=u(o(65)),l=typeof s.default=="function"&&typeof a.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof s.default=="function"&&c.constructor===s.default&&c!==s.default.prototype?"symbol":typeof c};function u(c){return c&&c.__esModule?c:{default:c}}i.default=typeof s.default=="function"&&l(a.default)==="symbol"?function(c){return c===void 0?"undefined":l(c)}:function(c){return c&&typeof s.default=="function"&&c.constructor===s.default&&c!==s.default.prototype?"symbol":c===void 0?"undefined":l(c)}},function(r,i,o){r.exports={default:o(51),__esModule:!0}},function(r,i,o){o(20),o(29),r.exports=o(30).f("iterator")},function(r,i,o){var a=o(21),s=o(22);r.exports=function(l){return function(u,c){var f,p,h=String(s(u)),g=a(c),E=h.length;return g<0||g>=E?l?"":void 0:(f=h.charCodeAt(g))<55296||f>56319||g+1===E||(p=h.charCodeAt(g+1))<56320||p>57343?l?h.charAt(g):f:l?h.slice(g,g+2):p-56320+(f-55296<<10)+65536}}},function(r,i,o){var a=o(54);r.exports=function(s,l,u){if(a(s),l===void 0)return s;switch(u){case 1:return function(c){return s.call(l,c)};case 2:return function(c,f){return s.call(l,c,f)};case 3:return function(c,f,p){return s.call(l,c,f,p)}}return function(){return s.apply(l,arguments)}}},function(r,i){r.exports=function(o){if(typeof o!="function")throw TypeError(o+" is not a function!");return o}},function(r,i,o){var a=o(38),s=o(16),l=o(28),u={};o(6)(u,o(2)("iterator"),function(){return this}),r.exports=function(c,f,p){c.prototype=a(u,{next:s(1,p)}),l(c,f+" Iterator")}},function(r,i,o){var a=o(7),s=o(10),l=o(13);r.exports=o(4)?Object.defineProperties:function(u,c){s(u);for(var f,p=l(c),h=p.length,g=0;h>g;)a.f(u,f=p[g++],c[f]);return u}},function(r,i,o){var a=o(9),s=o(58),l=o(59);r.exports=function(u){return function(c,f,p){var h,g=a(c),E=s(g.length),_=l(p,E);if(u&&f!=f){for(;E>_;)if((h=g[_++])!=h)return!0}else for(;E>_;_++)if((u||_ in g)&&g[_]===f)return u||_||0;return!u&&-1}}},function(r,i,o){var a=o(21),s=Math.min;r.exports=function(l){return l>0?s(a(l),9007199254740991):0}},function(r,i,o){var a=o(21),s=Math.max,l=Math.min;r.exports=function(u,c){return(u=a(u))<0?s(u+c,0):l(u,c)}},function(r,i,o){var a=o(3).document;r.exports=a&&a.documentElement},function(r,i,o){var a=o(5),s=o(18),l=o(25)("IE_PROTO"),u=Object.prototype;r.exports=Object.getPrototypeOf||function(c){return c=s(c),a(c,l)?c[l]:typeof c.constructor=="function"&&c instanceof c.constructor?c.constructor.prototype:c instanceof Object?u:null}},function(r,i,o){var a=o(63),s=o(64),l=o(12),u=o(9);r.exports=o(34)(Array,"Array",function(c,f){this._t=u(c),this._i=0,this._k=f},function(){var c=this._t,f=this._k,p=this._i++;return!c||p>=c.length?(this._t=void 0,s(1)):s(0,f=="keys"?p:f=="values"?c[p]:[p,c[p]])},"values"),l.Arguments=l.Array,a("keys"),a("values"),a("entries")},function(r,i){r.exports=function(){}},function(r,i){r.exports=function(o,a){return{value:a,done:!!o}}},function(r,i,o){r.exports={default:o(66),__esModule:!0}},function(r,i,o){o(67),o(73),o(74),o(75),r.exports=o(1).Symbol},function(r,i,o){var a=o(3),s=o(5),l=o(4),u=o(15),c=o(37),f=o(68).KEY,p=o(8),h=o(26),g=o(28),E=o(17),_=o(2),v=o(30),m=o(31),y=o(69),d=o(70),O=o(10),C=o(11),N=o(18),D=o(9),T=o(23),j=o(16),q=o(38),J=o(71),A=o(72),le=o(32),re=o(7),V=o(13),ue=A.f,G=re.f,Y=J.f,H=a.Symbol,se=a.JSON,Z=se&&se.stringify,Se=_("_hidden"),we=_("toPrimitive"),Xe={}.propertyIsEnumerable,Oe=h("symbol-registry"),Qe=h("symbols"),Ie=h("op-symbols"),$e=Object.prototype,Dt=typeof H=="function"&&!!le.f,xn=a.QObject,zn=!xn||!xn.prototype||!xn.prototype.findChild,Vn=l&&p(function(){return q(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a!=7})?function(F,U,X){var ie=ue($e,U);ie&&delete $e[U],G(F,U,X),ie&&F!==$e&&G($e,U,ie)}:G,qn=function(F){var U=Qe[F]=q(H.prototype);return U._k=F,U},Bn=Dt&&typeof H.iterator=="symbol"?function(F){return typeof F=="symbol"}:function(F){return F instanceof H},Sn=function(F,U,X){return F===$e&&Sn(Ie,U,X),O(F),U=T(U,!0),O(X),s(Qe,U)?(X.enumerable?(s(F,Se)&&F[Se][U]&&(F[Se][U]=!1),X=q(X,{enumerable:j(0,!1)})):(s(F,Se)||G(F,Se,j(1,{})),F[Se][U]=!0),Vn(F,U,X)):G(F,U,X)},Vr=function(F,U){O(F);for(var X,ie=y(U=D(U)),he=0,de=ie.length;de>he;)Sn(F,X=ie[he++],U[X]);return F},qr=function(F){var U=Xe.call(this,F=T(F,!0));return!(this===$e&&s(Qe,F)&&!s(Ie,F))&&(!(U||!s(this,F)||!s(Qe,F)||s(this,Se)&&this[Se][F])||U)},Qn=function(F,U){if(F=D(F),U=T(U,!0),F!==$e||!s(Qe,U)||s(Ie,U)){var X=ue(F,U);return!X||!s(Qe,U)||s(F,Se)&&F[Se][U]||(X.enumerable=!0),X}},Br=function(F){for(var U,X=Y(D(F)),ie=[],he=0;X.length>he;)s(Qe,U=X[he++])||U==Se||U==f||ie.push(U);return ie},kn=function(F){for(var U,X=F===$e,ie=Y(X?Ie:D(F)),he=[],de=0;ie.length>de;)!s(Qe,U=ie[de++])||X&&!s($e,U)||he.push(Qe[U]);return he};Dt||(c((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor!");var F=E(arguments.length>0?arguments[0]:void 0),U=function(X){this===$e&&U.call(Ie,X),s(this,Se)&&s(this[Se],F)&&(this[Se][F]=!1),Vn(this,F,j(1,X))};return l&&zn&&Vn($e,F,{configurable:!0,set:U}),qn(F)}).prototype,"toString",function(){return this._k}),A.f=Qn,re.f=Sn,o(41).f=J.f=Br,o(19).f=qr,le.f=kn,l&&!o(14)&&c($e,"propertyIsEnumerable",qr,!0),v.f=function(F){return qn(_(F))}),u(u.G+u.W+u.F*!Dt,{Symbol:H});for(var Bt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),st=0;Bt.length>st;)_(Bt[st++]);for(var Un=V(_.store),Q=0;Un.length>Q;)m(Un[Q++]);u(u.S+u.F*!Dt,"Symbol",{for:function(F){return s(Oe,F+="")?Oe[F]:Oe[F]=H(F)},keyFor:function(F){if(!Bn(F))throw TypeError(F+" is not a symbol!");for(var U in Oe)if(Oe[U]===F)return U},useSetter:function(){zn=!0},useSimple:function(){zn=!1}}),u(u.S+u.F*!Dt,"Object",{create:function(F,U){return U===void 0?q(F):Vr(q(F),U)},defineProperty:Sn,defineProperties:Vr,getOwnPropertyDescriptor:Qn,getOwnPropertyNames:Br,getOwnPropertySymbols:kn});var M=p(function(){le.f(1)});u(u.S+u.F*M,"Object",{getOwnPropertySymbols:function(F){return le.f(N(F))}}),se&&u(u.S+u.F*(!Dt||p(function(){var F=H();return Z([F])!="[null]"||Z({a:F})!="{}"||Z(Object(F))!="{}"})),"JSON",{stringify:function(F){for(var U,X,ie=[F],he=1;arguments.length>he;)ie.push(arguments[he++]);if(X=U=ie[1],(C(U)||F!==void 0)&&!Bn(F))return d(U)||(U=function(de,Ce){if(typeof X=="function"&&(Ce=X.call(this,de,Ce)),!Bn(Ce))return Ce}),ie[1]=U,Z.apply(se,ie)}}),H.prototype[we]||o(6)(H.prototype,we,H.prototype.valueOf),g(H,"Symbol"),g(Math,"Math",!0),g(a.JSON,"JSON",!0)},function(r,i,o){var a=o(17)("meta"),s=o(11),l=o(5),u=o(7).f,c=0,f=Object.isExtensible||function(){return!0},p=!o(8)(function(){return f(Object.preventExtensions({}))}),h=function(E){u(E,a,{value:{i:"O"+ ++c,w:{}}})},g=r.exports={KEY:a,NEED:!1,fastKey:function(E,_){if(!s(E))return typeof E=="symbol"?E:(typeof E=="string"?"S":"P")+E;if(!l(E,a)){if(!f(E))return"F";if(!_)return"E";h(E)}return E[a].i},getWeak:function(E,_){if(!l(E,a)){if(!f(E))return!0;if(!_)return!1;h(E)}return E[a].w},onFreeze:function(E){return p&&g.NEED&&f(E)&&!l(E,a)&&h(E),E}}},function(r,i,o){var a=o(13),s=o(32),l=o(19);r.exports=function(u){var c=a(u),f=s.f;if(f)for(var p,h=f(u),g=l.f,E=0;h.length>E;)g.call(u,p=h[E++])&&c.push(p);return c}},function(r,i,o){var a=o(24);r.exports=Array.isArray||function(s){return a(s)=="Array"}},function(r,i,o){var a=o(9),s=o(41).f,l={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.f=function(c){return u&&l.call(c)=="[object Window]"?function(f){try{return s(f)}catch{return u.slice()}}(c):s(a(c))}},function(r,i,o){var a=o(19),s=o(16),l=o(9),u=o(23),c=o(5),f=o(35),p=Object.getOwnPropertyDescriptor;i.f=o(4)?p:function(h,g){if(h=l(h),g=u(g,!0),f)try{return p(h,g)}catch{}if(c(h,g))return s(!a.f.call(h,g),h[g])}},function(r,i){},function(r,i,o){o(31)("asyncIterator")},function(r,i,o){o(31)("observable")},function(r,i,o){i.__esModule=!0;var a,s=o(77),l=(a=s)&&a.__esModule?a:{default:a};i.default=l.default||function(u){for(var c=1;cv;)for(var d,O=f(arguments[v++]),C=m?s(O).concat(m(O)):s(O),N=C.length,D=0;N>D;)d=C[D++],a&&!y.call(O,d)||(E[d]=O[d]);return E}:p},function(r,i,o){i.__esModule=!0;var a=l(o(82)),s=l(o(85));function l(u){return u&&u.__esModule?u:{default:u}}i.default=function(u,c){if(Array.isArray(u))return u;if((0,a.default)(Object(u)))return function(f,p){var h=[],g=!0,E=!1,_=void 0;try{for(var v,m=(0,s.default)(f);!(g=(v=m.next()).done)&&(h.push(v.value),!p||h.length!==p);g=!0);}catch(y){E=!0,_=y}finally{try{!g&&m.return&&m.return()}finally{if(E)throw _}}return h}(u,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(r,i,o){r.exports={default:o(83),__esModule:!0}},function(r,i,o){o(29),o(20),r.exports=o(84)},function(r,i,o){var a=o(42),s=o(2)("iterator"),l=o(12);r.exports=o(1).isIterable=function(u){var c=Object(u);return c[s]!==void 0||"@@iterator"in c||l.hasOwnProperty(a(c))}},function(r,i,o){r.exports={default:o(86),__esModule:!0}},function(r,i,o){o(29),o(20),r.exports=o(87)},function(r,i,o){var a=o(10),s=o(88);r.exports=o(1).getIterator=function(l){var u=s(l);if(typeof u!="function")throw TypeError(l+" is not iterable!");return a(u.call(l))}},function(r,i,o){var a=o(42),s=o(2)("iterator"),l=o(12);r.exports=o(1).getIteratorMethod=function(u){if(u!=null)return u[s]||u["@@iterator"]||l[a(u)]}},function(r,i,o){r.exports={default:o(90),__esModule:!0}},function(r,i,o){o(91),r.exports=o(1).Object.keys},function(r,i,o){var a=o(18),s=o(13);o(92)("keys",function(){return function(l){return s(a(l))}})},function(r,i,o){var a=o(15),s=o(1),l=o(8);r.exports=function(u,c){var f=(s.Object||{})[u]||Object[u],p={};p[u]=c(f),a(a.S+a.F*l(function(){f(1)}),"Object",p)}},function(r,i,o){(function(a){var s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l=/^\s+|\s+$/g,u=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,c=/\{\n\/\* \[wrapped with (.+)\] \*/,f=/,? & /,p=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,g=/^\[object .+?Constructor\]$/,E=/^0o[0-7]+$/i,_=/^(?:0|[1-9]\d*)$/,v=parseInt,m=typeof a=="object"&&a&&a.Object===Object&&a,y=typeof self=="object"&&self&&self.Object===Object&&self,d=m||y||Function("return this")();function O(Q,M,F){switch(F.length){case 0:return Q.call(M);case 1:return Q.call(M,F[0]);case 2:return Q.call(M,F[0],F[1]);case 3:return Q.call(M,F[0],F[1],F[2])}return Q.apply(M,F)}function C(Q,M){return!!(Q&&Q.length)&&function(F,U,X){if(U!=U)return function(de,Ce,He,Le){for(var lt=de.length,ze=He+(Le?1:-1);Le?ze--:++ze-1}function N(Q){return Q!=Q}function D(Q,M){for(var F=Q.length,U=0;F--;)Q[F]===M&&U++;return U}function T(Q,M){for(var F=-1,U=Q.length,X=0,ie=[];++F2?q:void 0);function Xe(Q){return Bt(Q)?se(Q):{}}function Oe(Q){return!(!Bt(Q)||function(M){return!!V&&V in M}(Q))&&(function(M){var F=Bt(M)?Y.call(M):"";return F=="[object Function]"||F=="[object GeneratorFunction]"}(Q)||function(M){var F=!1;if(M!=null&&typeof M.toString!="function")try{F=!!(M+"")}catch{}return F}(Q)?H:g).test(function(M){if(M!=null){try{return ue.call(M)}catch{}try{return M+""}catch{}}return""}(Q))}function Qe(Q,M,F,U){for(var X=-1,ie=Q.length,he=F.length,de=-1,Ce=M.length,He=Z(ie-he,0),Le=Array(Ce+He),lt=!U;++de1&&ge.reverse(),Le&&Ce1?"& ":"")+M[U],M=M.join(F>2?", ":" "),Q.replace(u,`{ +/* [wrapped with `+M+`] */ +`)}function Vr(Q,M){return!!(M=M??9007199254740991)&&(typeof Q=="number"||_.test(Q))&&Q>-1&&Q%1==0&&Q1&&l--,c=6*l<1?a+6*(s-a)*l:2*l<1?s:3*l<2?a+(s-a)*(2/3-l)*6:a,u[g]=255*c;return u}},function(r,i,o){(function(a){var s=typeof a=="object"&&a&&a.Object===Object&&a,l=typeof self=="object"&&self&&self.Object===Object&&self,u=s||l||Function("return this")();function c(T,j,q){switch(q.length){case 0:return T.call(j);case 1:return T.call(j,q[0]);case 2:return T.call(j,q[0],q[1]);case 3:return T.call(j,q[0],q[1],q[2])}return T.apply(j,q)}function f(T,j){for(var q=-1,J=j.length,A=T.length;++q-1&&A%1==0&&A<=9007199254740991}(J.length)&&!function(A){var le=function(re){var V=typeof re;return!!re&&(V=="object"||V=="function")}(A)?g.call(A):"";return le=="[object Function]"||le=="[object GeneratorFunction]"}(J)}(q)}(j)&&h.call(j,"callee")&&(!_.call(j,"callee")||g.call(j)=="[object Arguments]")}(T)||!!(v&&T&&T[v])}var d=Array.isArray,O,C,N,D=(C=function(T){var j=(T=function J(A,le,re,V,ue){var G=-1,Y=A.length;for(re||(re=y),ue||(ue=[]);++G0&&re(H)?le>1?J(H,le-1,re,V,ue):f(ue,H):V||(ue[ue.length]=H)}return ue}(T,1)).length,q=j;for(O;q--;)if(typeof T[q]!="function")throw new TypeError("Expected a function");return function(){for(var J=0,A=j?T[J].apply(this,arguments):arguments[0];++J2?l-2:0),c=2;c"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var b,w=g(S);if(k){var x=g(this).constructor;b=Reflect.construct(w,arguments,x)}else b=w.apply(this,arguments);return v(this,b)}}o.r(i);var y=o(0),d=o.n(y);function O(){var S=this.constructor.getDerivedStateFromProps(this.props,this.state);S!=null&&this.setState(S)}function C(S){this.setState((function(k){var b=this.constructor.getDerivedStateFromProps(S,k);return b??null}).bind(this))}function N(S,k){try{var b=this.props,w=this.state;this.props=S,this.state=k,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(b,w)}finally{this.props=b,this.state=w}}function D(S){var k=S.prototype;if(!k||!k.isReactComponent)throw new Error("Can only polyfill class components");if(typeof S.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function")return S;var b=null,w=null,x=null;if(typeof k.componentWillMount=="function"?b="componentWillMount":typeof k.UNSAFE_componentWillMount=="function"&&(b="UNSAFE_componentWillMount"),typeof k.componentWillReceiveProps=="function"?w="componentWillReceiveProps":typeof k.UNSAFE_componentWillReceiveProps=="function"&&(w="UNSAFE_componentWillReceiveProps"),typeof k.componentWillUpdate=="function"?x="componentWillUpdate":typeof k.UNSAFE_componentWillUpdate=="function"&&(x="UNSAFE_componentWillUpdate"),b!==null||w!==null||x!==null){var P=S.displayName||S.name,B=typeof S.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. + +`+P+" uses "+B+" but also contains the following legacy lifecycles:"+(b!==null?` + `+b:"")+(w!==null?` + `+w:"")+(x!==null?` + `+x:"")+` + +The above lifecycles should be removed. Learn more about this warning here: +https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof S.getDerivedStateFromProps=="function"&&(k.componentWillMount=O,k.componentWillReceiveProps=C),typeof k.getSnapshotBeforeUpdate=="function"){if(typeof k.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");k.componentWillUpdate=N;var z=k.componentDidUpdate;k.componentDidUpdate=function(I,$,oe){var ve=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:oe;z.call(this,I,$,ve)}}return S}function T(S,k){if(S==null)return{};var b,w,x=function(B,z){if(B==null)return{};var I,$,oe={},ve=Object.keys(B);for($=0;$=0||(oe[I]=B[I]);return oe}(S,k);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(S);for(w=0;w=0||Object.prototype.propertyIsEnumerable.call(S,b)&&(x[b]=S[b])}return x}function j(S){var k=function(b){return{}.toString.call(b).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(S);return k==="number"&&(k=isNaN(S)?"nan":(0|S)!=S?"float":"integer"),k}O.__suppressDeprecationWarning=!0,C.__suppressDeprecationWarning=!0,N.__suppressDeprecationWarning=!0;var q={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},J={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},A={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},le=o(45),re=function(S){var k=function(b){return{backgroundColor:b.base00,ellipsisColor:b.base09,braceColor:b.base07,expandedIcon:b.base0D,collapsedIcon:b.base0E,keyColor:b.base07,arrayKeyColor:b.base0C,objectSize:b.base04,copyToClipboard:b.base0F,copyToClipboardCheck:b.base0D,objectBorder:b.base02,dataTypes:{boolean:b.base0E,date:b.base0D,float:b.base0B,function:b.base0D,integer:b.base0F,string:b.base09,nan:b.base08,null:b.base0A,undefined:b.base05,regexp:b.base0A,background:b.base02},editVariable:{editIcon:b.base0E,cancelIcon:b.base09,removeIcon:b.base09,addIcon:b.base0E,checkIcon:b.base0E,background:b.base01,color:b.base0A,border:b.base07},addKeyModal:{background:b.base05,border:b.base04,color:b.base0A,labelColor:b.base01},validationFailure:{background:b.base09,iconColor:b.base01,fontColor:b.base01}}}(S);return{"app-container":{fontFamily:A.globalFontFamily,cursor:A.globalCursor,backgroundColor:k.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:k.ellipsisColor,fontSize:A.ellipsisFontSize,lineHeight:A.ellipsisLineHeight,cursor:A.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:A.braceCursor,fontWeight:A.braceFontWeight,color:k.braceColor},"expanded-icon":{color:k.expandedIcon},"collapsed-icon":{color:k.collapsedIcon},colon:{display:"inline-block",margin:A.keyMargin,color:k.keyColor,verticalAlign:"top"},objectKeyVal:function(b,w){return{style:l({paddingTop:A.keyValPaddingTop,paddingRight:A.keyValPaddingRight,paddingBottom:A.keyValPaddingBottom,borderLeft:A.keyValBorderLeft+" "+k.objectBorder,":hover":{paddingLeft:w.paddingLeft-1+"px",borderLeft:A.keyValBorderHover+" "+k.objectBorder}},w)}},"object-key-val-no-border":{padding:A.keyValPadding},"pushed-content":{marginLeft:A.pushedContentMarginLeft},variableValue:function(b,w){return{style:l({display:"inline-block",paddingRight:A.variableValuePaddingRight,position:"relative"},w)}},"object-name":{display:"inline-block",color:k.keyColor,letterSpacing:A.keyLetterSpacing,fontStyle:A.keyFontStyle,verticalAlign:A.keyVerticalAlign,opacity:A.keyOpacity,":hover":{opacity:A.keyOpacityHover}},"array-key":{display:"inline-block",color:k.arrayKeyColor,letterSpacing:A.keyLetterSpacing,fontStyle:A.keyFontStyle,verticalAlign:A.keyVerticalAlign,opacity:A.keyOpacity,":hover":{opacity:A.keyOpacityHover}},"object-size":{color:k.objectSize,borderRadius:A.objectSizeBorderRadius,fontStyle:A.objectSizeFontStyle,margin:A.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:A.dataTypeFontSize,marginRight:A.dataTypeMarginRight,opacity:A.datatypeOpacity},boolean:{display:"inline-block",color:k.dataTypes.boolean},date:{display:"inline-block",color:k.dataTypes.date},"date-value":{marginLeft:A.dateValueMarginLeft},float:{display:"inline-block",color:k.dataTypes.float},function:{display:"inline-block",color:k.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:k.dataTypes.integer},string:{display:"inline-block",color:k.dataTypes.string},nan:{display:"inline-block",color:k.dataTypes.nan,fontSize:A.nanFontSize,fontWeight:A.nanFontWeight,backgroundColor:k.dataTypes.background,padding:A.nanPadding,borderRadius:A.nanBorderRadius},null:{display:"inline-block",color:k.dataTypes.null,fontSize:A.nullFontSize,fontWeight:A.nullFontWeight,backgroundColor:k.dataTypes.background,padding:A.nullPadding,borderRadius:A.nullBorderRadius},undefined:{display:"inline-block",color:k.dataTypes.undefined,fontSize:A.undefinedFontSize,padding:A.undefinedPadding,borderRadius:A.undefinedBorderRadius,backgroundColor:k.dataTypes.background},regexp:{display:"inline-block",color:k.dataTypes.regexp},"copy-to-clipboard":{cursor:A.clipboardCursor},"copy-icon":{color:k.copyToClipboard,fontSize:A.iconFontSize,marginRight:A.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:k.copyToClipboardCheck,marginLeft:A.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:A.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:A.metaDataPadding},"icon-container":{display:"inline-block",width:A.iconContainerWidth},tooltip:{padding:A.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:k.editVariable.removeIcon,cursor:A.iconCursor,fontSize:A.iconFontSize,marginRight:A.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:k.editVariable.addIcon,cursor:A.iconCursor,fontSize:A.iconFontSize,marginRight:A.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:k.editVariable.editIcon,cursor:A.iconCursor,fontSize:A.iconFontSize,marginRight:A.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:A.iconCursor,color:k.editVariable.checkIcon,fontSize:A.iconFontSize,paddingRight:A.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:A.iconCursor,color:k.editVariable.cancelIcon,fontSize:A.iconFontSize,paddingRight:A.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:A.editInputMinWidth,borderRadius:A.editInputBorderRadius,backgroundColor:k.editVariable.background,color:k.editVariable.color,padding:A.editInputPadding,marginRight:A.editInputMarginRight,fontFamily:A.editInputFontFamily},"detected-row":{paddingTop:A.detectedRowPaddingTop},"key-modal-request":{position:A.addKeyCoverPosition,top:A.addKeyCoverPositionPx,left:A.addKeyCoverPositionPx,right:A.addKeyCoverPositionPx,bottom:A.addKeyCoverPositionPx,backgroundColor:A.addKeyCoverBackground},"key-modal":{width:A.addKeyModalWidth,backgroundColor:k.addKeyModal.background,marginLeft:A.addKeyModalMargin,marginRight:A.addKeyModalMargin,padding:A.addKeyModalPadding,borderRadius:A.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:k.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:k.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:k.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:k.addKeyModal.labelColor,fontSize:A.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:k.editVariable.addIcon,fontSize:A.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:k.ellipsisColor,fontSize:A.ellipsisFontSize,lineHeight:A.ellipsisLineHeight,cursor:A.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:k.validationFailure.fontColor,backgroundColor:k.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:k.validationFailure.iconColor,fontSize:A.iconFontSize,transform:"rotate(45deg)"}}};function V(S,k,b){return S||console.error("theme has not been set"),function(w){var x=q;return w!==!1&&w!=="none"||(x=J),Object(le.createStyling)(re,{defaultBase16:x})(w)}(S)(k,b)}var ue=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=(w.rjvId,w.type_name),P=w.displayDataTypes,B=w.theme;return P?d.a.createElement("span",Object.assign({className:"data-type-label"},V(B,"data-type-label")),x):null}}]),b}(d.a.PureComponent),G=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props;return d.a.createElement("div",V(w.theme,"boolean"),d.a.createElement(ue,Object.assign({type_name:"bool"},w)),w.value?"true":"false")}}]),b}(d.a.PureComponent),Y=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props;return d.a.createElement("div",V(w.theme,"date"),d.a.createElement(ue,Object.assign({type_name:"date"},w)),d.a.createElement("span",Object.assign({className:"date-value"},V(w.theme,"date-value")),w.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}]),b}(d.a.PureComponent),H=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props;return d.a.createElement("div",V(w.theme,"float"),d.a.createElement(ue,Object.assign({type_name:"float"},w)),this.props.value)}}]),b}(d.a.PureComponent);function se(S,k){(k==null||k>S.length)&&(k=S.length);for(var b=0,w=new Array(k);b"u"||S[Symbol.iterator]==null){if(Array.isArray(S)||(b=Z(S))||k&&S&&typeof S.length=="number"){b&&(S=b);var w=0,x=function(){};return{s:x,n:function(){return w>=S.length?{done:!0}:{done:!1,value:S[w++]}},e:function(I){throw I},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P,B=!0,z=!1;return{s:function(){b=S[Symbol.iterator]()},n:function(){var I=b.next();return B=I.done,I},e:function(I){z=!0,P=I},f:function(){try{B||b.return==null||b.return()}finally{if(z)throw P}}}}function we(S){return function(k){if(Array.isArray(k))return se(k)}(S)||function(k){if(typeof Symbol<"u"&&Symbol.iterator in Object(k))return Array.from(k)}(S)||Z(S)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var Xe=o(46),Oe=new(o(47)).Dispatcher,Qe=new(function(S){h(b,S);var k=m(b);function b(){var w;u(this,b);for(var x=arguments.length,P=new Array(x),B=0;Bx&&(z.style.cursor="pointer",this.state.collapsed&&(B=d.a.createElement("span",null,B.substring(0,x),d.a.createElement("span",V(P,"ellipsis")," ...")))),d.a.createElement("div",V(P,"string"),d.a.createElement(ue,Object.assign({type_name:"string"},w)),d.a.createElement("span",Object.assign({className:"string-value"},z,{onClick:this.toggleCollapsed}),'"',B,'"'))}}]),b}(d.a.PureComponent),Bn=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){return d.a.createElement("div",V(this.props.theme,"undefined"),"undefined")}}]),b}(d.a.PureComponent);function Sn(){return(Sn=Object.assign||function(S){for(var k=1;k=0||(ra[At]=fe[At]);return ra}(S,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),oe,ve=$.value!==void 0,xe=Object(y.useRef)(null),Te=Br(xe,k),pe=Object(y.useRef)(0),Ne=Object(y.useRef)(),Ge=function(){var fe=xe.current,nt=b&&Ne.current?Ne.current:function(On){var ia=window.getComputedStyle(On);if(ia===null)return null;var Ur,ht=(Ur=ia,Q.reduce(function(Qi,$r){return Qi[$r]=Ur[$r],Qi},{})),Wr=ht.boxSizing;return Wr===""?null:(M&&Wr==="border-box"&&(ht.width=parseFloat(ht.width)+parseFloat(ht.borderRightWidth)+parseFloat(ht.borderLeftWidth)+parseFloat(ht.paddingRight)+parseFloat(ht.paddingLeft)+"px"),{sizingStyle:ht,paddingSize:parseFloat(ht.paddingBottom)+parseFloat(ht.paddingTop),borderSize:parseFloat(ht.borderBottomWidth)+parseFloat(ht.borderTopWidth)})}(fe);if(nt){Ne.current=nt;var At=function(On,ia,Ur,ht){Ur===void 0&&(Ur=1),ht===void 0&&(ht=1/0),st||((st=document.createElement("textarea")).setAttribute("tab-index","-1"),st.setAttribute("aria-hidden","true"),Bt(st)),st.parentNode===null&&document.body.appendChild(st);var Wr=On.paddingSize,Qi=On.borderSize,$r=On.sizingStyle,kf=$r.boxSizing;Object.keys($r).forEach(function(Ks){var Hr=Ks;st.style[Hr]=$r[Hr]}),Bt(st),st.value=ia;var oa=function(Ks,Hr){var _f=Ks.scrollHeight;return Hr.sizingStyle.boxSizing==="border-box"?_f+Hr.borderSize:_f-Hr.paddingSize}(st,On);st.value="x";var $s=st.scrollHeight-Wr,Hs=$s*Ur;kf==="border-box"&&(Hs=Hs+Wr+Qi),oa=Math.max(Hs,oa);var Gs=$s*ht;return kf==="border-box"&&(Gs=Gs+Wr+Qi),[oa=Math.min(Gs,oa),$s]}(nt,fe.value||fe.placeholder||"x",x,w),_n=At[0],ra=At[1];pe.current!==_n&&(pe.current=_n,fe.style.setProperty("height",_n+"px","important"),I(_n,{rowHeight:ra}))}};return Object(y.useLayoutEffect)(Ge),oe=qr(Ge),Object(y.useLayoutEffect)(function(){var fe=function(nt){oe.current(nt)};return window.addEventListener("resize",fe),function(){window.removeEventListener("resize",fe)}},[]),Object(y.createElement)("textarea",Sn({},$,{onChange:function(fe){ve||Ge(),B(fe)},ref:Te}))},U=Object(y.forwardRef)(F);function X(S){S=S.trim();try{if((S=JSON.stringify(JSON.parse(S)))[0]==="[")return ie("array",JSON.parse(S));if(S[0]==="{")return ie("object",JSON.parse(S));if(S.match(/\-?\d+\.\d+/)&&S.match(/\-?\d+\.\d+/)[0]===S)return ie("float",parseFloat(S));if(S.match(/\-?\d+e-\d+/)&&S.match(/\-?\d+e-\d+/)[0]===S)return ie("float",Number(S));if(S.match(/\-?\d+/)&&S.match(/\-?\d+/)[0]===S)return ie("integer",parseInt(S));if(S.match(/\-?\d+e\+\d+/)&&S.match(/\-?\d+e\+\d+/)[0]===S)return ie("integer",Number(S))}catch{}switch(S=S.toLowerCase()){case"undefined":return ie("undefined",void 0);case"nan":return ie("nan",NaN);case"null":return ie("null",null);case"true":return ie("boolean",!0);case"false":return ie("boolean",!1);default:if(S=Date.parse(S))return ie("date",new Date(S))}return ie(!1,null)}function ie(S,k){return{type:S,value:k}}var he=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),b}(d.a.PureComponent),de=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),b}(d.a.PureComponent),Ce=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]),B=ge(x).style;return d.a.createElement("span",P,d.a.createElement("svg",{fill:B.color,width:B.height,height:B.width,style:B,viewBox:"0 0 1792 1792"},d.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),b}(d.a.PureComponent),He=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]),B=ge(x).style;return d.a.createElement("span",P,d.a.createElement("svg",{fill:B.color,width:B.height,height:B.width,style:B,viewBox:"0 0 1792 1792"},d.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),b}(d.a.PureComponent),Le=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",{style:l(l({},ge(x).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},d.a.createElement("path",{d:"M0 14l6-6-6-6z"})))}}]),b}(d.a.PureComponent),lt=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",{style:l(l({},ge(x).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},d.a.createElement("path",{d:"M0 5l6 6 6-6z"})))}}]),b}(d.a.PureComponent),ze=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("g",null,d.a.createElement("path",{d:"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),b}(d.a.PureComponent),Ot=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("g",null,d.a.createElement("path",{d:"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),b}(d.a.PureComponent),Pt=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("g",null,d.a.createElement("path",{d:"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),b}(d.a.PureComponent),dn=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("g",null,d.a.createElement("path",{d:"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),b}(d.a.PureComponent),Qt=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("g",null,d.a.createElement("path",{d:"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),b}(d.a.PureComponent),Ze=function(S){h(b,S);var k=m(b);function b(){return u(this,b),k.apply(this,arguments)}return f(b,[{key:"render",value:function(){var w=this.props,x=w.style,P=T(w,["style"]);return d.a.createElement("span",P,d.a.createElement("svg",Object.assign({},ge(x),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),d.a.createElement("g",null,d.a.createElement("path",{d:"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),b}(d.a.PureComponent);function ge(S){return S||(S={}),{style:l(l({verticalAlign:"middle"},S),{},{color:S.color?S.color:"#000000",height:"1em",width:"1em"})}}var ut=function(S){h(b,S);var k=m(b);function b(w){var x;return u(this,b),(x=k.call(this,w)).copiedTimer=null,x.handleCopy=function(){var P=document.createElement("textarea"),B=x.props,z=B.clickCallback,I=B.src,$=B.namespace;P.innerHTML=JSON.stringify(x.clipboardValue(I),null," "),document.body.appendChild(P),P.select(),document.execCommand("copy"),document.body.removeChild(P),x.copiedTimer=setTimeout(function(){x.setState({copied:!1})},5500),x.setState({copied:!0},function(){typeof z=="function"&&z({src:I,namespace:$,name:$[$.length-1]})})},x.getClippyIcon=function(){var P=x.props.theme;return x.state.copied?d.a.createElement("span",null,d.a.createElement(ze,Object.assign({className:"copy-icon"},V(P,"copy-icon"))),d.a.createElement("span",V(P,"copy-icon-copied"),"✔")):d.a.createElement(ze,Object.assign({className:"copy-icon"},V(P,"copy-icon")))},x.clipboardValue=function(P){switch(j(P)){case"function":case"regexp":return P.toString();default:return P}},x.state={copied:!1},x}return f(b,[{key:"componentWillUnmount",value:function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{key:"render",value:function(){var w=this.props,x=(w.src,w.theme),P=w.hidden,B=w.rowHovered,z=V(x,"copy-to-clipboard").style,I="inline";return P&&(I="none"),d.a.createElement("span",{className:"copy-to-clipboard-container",title:"Copy to clipboard",style:{verticalAlign:"top",display:B?"inline-block":"none"}},d.a.createElement("span",{style:l(l({},z),{},{display:I}),onClick:this.handleCopy},this.getClippyIcon()))}}]),b}(d.a.PureComponent),bt=function(S){h(b,S);var k=m(b);function b(w){var x;return u(this,b),(x=k.call(this,w)).getEditIcon=function(){var P=x.props,B=P.variable,z=P.theme;return d.a.createElement("div",{className:"click-to-edit",style:{verticalAlign:"top",display:x.state.hovered?"inline-block":"none"}},d.a.createElement(Qt,Object.assign({className:"click-to-edit-icon"},V(z,"editVarIcon"),{onClick:function(){x.prepopInput(B)}})))},x.prepopInput=function(P){if(x.props.onEdit!==!1){var B=function(I){var $;switch(j(I)){case"undefined":$="undefined";break;case"nan":$="NaN";break;case"string":$=I;break;case"date":case"function":case"regexp":$=I.toString();break;default:try{$=JSON.stringify(I,null," ")}catch{$=""}}return $}(P.value),z=X(B);x.setState({editMode:!0,editValue:B,parsedInput:{type:z.type,value:z.value}})}},x.getRemoveIcon=function(){var P=x.props,B=P.variable,z=P.namespace,I=P.theme,$=P.rjvId;return d.a.createElement("div",{className:"click-to-remove",style:{verticalAlign:"top",display:x.state.hovered?"inline-block":"none"}},d.a.createElement(Ot,Object.assign({className:"click-to-remove-icon"},V(I,"removeVarIcon"),{onClick:function(){Oe.dispatch({name:"VARIABLE_REMOVED",rjvId:$,data:{name:B.name,namespace:z,existing_value:B.value,variable_removed:!0}})}})))},x.getValue=function(P,B){var z=!B&&P.type,I=_(x).props;switch(z){case!1:return x.getEditInput();case"string":return d.a.createElement(qn,Object.assign({value:P.value},I));case"integer":return d.a.createElement(zn,Object.assign({value:P.value},I));case"float":return d.a.createElement(H,Object.assign({value:P.value},I));case"boolean":return d.a.createElement(G,Object.assign({value:P.value},I));case"function":return d.a.createElement($e,Object.assign({value:P.value},I));case"null":return d.a.createElement(xn,I);case"nan":return d.a.createElement(Dt,I);case"undefined":return d.a.createElement(Bn,I);case"date":return d.a.createElement(Y,Object.assign({value:P.value},I));case"regexp":return d.a.createElement(Vn,Object.assign({value:P.value},I));default:return d.a.createElement("div",{className:"object-value"},JSON.stringify(P.value))}},x.getEditInput=function(){var P=x.props.theme,B=x.state.editValue;return d.a.createElement("div",null,d.a.createElement(U,Object.assign({type:"text",inputRef:function(z){return z&&z.focus()},value:B,className:"variable-editor",onChange:function(z){var I=z.target.value,$=X(I);x.setState({editValue:I,parsedInput:{type:$.type,value:$.value}})},onKeyDown:function(z){switch(z.key){case"Escape":x.setState({editMode:!1,editValue:""});break;case"Enter":(z.ctrlKey||z.metaKey)&&x.submitEdit(!0)}z.stopPropagation()},placeholder:"update this value",minRows:2},V(P,"edit-input"))),d.a.createElement("div",V(P,"edit-icon-container"),d.a.createElement(Ot,Object.assign({className:"edit-cancel"},V(P,"cancel-icon"),{onClick:function(){x.setState({editMode:!1,editValue:""})}})),d.a.createElement(Ze,Object.assign({className:"edit-check string-value"},V(P,"check-icon"),{onClick:function(){x.submitEdit()}})),d.a.createElement("div",null,x.showDetected())))},x.submitEdit=function(P){var B=x.props,z=B.variable,I=B.namespace,$=B.rjvId,oe=x.state,ve=oe.editValue,xe=oe.parsedInput,Te=ve;P&&xe.type&&(Te=xe.value),x.setState({editMode:!1}),Oe.dispatch({name:"VARIABLE_UPDATED",rjvId:$,data:{name:z.name,namespace:I,existing_value:z.value,new_value:Te,variable_removed:!1}})},x.showDetected=function(){var P=x.props,B=P.theme,z=(P.variable,P.namespace,P.rjvId,x.state.parsedInput),I=(z.type,z.value,x.getDetectedInput());if(I)return d.a.createElement("div",null,d.a.createElement("div",V(B,"detected-row"),I,d.a.createElement(Ze,{className:"edit-check detected",style:l({verticalAlign:"top",paddingLeft:"3px"},V(B,"check-icon").style),onClick:function(){x.submitEdit(!0)}})))},x.getDetectedInput=function(){var P=x.state.parsedInput,B=P.type,z=P.value,I=_(x).props,$=I.theme;if(B!==!1)switch(B.toLowerCase()){case"object":return d.a.createElement("span",null,d.a.createElement("span",{style:l(l({},V($,"brace").style),{},{cursor:"default"})},"{"),d.a.createElement("span",{style:l(l({},V($,"ellipsis").style),{},{cursor:"default"})},"..."),d.a.createElement("span",{style:l(l({},V($,"brace").style),{},{cursor:"default"})},"}"));case"array":return d.a.createElement("span",null,d.a.createElement("span",{style:l(l({},V($,"brace").style),{},{cursor:"default"})},"["),d.a.createElement("span",{style:l(l({},V($,"ellipsis").style),{},{cursor:"default"})},"..."),d.a.createElement("span",{style:l(l({},V($,"brace").style),{},{cursor:"default"})},"]"));case"string":return d.a.createElement(qn,Object.assign({value:z},I));case"integer":return d.a.createElement(zn,Object.assign({value:z},I));case"float":return d.a.createElement(H,Object.assign({value:z},I));case"boolean":return d.a.createElement(G,Object.assign({value:z},I));case"function":return d.a.createElement($e,Object.assign({value:z},I));case"null":return d.a.createElement(xn,I);case"nan":return d.a.createElement(Dt,I);case"undefined":return d.a.createElement(Bn,I);case"date":return d.a.createElement(Y,Object.assign({value:new Date(z)},I))}},x.state={editMode:!1,editValue:"",hovered:!1,renameKey:!1,parsedInput:{type:!1,value:null}},x}return f(b,[{key:"render",value:function(){var w=this,x=this.props,P=x.variable,B=x.singleIndent,z=x.type,I=x.theme,$=x.namespace,oe=x.indentWidth,ve=x.enableClipboard,xe=x.onEdit,Te=x.onDelete,pe=x.onSelect,Ne=x.displayArrayKey,Ge=x.quotesOnKeys,fe=this.state.editMode;return d.a.createElement("div",Object.assign({},V(I,"objectKeyVal",{paddingLeft:oe*B}),{onMouseEnter:function(){return w.setState(l(l({},w.state),{},{hovered:!0}))},onMouseLeave:function(){return w.setState(l(l({},w.state),{},{hovered:!1}))},className:"variable-row",key:P.name}),z=="array"?Ne?d.a.createElement("span",Object.assign({},V(I,"array-key"),{key:P.name+"_"+$}),P.name,d.a.createElement("div",V(I,"colon"),":")):null:d.a.createElement("span",null,d.a.createElement("span",Object.assign({},V(I,"object-name"),{className:"object-key",key:P.name+"_"+$}),!!Ge&&d.a.createElement("span",{style:{verticalAlign:"top"}},'"'),d.a.createElement("span",{style:{display:"inline-block"}},P.name),!!Ge&&d.a.createElement("span",{style:{verticalAlign:"top"}},'"')),d.a.createElement("span",V(I,"colon"),":")),d.a.createElement("div",Object.assign({className:"variable-value",onClick:pe===!1&&xe===!1?null:function(nt){var At=we($);(nt.ctrlKey||nt.metaKey)&&xe!==!1?w.prepopInput(P):pe!==!1&&(At.shift(),pe(l(l({},P),{},{namespace:At})))}},V(I,"variableValue",{cursor:pe===!1?"default":"pointer"})),this.getValue(P,fe)),ve?d.a.createElement(ut,{rowHovered:this.state.hovered,hidden:fe,src:P.value,clickCallback:ve,theme:I,namespace:[].concat(we($),[P.name])}):null,xe!==!1&&fe==0?this.getEditIcon():null,Te!==!1&&fe==0?this.getRemoveIcon():null)}}]),b}(d.a.PureComponent),pn=function(S){h(b,S);var k=m(b);function b(){var w;u(this,b);for(var x=arguments.length,P=new Array(x),B=0;B0?ve:null,namespace:oe.splice(0,oe.length-1),existing_value:xe,variable_removed:!1,key_name:null};j(xe)==="object"?Oe.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:Te,data:Ne}):Oe.dispatch({name:"VARIABLE_ADDED",rjvId:Te,data:l(l({},Ne),{},{new_value:[].concat(we(xe),[null])})})}})))},w.getRemoveObject=function(z){var I=w.props,$=I.theme,oe=(I.hover,I.namespace),ve=I.name,xe=I.src,Te=I.rjvId;if(oe.length!==1)return d.a.createElement("span",{className:"click-to-remove",style:{display:z?"inline-block":"none"}},d.a.createElement(Ot,Object.assign({className:"click-to-remove-icon"},V($,"removeVarIcon"),{onClick:function(){Oe.dispatch({name:"VARIABLE_REMOVED",rjvId:Te,data:{name:ve,namespace:oe.splice(0,oe.length-1),existing_value:xe,variable_removed:!0}})}})))},w.render=function(){var z=w.props,I=z.theme,$=z.onDelete,oe=z.onAdd,ve=z.enableClipboard,xe=z.src,Te=z.namespace,pe=z.rowHovered;return d.a.createElement("div",Object.assign({},V(I,"object-meta-data"),{className:"object-meta-data",onClick:function(Ne){Ne.stopPropagation()}}),w.getObjectSize(),ve?d.a.createElement(ut,{rowHovered:pe,clickCallback:ve,src:xe,theme:I,namespace:Te}):null,oe!==!1?w.getAddAttribute(pe):null,$!==!1?w.getRemoveObject(pe):null)},w}return b}(d.a.PureComponent);function Xt(S){var k=S.parent_type,b=S.namespace,w=S.quotesOnKeys,x=S.theme,P=S.jsvRoot,B=S.name,z=S.displayArrayKey,I=S.name?S.name:"";return!P||B!==!1&&B!==null?k=="array"?z?d.a.createElement("span",Object.assign({},V(x,"array-key"),{key:b}),d.a.createElement("span",{className:"array-key"},I),d.a.createElement("span",V(x,"colon"),":")):d.a.createElement("span",null):d.a.createElement("span",Object.assign({},V(x,"object-name"),{key:b}),d.a.createElement("span",{className:"object-key"},w&&d.a.createElement("span",{style:{verticalAlign:"top"}},'"'),d.a.createElement("span",null,I),w&&d.a.createElement("span",{style:{verticalAlign:"top"}},'"')),d.a.createElement("span",V(x,"colon"),":")):d.a.createElement("span",null)}function Rt(S){var k=S.theme;switch(S.iconStyle){case"triangle":return d.a.createElement(lt,Object.assign({},V(k,"expanded-icon"),{className:"expanded-icon"}));case"square":return d.a.createElement(Ce,Object.assign({},V(k,"expanded-icon"),{className:"expanded-icon"}));default:return d.a.createElement(he,Object.assign({},V(k,"expanded-icon"),{className:"expanded-icon"}))}}function Zt(S){var k=S.theme;switch(S.iconStyle){case"triangle":return d.a.createElement(Le,Object.assign({},V(k,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return d.a.createElement(He,Object.assign({},V(k,"collapsed-icon"),{className:"collapsed-icon"}));default:return d.a.createElement(de,Object.assign({},V(k,"collapsed-icon"),{className:"collapsed-icon"}))}}var Qr=function(S){h(b,S);var k=m(b);function b(w){var x;return u(this,b),(x=k.call(this,w)).toggleCollapsed=function(P){var B=[];for(var z in x.state.expanded)B.push(x.state.expanded[z]);B[P]=!B[P],x.setState({expanded:B})},x.state={expanded:[]},x}return f(b,[{key:"getExpandedIcon",value:function(w){var x=this.props,P=x.theme,B=x.iconStyle;return this.state.expanded[w]?d.a.createElement(Rt,{theme:P,iconStyle:B}):d.a.createElement(Zt,{theme:P,iconStyle:B})}},{key:"render",value:function(){var w=this,x=this.props,P=x.src,B=x.groupArraysAfterLength,z=(x.depth,x.name),I=x.theme,$=x.jsvRoot,oe=x.namespace,ve=(x.parent_type,T(x,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),xe=0,Te=5*this.props.indentWidth;$||(xe=5*this.props.indentWidth);var pe=B,Ne=Math.ceil(P.length/pe);return d.a.createElement("div",Object.assign({className:"object-key-val"},V(I,$?"jsv-root":"objectKeyVal",{paddingLeft:xe})),d.a.createElement(Xt,this.props),d.a.createElement("span",null,d.a.createElement(pn,Object.assign({size:P.length},this.props))),we(Array(Ne)).map(function(Ge,fe){return d.a.createElement("div",Object.assign({key:fe,className:"object-key-val array-group"},V(I,"objectKeyVal",{marginLeft:6,paddingLeft:Te})),d.a.createElement("span",V(I,"brace-row"),d.a.createElement("div",Object.assign({className:"icon-container"},V(I,"icon-container"),{onClick:function(nt){w.toggleCollapsed(fe)}}),w.getExpandedIcon(fe)),w.state.expanded[fe]?d.a.createElement(ta,Object.assign({key:z+fe,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:pe,index_offset:fe*pe,src:P.slice(fe*pe,fe*pe+pe),namespace:oe,type:"array",parent_type:"array_group",theme:I},ve)):d.a.createElement("span",Object.assign({},V(I,"brace"),{onClick:function(nt){w.toggleCollapsed(fe)},className:"array-group-brace"}),"[",d.a.createElement("div",Object.assign({},V(I,"array-group-meta-data"),{className:"array-group-meta-data"}),d.a.createElement("span",Object.assign({className:"object-size"},V(I,"object-size")),fe*pe," - ",fe*pe+pe>P.length?P.length:fe*pe+pe)),"]")))}))}}]),b}(d.a.PureComponent),Bi=function(S){h(b,S);var k=m(b);function b(w){var x;u(this,b),(x=k.call(this,w)).toggleCollapsed=function(){x.setState({expanded:!x.state.expanded},function(){Ie.set(x.props.rjvId,x.props.namespace,"expanded",x.state.expanded)})},x.getObjectContent=function(B,z,I){return d.a.createElement("div",{className:"pushed-content object-container"},d.a.createElement("div",Object.assign({className:"object-content"},V(x.props.theme,"pushed-content")),x.renderObjectContents(z,I)))},x.getEllipsis=function(){return x.state.size===0?null:d.a.createElement("div",Object.assign({},V(x.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:x.toggleCollapsed}),"...")},x.getObjectMetaData=function(B){var z=x.props,I=(z.rjvId,z.theme,x.state),$=I.size,oe=I.hovered;return d.a.createElement(pn,Object.assign({rowHovered:oe,size:$},x.props))},x.renderObjectContents=function(B,z){var I,$=x.props,oe=$.depth,ve=$.parent_type,xe=$.index_offset,Te=$.groupArraysAfterLength,pe=$.namespace,Ne=x.state.object_type,Ge=[],fe=Object.keys(B||{});return x.props.sortKeys&&Ne!=="array"&&(fe=fe.sort()),fe.forEach(function(nt){if(I=new bm(nt,B[nt]),ve==="array_group"&&xe&&(I.name=parseInt(I.name)+xe),B.hasOwnProperty(nt))if(I.type==="object")Ge.push(d.a.createElement(ta,Object.assign({key:I.name,depth:oe+1,name:I.name,src:I.value,namespace:pe.concat(I.name),parent_type:Ne},z)));else if(I.type==="array"){var At=ta;Te&&I.value.length>Te&&(At=Qr),Ge.push(d.a.createElement(At,Object.assign({key:I.name,depth:oe+1,name:I.name,src:I.value,namespace:pe.concat(I.name),type:"array",parent_type:Ne},z)))}else Ge.push(d.a.createElement(bt,Object.assign({key:I.name+"_"+pe,variable:I,singleIndent:5,namespace:pe,type:x.props.type},z)))}),Ge};var P=b.getState(w);return x.state=l(l({},P),{},{prevProps:{}}),x}return f(b,[{key:"getBraceStart",value:function(w,x){var P=this,B=this.props,z=B.src,I=B.theme,$=B.iconStyle;if(B.parent_type==="array_group")return d.a.createElement("span",null,d.a.createElement("span",V(I,"brace"),w==="array"?"[":"{"),x?this.getObjectMetaData(z):null);var oe=x?Rt:Zt;return d.a.createElement("span",null,d.a.createElement("span",Object.assign({onClick:function(ve){P.toggleCollapsed()}},V(I,"brace-row")),d.a.createElement("div",Object.assign({className:"icon-container"},V(I,"icon-container")),d.a.createElement(oe,{theme:I,iconStyle:$})),d.a.createElement(Xt,this.props),d.a.createElement("span",V(I,"brace"),w==="array"?"[":"{")),x?this.getObjectMetaData(z):null)}},{key:"render",value:function(){var w=this,x=this.props,P=x.depth,B=x.src,z=(x.namespace,x.name,x.type,x.parent_type),I=x.theme,$=x.jsvRoot,oe=x.iconStyle,ve=T(x,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),xe=this.state,Te=xe.object_type,pe=xe.expanded,Ne={};return $||z==="array_group"?z==="array_group"&&(Ne.borderLeft=0,Ne.display="inline"):Ne.paddingLeft=5*this.props.indentWidth,d.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return w.setState(l(l({},w.state),{},{hovered:!0}))},onMouseLeave:function(){return w.setState(l(l({},w.state),{},{hovered:!1}))}},V(I,$?"jsv-root":"objectKeyVal",Ne)),this.getBraceStart(Te,pe),pe?this.getObjectContent(P,B,l({theme:I,iconStyle:oe},ve)):this.getEllipsis(),d.a.createElement("span",{className:"brace-row"},d.a.createElement("span",{style:l(l({},V(I,"brace").style),{},{paddingLeft:pe?"3px":"0px"})},Te==="array"?"]":"}"),pe?null:this.getObjectMetaData(B)))}}],[{key:"getDerivedStateFromProps",value:function(w,x){var P=x.prevProps;return w.src!==P.src||w.collapsed!==P.collapsed||w.name!==P.name||w.namespace!==P.namespace||w.rjvId!==P.rjvId?l(l({},b.getState(w)),{},{prevProps:w}):null}}]),b}(d.a.PureComponent);Bi.getState=function(S){var k=Object.keys(S.src).length,b=(S.collapsed===!1||S.collapsed!==!0&&S.collapsed>S.depth)&&(!S.shouldCollapse||S.shouldCollapse({name:S.name,src:S.src,type:j(S.src),namespace:S.namespace})===!1)&&k!==0;return{expanded:Ie.get(S.rjvId,S.namespace,"expanded",b),object_type:S.type==="array"?"array":"object",parent_type:S.type==="array"?"array":"object",size:k,hovered:!1}};var bm=function S(k,b){u(this,S),this.name=k,this.value=b,this.type=j(b)};D(Bi);var ta=Bi,Em=function(S){h(b,S);var k=m(b);function b(){var w;u(this,b);for(var x=arguments.length,P=new Array(x),B=0;Bz.groupArraysAfterLength&&($=Qr),d.a.createElement("div",{className:"pretty-json-container object-container"},d.a.createElement("div",{className:"object-content"},d.a.createElement($,Object.assign({namespace:I,depth:0,jsvRoot:!0},z))))},w}return b}(d.a.PureComponent),wm=function(S){h(b,S);var k=m(b);function b(w){var x;return u(this,b),(x=k.call(this,w)).closeModal=function(){Oe.dispatch({rjvId:x.props.rjvId,name:"RESET"})},x.submit=function(){x.props.submit(x.state.input)},x.state={input:w.input?w.input:""},x}return f(b,[{key:"render",value:function(){var w=this,x=this.props,P=x.theme,B=x.rjvId,z=x.isValid,I=this.state.input,$=z(I);return d.a.createElement("div",Object.assign({className:"key-modal-request"},V(P,"key-modal-request"),{onClick:this.closeModal}),d.a.createElement("div",Object.assign({},V(P,"key-modal"),{onClick:function(oe){oe.stopPropagation()}}),d.a.createElement("div",V(P,"key-modal-label"),"Key Name:"),d.a.createElement("div",{style:{position:"relative"}},d.a.createElement("input",Object.assign({},V(P,"key-modal-input"),{className:"key-modal-input",ref:function(oe){return oe&&oe.focus()},spellCheck:!1,value:I,placeholder:"...",onChange:function(oe){w.setState({input:oe.target.value})},onKeyPress:function(oe){$&&oe.key==="Enter"?w.submit():oe.key==="Escape"&&w.closeModal()}})),$?d.a.createElement(Ze,Object.assign({},V(P,"key-modal-submit"),{className:"key-modal-submit",onClick:function(oe){return w.submit()}})):null),d.a.createElement("span",V(P,"key-modal-cancel"),d.a.createElement(dn,Object.assign({},V(P,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){Oe.dispatch({rjvId:B,name:"RESET"})}})))))}}]),b}(d.a.PureComponent),xm=function(S){h(b,S);var k=m(b);function b(){var w;u(this,b);for(var x=arguments.length,P=new Array(x),B=0;BR.jsxs("div",{className:"flex border-t border-gray-200 py-2 text-xs",children:[R.jsx("span",{className:"text-gray-500",children:t}),R.jsx("span",{className:"ml-auto text-gray-900",children:e.query[t]})]},n))]})})}function kw(e){return R.jsx("div",{className:"p-4 md:w-1/2 w-full",children:R.jsxs("div",{className:"bg-gray-100 p-4 rounded",children:[R.jsx("h2",{className:"tracking-midwest text-xs text-gray-400 mb-2",children:vm(Object.keys(e.form).length,"FORM PARAM","S")}),Object.keys(e.form).map((t,n)=>R.jsxs("div",{className:"flex border-t border-gray-200 py-2 text-xs",children:[R.jsx("span",{className:"text-gray-500",children:t}),R.jsx("span",{className:"ml-auto text-gray-900",children:e.form[t]})]},n))]})})}function Fp(e){return R.jsx("div",{className:"p-4 md:w-1/2 w-full",children:R.jsxs("div",{className:"h-full bg-gray-100 p-4 rounded",children:[R.jsx("h2",{className:"tracking-midwest text-xs text-gray-400 mb-2",children:"JSON BODY"}),R.jsx("div",{className:"flex border-t border-gray-200 py-2 text-xs",children:R.jsx(hm,{src:e.json,name:!1})})]})})}function _w(e){return R.jsx("div",{className:"p-4 md:w-1/2 w-full",children:R.jsxs("div",{className:"h-full bg-gray-100 p-4 rounded",children:[R.jsx("h2",{className:"tracking-midwest text-xs text-gray-400 mb-2",children:"MESSAGE"}),R.jsx("div",{className:"flex border-t border-gray-200 py-2 text-xs",children:Ow(e.body)})]})})}const vm=(e,t,n="s")=>`${e} ${t}${e!==1?n:""}`;function Ow(e){try{const t=JSON.parse(e);return R.jsx(hm,{src:t,name:!1})}catch{return e}}function Cw(e){const t=R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer h-8 w-8 hover:text-black",viewBox:"0 0 20 20",fill:"currentColor",children:R.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})}),n=R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer h-8 w-8 hover:text-black",viewBox:"0 0 20 20",fill:"currentColor",children:R.jsx("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"})});return R.jsx("button",{"data-testid":"toggleDetails",onClick:e.toggleDetails,className:"focus:outline-none flex ml-auto text-gray-500",children:e.showDetails?t:n})}function Tw(e){const t=jw(e.created_at),[n,r]=ce.useState(e.showAllDetails);return ce.useEffect(()=>{r(e.showAllDetails)},[e.showAllDetails]),R.jsxs("div",{className:"shadow bg-white rounded-md py-4 px-4 flex flex-wrap md:flex-nowrap mb-3 animate-slide-right",children:[R.jsxs("div",{className:"md:w-56 md:mb-0 mb-6 flex-shrink-0 flex flex-col",children:[R.jsx("span",{className:"self-start inline-block py-1 px-2 rounded bg-indigo-50 text-indigo-500 text-s font-semibold tracking-widest",children:e.fields.method}),R.jsx("div",{className:"mt-1 text-gray-400 text-sm",children:t})]}),R.jsxs("div",{className:"md:flex-grow",children:[R.jsxs("div",{className:"flex w-full mx-auto",children:[e.fields.url!==""&&R.jsxs("div",{children:[R.jsx("h2",{className:"tracking-midwest text-xs text-gray-400",children:"URL"}),R.jsx("h2",{className:"font-medium text-gray-800 title-font mb-5 text-xl",children:e.fields.url})]}),R.jsx(Cw,{id:e.id,showDetails:n,toggleDetails:()=>r(!n)})]}),n?R.jsx("section",{className:"text-gray-600 body-font border-t-2 pt-3 border-gray-100",children:R.jsx("div",{className:"container py-2 mx-auto",children:R.jsxs("div",{className:"flex flex-wrap -m-4",children:[e.headers&&R.jsx(bw,{headers:e.headers}),R.jsx(xw,{params:e.param_fields,message:e.message})]})})}):R.jsx("div",{})]})]})}const Nw=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),Lp=[{amount:60,name:"seconds"},{amount:60,name:"minutes"},{amount:24,name:"hours"},{amount:7,name:"days"},{amount:4.34524,name:"weeks"},{amount:12,name:"months"},{amount:Number.POSITIVE_INFINITY,name:"years"}];function jw(e){if(e===void 0)return"";let n=(new Date(e)-new Date)/1e3;for(let r=0;r<=Lp.length;r++){const i=Lp[r];if(Math.abs(n)!(t!=="ALL"&&t!==n.fields.method))}function Rw(e){if(e.loading)return R.jsx("div",{children:"Loading requests..."});if(e.error)return R.jsx("div",{children:"Failed to load."});const t=e.requests.slice().sort((n,r)=>new Date(r.created_at)-new Date(n.created_at));return mm(t,e.selectedFilter).map(({id:n,fields:r,headers:i,param_fields:o,created_at:a,message:s})=>R.jsx(Tw,{created_at:a,fields:r,headers:i,param_fields:o,id:n,showAllDetails:e.showAllDetails,message:s},n))}function Aw(e){const t=R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})}),n=R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:[R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]});return R.jsxs("button",{onClick:e.toggle,className:"ml-1 items-center cursor-pointer inline-flex bg-indigo-500 border-0 py-1 px-3 focus:outline-none hover:bg-indigo-900 rounded text-white",children:[e.showAllDetails?t:n,e.showAllDetails?"Hide Details":"Show Details"]})}function Mw(e){return e.filters.map((t,n)=>R.jsx("li",{onClick:()=>e.setSelectedFilter(t),children:R.jsx("button",{className:`${n===e.filters.length-1?"rounded-b":""} focus:outline-none bg-indigo-500 hover:bg-indigo-900 py-2 px-4 block w-full text-left whitespace-no-wrap`,children:t})},n))}function Fw(e){const{loading:t,error:n,data:r,subscribeToMore:i}=ea(Iw),[o]=gw(Pw,{update(g){g.modify({fields:{requests(){return[]}}})}}),[a,s]=ce.useState([]),[l,u]=ce.useState(!1),[c,f]=ce.useState(!0),[p,h]=ce.useState("ALL");return ce.useEffect(()=>{r&&s(r.requests),l||(i({document:Dw,updateQuery:(g,{subscriptionData:E})=>{if(!E.data)return g;const _=E.data.request;return Object.assign({},g,{requests:[_,...g.requests]})}}),u(!0))},[r,l,i]),R.jsx("section",{className:"text-gray-600 bg-gray-100 body-font h-full",children:R.jsxs("div",{className:"container px-5 py-12 mx-auto",children:[R.jsxs("div",{className:"flex flex-wrap w-full",children:[R.jsxs("div",{className:"lg:w-1/2 w-full mb-6 lg:mb-0",children:[R.jsx("div",{className:"flex flex-col sm:flex-row sm:items-center items-start mx-auto",children:R.jsx("h1",{className:"sm:text-2xl text-xl font-medium title-font mb-2 text-gray-900",children:Lw(mm(a,p).length,"Request")})}),R.jsx("div",{className:"h-1 w-1/6 bg-indigo-500 rounded mb-4"})]}),R.jsxs("div",{className:"flex items-center lg:w-1/2 w-full mb-5 flex-row-reverse",children:[R.jsxs("div",{className:"group inline-block relative",children:[R.jsxs("button",{className:"ml-1 items-center cursor-pointer inline-flex bg-indigo-500 border-0 py-1 px-3 focus:outline-none hover:bg-indigo-900 rounded text-white",children:[R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"})}),"Filter: ",p]}),R.jsxs("ul",{className:"absolute hidden right-0 w-max text-white pt-1 group-hover:block z-10",children:[R.jsx("li",{onClick:()=>h("ALL"),children:R.jsx("button",{className:"focus:outline-none rounded-t bg-indigo-500 hover:bg-indigo-900 py-2 px-4 block w-full text-left whitespace-no-wrap",children:"ALL"})}),R.jsx(Mw,{filters:e.filters,setSelectedFilter:h})]})]}),R.jsx(Aw,{showAllDetails:c,toggle:()=>f(!c)}),R.jsxs("button",{onClick:()=>{window.confirm("Are you sure you want to clear all requests?")&&o()},className:"cursor-pointer items-center inline-flex bg-indigo-500 border-0 py-1 px-3 focus:outline-none hover:bg-indigo-900 rounded text-white",children:[R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),"Clear Requests"]})]})]}),R.jsx(Rw,{selectedFilter:p,error:n,loading:t,requests:a,showAllDetails:c})]})})}const Lw=(e,t,n="s")=>`${e} ${t}${e!==1?n:""}`,zw=Jt` + query GetServerInfo { + serverInfo { + request_address + request_port + } + } +`;function Vw(e){return e.filters.map((t,n)=>R.jsx("option",{children:t},n))}function qw(e){const{data:t}=ea(zw),[n,r]=ce.useState("GET"),[i,o]=ce.useState(""),[a,s]=ce.useState(JSON.stringify({hello:"world"})),l=()=>{fetch(i,{method:n,body:n==="GET"||n==="HEAD"?null:a,headers:{"Content-Type":"application/json"}})};return ce.useEffect(()=>{t&&o(`http://${t.serverInfo.request_address}:${t.serverInfo.request_port}`)},[t]),e.visible?R.jsx("section",{className:"text-gray-600 bg-gray-100 body-font h-full",children:R.jsx("div",{className:"container p-5 mx-auto max-w-2xl",children:R.jsxs("div",{className:"bg-white rounded shadow py-4 px-4",children:[R.jsx("h2",{className:"text-gray-900 text-lg mb-1 font-medium title-font",children:"Send a Request"}),R.jsxs("div",{className:"flex flex-wrap mb-4",children:[R.jsxs("div",{className:"md:pr-1 md:w-2/6 sm:w-1/2 w-full",children:[R.jsx("label",{htmlFor:"method",className:"tracking-midwest text-xs text-gray-400",children:"METHOD"}),R.jsx("div",{className:"flex",children:R.jsxs("div",{className:"relative w-full",children:[R.jsx("select",{name:"method",id:"method",className:"w-full rounded border appearance-none border-gray-300 py-2 focus:outline-none focus:ring-2 focus:ring-red-200 focus:border-red-500 text-base pl-3 pr-10",onChange:u=>r(u.target.value),value:n,children:R.jsx(Vw,{filters:e.filters})}),R.jsx("span",{className:"absolute right-0 top-0 h-full w-10 text-center text-gray-600 pointer-events-none flex items-center justify-center",children:R.jsx("svg",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"w-4 h-4",viewBox:"0 0 24 24",children:R.jsx("path",{d:"M6 9l6 6 6-6"})})})]})})]}),R.jsx("div",{className:"md:pl-1 md:w-4/6 sm:w-1/2 w-full",children:R.jsxs("div",{className:"relative",children:[R.jsx("label",{htmlFor:"url",className:"tracking-midwest text-xs text-gray-400",children:"URL"}),R.jsx("input",{type:"text",id:"url",name:"url",className:"w-full rounded border border-gray-300 focus:border-red-500 focus:bg-white focus:ring-2 focus:ring-red-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out",value:i,onChange:u=>o(u.target.value)})]})})]}),R.jsxs("div",{className:"relative mb-4",children:[R.jsx("label",{htmlFor:"body",className:"tracking-midwest text-xs text-gray-400",children:"BODY"}),R.jsx("textarea",{id:"body",name:"body",className:"w-full bg-white rounded border border-gray-300 focus:border-red-500 focus:ring-2 focus:ring-red-200 h-32 text-base outline-none text-gray-700 py-1 px-3 resize-none leading-6 transition-colors duration-200 ease-in-out",onChange:u=>s(u.target.value),value:a})]}),R.jsx("button",{onClick:()=>l(),className:"mr-2 text-white bg-red-500 border-0 py-2 px-6 focus:outline-none hover:bg-red-600 rounded text-base",children:"Send Request"}),R.jsx("button",{onClick:e.close,className:"text-white bg-red-500 border-0 py-2 px-6 focus:outline-none hover:bg-red-600 rounded text-base",children:"Close"})]})})}):R.jsx("div",{})}const Bw=Jt` + query GetServerInfo { + serverInfo { + request_address + request_port + protocol + } + } +`;function Qw(e){const{data:t}=ea(Bw),[n,r]=ce.useState(""),[i,o]=ce.useState(JSON.stringify({hello:"world"})),[a,s]=ce.useState(!1),[l,u]=ce.useState(null),c=()=>{l.send(i)},f=()=>{const h=new WebSocket(n);h.addEventListener("open",function(g){s(!0),u(h)}),h.addEventListener("close",function(g){s(!1),u(null)})},p=()=>{l&&(l.close(),s(!1))};return ce.useEffect(()=>{t&&r(`${t.serverInfo.protocol}://${t.serverInfo.request_address}:${t.serverInfo.request_port}`)},[t]),e.visible?R.jsx("section",{className:"text-gray-600 bg-gray-100 body-font h-full",children:R.jsx("div",{className:"container p-5 mx-auto max-w-2xl",children:R.jsxs("div",{className:"bg-white rounded shadow py-4 px-4",children:[R.jsx("h2",{className:"text-gray-900 text-lg mb-1 font-medium title-font",children:"Send a WebSocket Message"}),R.jsx("div",{className:"flex flex-wrap mb-4",children:R.jsx("div",{className:"w-full",children:R.jsxs("div",{className:"relative",children:[R.jsx("label",{htmlFor:"url",className:"tracking-midwest text-xs text-gray-400",children:"URL"}),a===!1?R.jsx("input",{type:"text",id:"url",name:"url",className:"w-full rounded border border-gray-300 focus:border-red-500 focus:bg-white focus:ring-2 focus:ring-red-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out",value:n,onChange:h=>r(h.target.value)}):R.jsxs("div",{className:"text-green-500",children:["Connected to ",n]})]})})}),a&&R.jsxs("div",{className:"relative mb-4",children:[R.jsx("label",{htmlFor:"body",className:"tracking-midwest text-xs text-gray-400",children:"BODY"}),R.jsx("textarea",{id:"body",name:"body",className:"w-full bg-white rounded border border-gray-300 focus:border-red-500 focus:ring-2 focus:ring-red-200 h-32 text-base outline-none text-gray-700 py-1 px-3 resize-none leading-6 transition-colors duration-200 ease-in-out",onChange:h=>o(h.target.value),value:i})]}),a===!0?R.jsx("button",{onClick:()=>c(),className:"mr-2 text-white bg-red-500 border-0 py-2 px-6 focus:outline-none hover:bg-red-600 rounded text-base",children:"Send Request"}):R.jsx("button",{onClick:()=>f(),className:"mr-2 text-white bg-red-500 border-0 py-2 px-6 focus:outline-none hover:bg-red-600 rounded text-base",children:"Connect"}),a===!0&&R.jsx("button",{onClick:()=>p(),className:"mr-2 text-white bg-red-500 border-0 py-2 px-6 focus:outline-none hover:bg-red-600 rounded text-base",children:"Disconnect"}),R.jsx("button",{onClick:e.close,className:"text-white bg-red-500 border-0 py-2 px-6 focus:outline-none hover:bg-red-600 rounded text-base",children:"Close"})]})})}):R.jsx("div",{})}const Uw=Jt` + query GetServerInfo { + serverInfo { + request_address + request_port + build_info + protocol + } + } +`;function Ww(e){return e.loading?R.jsx("div",{children:"Loading server info..."}):e.error?R.jsx("div",{children:"Failed to load server info."}):R.jsxs("div",{className:"bg-gray-100 rounded py-1 px-3 text-sm flex flex-wrap items-center justify-center",children:[R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 mr-1",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:R.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"})}),"Listening on: ",e.url]})}function $w(e){const{loading:t,error:n,data:r}=ea(Uw),[i,o]=ce.useState(""),[a,s]=ce.useState(""),[l,u]=ce.useState("");return ce.useEffect(()=>{r&&(o(`${r.serverInfo.protocol}://${r.serverInfo.request_address}:${r.serverInfo.request_port}`),s(r.serverInfo.build_info.version),u(r.serverInfo.protocol))},[r]),R.jsx("header",{className:"text-gray-600 body-font border-b-2 bg-white",children:R.jsxs("div",{className:"container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center",children:[R.jsxs("a",{href:"/",className:"flex title-font font-medium items-center text-gray-900 mb-4 md:mb-0",children:[R.jsx("span",{className:"text-xl",children:"Request Hole"}),R.jsx("h2",{className:"tracking-widest text-sm ml-2 title-font font-light text-gray-400",children:a})]}),R.jsx("div",{className:"md:mr-auto md:ml-4 md:py-1 md:pl-4 md:border-l md:border-gray-400 flex flex-wrap items-center text-base justify-center",children:R.jsx(Ww,{loading:t,error:n,url:i})}),R.jsxs("nav",{className:"md:ml-auto flex flex-wrap items-center text-base justify-center",children:[R.jsxs("button",{onClick:()=>e.setSendRequestVisible(!e.sendRequestVisible),className:"focus:outline-none mr-5 hover:text-gray-900 flex flex-wrap items-center text-base",children:[R.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-1",viewBox:"0 0 20 20",fill:"currentColor",children:[R.jsx("path",{d:"M8.707 7.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l2-2a1 1 0 00-1.414-1.414L11 7.586V3a1 1 0 10-2 0v4.586l-.293-.293z"}),R.jsx("path",{d:"M3 5a2 2 0 012-2h1a1 1 0 010 2H5v7h2l1 2h4l1-2h2V5h-1a1 1 0 110-2h1a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2V5z"})]}),"Send a ",l==="ws"?"WebSocket Message":"Request"]}),R.jsxs("a",{href:"https://github.com/aaronvb/request_hole",className:"hover:text-gray-900 flex flex-wrap items-center text-base",children:[R.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-1",viewBox:"0 0 20 20",fill:"currentColor",children:R.jsx("path",{fillRule:"evenodd",d:"M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"})}),"View Project on GitHub"]})]})]})})}const zp=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS","RECEIVE"],Hw=Jt` + query GetServerInfo { + serverInfo { + protocol + } + } +`;function Gw(){const{data:e}=ea(Hw),[t,n]=ce.useState(!1),[r,i]=ce.useState("");return ce.useEffect(()=>{e&&i(e.serverInfo.protocol)},[e]),R.jsxs("div",{children:[R.jsx($w,{sendRequestVisible:t,setSendRequestVisible:n}),r==="ws"?R.jsx(Qw,{visible:t,close:()=>n(!1)}):R.jsx(qw,{filters:zp,visible:t,close:()=>n(!1)}),R.jsx(Fw,{filters:zp})]})}const Kw="modulepreload",Yw=function(e){return"/"+e},Vp={},Jw=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Yw(o),o in Vp)return;Vp[o]=!0;const a=o.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const f=i[c];if(f.href===o&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":Kw,a||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),a)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})},Xw=e=>{e&&e instanceof Function&&Jw(()=>import("./web-vitals-60d3425a.js"),[]).then(({getCLS:t,getFID:n,getFCP:r,getLCP:i,getTTFB:o})=>{t(e),n(e),r(e),i(e),o(e)})};var Ef={},Zw=qi;function qi(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}qi.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};qi.prototype.reset=function(){this.attempts=0};qi.prototype.setMin=function(e){this.ms=e};qi.prototype.setMax=function(e){this.max=e};qi.prototype.setJitter=function(e){this.jitter=e};var ym={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function o(l,u,c,f,p){if(typeof c!="function")throw new TypeError("The listener must be a function");var h=new i(c,f||l,p),g=n?n+u:u;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],h]:l._events[g].push(h):(l._events[g]=h,l._eventsCount++),l}function a(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var u=[],c,f;if(this._eventsCount===0)return u;for(f in c=this._events)t.call(c,f)&&u.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},s.prototype.listeners=function(u){var c=n?n+u:u,f=this._events[c];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,h=f.length,g=new Array(h);p0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0){var c=a.shift();c&&c.applyMiddleware.apply(s,[t,l])}else r(t)};l()};o(qp([],n.middlewares,!0),n)})},e.prototype.use=function(t){var n=this;return t.map(function(r){if(typeof r.applyMiddleware=="function")n.middlewares.push(r);else throw new Error("Middleware must implement the applyMiddleware function.")}),this},e.prototype.getConnectionParams=function(t){return function(){return new Promise(function(n,r){if(typeof t=="function")try{return n(t.call(null))}catch(i){return r(i)}n(t)})}},e.prototype.executeOperation=function(t,n){var r=this;this.client===null&&this.connect();var i=this.generateOperationId();return this.operations[i]={options:t,handler:n},this.applyMiddlewares(t).then(function(o){r.checkOperationOptions(o,n),r.operations[i]&&(r.operations[i]={options:o,handler:n},r.sendMessage(i,Et.default.GQL_START,o))}).catch(function(o){r.unsubscribe(i),n(r.formatErrors(o))}),i},e.prototype.getObserver=function(t,n,r){return typeof t=="function"?{next:function(i){return t(i)},error:function(i){return n&&n(i)},complete:function(){return r&&r()}}:t},e.prototype.createMaxConnectTimeGenerator=function(){var t=this.minWsTimeout,n=this.wsTimeout;return new Qp({min:t,max:n,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&Object.keys(this.operations).length===0&&(this.inactivityTimeoutId=setTimeout(function(){Object.keys(t.operations).length===0&&t.close()},this.inactivityTimeout))},e.prototype.checkOperationOptions=function(t,n){var r=t.query,i=t.variables,o=t.operationName;if(!r)throw new Error("Must provide a query.");if(!n)throw new Error("Must provide an handler.");if(!(0,Up.default)(r)&&!(0,Ex.getOperationAST)(r,o)||o&&!(0,Up.default)(o)||i&&!(0,gx.default)(i))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(t,n,r){var i=r&&r.query?hi(hi({},r),{query:typeof r.query=="string"?r.query:(0,bx.print)(r.query)}):r;return{id:t,type:n,payload:i}},e.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},e.prototype.sendMessage=function(t,n,r){this.sendMessageRaw(this.buildMessage(t,n,r))},e.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var n=JSON.stringify(t);try{JSON.parse(n)}catch{this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(n);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(t)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var t=this;if(!(!this.reconnect||this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(r){t.unsentMessagesQueue.push(t.buildMessage(r,Et.default.GQL_START,t.operations[r].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var n=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){t.connect()},n)}},e.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach(function(n){t.sendMessageRaw(n)}),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){if(this.wasKeepAliveReceived){this.wasKeepAliveReceived=!1;return}this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))},this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var t,n=this;this.client=new((t=this.wsImpl).bind.apply(t,qp([void 0,this.url,this.wsProtocols],this.wsOptionArguments,!1))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return hx(n,void 0,void 0,function(){var r,i;return vx(this,function(o){switch(o.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return r=o.sent(),this.sendMessage(void 0,Et.default.GQL_CONNECTION_INIT,r),this.flushUnsentMessagesQueue(),[3,4];case 3:return i=o.sent(),this.sendMessage(void 0,Et.default.GQL_CONNECTION_ERROR,i),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){n.closedByUser||n.close(!1,!1)},this.client.onerror=function(r){n.eventEmitter.emit("error",r)},this.client.onmessage=function(r){var i=r.data;n.processReceivedData(i)}},e.prototype.processReceivedData=function(t){var n,r;try{n=JSON.parse(t),r=n.id}catch{throw new Error("Message must be JSON-parseable. Got: "+t)}if([Et.default.GQL_DATA,Et.default.GQL_COMPLETE,Et.default.GQL_ERROR].indexOf(n.type)!==-1&&!this.operations[r]){this.unsubscribe(r);return}switch(n.type){case Et.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(n.payload);break;case Et.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",n.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case Et.default.GQL_COMPLETE:var i=this.operations[r].handler;delete this.operations[r],i.call(this,null,null);break;case Et.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(n.payload),null),delete this.operations[r];break;case Et.default.GQL_DATA:var o=n.payload.errors?hi(hi({},n.payload),{errors:this.formatErrors(n.payload.errors)}):n.payload;this.operations[r].handler(null,o);break;case Et.default.GQL_CONNECTION_KEEP_ALIVE:var a=typeof this.wasKeepAliveReceived>"u";this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}},e.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,Et.default.GQL_STOP,void 0))},e}();ec=Ef.SubscriptionClient=Sx;var kx=function(e){fn(t,e);function t(n){var r=e.call(this)||this;return n instanceof ec?r.subscriptionClient=n:r.subscriptionClient=new ec(n.uri,n.options,n.webSocketImpl),r}return t.prototype.request=function(n){return this.subscriptionClient.request(n)},t}(zr);let gm=document.location.host;const _x=new F0({uri:`http://${gm}/query`}),Ox=new kx({uri:`ws://${gm}/query`,options:{reconnect:!0}}),Cx=F1(({query:e})=>{const t=Vi(e);return t.kind==="OperationDefinition"&&t.operation==="subscription"},Ox,_x),Tx=new tw({link:Cx,cache:new GE({typePolicies:{ServerInfo:{merge:!0}}})});Ml.createRoot(document.getElementById("root")).render(R.jsxs(nh.StrictMode,{children:[R.jsx(cw,{client:Tx,children:R.jsx(Gw,{})})," "]}));Xw()});export default Nx(); diff --git a/web/build/assets/web-vitals-60d3425a.js b/web/build/assets/web-vitals-60d3425a.js new file mode 100644 index 0000000..77233a3 --- /dev/null +++ b/web/build/assets/web-vitals-60d3425a.js @@ -0,0 +1 @@ +var m,l,C,T,f=function(t,e){return{name:t,value:e===void 0?-1:e,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},h=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if(t==="first-input"&&!("PerformanceEventTiming"in self))return;var i=new PerformanceObserver(function(a){return a.getEntries().map(e)});return i.observe({type:t,buffered:!0}),i}}catch{}},y=function(t,e){var i=function a(n){n.type!=="pagehide"&&document.visibilityState!=="hidden"||(t(n),e&&(removeEventListener("visibilitychange",a,!0),removeEventListener("pagehide",a,!0)))};addEventListener("visibilitychange",i,!0),addEventListener("pagehide",i,!0)},g=function(t){addEventListener("pageshow",function(e){e.persisted&&t(e)},!0)},v=function(t,e,i){var a;return function(n){e.value>=0&&(n||i)&&(e.delta=e.value-(a||0),(e.delta||a===void 0)&&(a=e.value,t(e)))}},p=-1,w=function(){return document.visibilityState==="hidden"?0:1/0},F=function(){y(function(t){var e=t.timeStamp;p=e},!0)},S=function(){return p<0&&(p=w(),F(),g(function(){setTimeout(function(){p=w(),F()},0)})),{get firstHiddenTime(){return p}}},A=function(t,e){var i,a=S(),n=f("FCP"),o=function(c){c.name==="first-contentful-paint"&&(u&&u.disconnect(),c.startTime-1&&t(s)},n=f("CLS",0),o=0,r=[],u=function(s){if(!s.hadRecentInput){var B=r[0],q=r[r.length-1];o&&s.startTime-q.startTime<1e3&&s.startTime-B.startTime<5e3?(o+=s.value,r.push(s)):(o=s.value,r=[s]),o>n.value&&(n.value=o,n.entries=r,i())}},c=h("layout-shift",u);c&&(i=v(a,n,e),y(function(){c.takeRecords().map(u),i(!0)}),g(function(){o=0,E=-1,n=f("CLS",0),i=v(a,n,e)}))},d={passive:!0,capture:!0},H=new Date,P=function(t,e){m||(m=e,l=t,C=new Date,k(removeEventListener),D())},D=function(){if(l>=0&&l1e12?new Date:performance.now())-t.timeStamp;t.type=="pointerdown"?function(i,a){var n=function(){P(i,a),r()},o=function(){r()},r=function(){removeEventListener("pointerup",n,d),removeEventListener("pointercancel",o,d)};addEventListener("pointerup",n,d),addEventListener("pointercancel",o,d)}(e,t):P(e,t)}},k=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(e){return t(e,I,d)})},M=function(t,e){var i,a=S(),n=f("FID"),o=function(u){u.startTimeperformance.now())return;i.entries=[a],t(i)}catch{}},document.readyState==="complete"?setTimeout(e,0):addEventListener("load",function(){return setTimeout(e,0)})};export{R as getCLS,A as getFCP,M as getFID,N as getLCP,O as getTTFB}; diff --git a/web/build/index.html b/web/build/index.html index d489c95..4cbc9d1 100644 --- a/web/build/index.html +++ b/web/build/index.html @@ -1 +1,19 @@ -Request Hole
\ No newline at end of file + + + + + + + Request Hole + + + + +
+ + + + diff --git a/web/build/static/css/main.0f6072c1.chunk.css b/web/build/static/css/main.0f6072c1.chunk.css deleted file mode 100644 index 76e9133..0000000 --- a/web/build/static/css/main.0f6072c1.chunk.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! tailwindcss v2.2.2 | MIT License | https://tailwindcss.com */ - -/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{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}body{font-family:inherit;line-height:inherit}*,:after,:before{box-sizing:border-box;border:0 solid}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:after,:before{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity))}.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}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.right-0{right:0}.z-10{z-index:10}.-m-4{margin:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-1{margin-top:.25rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.group:hover .group-hover\:block{display:block}.h-1{height:.25rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-32{height:8rem}.h-full{height:100%}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-10{width:2.5rem}.w-1\/6{width:16.666667%}.w-full{width:100%}.w-max{width:-webkit-max-content;width:-moz-max-content;width:max-content}.max-w-2xl{max-width:42rem}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes slide-right{0%{transform:translateX(-10px)}to{transform:translateX(0)}}.animate-slide-right{animation:slide-right .5s ease-out}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.self-start{align-self:flex-start}.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.border-0{border-width:0}.border{border-width:1px}.border-t-2{border-top-width:2px}.border-t{border-top-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-100{--tw-border-opacity:1;border-color:rgba(243,244,246,var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgba(229,231,235,var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity))}.focus\:border-red-500:focus{--tw-border-opacity:1;border-color:rgba(239,68,68,var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243,244,246,var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgba(239,68,68,var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgba(238,242,255,var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgba(99,102,241,var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity:1;background-color:rgba(220,38,38,var(--tw-bg-opacity))}.hover\:bg-indigo-900:hover{--tw-bg-opacity:1;background-color:rgba(49,46,129,var(--tw-bg-opacity))}.focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-12{padding-top:3rem;padding-bottom:3rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pr-10{padding-right:2.5rem}.pl-3{padding-left:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem}.text-lg,.text-xl{line-height:1.75rem}.text-xl{font-size:1.25rem}.font-light{font-weight:300}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.tracking-widest{letter-spacing:.1em}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgba(156,163,175,var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgba(55,65,81,var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgba(31,41,55,var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgba(17,24,39,var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgba(16,185,129,var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity:1;color:rgba(99,102,241,var(--tw-text-opacity))}.hover\:text-black:hover{--tw-text-opacity:1;color:rgba(0,0,0,var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgba(17,24,39,var(--tw-text-opacity))}*,:after,:before{--tw-shadow:0 0 transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.focus\:outline-none:focus,.outline-none{outline:2px solid transparent;outline-offset:2px}*,:after,:before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus\:ring-red-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(254,202,202,var(--tw-ring-opacity))}.filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:640px){.sm\:w-1\/2{width:50%}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}}@media (min-width:768px){.md\:mr-auto{margin-right:auto}.md\:mb-0{margin-bottom:0}.md\:ml-4{margin-left:1rem}.md\:ml-auto{margin-left:auto}.md\:w-56{width:14rem}.md\:w-1\/2{width:50%}.md\:w-2\/6{width:33.333333%}.md\:w-4\/6{width:66.666667%}.md\:flex-grow{flex-grow:1}.md\:flex-row{flex-direction:row}.md\:flex-nowrap{flex-wrap:nowrap}.md\:border-l{border-left-width:1px}.md\:border-gray-400{--tw-border-opacity:1;border-color:rgba(156,163,175,var(--tw-border-opacity))}.md\:py-1{padding-top:.25rem;padding-bottom:.25rem}.md\:pr-1{padding-right:.25rem}.md\:pl-1{padding-left:.25rem}.md\:pl-4{padding-left:1rem}}@media (min-width:1024px){.lg\:mb-0{margin-bottom:0}.lg\:w-1\/2{width:50%}} -/*# sourceMappingURL=main.0f6072c1.chunk.css.map */ \ No newline at end of file diff --git a/web/build/static/css/main.0f6072c1.chunk.css.map b/web/build/static/css/main.0f6072c1.chunk.css.map deleted file mode 100644 index 50491ed..0000000 --- a/web/build/static/css/main.0f6072c1.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack://src/index.css","","main.0f6072c1.chunk.css"],"names":[],"mappings":"AAAA,gEAAc;;AAAd,8FAAc,CAAd,KAAA,eAAc,CAAd,UAAc,CAAd,gBAAc,CAAd,6BAAc,CAAd,KAAA,QAAc,CAAd,qHAAc,CAAd,GAAA,QAAc,CAAd,aAAc,CAAd,YAAA,wCAAc,CAAd,gCAAc,CAAd,SAAA,kBAAc,CAAd,kBAAA,kFAAc,CAAd,aAAc,CAAd,MAAA,aAAc,CAAd,QAAA,aAAc,CAAd,aAAc,CAAd,iBAAc,CAAd,uBAAc,CAAd,IAAA,aAAc,CAAd,IAAA,SAAc,CAAd,MAAA,aAAc,CAAd,oBAAc,CAAd,sCAAA,mBAAc,CAAd,cAAc,CAAd,gBAAc,CAAd,QAAc,CAAd,cAAA,mBAAc,CAAd,qBAAA,yBAAc,CAAd,OAAA,SAAc,CAAd,SAAA,uBAAc,CAAd,QAAA,iBAAc,CAAd,mDAAA,QAAc,CAAd,OAAA,4BAAc,CAAd,qBAAc,CAAd,aAAA,kBAAc,CAAd,yCAAc,CAAd,eAAA,QAAc,CAAd,SAAc,CAAd,MAAA,eAAc,CAAd,KAAA,8MAAc,CAAd,eAAc,CAAd,KAAA,mBAAc,CAAd,mBAAc,CAAd,iBAAA,qBAAc,CAAd,cAAc,CAAd,GAAA,oBAAc,CAAd,IAAA,kBAAc,CAAd,SAAA,eAAc,CAAd,qEAAA,SAAc,CAAd,aAAc,CAAd,2DAAA,SAAc,CAAd,aAAc,CAAd,yCAAA,SAAc,CAAd,aAAc,CAAd,OAAA,cAAc,CAAd,MAAA,wBAAc,CAAd,kBAAA,iBAAc,CAAd,mBAAc,CAAd,EAAA,aAAc,CAAd,uBAAc,CAAd,sCAAA,SAAc,CAAd,mBAAc,CAAd,aAAc,CAAd,kBAAA,uGAAc,CAAd,+CAAA,aAAc,CAAd,qBAAc,CAAd,UAAA,cAAc,CAAd,WAAc,CAAd,iBAAA,qBAAc,CAAd,uDAAc,CACd,WAAA,UAAoB,CAApB,yBAAA,WAAA,eAAoB,CAAA,CAApB,yBAAA,WAAA,eAAoB,CAAA,CAApB,0BAAA,WAAA,gBAAoB,CAAA,CAApB,0BAAA,WAAA,gBAAoB,CAAA,CAApB,0BAAA,WAAA,gBAAoB,CAAA,CACpB,qBAAA,mBAAmB,CAAnB,SAAA,kBAAmB,CAAnB,UAAA,iBAAmB,CAAnB,UAAA,iBAAmB,CAAnB,OAAA,KAAmB,CAAnB,SAAA,OAAmB,CAAnB,MAAA,UAAmB,CAAnB,MAAA,YAAmB,CAAnB,SAAA,gBAAmB,CAAnB,iBAAmB,CAAnB,MAAA,iBAAmB,CAAnB,MAAA,mBAAmB,CAAnB,MAAA,kBAAmB,CAAnB,MAAA,oBAAmB,CAAnB,MAAA,oBAAmB,CAAnB,MAAA,mBAAmB,CAAnB,MAAA,oBAAmB,CAAnB,MAAA,kBAAmB,CAAnB,MAAA,qBAAmB,CAAnB,MAAA,oBAAmB,CAAnB,MAAA,kBAAmB,CAAnB,MAAA,iBAAmB,CAAnB,SAAA,gBAAmB,CAAnB,OAAA,aAAmB,CAAnB,cAAA,oBAAmB,CAAnB,MAAA,YAAmB,CAAnB,aAAA,mBAAmB,CAAnB,OAAA,aAAmB,CAAnB,QAAA,YAAmB,CAAnB,iCAAA,aAAmB,CAAnB,KAAA,aAAmB,CAAnB,KAAA,WAAmB,CAAnB,KAAA,cAAmB,CAAnB,KAAA,WAAmB,CAAnB,MAAA,WAAmB,CAAnB,QAAA,WAAmB,CAAnB,KAAA,UAAmB,CAAnB,KAAA,aAAmB,CAAnB,KAAA,UAAmB,CAAnB,MAAA,YAAmB,CAAnB,QAAA,gBAAmB,CAAnB,QAAA,UAAmB,CAAnB,OAAA,yBAAmB,CAAnB,sBAAmB,CAAnB,iBAAmB,CAAnB,WAAA,eAAmB,CAAnB,eAAA,aAAmB,CAAnB,gBAAA,GAAA,uBAAmB,CAAA,CAAnB,gBAAA,OAAA,kBAAmB,CAAnB,SAAmB,CAAA,CAAnB,iBAAA,IAAA,UAAmB,CAAA,CAAnB,kBAAA,MAAA,0BAAmB,CAAnB,gDAAmB,CAAnB,IAAA,cAAmB,CAAnB,gDAAmB,CAAA,CAAnB,uBAAA,GAAA,2BAAmB,CAAnB,GAAA,uBAAmB,CAAA,CAAnB,qBAAA,kCAAmB,CAAnB,gBAAA,cAAmB,CAAnB,aAAA,WAAmB,CAAnB,iBAAA,uBAAmB,CAAnB,oBAAmB,CAAnB,eAAmB,CAAnB,kBAAA,0BAAmB,CAAnB,UAAA,qBAAmB,CAAnB,WAAA,cAAmB,CAAnB,aAAA,sBAAmB,CAAnB,cAAA,kBAAmB,CAAnB,gBAAA,sBAAmB,CAAnB,YAAA,qBAAmB,CAAnB,SAAA,oBAAmB,CAAnB,YAAA,qBAAmB,CAAnB,WAAA,6BAAmB,CAAnB,8BAAmB,CAAnB,WAAA,iCAAmB,CAAnB,gCAAmB,CAAnB,UAAA,cAAmB,CAAnB,QAAA,gBAAmB,CAAnB,YAAA,oBAAmB,CAAnB,UAAA,oBAAmB,CAAnB,YAAA,uBAAmB,CAAnB,iBAAA,qBAAmB,CAAnB,uDAAmB,CAAnB,iBAAA,qBAAmB,CAAnB,uDAAmB,CAAnB,iBAAA,qBAAmB,CAAnB,uDAAmB,CAAnB,6BAAA,qBAAmB,CAAnB,qDAAmB,CAAnB,UAAA,iBAAmB,CAAnB,uDAAmB,CAAnB,aAAA,iBAAmB,CAAnB,uDAAmB,CAAnB,YAAA,iBAAmB,CAAnB,qDAAmB,CAAnB,cAAA,iBAAmB,CAAnB,uDAAmB,CAAnB,eAAA,iBAAmB,CAAnB,sDAAmB,CAAnB,yBAAA,iBAAmB,CAAnB,qDAAmB,CAAnB,4BAAA,iBAAmB,CAAnB,qDAAmB,CAAnB,uBAAA,iBAAmB,CAAnB,uDAAmB,CAAnB,KAAA,YAAmB,CAAnB,KAAA,eAAmB,CAAnB,MAAA,kBAAmB,CAAnB,mBAAmB,CAAnB,MAAA,mBAAmB,CAAnB,oBAAmB,CAAnB,MAAA,iBAAmB,CAAnB,kBAAmB,CAAnB,MAAA,oBAAmB,CAAnB,qBAAmB,CAAnB,MAAA,mBAAmB,CAAnB,oBAAmB,CAAnB,MAAA,kBAAmB,CAAnB,qBAAmB,CAAnB,MAAA,iBAAmB,CAAnB,oBAAmB,CAAnB,MAAA,gBAAmB,CAAnB,mBAAmB,CAAnB,OAAA,gBAAmB,CAAnB,mBAAmB,CAAnB,MAAA,kBAAmB,CAAnB,MAAA,kBAAmB,CAAnB,OAAA,oBAAmB,CAAnB,MAAA,mBAAmB,CAAnB,WAAA,eAAmB,CAAnB,aAAA,iBAAmB,CAAnB,SAAA,gBAAmB,CAAnB,gBAAmB,CAAnB,SAAA,iBAAmB,CAAnB,mBAAmB,CAAnB,WAAA,cAAmB,CAAnB,kBAAmB,CAAnB,SAAA,kBAAmB,CAAnB,kBAAA,mBAAmB,CAAnB,SAAA,iBAAmB,CAAnB,YAAA,eAAmB,CAAnB,aAAA,eAAmB,CAAnB,eAAA,eAAmB,CAAnB,WAAA,kBAAmB,CAAnB,WAAA,gBAAmB,CAAnB,iBAAA,mBAAmB,CAAnB,YAAA,mBAAmB,CAAnB,8CAAmB,CAAnB,eAAA,mBAAmB,CAAnB,8CAAmB,CAAnB,eAAA,mBAAmB,CAAnB,8CAAmB,CAAnB,eAAA,mBAAmB,CAAnB,2CAAmB,CAAnB,eAAA,mBAAmB,CAAnB,2CAAmB,CAAnB,eAAA,mBAAmB,CAAnB,2CAAmB,CAAnB,eAAA,mBAAmB,CAAnB,2CAAmB,CAAnB,gBAAA,mBAAmB,CAAnB,6CAAmB,CAAnB,iBAAA,mBAAmB,CAAnB,6CAAmB,CAAnB,yBAAA,mBAAmB,CAAnB,wCAAmB,CAAnB,4BAAA,mBAAmB,CAAnB,2CAAmB,CAAnB,iBAAA,2BAAmB,CAAnB,QAAA,oEAAmB,CAAnB,8GAAmB,CAAnB,yCAAA,6BAAmB,CAAnB,kBAAmB,CAAnB,iBAAA,2CAAmB,CAAnB,0BAAmB,CAAnB,2BAAmB,CAAnB,oCAAmB,CAAnB,uCAAmB,CAAnB,gCAAmB,CAAnB,qBAAA,0GAAmB,CAAnB,wGAAmB,CAAnB,8FAAmB,CAAnB,2BAAA,mBAAmB,CAAnB,wDAAmB,CAAnB,QAAA,qCAAmB,CAAnB,2CAAmB,CAAnB,yCAAmB,CAAnB,0CAAmB,CAAnB,2CAAmB,CAAnB,uCAAmB,CAAnB,yCAAmB,CAAnB,sCAAmB,CAAnB,4CAAmB,CAAnB,wLAAmB,CAAnB,gLAAmB,CAAnB,mBAAA,mEAAmB,CAAnB,kDAAmB,CAAnB,wBAAmB,CAAnB,cAAA,uBAAmB,CAAnB,aAAA,kDAAmB,CCFnB,yBDEA,YAAA,SAAmB,CAAnB,cAAA,kBAAmB,CAAnB,kBAAA,kBAAmB,CAAnB,cAAA,gBAAmB,CAAnB,gBAAmB,CEwqCnB,CD1qCA,yBDEA,aAAA,iBAAmB,CAAnB,UAAA,eAAmB,CAAnB,UAAA,gBAAmB,CAAnB,aAAA,gBAAmB,CAAnB,UAAA,WAAmB,CAAnB,YAAA,SAAmB,CAAnB,YAAA,gBAAmB,CAAnB,YAAA,gBAAmB,CAAnB,eAAA,WAAmB,CAAnB,cAAA,kBAAmB,CAAnB,iBAAA,gBAAmB,CAAnB,cAAA,qBAAmB,CAAnB,qBAAA,qBAAmB,CAAnB,uDAAmB,CAAnB,UAAA,kBAAmB,CAAnB,qBAAmB,CAAnB,UAAA,oBAAmB,CAAnB,UAAA,mBAAmB,CAAnB,UAAA,iBAAmB,CEgvCnB,CDlvCA,0BDEA,UAAA,eAAmB,CAAnB,YAAA,SAAmB,CE0vCnB","file":"main.0f6072c1.chunk.css","sourcesContent":["@tailwind base;\n@tailwind components;\n@tailwind utilities;\n",null,"/*! tailwindcss v2.2.2 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet `system-ui` */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\n*/\n\n/**\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/**\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\nTabular data\n============\n*/\n\n/**\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\n}\n\n/**\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n/**\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to 'inherit' in Safari.\n*/\n\n/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes the default spacing and border for appropriate elements.\n */\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\n/**\n * Work around a Firefox/IE bug where the transparent `button` background\n * results in a loss of the default `button` focus styles.\n */\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured `sans` font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n 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\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from `html` so users can set them as\n * a class directly on the `html` element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like
where the content\n * is wrapped by a div with box-sizing set to `content-box`.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to `none` in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the `border-width`\n * property, we change the default border-style for all elements to `solid`, and\n * use border-width to hide them instead. This way our `border` utilities only\n * need to set the `border-width` property instead of the entire `border`\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * https://github.com/tailwindcss/tailwindcss/pull/116\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the `border-style: none` reset that Normalize applies to images so that\n * our `border-{width}` utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-webkit-input-placeholder, textarea::-webkit-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * 1. Make replaced elements `display: block` by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with `svg` added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n * \n * 2. Add `vertical-align: middle` to align replaced elements more\n * sensibly by default when overriding `display` by adding a\n * utility like `inline`.\n *\n * This can trigger a poorly considered linting error in some\n * tools but is included by design.\n * \n * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n*, ::before, ::after {\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.container {\n width: 100%;\n}\n\n@media (min-width: 640px) {\n .container {\n max-width: 640px;\n }\n}\n\n@media (min-width: 768px) {\n .container {\n max-width: 768px;\n }\n}\n\n@media (min-width: 1024px) {\n .container {\n max-width: 1024px;\n }\n}\n\n@media (min-width: 1280px) {\n .container {\n max-width: 1280px;\n }\n}\n\n@media (min-width: 1536px) {\n .container {\n max-width: 1536px;\n }\n}\n\n.pointer-events-none {\n pointer-events: none;\n}\n\n.visible {\n visibility: visible;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.top-0 {\n top: 0px;\n}\n\n.right-0 {\n right: 0px;\n}\n\n.z-10 {\n z-index: 10;\n}\n\n.-m-4 {\n margin: -1rem;\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.mt-1 {\n margin-top: 0.25rem;\n}\n\n.mr-1 {\n margin-right: 0.25rem;\n}\n\n.mr-2 {\n margin-right: 0.5rem;\n}\n\n.mr-5 {\n margin-right: 1.25rem;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n\n.mb-4 {\n margin-bottom: 1rem;\n}\n\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.ml-1 {\n margin-left: 0.25rem;\n}\n\n.ml-2 {\n margin-left: 0.5rem;\n}\n\n.ml-auto {\n margin-left: auto;\n}\n\n.block {\n display: block;\n}\n\n.inline-block {\n display: inline-block;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.table {\n display: table;\n}\n\n.hidden {\n display: none;\n}\n\n.group:hover .group-hover\\:block {\n display: block;\n}\n\n.h-1 {\n height: 0.25rem;\n}\n\n.h-4 {\n height: 1rem;\n}\n\n.h-5 {\n height: 1.25rem;\n}\n\n.h-8 {\n height: 2rem;\n}\n\n.h-32 {\n height: 8rem;\n}\n\n.h-full {\n height: 100%;\n}\n\n.w-4 {\n width: 1rem;\n}\n\n.w-5 {\n width: 1.25rem;\n}\n\n.w-8 {\n width: 2rem;\n}\n\n.w-10 {\n width: 2.5rem;\n}\n\n.w-1\\/6 {\n width: 16.666667%;\n}\n\n.w-full {\n width: 100%;\n}\n\n.w-max {\n width: -webkit-max-content;\n width: -moz-max-content;\n width: max-content;\n}\n\n.max-w-2xl {\n max-width: 42rem;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes slide-right {\n 0% {\n transform: translateX(-10px);\n }\n\n 100% {\n transform: translateX(0);\n }\n}\n\n.animate-slide-right {\n animation: slide-right 0.5s ease-out;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.resize-none {\n resize: none;\n}\n\n.appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.items-start {\n align-items: flex-start;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.self-start {\n align-self: flex-start;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-md {\n border-radius: 0.375rem;\n}\n\n.rounded-t {\n border-top-left-radius: 0.25rem;\n border-top-right-radius: 0.25rem;\n}\n\n.rounded-b {\n border-bottom-right-radius: 0.25rem;\n border-bottom-left-radius: 0.25rem;\n}\n\n.border-0 {\n border-width: 0px;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-t-2 {\n border-top-width: 2px;\n}\n\n.border-t {\n border-top-width: 1px;\n}\n\n.border-b-2 {\n border-bottom-width: 2px;\n}\n\n.border-gray-100 {\n --tw-border-opacity: 1;\n border-color: rgba(243, 244, 246, var(--tw-border-opacity));\n}\n\n.border-gray-200 {\n --tw-border-opacity: 1;\n border-color: rgba(229, 231, 235, var(--tw-border-opacity));\n}\n\n.border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.focus\\:border-red-500:focus {\n --tw-border-opacity: 1;\n border-color: rgba(239, 68, 68, var(--tw-border-opacity));\n}\n\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bg-gray-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(243, 244, 246, var(--tw-bg-opacity));\n}\n\n.bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(239, 68, 68, var(--tw-bg-opacity));\n}\n\n.bg-indigo-50 {\n --tw-bg-opacity: 1;\n background-color: rgba(238, 242, 255, var(--tw-bg-opacity));\n}\n\n.bg-indigo-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(99, 102, 241, var(--tw-bg-opacity));\n}\n\n.hover\\:bg-red-600:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(220, 38, 38, var(--tw-bg-opacity));\n}\n\n.hover\\:bg-indigo-900:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(49, 46, 129, var(--tw-bg-opacity));\n}\n\n.focus\\:bg-white:focus {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.p-4 {\n padding: 1rem;\n}\n\n.p-5 {\n padding: 1.25rem;\n}\n\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n\n.py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.py-12 {\n padding-top: 3rem;\n padding-bottom: 3rem;\n}\n\n.pt-1 {\n padding-top: 0.25rem;\n}\n\n.pt-3 {\n padding-top: 0.75rem;\n}\n\n.pr-10 {\n padding-right: 2.5rem;\n}\n\n.pl-3 {\n padding-left: 0.75rem;\n}\n\n.text-left {\n text-align: left;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n.text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n.font-light {\n font-weight: 300;\n}\n\n.font-medium {\n font-weight: 500;\n}\n\n.font-semibold {\n font-weight: 600;\n}\n\n.leading-6 {\n line-height: 1.5rem;\n}\n\n.leading-8 {\n line-height: 2rem;\n}\n\n.tracking-widest {\n letter-spacing: 0.1em;\n}\n\n.text-white {\n --tw-text-opacity: 1;\n color: rgba(255, 255, 255, var(--tw-text-opacity));\n}\n\n.text-gray-400 {\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.text-gray-500 {\n --tw-text-opacity: 1;\n color: rgba(107, 114, 128, var(--tw-text-opacity));\n}\n\n.text-gray-600 {\n --tw-text-opacity: 1;\n color: rgba(75, 85, 99, var(--tw-text-opacity));\n}\n\n.text-gray-700 {\n --tw-text-opacity: 1;\n color: rgba(55, 65, 81, var(--tw-text-opacity));\n}\n\n.text-gray-800 {\n --tw-text-opacity: 1;\n color: rgba(31, 41, 55, var(--tw-text-opacity));\n}\n\n.text-gray-900 {\n --tw-text-opacity: 1;\n color: rgba(17, 24, 39, var(--tw-text-opacity));\n}\n\n.text-green-500 {\n --tw-text-opacity: 1;\n color: rgba(16, 185, 129, var(--tw-text-opacity));\n}\n\n.text-indigo-500 {\n --tw-text-opacity: 1;\n color: rgba(99, 102, 241, var(--tw-text-opacity));\n}\n\n.hover\\:text-black:hover {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.hover\\:text-gray-900:hover {\n --tw-text-opacity: 1;\n color: rgba(17, 24, 39, var(--tw-text-opacity));\n}\n\n*, ::before, ::after {\n --tw-shadow: 0 0 #0000;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n*, ::before, ::after {\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.focus\\:ring-2:focus {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus\\:ring-red-200:focus {\n --tw-ring-opacity: 1;\n --tw-ring-color: rgba(254, 202, 202, var(--tw-ring-opacity));\n}\n\n.filter {\n --tw-blur: var(--tw-empty,/*!*/ /*!*/);\n --tw-brightness: var(--tw-empty,/*!*/ /*!*/);\n --tw-contrast: var(--tw-empty,/*!*/ /*!*/);\n --tw-grayscale: var(--tw-empty,/*!*/ /*!*/);\n --tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);\n --tw-invert: var(--tw-empty,/*!*/ /*!*/);\n --tw-saturate: var(--tw-empty,/*!*/ /*!*/);\n --tw-sepia: var(--tw-empty,/*!*/ /*!*/);\n --tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);\n -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);\n 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);\n}\n\n.transition-colors {\n transition-property: background-color, border-color, color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.duration-200 {\n transition-duration: 200ms;\n}\n\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n@media (min-width: 640px) {\n .sm\\:w-1\\/2 {\n width: 50%;\n }\n\n .sm\\:flex-row {\n flex-direction: row;\n }\n\n .sm\\:items-center {\n align-items: center;\n }\n\n .sm\\:text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n }\n}\n\n@media (min-width: 768px) {\n .md\\:mr-auto {\n margin-right: auto;\n }\n\n .md\\:mb-0 {\n margin-bottom: 0px;\n }\n\n .md\\:ml-4 {\n margin-left: 1rem;\n }\n\n .md\\:ml-auto {\n margin-left: auto;\n }\n\n .md\\:w-56 {\n width: 14rem;\n }\n\n .md\\:w-1\\/2 {\n width: 50%;\n }\n\n .md\\:w-2\\/6 {\n width: 33.333333%;\n }\n\n .md\\:w-4\\/6 {\n width: 66.666667%;\n }\n\n .md\\:flex-grow {\n flex-grow: 1;\n }\n\n .md\\:flex-row {\n flex-direction: row;\n }\n\n .md\\:flex-nowrap {\n flex-wrap: nowrap;\n }\n\n .md\\:border-l {\n border-left-width: 1px;\n }\n\n .md\\:border-gray-400 {\n --tw-border-opacity: 1;\n border-color: rgba(156, 163, 175, var(--tw-border-opacity));\n }\n\n .md\\:py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n }\n\n .md\\:pr-1 {\n padding-right: 0.25rem;\n }\n\n .md\\:pl-1 {\n padding-left: 0.25rem;\n }\n\n .md\\:pl-4 {\n padding-left: 1rem;\n }\n}\n\n@media (min-width: 1024px) {\n .lg\\:mb-0 {\n margin-bottom: 0px;\n }\n\n .lg\\:w-1\\/2 {\n width: 50%;\n }\n}\n\n@media (min-width: 1280px) {\n}\n\n@media (min-width: 1536px) {\n}\n\n"]} \ No newline at end of file diff --git a/web/build/static/js/2.071b5d19.chunk.js b/web/build/static/js/2.071b5d19.chunk.js deleted file mode 100644 index 1f7219a..0000000 --- a/web/build/static/js/2.071b5d19.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.071b5d19.chunk.js.LICENSE.txt */ -(this.webpackJsonpweb=this.webpackJsonpweb||[]).push([[2],[function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return c}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=l){var t=console[e]||console.log;return t.apply(console,arguments)}}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var p=n(32),d=n(19),h="__",b=[h,h].join("DEV");var v=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(p.a,b,{value:"production"!==Object(d.a)((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),p.a[b]}}(),y=n(43);n(46).a,Object(y.a)(),__DEV__?u("boolean"===typeof v,v):u("boolean"===typeof v,38)},function(e,t,n){"use strict";e.exports=n(59)},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=Object.prototype,i=r.toString,a=r.hasOwnProperty,o=Function.prototype.toString,s=new Map;function u(e,t){try{return c(e,t)}finally{s.clear()}}function c(e,t){if(e===t)return!0;var n=i.call(e);if(n!==i.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(d(e,t))return!0;var r=l(e),s=l(t),u=r.length;if(u!==s.length)return!1;for(var f=0;f=0&&e.indexOf(t,n)===n}(w,p)}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}var p="{ [native code] }";function d(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(u){i=!0,a=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";var r;function i(e){return!!e&&e<7}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},,function(e,t,n){"use strict";function r(e){return null!==e&&"object"===typeof e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return r}));var r,i=n(16),a=n(17),o=function(){function e(t,n,r){Object(i.a)(this,e),this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}return Object(a.a)(e,[{key:Symbol.toStringTag,get:function(){return"Location"}},{key:"toJSON",value:function(){return{start:this.start,end:this.end}}}]),e}(),s=function(){function e(t,n,r,a,o,s){Object(i.a)(this,e),this.kind=t,this.start=n,this.end=r,this.line=a,this.column=o,this.value=s,this.prev=null,this.next=null}return Object(a.a)(e,[{key:Symbol.toStringTag,get:function(){return"Token"}},{key:"toJSON",value:function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}]),e}(),u={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},c=new Set(Object.keys(u));function l(e){var t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&c.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={}))},function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var r=n(0),i=(n(2),n(15)),a=n(9),o=n(29);var s,u,c=function(){function e(){this.known=new(o.c?WeakSet:Set),this.pool=new i.a(o.b),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return Object(a.a)(e)&&this.known.has(e)},e.prototype.pass=function(e){if(Object(a.a)(e)){var t=function(e){return Object(a.a)(e)?Array.isArray(e)?e.slice(0):Object(r.a)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(Object(a.a)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(u=this.pool.lookupArray(r)).array||(this.known.add(u.array=r),__DEV__&&Object.freeze(r)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],s=this.sortedKeys(e);o.push(s.json);var u,c=o.length;if(s.sorted.forEach((function(n){o.push(t.admit(e[n]))})),!(u=this.pool.lookupArray(o)).object){var l=u.object=Object.create(i);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=o[c+t]})),__DEV__&&Object.freeze(l)}return u.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),l=Object.assign((function(e){if(Object(a.a)(e)){void 0===s&&f();var t=s.admit(e),n=u.get(t);return void 0===n&&u.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:f});function f(){s=new c,u=new(o.b?WeakMap:Map)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(0),i=(n(2),n(54));function a(e){return e.hasOwnProperty("graphQLErrors")}var o=function(e){function t(n){var r=n.graphQLErrors,a=n.clientErrors,o=n.networkError,s=n.errorMessage,u=n.extraInfo,c=e.call(this,s)||this;return c.graphQLErrors=r||[],c.clientErrors=a||[],c.networkError=o||null,c.message=s||function(e){var t="";return(Object(i.a)(e.graphQLErrors)||Object(i.a)(e.clientErrors))&&(e.graphQLErrors||[]).concat(e.clientErrors||[]).forEach((function(e){var n=e?e.message:"Error message not found.";t+=n+"\n"})),e.networkError&&(t+=e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(c),c.extraInfo=u,c.__proto__=t.prototype,c}return Object(r.c)(t,e),t}(Error)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=function(){return Object.create(null)},i=Array.prototype,a=i.forEach,o=i.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=r),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;tthis.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),u=new i.a,c=Object.prototype.hasOwnProperty,l=void 0===(o=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:o;function f(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var p=[];function d(e,t){if(!e)throw new Error(t||"assertion failure")}function h(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var b=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!m(this))return v(this),this.value[0]},e.prototype.recompute=function(e){return d(!this.recomputing,"already recomputing"),v(this),m(this)?function(e,t){S(e),u.withValue(e,y,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{f(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,m(e))return;O(e)}(e);return h(e.value)}(this,e):h(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,g(this),f(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),S(this),E(this,(function(t,n){t.setDirty(),j(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=p.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(l(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),p.push(this.deps),this.deps=null)},e.count=0,e}();function v(e){var t=u.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),m(e)?w(t,e):_(t,e),t}function y(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function m(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function g(e){E(e,w)}function O(e){E(e,_)}function E(e,t){var n=e.parents.size;if(n)for(var r=l(e.parents),i=0;i0&&n===t.length&&e[n-1]===t[n-1]}(n,t.value)||e.setDirty(),k(e,t),m(e)||O(e)}function k(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(p.length<100&&p.push(n),e.dirtyChildren=null))}function S(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){j(e,n)})),e.forgetDeps(),d(null===e.dirtyChildren)}function j(e,t){t.parents.delete(e),e.childValues.delete(t),k(e,t)}var x={setDirty:!0,dispose:!0,forget:!0};function C(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=u.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(f(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var i=n&&c.call(x,n)?n:"setDirty";l(r).forEach((function(e){return e[i]()})),t.delete(e),f(r)}},r}function T(){var e=new r.a("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}T();var I=new Set;function N(e,t){void 0===t&&(t=Object.create(null));var n=new s(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||T(),a=function(){var a=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===a)return e.apply(null,arguments);var o=n.get(a);o||(n.set(a,o=new b(e)),o.subscribe=t.subscribe,o.forget=function(){return n.delete(a)});var s=o.recompute(Array.prototype.slice.call(arguments));return n.set(a,o),I.add(n),u.hasValue()||(I.forEach((function(e){return e.clean()})),I.clear()),s};function o(e){var t=n.get(e);t&&t.setDirty()}function c(e){var t=n.get(e);if(t)return t.peek()}function l(e){return n.delete(e)}return Object.defineProperty(a,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),a.dirtyKey=o,a.dirty=function(){o(i.apply(null,arguments))},a.peekKey=c,a.peek=function(){return c(i.apply(null,arguments))},a.forgetKey=l,a.forget=function(){return l(i.apply(null,arguments))},a.makeCacheKey=i,a.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(a)}},function(e,t,n){"use strict";function r(e){try{return e()}catch(t){}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=null,i={},a=1,o="@wry/context:Slot",s=Array,u=s[o]||function(){var e=function(){function e(){this.id=["slot",a++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=r;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===i)break;return e!==r&&(r.slots[this.id]=t),!0}return r&&(r.slots[this.id]=i),!1},e.prototype.getValue=function(){if(this.hasValue())return r.slots[this.id]},e.prototype.withValue=function(e,t,n,i){var a,o=((a={__proto__:null})[this.id]=e,a),s=r;r={parent:s,slots:o};try{return t.apply(i,n)}finally{r=s}},e.bind=function(e){var t=r;return function(){var n=r;try{return r=t,e.apply(this,arguments)}finally{r=n}}},e.noContext=function(e,t,n){if(!r)return e.apply(n,t);var i=r;try{return r=null,e.apply(n,t)}finally{r=i}},e}();try{Object.defineProperty(s,o,{value:s[o]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();u.bind,u.noContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s}));var r,i=n(2);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={}));var a=new Map;function o(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function s(e){var t,n,o=a.get(e);if(o)return o;__DEV__?Object(i.b)(!!e&&!!e.kind,"Argument of "+e+" passed to parser was not a valid GraphQL DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):Object(i.b)(!!e&&!!e.kind,34);var s=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),c=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));__DEV__?Object(i.b)(!s.length||u.length||c.length||l.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):Object(i.b)(!s.length||u.length||c.length||l.length,35),__DEV__?Object(i.b)(u.length+c.length+l.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+e+" had "+u.length+" queries, "+l.length+" subscriptions and "+c.length+" mutations. You can use 'compose' to join multiple operation types to a component"):Object(i.b)(u.length+c.length+l.length<=1,36),n=u.length?r.Query:r.Mutation,u.length||c.length||(n=r.Subscription);var f=u.length?u:c.length?c:l;__DEV__?Object(i.b)(1===f.length,"react-apollo only supports one definition per HOC. "+e+" had "+f.length+" definitions. You can use 'compose' to join multiple operation types to a component"):Object(i.b)(1===f.length,37);var p=f[0];t=p.variableDefinitions||[];var d={name:p.name&&"Name"===p.name.kind?p.name.value:"data",type:n,variables:t};return a.set(e,d),d}},function(e,t,n){"use strict";n.d(t,"h",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"k",(function(){return c})),n.d(t,"j",(function(){return l})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return b})),n.d(t,"i",(function(){return v})),n.d(t,"c",(function(){return y})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return g}));var r=n(2),i=n(9),a=n(40);function o(e){return{__ref:String(e)}}function s(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function u(e){return Object(i.a)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,n,i){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var a={};n.fields.map((function(e){return c(a,e.name,e.value,i)})),e[t.value]=a}else if(function(e){return"Variable"===e.kind}(n)){var o=(i||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return c(n,t,e,i),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw __DEV__?new r.a('The inline argument "'+t.value+'" of kind "'+n.kind+'"is not supported. Use variables instead of inline arguments to overcome this limitation.'):new r.a(54);e[t.value]=null}}function l(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,a=r.value;return c(n[e.name.value],i,a,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return c(r,n,i,t)}))),p(e.name.value,r,n)}var f=["connection","include","skip","client","rest","export"],p=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach((function(e){i[e]=t[e]})),n.connection.key+"("+d(i)+")"}return n.connection.key}var a=e;if(t){var o=d(t);a+="("+o+")"}return n&&Object.keys(n).forEach((function(e){-1===f.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+d(n[e])+")":a+="@"+e)})),a}),{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,h)};function h(e,t){return Object(i.a)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function b(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),n}return null}function v(e){return e.alias?e.alias.value:e.name.value}function y(e,t,n){if("string"===typeof e.__typename)return e.__typename;for(var r=0,i=t.selections;r0){if(e!==s){e=s,t.forEach((function(e){o(e).dep.dirty(r),l(e)}));var u=Array.from(n);n.clear(),u.forEach((function(t){return t(e)}))}}else{var c=i.getValue();c&&(a(c),o(c).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var a=r.attachCache=function(e){return t.add(e),o(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function l(e){e.broadcastWatches&&e.broadcastWatches()}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(33);function i(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r="function"===typeof WeakMap&&!("object"===typeof navigator&&"ReactNative"===navigator.product),i="function"===typeof WeakSet,a="function"===typeof Symbol&&"function"===typeof Symbol.for},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(6),i=n(24);function a(e){return o(e,[])}function o(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";var n=[].concat(Object(i.a)(t),[e]);if(function(e){return"function"===typeof e.toJSON}(e)){var a=e.toJSON();if(a!==e)return"string"===typeof a?a:o(a,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],a=0;a1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(e){var n=Object(r.a)(e,2);return n[0]+": "+o(n[1],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";(function(e){var r=n(19);t.a=Object(r.a)((function(){return globalThis}))||Object(r.a)((function(){return window}))||Object(r.a)((function(){return self}))||Object(r.a)((function(){return e}))||Object(r.a)((function(){return Function("return this")()}))}).call(this,n(37))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ni&&a(t[o-1]);)--o;return t.slice(i,o).join("\n")}function a(e){var t,n=Object(r.a)(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(" "!==i&&"\t"!==i)return!1}}catch(a){n.e(a)}finally{n.f()}return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!e.includes("\n"),r=e.startsWith(" ")||e.startsWith("\t"),i=e.endsWith('"'),a=e.endsWith("\\"),o=!n||i||a||t,s="";return!o||n&&r||(s+="\n"),s+=e,o&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(5),a=n(21),o=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!Object(i.a)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;__DEV__?Object(r.b)(!!e,'Could not find "client" in the context or passed in as an option. Wrap the root component in an , or pass an ApolloClient instance in via options.'):Object(r.b)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var n=Object(a.c)(e),i=Object(a.b)(t),o=Object(a.b)(n.type);__DEV__?Object(r.b)(n.type===t,"Running a "+i+" requires a graphql "+i+", but a "+o+" was used instead."):Object(r.b)(n.type===t,30)},e}()},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r=n(0),i=n(2);function a(e,t){var n=t,a=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.a("Found a "+e.operation+" operation"+(e.name?" named '"+e.name.value+"'":"")+". No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.a(43);"FragmentDefinition"===e.kind&&a.push(e)})),"undefined"===typeof n&&(__DEV__?Object(i.b)(1===a.length,"Found "+a.length+" fragments. `fragmentName` must be provided when there is not exactly 1 fragment."):Object(i.b)(1===a.length,44),n=a[0].name.value),Object(r.a)(Object(r.a)({},e),{definitions:Object(r.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function o(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return __DEV__?Object(i.b)(n,"No fragment named "+e.name.value+"."):Object(i.b)(n,45),n;default:return null}}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,u=o(e),c=1;c=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(26)("keys"),i=n(17);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(1),i=n(3),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(5),a=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){n(62);for(var r=n(3),i=n(6),a=n(12),o=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;udocument.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[a[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(5),i=n(9),a=n(57)(!1),o=n(25)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var r=n(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(39),i=n(27).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(2)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=/-?\d+(\.\d+)?%?/g;e.exports=function(e){return e.match(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBase16Theme=t.createStyling=t.invertTheme=void 0;var r=d(n(49)),i=d(n(76)),a=d(n(81)),o=d(n(89)),s=d(n(93)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(94)),c=d(n(132)),l=d(n(133)),f=d(n(138)),p=n(139);function d(e){return e&&e.__esModule?e:{default:e}}var h=u.default,b=(0,o.default)(h),v=(0,f.default)(l.default,p.rgb2yuv,(function(e){var t,n=(0,a.default)(e,3);return[(t=n[0],t<.25?1:t<.5?.9-t:1.1-t),n[1],n[2]]}),p.yuv2rgb,c.default),y=function(e){return function(t){return{className:[t.className,e.className].filter(Boolean).join(" "),style:(0,i.default)({},t.style||{},e.style||{})}}},m=function(e,t){var n=(0,o.default)(t);for(var a in e)-1===n.indexOf(a)&&n.push(a);return n.reduce((function(n,a){return n[a]=function(e,t){if(void 0===e)return t;if(void 0===t)return e;var n=void 0===e?"undefined":(0,r.default)(e),a=void 0===t?"undefined":(0,r.default)(t);switch(n){case"string":switch(a){case"string":return[t,e].filter(Boolean).join(" ");case"object":return y({className:e,style:t});case"function":return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a1?r-1:0),a=1;a2?n-2:0),s=2;s3?t-3:0),r=3;r1&&void 0!==arguments[1]?arguments[1]:{},u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=a.defaultBase16,l=void 0===c?h:c,f=a.base16Themes,p=E(u,void 0===f?null:f);p&&(u=(0,i.default)({},p,u));var d=b.reduce((function(e,t){return e[t]=u[t]||l[t],e}),{}),v=(0,o.default)(u).reduce((function(e,t){return-1===b.indexOf(t)?(e[t]=u[t],e):e}),{}),y=e(d),O=m(v,y);return(0,s.default)(g,2).apply(void 0,[O].concat(n))}),3),t.getBase16Theme=function(e,t){if(e&&e.extend&&(e=e.extend),"string"==typeof e){var n=e.split(":"),r=(0,a.default)(n,2),i=r[0],o=r[1];e=(t||{})[i]||u[i],"inverted"===o&&(e=O(e))}return e&&e.hasOwnProperty("base00")?e:void 0})},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==a&&e.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==t&&(a=function(n){e.removeListener(t,i),r(n)},e.once("error",a)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,a,o,s;if(c(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=l(e))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,s=u,console&&console.warn&&console.warn(s)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var c=u.length,l=v(u,c);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},s.prototype.listenerCount=b,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){e.exports.Dispatcher=n(140)},function(e,t,n){e.exports=n(142)},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(50)),i=o(n(65)),a="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function o(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===a(r.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":a(e)}},function(e,t,n){e.exports={default:n(51),__esModule:!0}},function(e,t,n){n(20),n(29),e.exports=n(30).f("iterator")},function(e,t,n){var r=n(21),i=n(22);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),c=s.length;return u<0||u>=c?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===c||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){var r=n(54);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(38),i=n(16),a=n(28),o={};n(6)(o,n(2)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(10),a=n(13);e.exports=n(4)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){var r=n(9),i=n(58),a=n(59);e.exports=function(e){return function(t,n,o){var s,u=r(t),c=i(u.length),l=a(o,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(21),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(21),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(5),i=n(18),a=n(25)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){"use strict";var r=n(63),i=n(64),a=n(12),o=n(9);e.exports=n(34)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(66),__esModule:!0}},function(e,t,n){n(67),n(73),n(74),n(75),e.exports=n(1).Symbol},function(e,t,n){"use strict";var r=n(3),i=n(5),a=n(4),o=n(15),s=n(37),u=n(68).KEY,c=n(8),l=n(26),f=n(28),p=n(17),d=n(2),h=n(30),b=n(31),v=n(69),y=n(70),m=n(10),g=n(11),O=n(18),E=n(9),w=n(23),_=n(16),k=n(38),S=n(71),j=n(72),x=n(32),C=n(7),T=n(13),I=j.f,N=C.f,D=S.f,A=r.Symbol,P=r.JSON,R=P&&P.stringify,M=d("_hidden"),L=d("toPrimitive"),F={}.propertyIsEnumerable,V=l("symbol-registry"),z=l("symbols"),q=l("op-symbols"),B=Object.prototype,Q="function"==typeof A&&!!x.f,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,K=a&&c((function(){return 7!=k(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=I(B,t);r&&delete B[t],N(e,t,n),r&&e!==B&&N(B,t,r)}:N,H=function(e){var t=z[e]=k(A.prototype);return t._k=e,t},G=Q&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},Y=function e(t,n,r){return t===B&&e(q,n,r),m(t),n=w(n,!0),m(r),i(z,n)?(r.enumerable?(i(t,M)&&t[M][n]&&(t[M][n]=!1),r=k(r,{enumerable:_(0,!1)})):(i(t,M)||N(t,M,_(1,{})),t[M][n]=!0),K(t,n,r)):N(t,n,r)},$=function(e,t){m(e);for(var n,r=v(t=E(t)),i=0,a=r.length;a>i;)Y(e,n=r[i++],t[n]);return e},J=function(e){var t=F.call(this,e=w(e,!0));return!(this===B&&i(z,e)&&!i(q,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,M)&&this[M][e])||t)},X=function(e,t){if(e=E(e),t=w(t,!0),e!==B||!i(z,t)||i(q,t)){var n=I(e,t);return!n||!i(z,t)||i(e,M)&&e[M][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=D(E(e)),r=[],a=0;n.length>a;)i(z,t=n[a++])||t==M||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=D(n?q:E(e)),a=[],o=0;r.length>o;)!i(z,t=r[o++])||n&&!i(B,t)||a.push(z[t]);return a};Q||(s((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function t(n){this===B&&t.call(q,n),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),K(this,e,_(1,n))};return a&&W&&K(B,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",(function(){return this._k})),j.f=X,C.f=Y,n(41).f=S.f=Z,n(19).f=J,x.f=ee,a&&!n(14)&&s(B,"propertyIsEnumerable",J,!0),h.f=function(e){return H(d(e))}),o(o.G+o.W+o.F*!Q,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=T(d.store),ie=0;re.length>ie;)b(re[ie++]);o(o.S+o.F*!Q,"Symbol",{for:function(e){return i(V,e+="")?V[e]:V[e]=A(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),o(o.S+o.F*!Q,"Object",{create:function(e,t){return void 0===t?k(e):$(k(e),t)},defineProperty:Y,defineProperties:$,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ae=c((function(){x.f(1)}));o(o.S+o.F*ae,"Object",{getOwnPropertySymbols:function(e){return x.f(O(e))}}),P&&o(o.S+o.F*(!Q||c((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(g(t)||void 0!==e)&&!G(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,R.apply(P,r)}}),A.prototype[L]||n(6)(A.prototype,L,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(17)("meta"),i=n(11),a=n(5),o=n(7).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(8)((function(){return u(Object.preventExtensions({}))})),l=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!a(e,r)&&l(e),e}}},function(e,t,n){var r=n(13),i=n(32),a=n(19);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,c=0;s.length>c;)u.call(e,o=s[c++])&&t.push(o);return t}},function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(9),i=n(41).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(19),i=n(16),a=n(9),o=n(23),s=n(5),u=n(35),c=Object.getOwnPropertyDescriptor;t.f=n(4)?c:function(e,t){if(e=a(e),t=o(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(31)("asyncIterator")},function(e,t,n){n(31)("observable")},function(e,t,n){"use strict";t.__esModule=!0;var r,i=(r=n(77))&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;tl;)for(var d,h=u(arguments[l++]),b=f?i(h).concat(f(h)):i(h),v=b.length,y=0;v>y;)d=b[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(82)),i=a(n(85));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(84)},function(e,t,n){var r=n(42),i=n(2)("iterator"),a=n(12);e.exports=n(1).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(29),n(20),e.exports=n(87)},function(e,t,n){var r=n(10),i=n(88);e.exports=n(1).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(42),i=n(2)("iterator"),a=n(12);e.exports=n(1).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(91),e.exports=n(1).Object.keys},function(e,t,n){var r=n(18),i=n(13);n(92)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(15),i=n(1),a=n(8);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},function(e,t,n){(function(t){var n=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],r=/^\s+|\s+$/g,i=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,a=/\{\n\/\* \[wrapped with (.+)\] \*/,o=/,? & /,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^\[object .+?Constructor\]$/,l=/^0o[0-7]+$/i,f=/^(?:0|[1-9]\d*)$/,p=parseInt,d="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,b=d||h||Function("return this")();function v(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function y(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a-1}function m(e){return e!=e}function g(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function O(e,t){for(var n=-1,r=e.length,i=0,a=[];++n2?w:void 0);function M(e){return Z(e)?D(e):{}}function L(e){return!(!Z(e)||function(e){return!!x&&x in e}(e))&&(function(e){var t=Z(e)?I.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?N:c).test(function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function F(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,u=t.length,c=A(a-o,0),l=Array(u+c),f=!r;++s1&&E.reverse(),l&&u1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(i,"{\n/* [wrapped with "+t+"] */\n")}function G(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||f.test(e))&&e>-1&&e%1==0&&e1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*a;return i}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t,r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function o(e,t){for(var n=-1,r=t.length,i=e.length;++n-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&u.call(e,"callee")&&(!f.call(e,"callee")||"[object Arguments]"==c.call(e))}(e)||!!(p&&e&&e[p])}var b,v,y,m=Array.isArray,g=(v=function(e){var t=(e=function e(t,n,r,i,a){var s=-1,u=t.length;for(r||(r=h),a||(a=[]);++s0&&r(c)?n>1?e(c,n-1,r,i,a):o(a,c):i||(a[a.length]=c)}return a}(e,1)).length,n=t;for(b&&e.reverse();n--;)if("function"!=typeof e[n])throw new TypeError("Expected a function");return function(){for(var n=0,r=t?e[n].apply(this,arguments):arguments[0];++n2?n-2:0),a=2;a=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _(e){var t=function(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}(e);return"number"===t&&(t=isNaN(e)?"nan":(0|e)!=e?"float":"integer"),t}m.__suppressDeprecationWarning=!0,g.__suppressDeprecationWarning=!0,O.__suppressDeprecationWarning=!0;var k={scheme:"rjv-default",author:"mac gainor",base00:"rgba(0, 0, 0, 0)",base01:"rgb(245, 245, 245)",base02:"rgb(235, 235, 235)",base03:"#93a1a1",base04:"rgba(0, 0, 0, 0.3)",base05:"#586e75",base06:"#073642",base07:"#002b36",base08:"#d33682",base09:"#cb4b16",base0A:"#dc322f",base0B:"#859900",base0C:"#6c71c4",base0D:"#586e75",base0E:"#2aa198",base0F:"#268bd2"},S={scheme:"rjv-grey",author:"mac gainor",base00:"rgba(1, 1, 1, 0)",base01:"rgba(1, 1, 1, 0.1)",base02:"rgba(0, 0, 0, 0.2)",base03:"rgba(1, 1, 1, 0.3)",base04:"rgba(0, 0, 0, 0.4)",base05:"rgba(1, 1, 1, 0.5)",base06:"rgba(1, 1, 1, 0.6)",base07:"rgba(1, 1, 1, 0.7)",base08:"rgba(1, 1, 1, 0.8)",base09:"rgba(1, 1, 1, 0.8)",base0A:"rgba(1, 1, 1, 0.8)",base0B:"rgba(1, 1, 1, 0.8)",base0C:"rgba(1, 1, 1, 0.8)",base0D:"rgba(1, 1, 1, 0.8)",base0E:"rgba(1, 1, 1, 0.8)",base0F:"rgba(1, 1, 1, 0.8)"},j={white:"#fff",black:"#000",transparent:"rgba(1, 1, 1, 0)",globalFontFamily:"monospace",globalCursor:"default",indentBlockWidth:"5px",braceFontWeight:"bold",braceCursor:"pointer",ellipsisFontSize:"18px",ellipsisLineHeight:"10px",ellipsisCursor:"pointer",keyMargin:"0px 5px",keyLetterSpacing:"0.5px",keyFontStyle:"none",keyBorderRadius:"3px",keyColonWeight:"bold",keyVerticalAlign:"top",keyOpacity:"0.85",keyOpacityHover:"1",keyValPaddingTop:"3px",keyValPaddingBottom:"3px",keyValPaddingRight:"5px",keyValBorderLeft:"1px solid",keyValBorderHover:"2px solid",keyValPaddingHover:"3px 5px 3px 4px",pushedContentMarginLeft:"6px",variableValuePaddingRight:"6px",nullFontSize:"11px",nullFontWeight:"bold",nullPadding:"1px 2px",nullBorderRadius:"3px",nanFontSize:"11px",nanFontWeight:"bold",nanPadding:"1px 2px",nanBorderRadius:"3px",undefinedFontSize:"11px",undefinedFontWeight:"bold",undefinedPadding:"1px 2px",undefinedBorderRadius:"3px",dataTypeFontSize:"11px",dataTypeMarginRight:"4px",datatypeOpacity:"0.8",objectSizeBorderRadius:"3px",objectSizeFontStyle:"italic",objectSizeMargin:"0px 6px 0px 0px",clipboardCursor:"pointer",clipboardCheckMarginLeft:"-12px",metaDataPadding:"0px 0px 0px 10px",arrayGroupMetaPadding:"0px 0px 0px 4px",iconContainerWidth:"17px",tooltipPadding:"4px",editInputMinWidth:"130px",editInputBorderRadius:"2px",editInputPadding:"5px",editInputMarginRight:"4px",editInputFontFamily:"monospace",iconCursor:"pointer",iconFontSize:"15px",iconPaddingRight:"1px",dateValueMarginLeft:"2px",iconMarginRight:"3px",detectedRowPaddingTop:"3px",addKeyCoverBackground:"rgba(255, 255, 255, 0.3)",addKeyCoverPosition:"absolute",addKeyCoverPositionPx:"0px",addKeyModalWidth:"200px",addKeyModalMargin:"auto",addKeyModalPadding:"10px",addKeyModalRadius:"3px"},x=n(45),C=function(e){var t=function(e){return{backgroundColor:e.base00,ellipsisColor:e.base09,braceColor:e.base07,expandedIcon:e.base0D,collapsedIcon:e.base0E,keyColor:e.base07,arrayKeyColor:e.base0C,objectSize:e.base04,copyToClipboard:e.base0F,copyToClipboardCheck:e.base0D,objectBorder:e.base02,dataTypes:{boolean:e.base0E,date:e.base0D,float:e.base0B,function:e.base0D,integer:e.base0F,string:e.base09,nan:e.base08,null:e.base0A,undefined:e.base05,regexp:e.base0A,background:e.base02},editVariable:{editIcon:e.base0E,cancelIcon:e.base09,removeIcon:e.base09,addIcon:e.base0E,checkIcon:e.base0E,background:e.base01,color:e.base0A,border:e.base07},addKeyModal:{background:e.base05,border:e.base04,color:e.base0A,labelColor:e.base01},validationFailure:{background:e.base09,iconColor:e.base01,fontColor:e.base01}}}(e);return{"app-container":{fontFamily:j.globalFontFamily,cursor:j.globalCursor,backgroundColor:t.backgroundColor,position:"relative"},ellipsis:{display:"inline-block",color:t.ellipsisColor,fontSize:j.ellipsisFontSize,lineHeight:j.ellipsisLineHeight,cursor:j.ellipsisCursor},"brace-row":{display:"inline-block",cursor:"pointer"},brace:{display:"inline-block",cursor:j.braceCursor,fontWeight:j.braceFontWeight,color:t.braceColor},"expanded-icon":{color:t.expandedIcon},"collapsed-icon":{color:t.collapsedIcon},colon:{display:"inline-block",margin:j.keyMargin,color:t.keyColor,verticalAlign:"top"},objectKeyVal:function(e,n){return{style:a({paddingTop:j.keyValPaddingTop,paddingRight:j.keyValPaddingRight,paddingBottom:j.keyValPaddingBottom,borderLeft:j.keyValBorderLeft+" "+t.objectBorder,":hover":{paddingLeft:n.paddingLeft-1+"px",borderLeft:j.keyValBorderHover+" "+t.objectBorder}},n)}},"object-key-val-no-border":{padding:j.keyValPadding},"pushed-content":{marginLeft:j.pushedContentMarginLeft},variableValue:function(e,t){return{style:a({display:"inline-block",paddingRight:j.variableValuePaddingRight,position:"relative"},t)}},"object-name":{display:"inline-block",color:t.keyColor,letterSpacing:j.keyLetterSpacing,fontStyle:j.keyFontStyle,verticalAlign:j.keyVerticalAlign,opacity:j.keyOpacity,":hover":{opacity:j.keyOpacityHover}},"array-key":{display:"inline-block",color:t.arrayKeyColor,letterSpacing:j.keyLetterSpacing,fontStyle:j.keyFontStyle,verticalAlign:j.keyVerticalAlign,opacity:j.keyOpacity,":hover":{opacity:j.keyOpacityHover}},"object-size":{color:t.objectSize,borderRadius:j.objectSizeBorderRadius,fontStyle:j.objectSizeFontStyle,margin:j.objectSizeMargin,cursor:"default"},"data-type-label":{fontSize:j.dataTypeFontSize,marginRight:j.dataTypeMarginRight,opacity:j.datatypeOpacity},boolean:{display:"inline-block",color:t.dataTypes.boolean},date:{display:"inline-block",color:t.dataTypes.date},"date-value":{marginLeft:j.dateValueMarginLeft},float:{display:"inline-block",color:t.dataTypes.float},function:{display:"inline-block",color:t.dataTypes.function,cursor:"pointer",whiteSpace:"pre-line"},"function-value":{fontStyle:"italic"},integer:{display:"inline-block",color:t.dataTypes.integer},string:{display:"inline-block",color:t.dataTypes.string},nan:{display:"inline-block",color:t.dataTypes.nan,fontSize:j.nanFontSize,fontWeight:j.nanFontWeight,backgroundColor:t.dataTypes.background,padding:j.nanPadding,borderRadius:j.nanBorderRadius},null:{display:"inline-block",color:t.dataTypes.null,fontSize:j.nullFontSize,fontWeight:j.nullFontWeight,backgroundColor:t.dataTypes.background,padding:j.nullPadding,borderRadius:j.nullBorderRadius},undefined:{display:"inline-block",color:t.dataTypes.undefined,fontSize:j.undefinedFontSize,padding:j.undefinedPadding,borderRadius:j.undefinedBorderRadius,backgroundColor:t.dataTypes.background},regexp:{display:"inline-block",color:t.dataTypes.regexp},"copy-to-clipboard":{cursor:j.clipboardCursor},"copy-icon":{color:t.copyToClipboard,fontSize:j.iconFontSize,marginRight:j.iconMarginRight,verticalAlign:"top"},"copy-icon-copied":{color:t.copyToClipboardCheck,marginLeft:j.clipboardCheckMarginLeft},"array-group-meta-data":{display:"inline-block",padding:j.arrayGroupMetaPadding},"object-meta-data":{display:"inline-block",padding:j.metaDataPadding},"icon-container":{display:"inline-block",width:j.iconContainerWidth},tooltip:{padding:j.tooltipPadding},removeVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.removeIcon,cursor:j.iconCursor,fontSize:j.iconFontSize,marginRight:j.iconMarginRight},addVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.addIcon,cursor:j.iconCursor,fontSize:j.iconFontSize,marginRight:j.iconMarginRight},editVarIcon:{verticalAlign:"top",display:"inline-block",color:t.editVariable.editIcon,cursor:j.iconCursor,fontSize:j.iconFontSize,marginRight:j.iconMarginRight},"edit-icon-container":{display:"inline-block",verticalAlign:"top"},"check-icon":{display:"inline-block",cursor:j.iconCursor,color:t.editVariable.checkIcon,fontSize:j.iconFontSize,paddingRight:j.iconPaddingRight},"cancel-icon":{display:"inline-block",cursor:j.iconCursor,color:t.editVariable.cancelIcon,fontSize:j.iconFontSize,paddingRight:j.iconPaddingRight},"edit-input":{display:"inline-block",minWidth:j.editInputMinWidth,borderRadius:j.editInputBorderRadius,backgroundColor:t.editVariable.background,color:t.editVariable.color,padding:j.editInputPadding,marginRight:j.editInputMarginRight,fontFamily:j.editInputFontFamily},"detected-row":{paddingTop:j.detectedRowPaddingTop},"key-modal-request":{position:j.addKeyCoverPosition,top:j.addKeyCoverPositionPx,left:j.addKeyCoverPositionPx,right:j.addKeyCoverPositionPx,bottom:j.addKeyCoverPositionPx,backgroundColor:j.addKeyCoverBackground},"key-modal":{width:j.addKeyModalWidth,backgroundColor:t.addKeyModal.background,marginLeft:j.addKeyModalMargin,marginRight:j.addKeyModalMargin,padding:j.addKeyModalPadding,borderRadius:j.addKeyModalRadius,marginTop:"15px",position:"relative"},"key-modal-label":{color:t.addKeyModal.labelColor,marginLeft:"2px",marginBottom:"5px",fontSize:"11px"},"key-modal-input-container":{overflow:"hidden"},"key-modal-input":{width:"100%",padding:"3px 6px",fontFamily:"monospace",color:t.addKeyModal.color,border:"none",boxSizing:"border-box",borderRadius:"2px"},"key-modal-cancel":{backgroundColor:t.editVariable.removeIcon,position:"absolute",top:"0px",right:"0px",borderRadius:"0px 3px 0px 3px",cursor:"pointer"},"key-modal-cancel-icon":{color:t.addKeyModal.labelColor,fontSize:j.iconFontSize,transform:"rotate(45deg)"},"key-modal-submit":{color:t.editVariable.addIcon,fontSize:j.iconFontSize,position:"absolute",right:"2px",top:"3px",cursor:"pointer"},"function-ellipsis":{display:"inline-block",color:t.ellipsisColor,fontSize:j.ellipsisFontSize,lineHeight:j.ellipsisLineHeight,cursor:j.ellipsisCursor},"validation-failure":{float:"right",padding:"3px 6px",borderRadius:"2px",cursor:"pointer",color:t.validationFailure.fontColor,backgroundColor:t.validationFailure.background},"validation-failure-label":{marginRight:"6px"},"validation-failure-clear":{position:"relative",verticalAlign:"top",cursor:"pointer",color:t.validationFailure.iconColor,fontSize:j.iconFontSize,transform:"rotate(45deg)"}}};function T(e,t,n){return e||console.error("theme has not been set"),function(e){var t=k;return!1!==e&&"none"!==e||(t=S),Object(x.createStyling)(C,{defaultBase16:t})(e)}(e)(t,n)}var I=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=(e.rjvId,e.type_name),n=e.displayDataTypes,r=e.theme;return n?y.a.createElement("span",Object.assign({className:"data-type-label"},T(r,"data-type-label")),t):null}}]),n}(y.a.PureComponent),N=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props;return y.a.createElement("div",T(e.theme,"boolean"),y.a.createElement(I,Object.assign({type_name:"bool"},e)),e.value?"true":"false")}}]),n}(y.a.PureComponent),D=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props;return y.a.createElement("div",T(e.theme,"date"),y.a.createElement(I,Object.assign({type_name:"date"},e)),y.a.createElement("span",Object.assign({className:"date-value"},T(e.theme,"date-value")),e.value.toLocaleTimeString("en-us",{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})))}}]),n}(y.a.PureComponent),A=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props;return y.a.createElement("div",T(e.theme,"float"),y.a.createElement(I,Object.assign({type_name:"float"},e)),this.props.value)}}]),n}(y.a.PureComponent);function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function L(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||R(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var F=n(46),V=new(n(47).Dispatcher),z=new(function(e){l(n,e);var t=b(n);function n(){var e;o(this,n);for(var r=arguments.length,i=new Array(r),s=0;st&&(i.style.cursor="pointer",this.state.collapsed&&(r=y.a.createElement("span",null,r.substring(0,t),y.a.createElement("span",T(n,"ellipsis")," ...")))),y.a.createElement("div",T(n,"string"),y.a.createElement(I,Object.assign({type_name:"string"},e)),y.a.createElement("span",Object.assign({className:"string-value"},i,{onClick:this.toggleCollapsed}),'"',r,'"'))}}]),n}(y.a.PureComponent),G=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){return y.a.createElement("div",T(this.props.theme,"undefined"),"undefined")}}]),n}(y.a.PureComponent);function Y(){return(Y=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),f=void 0!==l.value,p=Object(v.useRef)(null),d=Z(p,t),h=Object(v.useRef)(0),b=Object(v.useRef)(),y=function(){var e=p.current,t=r&&b.current?b.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,ie.reduce((function(e,t){return e[t]=n[t],e}),{})),i=r.boxSizing;return""===i?null:(ae&&"border-box"===i&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){b.current=t;var n=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),ne||((ne=document.createElement("textarea")).setAttribute("tab-index","-1"),ne.setAttribute("aria-hidden","true"),te(ne)),null===ne.parentNode&&document.body.appendChild(ne);var i=e.paddingSize,a=e.borderSize,o=e.sizingStyle,s=o.boxSizing;Object.keys(o).forEach((function(e){var t=e;ne.style[t]=o[t]})),te(ne),ne.value=t;var u=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(ne,e);ne.value="x";var c=ne.scrollHeight-i,l=c*n;"border-box"===s&&(l=l+i+a),u=Math.max(l,u);var f=c*r;return"border-box"===s&&(f=f+i+a),[u=Math.min(f,u),c]}(t,e.value||e.placeholder||"x",a,i),o=n[0],s=n[1];h.current!==o&&(h.current=o,e.style.setProperty("height",o+"px","important"),c(o,{rowHeight:s}))}};return Object(v.useLayoutEffect)(y),n=J(y),Object(v.useLayoutEffect)((function(){var e=function(e){n.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Object(v.createElement)("textarea",Y({},l,{onChange:function(e){f||y(),s(e)},ref:d}))},se=Object(v.forwardRef)(oe);function ue(e){e=e.trim();try{if("["===(e=JSON.stringify(JSON.parse(e)))[0])return ce("array",JSON.parse(e));if("{"===e[0])return ce("object",JSON.parse(e));if(e.match(/\-?\d+\.\d+/)&&e.match(/\-?\d+\.\d+/)[0]===e)return ce("float",parseFloat(e));if(e.match(/\-?\d+e-\d+/)&&e.match(/\-?\d+e-\d+/)[0]===e)return ce("float",Number(e));if(e.match(/\-?\d+/)&&e.match(/\-?\d+/)[0]===e)return ce("integer",parseInt(e));if(e.match(/\-?\d+e\+\d+/)&&e.match(/\-?\d+e\+\d+/)[0]===e)return ce("integer",Number(e))}catch(e){}switch(e=e.toLowerCase()){case"undefined":return ce("undefined",void 0);case"nan":return ce("nan",NaN);case"null":return ce("null",null);case"true":return ce("boolean",!0);case"false":return ce("boolean",!1);default:if(e=Date.parse(e))return ce("date",new Date(e))}return ce(!1,null)}function ce(e,t){return{type:e,value:t}}var le=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),n}(y.a.PureComponent),fe=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),n}(y.a.PureComponent),pe=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]),r=we(t).style;return y.a.createElement("span",n,y.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},y.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(y.a.PureComponent),de=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]),r=we(t).style;return y.a.createElement("span",n,y.a.createElement("svg",{fill:r.color,width:r.height,height:r.width,style:r,viewBox:"0 0 1792 1792"},y.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),n}(y.a.PureComponent),he=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",{style:a(a({},we(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},y.a.createElement("path",{d:"M0 14l6-6-6-6z"})))}}]),n}(y.a.PureComponent),be=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",{style:a(a({},we(t).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},y.a.createElement("path",{d:"M0 5l6 6 6-6z"})))}}]),n}(y.a.PureComponent),ve=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("g",null,y.a.createElement("path",{d:"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),n}(y.a.PureComponent),ye=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("g",null,y.a.createElement("path",{d:"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(y.a.PureComponent),me=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("g",null,y.a.createElement("path",{d:"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(y.a.PureComponent),ge=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("g",null,y.a.createElement("path",{d:"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),n}(y.a.PureComponent),Oe=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("g",null,y.a.createElement("path",{d:"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),n}(y.a.PureComponent),Ee=function(e){l(n,e);var t=b(n);function n(){return o(this,n),t.apply(this,arguments)}return u(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=w(e,["style"]);return y.a.createElement("span",n,y.a.createElement("svg",Object.assign({},we(t),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),y.a.createElement("g",null,y.a.createElement("path",{d:"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),n}(y.a.PureComponent);function we(e){return e||(e={}),{style:a(a({verticalAlign:"middle"},e),{},{color:e.color?e.color:"#000000",height:"1em",width:"1em"})}}var _e=function(e){l(n,e);var t=b(n);function n(e){var r;return o(this,n),(r=t.call(this,e)).copiedTimer=null,r.handleCopy=function(){var e=document.createElement("textarea"),t=r.props,n=t.clickCallback,i=t.src,a=t.namespace;e.innerHTML=JSON.stringify(r.clipboardValue(i),null," "),document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r.copiedTimer=setTimeout((function(){r.setState({copied:!1})}),5500),r.setState({copied:!0},(function(){"function"==typeof n&&n({src:i,namespace:a,name:a[a.length-1]})}))},r.getClippyIcon=function(){var e=r.props.theme;return r.state.copied?y.a.createElement("span",null,y.a.createElement(ve,Object.assign({className:"copy-icon"},T(e,"copy-icon"))),y.a.createElement("span",T(e,"copy-icon-copied"),"\u2714")):y.a.createElement(ve,Object.assign({className:"copy-icon"},T(e,"copy-icon")))},r.clipboardValue=function(e){switch(_(e)){case"function":case"regexp":return e.toString();default:return e}},r.state={copied:!1},r}return u(n,[{key:"componentWillUnmount",value:function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{key:"render",value:function(){var e=this.props,t=(e.src,e.theme),n=e.hidden,r=e.rowHovered,i=T(t,"copy-to-clipboard").style,o="inline";return n&&(o="none"),y.a.createElement("span",{className:"copy-to-clipboard-container",title:"Copy to clipboard",style:{verticalAlign:"top",display:r?"inline-block":"none"}},y.a.createElement("span",{style:a(a({},i),{},{display:o}),onClick:this.handleCopy},this.getClippyIcon()))}}]),n}(y.a.PureComponent),ke=function(e){l(n,e);var t=b(n);function n(e){var r;return o(this,n),(r=t.call(this,e)).getEditIcon=function(){var e=r.props,t=e.variable,n=e.theme;return y.a.createElement("div",{className:"click-to-edit",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},y.a.createElement(Oe,Object.assign({className:"click-to-edit-icon"},T(n,"editVarIcon"),{onClick:function(){r.prepopInput(t)}})))},r.prepopInput=function(e){if(!1!==r.props.onEdit){var t=function(e){var t;switch(_(e)){case"undefined":t="undefined";break;case"nan":t="NaN";break;case"string":t=e;break;case"date":case"function":case"regexp":t=e.toString();break;default:try{t=JSON.stringify(e,null," ")}catch(e){t=""}}return t}(e.value),n=ue(t);r.setState({editMode:!0,editValue:t,parsedInput:{type:n.type,value:n.value}})}},r.getRemoveIcon=function(){var e=r.props,t=e.variable,n=e.namespace,i=e.theme,a=e.rjvId;return y.a.createElement("div",{className:"click-to-remove",style:{verticalAlign:"top",display:r.state.hovered?"inline-block":"none"}},y.a.createElement(ye,Object.assign({className:"click-to-remove-icon"},T(i,"removeVarIcon"),{onClick:function(){V.dispatch({name:"VARIABLE_REMOVED",rjvId:a,data:{name:t.name,namespace:n,existing_value:t.value,variable_removed:!0}})}})))},r.getValue=function(e,t){var n=!t&&e.type,i=d(r).props;switch(n){case!1:return r.getEditInput();case"string":return y.a.createElement(H,Object.assign({value:e.value},i));case"integer":return y.a.createElement(W,Object.assign({value:e.value},i));case"float":return y.a.createElement(A,Object.assign({value:e.value},i));case"boolean":return y.a.createElement(N,Object.assign({value:e.value},i));case"function":return y.a.createElement(B,Object.assign({value:e.value},i));case"null":return y.a.createElement(U,i);case"nan":return y.a.createElement(Q,i);case"undefined":return y.a.createElement(G,i);case"date":return y.a.createElement(D,Object.assign({value:e.value},i));case"regexp":return y.a.createElement(K,Object.assign({value:e.value},i));default:return y.a.createElement("div",{className:"object-value"},JSON.stringify(e.value))}},r.getEditInput=function(){var e=r.props.theme,t=r.state.editValue;return y.a.createElement("div",null,y.a.createElement(se,Object.assign({type:"text",inputRef:function(e){return e&&e.focus()},value:t,className:"variable-editor",onChange:function(e){var t=e.target.value,n=ue(t);r.setState({editValue:t,parsedInput:{type:n.type,value:n.value}})},onKeyDown:function(e){switch(e.key){case"Escape":r.setState({editMode:!1,editValue:""});break;case"Enter":(e.ctrlKey||e.metaKey)&&r.submitEdit(!0)}e.stopPropagation()},placeholder:"update this value",minRows:2},T(e,"edit-input"))),y.a.createElement("div",T(e,"edit-icon-container"),y.a.createElement(ye,Object.assign({className:"edit-cancel"},T(e,"cancel-icon"),{onClick:function(){r.setState({editMode:!1,editValue:""})}})),y.a.createElement(Ee,Object.assign({className:"edit-check string-value"},T(e,"check-icon"),{onClick:function(){r.submitEdit()}})),y.a.createElement("div",null,r.showDetected())))},r.submitEdit=function(e){var t=r.props,n=t.variable,i=t.namespace,a=t.rjvId,o=r.state,s=o.editValue,u=o.parsedInput,c=s;e&&u.type&&(c=u.value),r.setState({editMode:!1}),V.dispatch({name:"VARIABLE_UPDATED",rjvId:a,data:{name:n.name,namespace:i,existing_value:n.value,new_value:c,variable_removed:!1}})},r.showDetected=function(){var e=r.props,t=e.theme,n=(e.variable,e.namespace,e.rjvId,r.state.parsedInput),i=(n.type,n.value,r.getDetectedInput());if(i)return y.a.createElement("div",null,y.a.createElement("div",T(t,"detected-row"),i,y.a.createElement(Ee,{className:"edit-check detected",style:a({verticalAlign:"top",paddingLeft:"3px"},T(t,"check-icon").style),onClick:function(){r.submitEdit(!0)}})))},r.getDetectedInput=function(){var e=r.state.parsedInput,t=e.type,n=e.value,i=d(r).props,o=i.theme;if(!1!==t)switch(t.toLowerCase()){case"object":return y.a.createElement("span",null,y.a.createElement("span",{style:a(a({},T(o,"brace").style),{},{cursor:"default"})},"{"),y.a.createElement("span",{style:a(a({},T(o,"ellipsis").style),{},{cursor:"default"})},"..."),y.a.createElement("span",{style:a(a({},T(o,"brace").style),{},{cursor:"default"})},"}"));case"array":return y.a.createElement("span",null,y.a.createElement("span",{style:a(a({},T(o,"brace").style),{},{cursor:"default"})},"["),y.a.createElement("span",{style:a(a({},T(o,"ellipsis").style),{},{cursor:"default"})},"..."),y.a.createElement("span",{style:a(a({},T(o,"brace").style),{},{cursor:"default"})},"]"));case"string":return y.a.createElement(H,Object.assign({value:n},i));case"integer":return y.a.createElement(W,Object.assign({value:n},i));case"float":return y.a.createElement(A,Object.assign({value:n},i));case"boolean":return y.a.createElement(N,Object.assign({value:n},i));case"function":return y.a.createElement(B,Object.assign({value:n},i));case"null":return y.a.createElement(U,i);case"nan":return y.a.createElement(Q,i);case"undefined":return y.a.createElement(G,i);case"date":return y.a.createElement(D,Object.assign({value:new Date(n)},i))}},r.state={editMode:!1,editValue:"",hovered:!1,renameKey:!1,parsedInput:{type:!1,value:null}},r}return u(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.variable,r=t.singleIndent,i=t.type,o=t.theme,s=t.namespace,u=t.indentWidth,c=t.enableClipboard,l=t.onEdit,f=t.onDelete,p=t.onSelect,d=t.displayArrayKey,h=t.quotesOnKeys,b=this.state.editMode;return y.a.createElement("div",Object.assign({},T(o,"objectKeyVal",{paddingLeft:u*r}),{onMouseEnter:function(){return e.setState(a(a({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(a(a({},e.state),{},{hovered:!1}))},className:"variable-row",key:n.name}),"array"==i?d?y.a.createElement("span",Object.assign({},T(o,"array-key"),{key:n.name+"_"+s}),n.name,y.a.createElement("div",T(o,"colon"),":")):null:y.a.createElement("span",null,y.a.createElement("span",Object.assign({},T(o,"object-name"),{className:"object-key",key:n.name+"_"+s}),!!h&&y.a.createElement("span",{style:{verticalAlign:"top"}},'"'),y.a.createElement("span",{style:{display:"inline-block"}},n.name),!!h&&y.a.createElement("span",{style:{verticalAlign:"top"}},'"')),y.a.createElement("span",T(o,"colon"),":")),y.a.createElement("div",Object.assign({className:"variable-value",onClick:!1===p&&!1===l?null:function(t){var r=L(s);(t.ctrlKey||t.metaKey)&&!1!==l?e.prepopInput(n):!1!==p&&(r.shift(),p(a(a({},n),{},{namespace:r})))}},T(o,"variableValue",{cursor:!1===p?"default":"pointer"})),this.getValue(n,b)),c?y.a.createElement(_e,{rowHovered:this.state.hovered,hidden:b,src:n.value,clickCallback:c,theme:o,namespace:[].concat(L(s),[n.name])}):null,!1!==l&&0==b?this.getEditIcon():null,!1!==f&&0==b?this.getRemoveIcon():null)}}]),n}(y.a.PureComponent),Se=function(e){l(n,e);var t=b(n);function n(){var e;o(this,n);for(var r=arguments.length,i=new Array(r),s=0;s0?o:null,namespace:i.splice(0,i.length-1),existing_value:s,variable_removed:!1,key_name:null};"object"===_(s)?V.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:u,data:e}):V.dispatch({name:"VARIABLE_ADDED",rjvId:u,data:a(a({},e),{},{new_value:[].concat(L(s),[null])})})}})))},e.getRemoveObject=function(t){var n=e.props,r=n.theme,i=(n.hover,n.namespace),a=n.name,o=n.src,s=n.rjvId;if(1!==i.length)return y.a.createElement("span",{className:"click-to-remove",style:{display:t?"inline-block":"none"}},y.a.createElement(ye,Object.assign({className:"click-to-remove-icon"},T(r,"removeVarIcon"),{onClick:function(){V.dispatch({name:"VARIABLE_REMOVED",rjvId:s,data:{name:a,namespace:i.splice(0,i.length-1),existing_value:o,variable_removed:!0}})}})))},e.render=function(){var t=e.props,n=t.theme,r=t.onDelete,i=t.onAdd,a=t.enableClipboard,o=t.src,s=t.namespace,u=t.rowHovered;return y.a.createElement("div",Object.assign({},T(n,"object-meta-data"),{className:"object-meta-data",onClick:function(e){e.stopPropagation()}}),e.getObjectSize(),a?y.a.createElement(_e,{rowHovered:u,clickCallback:a,src:o,theme:n,namespace:s}):null,!1!==i?e.getAddAttribute(u):null,!1!==r?e.getRemoveObject(u):null)},e}return n}(y.a.PureComponent);function je(e){var t=e.parent_type,n=e.namespace,r=e.quotesOnKeys,i=e.theme,a=e.jsvRoot,o=e.name,s=e.displayArrayKey,u=e.name?e.name:"";return!a||!1!==o&&null!==o?"array"==t?s?y.a.createElement("span",Object.assign({},T(i,"array-key"),{key:n}),y.a.createElement("span",{className:"array-key"},u),y.a.createElement("span",T(i,"colon"),":")):y.a.createElement("span",null):y.a.createElement("span",Object.assign({},T(i,"object-name"),{key:n}),y.a.createElement("span",{className:"object-key"},r&&y.a.createElement("span",{style:{verticalAlign:"top"}},'"'),y.a.createElement("span",null,u),r&&y.a.createElement("span",{style:{verticalAlign:"top"}},'"')),y.a.createElement("span",T(i,"colon"),":")):y.a.createElement("span",null)}function xe(e){var t=e.theme;switch(e.iconStyle){case"triangle":return y.a.createElement(be,Object.assign({},T(t,"expanded-icon"),{className:"expanded-icon"}));case"square":return y.a.createElement(pe,Object.assign({},T(t,"expanded-icon"),{className:"expanded-icon"}));default:return y.a.createElement(le,Object.assign({},T(t,"expanded-icon"),{className:"expanded-icon"}))}}function Ce(e){var t=e.theme;switch(e.iconStyle){case"triangle":return y.a.createElement(he,Object.assign({},T(t,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return y.a.createElement(de,Object.assign({},T(t,"collapsed-icon"),{className:"collapsed-icon"}));default:return y.a.createElement(fe,Object.assign({},T(t,"collapsed-icon"),{className:"collapsed-icon"}))}}var Te=function(e){l(n,e);var t=b(n);function n(e){var r;return o(this,n),(r=t.call(this,e)).toggleCollapsed=function(e){var t=[];for(var n in r.state.expanded)t.push(r.state.expanded[n]);t[e]=!t[e],r.setState({expanded:t})},r.state={expanded:[]},r}return u(n,[{key:"getExpandedIcon",value:function(e){var t=this.props,n=t.theme,r=t.iconStyle;return this.state.expanded[e]?y.a.createElement(xe,{theme:n,iconStyle:r}):y.a.createElement(Ce,{theme:n,iconStyle:r})}},{key:"render",value:function(){var e=this,t=this.props,n=t.src,r=t.groupArraysAfterLength,i=(t.depth,t.name),a=t.theme,o=t.jsvRoot,s=t.namespace,u=(t.parent_type,w(t,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),c=0,l=5*this.props.indentWidth;o||(c=5*this.props.indentWidth);var f=r,p=Math.ceil(n.length/f);return y.a.createElement("div",Object.assign({className:"object-key-val"},T(a,o?"jsv-root":"objectKeyVal",{paddingLeft:c})),y.a.createElement(je,this.props),y.a.createElement("span",null,y.a.createElement(Se,Object.assign({size:n.length},this.props))),L(Array(p)).map((function(t,r){return y.a.createElement("div",Object.assign({key:r,className:"object-key-val array-group"},T(a,"objectKeyVal",{marginLeft:6,paddingLeft:l})),y.a.createElement("span",T(a,"brace-row"),y.a.createElement("div",Object.assign({className:"icon-container"},T(a,"icon-container"),{onClick:function(t){e.toggleCollapsed(r)}}),e.getExpandedIcon(r)),e.state.expanded[r]?y.a.createElement(De,Object.assign({key:i+r,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:f,index_offset:r*f,src:n.slice(r*f,r*f+f),namespace:s,type:"array",parent_type:"array_group",theme:a},u)):y.a.createElement("span",Object.assign({},T(a,"brace"),{onClick:function(t){e.toggleCollapsed(r)},className:"array-group-brace"}),"[",y.a.createElement("div",Object.assign({},T(a,"array-group-meta-data"),{className:"array-group-meta-data"}),y.a.createElement("span",Object.assign({className:"object-size"},T(a,"object-size")),r*f," - ",r*f+f>n.length?n.length:r*f+f)),"]")))})))}}]),n}(y.a.PureComponent),Ie=function(e){l(n,e);var t=b(n);function n(e){var r;o(this,n),(r=t.call(this,e)).toggleCollapsed=function(){r.setState({expanded:!r.state.expanded},(function(){q.set(r.props.rjvId,r.props.namespace,"expanded",r.state.expanded)}))},r.getObjectContent=function(e,t,n){return y.a.createElement("div",{className:"pushed-content object-container"},y.a.createElement("div",Object.assign({className:"object-content"},T(r.props.theme,"pushed-content")),r.renderObjectContents(t,n)))},r.getEllipsis=function(){return 0===r.state.size?null:y.a.createElement("div",Object.assign({},T(r.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:r.toggleCollapsed}),"...")},r.getObjectMetaData=function(e){var t=r.props,n=(t.rjvId,t.theme,r.state),i=n.size,a=n.hovered;return y.a.createElement(Se,Object.assign({rowHovered:a,size:i},r.props))},r.renderObjectContents=function(e,t){var n,i=r.props,a=i.depth,o=i.parent_type,s=i.index_offset,u=i.groupArraysAfterLength,c=i.namespace,l=r.state.object_type,f=[],p=Object.keys(e||{});return r.props.sortKeys&&"array"!==l&&(p=p.sort()),p.forEach((function(i){if(n=new Ne(i,e[i]),"array_group"===o&&s&&(n.name=parseInt(n.name)+s),e.hasOwnProperty(i))if("object"===n.type)f.push(y.a.createElement(De,Object.assign({key:n.name,depth:a+1,name:n.name,src:n.value,namespace:c.concat(n.name),parent_type:l},t)));else if("array"===n.type){var p=De;u&&n.value.length>u&&(p=Te),f.push(y.a.createElement(p,Object.assign({key:n.name,depth:a+1,name:n.name,src:n.value,namespace:c.concat(n.name),type:"array",parent_type:l},t)))}else f.push(y.a.createElement(ke,Object.assign({key:n.name+"_"+c,variable:n,singleIndent:5,namespace:c,type:r.props.type},t)))})),f};var i=n.getState(e);return r.state=a(a({},i),{},{prevProps:{}}),r}return u(n,[{key:"getBraceStart",value:function(e,t){var n=this,r=this.props,i=r.src,a=r.theme,o=r.iconStyle;if("array_group"===r.parent_type)return y.a.createElement("span",null,y.a.createElement("span",T(a,"brace"),"array"===e?"[":"{"),t?this.getObjectMetaData(i):null);var s=t?xe:Ce;return y.a.createElement("span",null,y.a.createElement("span",Object.assign({onClick:function(e){n.toggleCollapsed()}},T(a,"brace-row")),y.a.createElement("div",Object.assign({className:"icon-container"},T(a,"icon-container")),y.a.createElement(s,{theme:a,iconStyle:o})),y.a.createElement(je,this.props),y.a.createElement("span",T(a,"brace"),"array"===e?"[":"{")),t?this.getObjectMetaData(i):null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.depth,r=t.src,i=(t.namespace,t.name,t.type,t.parent_type),o=t.theme,s=t.jsvRoot,u=t.iconStyle,c=w(t,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),l=this.state,f=l.object_type,p=l.expanded,d={};return s||"array_group"===i?"array_group"===i&&(d.borderLeft=0,d.display="inline"):d.paddingLeft=5*this.props.indentWidth,y.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return e.setState(a(a({},e.state),{},{hovered:!0}))},onMouseLeave:function(){return e.setState(a(a({},e.state),{},{hovered:!1}))}},T(o,s?"jsv-root":"objectKeyVal",d)),this.getBraceStart(f,p),p?this.getObjectContent(n,r,a({theme:o,iconStyle:u},c)):this.getEllipsis(),y.a.createElement("span",{className:"brace-row"},y.a.createElement("span",{style:a(a({},T(o,"brace").style),{},{paddingLeft:p?"3px":"0px"})},"array"===f?"]":"}"),p?null:this.getObjectMetaData(r)))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps;return e.src!==r.src||e.collapsed!==r.collapsed||e.name!==r.name||e.namespace!==r.namespace||e.rjvId!==r.rjvId?a(a({},n.getState(e)),{},{prevProps:e}):null}}]),n}(y.a.PureComponent);Ie.getState=function(e){var t=Object.keys(e.src).length,n=(!1===e.collapsed||!0!==e.collapsed&&e.collapsed>e.depth)&&(!e.shouldCollapse||!1===e.shouldCollapse({name:e.name,src:e.src,type:_(e.src),namespace:e.namespace}))&&0!==t;return{expanded:q.get(e.rjvId,e.namespace,"expanded",n),object_type:"array"===e.type?"array":"object",parent_type:"array"===e.type?"array":"object",size:t,hovered:!1}};var Ne=function e(t,n){o(this,e),this.name=t,this.value=n,this.type=_(n)};E(Ie);var De=Ie,Ae=function(e){l(n,e);var t=b(n);function n(){var e;o(this,n);for(var r=arguments.length,i=new Array(r),a=0;at.groupArraysAfterLength&&(r=Te),y.a.createElement("div",{className:"pretty-json-container object-container"},y.a.createElement("div",{className:"object-content"},y.a.createElement(r,Object.assign({namespace:n,depth:0,jsvRoot:!0},t))))},e}return n}(y.a.PureComponent),Pe=function(e){l(n,e);var t=b(n);function n(e){var r;return o(this,n),(r=t.call(this,e)).closeModal=function(){V.dispatch({rjvId:r.props.rjvId,name:"RESET"})},r.submit=function(){r.props.submit(r.state.input)},r.state={input:e.input?e.input:""},r}return u(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.theme,r=t.rjvId,i=t.isValid,a=this.state.input,o=i(a);return y.a.createElement("div",Object.assign({className:"key-modal-request"},T(n,"key-modal-request"),{onClick:this.closeModal}),y.a.createElement("div",Object.assign({},T(n,"key-modal"),{onClick:function(e){e.stopPropagation()}}),y.a.createElement("div",T(n,"key-modal-label"),"Key Name:"),y.a.createElement("div",{style:{position:"relative"}},y.a.createElement("input",Object.assign({},T(n,"key-modal-input"),{className:"key-modal-input",ref:function(e){return e&&e.focus()},spellCheck:!1,value:a,placeholder:"...",onChange:function(t){e.setState({input:t.target.value})},onKeyPress:function(t){o&&"Enter"===t.key?e.submit():"Escape"===t.key&&e.closeModal()}})),o?y.a.createElement(Ee,Object.assign({},T(n,"key-modal-submit"),{className:"key-modal-submit",onClick:function(t){return e.submit()}})):null),y.a.createElement("span",T(n,"key-modal-cancel"),y.a.createElement(ge,Object.assign({},T(n,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){V.dispatch({rjvId:r,name:"RESET"})}})))))}}]),n}(y.a.PureComponent),Re=function(e){l(n,e);var t=b(n);function n(){var e;o(this,n);for(var r=arguments.length,i=new Array(r),s=0;s2&&void 0!==arguments[2]?arguments[2]:s.c,l=new Map,p=0,d=Object.values(u.a);p0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0){var s=i.shift();s&&s.applyMiddleware.apply(a,[e,t])}else n(e)}()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!==typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"===typeof e)try{return t(e.call(null))}catch(r){return n(r)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,m.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"===typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new c({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!(0,f.default)(n)&&!(0,h.getOperationAST)(n,i)||i&&!(0,f.default)(i)||r&&!(0,p.default)(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:"string"===typeof n.query?n.query:(0,d.print)(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,o([void 0,this.url,this.wsProtocols],this.wsOptionArguments,!1))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(s){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var a=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,a);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o="undefined"===typeof this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=g}).call(this,n(37))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));var r=n(16),i=n(17),a=n(31),o=n(28),s=function(e,t){return e instanceof t},u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};Object(r.a)(this,e),"string"===typeof t||Object(o.a)(!1,"Body must be a string. Received: ".concat(Object(a.a)(t),".")),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||Object(o.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Object(o.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}return Object(i.a)(e,[{key:Symbol.toStringTag,get:function(){return"Source"}}]),e}();function c(e){return s(e,u)}},,,function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(60)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(29).a?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function a(){var e=r.createContext[i];return e||(Object.defineProperty(r.createContext,i,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),e+":"+t+":"+Math.random().toString(36).slice(2)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(45),a=function(e){function t(t){var n=e.call(this)||this;return t instanceof i.SubscriptionClient?n.subscriptionClient=t:n.subscriptionClient=new i.SubscriptionClient(t.uri,t.options,t.webSocketImpl),n}return Object(r.c)(t,e),t.prototype.request=function(e){return this.subscriptionClient.request(e)},t}(n(35).a)},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return Array.isArray(e)&&e.length>0}n.d(t,"a",(function(){return r}))},,,,,function(e,t,n){"use strict";var r=n(41),i=60103,a=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,s=60110,u=60112;t.Suspense=60113;var c=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),a=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var p="function"===typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n