diff --git a/libraries/js/README-external-assets.md b/libraries/js/README-external-assets.md new file mode 100644 index 0000000..ec4524c --- /dev/null +++ b/libraries/js/README-external-assets.md @@ -0,0 +1,89 @@ +# External Assets Implementation + +As of version 0.5.0, Shellviz has separated embedded assets to dramatically reduce bundle sizes. + +## Bundle Size Improvements + +| Bundle | Before | After | Reduction | +|--------|--------|-------|-----------| +| browser_client.mjs | 1.3MB | 34KB | 97% | +| browser_client.umd.js | 1.4MB | 38KB | 97% | +| node_client.cjs | 1.5MB | 191KB | 87% | +| node_client.js | 1.4MB | 70KB | 95% | + +## How It Works + +The large React app assets (CSS and JS) are now bundled separately in `embedded-assets.mjs` (1.3MB). This file is loaded dynamically only when the browser widget is used. + +## Usage Options + +### 1. Auto-Loading (Recommended) +The library will automatically try to load embedded assets from: +- Same directory as the main script +- CDN locations (unpkg, jsdelivr) + +```html + +``` + +### 2. Manual Asset Placement +Place `embedded-assets.mjs` in the same directory as your main bundle: + +``` +your-app/ +├── browser_client.mjs +├── embedded-assets.mjs ← Include this file +└── index.html +``` + +### 3. CDN Usage +Assets are automatically served from CDN if local copies aren't found: + +```html + +``` + +## Migration Guide + +### Before (v0.4.x) +```javascript +// Everything was bundled together (large files) +import { shellviz } from 'shellviz'; +``` + +### After (v0.5.0+) +```javascript +// Main bundle is small, assets loaded on-demand +import { shellviz } from 'shellviz'; +// No code changes needed! Assets load automatically. +``` + +## Build Process Changes + +The build now generates: +- `browser_client.mjs` - Main ESM bundle (small) +- `browser_client.umd.js` - UMD bundle (small) +- `node_client.js` - Node ESM bundle (small) +- `node_client.cjs` - Node CJS bundle (small) +- `embedded-assets.mjs` - React app assets (large, loaded on-demand) + +## Environment Support + +- ✅ Browser ESM modules +- ✅ Browser UMD/script tags +- ✅ Node.js CJS +- ✅ Node.js ESM +- ✅ CDN usage (unpkg, jsdelivr) +- ✅ Bundlers (webpack, rollup, vite, etc.) + +## Error Handling + +If assets can't be loaded, the widget shows a helpful fallback UI with instructions for fixing the issue. \ No newline at end of file diff --git a/libraries/js/package-lock.json b/libraries/js/package-lock.json index b63f644..452e6fe 100644 --- a/libraries/js/package-lock.json +++ b/libraries/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "shellviz", - "version": "0.2.15-beta.0", + "version": "0.5.0-beta.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "shellviz", - "version": "0.2.15-beta.0", + "version": "0.5.0-beta.0", "license": "MIT", "dependencies": { "qrcode-terminal": "^0.12.0", diff --git a/libraries/js/package.json b/libraries/js/package.json index ef9a298..22beec1 100644 --- a/libraries/js/package.json +++ b/libraries/js/package.json @@ -14,6 +14,10 @@ }, "import": "./build/node_client.js", "require": "./build/node_client.cjs" + }, + "./embedded-assets": { + "import": "./build/embedded-assets.mjs", + "require": "./build/embedded-assets.mjs" } }, "files": [ @@ -26,11 +30,12 @@ "build:client": "cd ../../client && npm run build", "copy:client": "cp -r ../../client/build/* build/client_build/ 2>/dev/null || echo 'Client build not found, skipping...'", "embed:assets": "node scripts/embed-assets.js", - "build:node:client:cjs": "esbuild ./src/client.js --bundle --platform=node --format=cjs --outfile=build/node_client.cjs", - "build:node:client:esm": "esbuild ./src/client.js --bundle --external:ws --platform=node --format=esm --outfile=build/node_client.js", - "build:browser:esm": "esbuild ./src/client.js --bundle --platform=browser --format=esm --outfile=build/browser_client.mjs --banner:js=\"/* eslint-disable */\"", - "build:browser:umd": "esbuild ./src/client.js --bundle --platform=browser --format=iife --global-name=shellviz --outfile=build/browser_client.umd.js --banner:js=\"/* eslint-disable */\"", - "build": "npm-run-all --sequential build:client copy:client embed:assets build:node:client:cjs build:node:client:esm build:browser:esm build:browser:umd", + "build:embedded-assets": "esbuild ./src/embedded-assets.js --bundle --platform=browser --format=esm --outfile=build/embedded-assets.mjs --banner:js=\"/* eslint-disable */\"", + "build:node:client:cjs": "esbuild ./src/client.js --bundle --external:./embedded-assets.js --platform=node --format=cjs --outfile=build/node_client.cjs", + "build:node:client:esm": "esbuild ./src/client.js --bundle --external:ws --external:./embedded-assets.js --platform=node --format=esm --outfile=build/node_client.js", + "build:browser:esm": "esbuild ./src/client.js --bundle --external:./embedded-assets.js --platform=browser --format=esm --outfile=build/browser_client.mjs --banner:js=\"/* eslint-disable */\"", + "build:browser:umd": "esbuild ./src/client.js --bundle --external:./embedded-assets.js --platform=browser --format=iife --global-name=shellviz --outfile=build/browser_client.umd.js --banner:js=\"/* eslint-disable */\"", + "build": "npm-run-all --sequential build:client copy:client embed:assets build:embedded-assets build:node:client:cjs build:node:client:esm build:browser:esm build:browser:umd", "postbuild": "node scripts/postbuild.js", "pack": "npm run build && npm pack --pack-destination=dist" }, diff --git a/libraries/js/scripts/postbuild.js b/libraries/js/scripts/postbuild.js index 621c1a9..9e170c2 100644 --- a/libraries/js/scripts/postbuild.js +++ b/libraries/js/scripts/postbuild.js @@ -2,31 +2,38 @@ // return; -// import fs from 'fs'; -// import path from 'path'; -// import { fileURLToPath } from 'url'; - -// // ESM-compatible __dirname -// const __filename = fileURLToPath(import.meta.url); -// const __dirname = path.dirname(__filename); - -// // Get the project root directory -// const rootDir = path.resolve(__dirname, '../'); -// const clientDist = path.join(rootDir, '../', '../', 'client', 'build'); -// const packageDist = path.join(rootDir, 'build', 'client_build'); - -// // Remove the dist directory if it exists -// if (fs.existsSync(packageDist)) { -// fs.rmSync(packageDist, { recursive: true, force: true }); -// console.log(`Emptied directory: ${packageDist}`); -// } - -// // Use fs.cpSync (Node.js 16+) to recursively copy everything from client/dist to dist -// fs.cpSync(clientDist, packageDist, { recursive: true }); -// console.log(`Copied all files from ${clientDist} to ${packageDist}`); - -// // Copy type definitions -// const typeSrc = path.join(rootDir, 'src', 'client.d.ts'); -// const typeDest = path.join(rootDir, 'build', 'client.d.ts'); -// fs.copyFileSync(typeSrc, typeDest); -// console.log(`Copied types from ${typeSrc} to ${typeDest}`); +import fs from 'fs'; +import path from 'path'; +import { fileURLToPath } from 'url'; + +// ESM-compatible __dirname +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +// Get the project root directory +const rootDir = path.resolve(__dirname, '../'); + +// Copy type definitions +const typeSrc = path.join(rootDir, 'src', 'client.d.ts'); +const typeDest = path.join(rootDir, 'build', 'client.d.ts'); + +if (fs.existsSync(typeSrc)) { + fs.copyFileSync(typeSrc, typeDest); + console.log(`✅ Copied types from ${typeSrc} to ${typeDest}`); +} + +// Check build sizes +const buildDir = path.join(rootDir, 'build'); +const files = ['browser_client.mjs', 'browser_client.umd.js', 'node_client.cjs', 'node_client.js', 'embedded-assets.mjs']; + +console.log('\n📊 Build sizes:'); +files.forEach(file => { + const filePath = path.join(buildDir, file); + if (fs.existsSync(filePath)) { + const stats = fs.statSync(filePath); + const sizeKB = (stats.size / 1024).toFixed(1); + console.log(` ${file}: ${sizeKB}KB`); + } +}); + +console.log('\n💡 Note: embedded-assets.mjs is now separate for smaller main bundles!'); diff --git a/libraries/js/src/browser-widget.js b/libraries/js/src/browser-widget.js index 4367fae..862f31f 100644 --- a/libraries/js/src/browser-widget.js +++ b/libraries/js/src/browser-widget.js @@ -457,13 +457,69 @@ class BrowserWidget { async _tryLoadEmbeddedAssets() { try { - const assets = await import('./embedded-assets.js'); + // First try to load from the current module location (bundled) + const assets = await import('./embedded-assets.mjs'); if (assets.hasEmbeddedAssets()) { return assets; } } catch (e) { - // Embedded assets not available + // Embedded assets not bundled, try to load externally + console.log('Embedded assets not bundled, attempting external load...'); } + + // Try to load from external URL (for when assets are split out) + try { + // Determine base URL for the library + const currentScript = document.currentScript; + const scriptSrc = currentScript ? currentScript.src : ''; + console.log('scriptSrc', scriptSrc); + + const possibleUrls = []; + + // If we have a script source, try relative to that location + if (scriptSrc) { + try { + const baseUrl = new URL('./', scriptSrc).href; + console.log('baseUrl', baseUrl); + possibleUrls.push( + new URL('./embedded-assets.mjs', baseUrl).href + ); + } catch (e) { + console.warn('Could not construct URLs relative to script:', e); + } + } + + // Always try relative to current page + possibleUrls.push( + './embedded-assets.mjs', + './build/embedded-assets.mjs', + '../build/embedded-assets.mjs', + // CDN locations (if using unpkg/jsdelivr) + 'https://unpkg.com/shellviz@latest/build/embedded-assets.mjs', + 'https://cdn.jsdelivr.net/npm/shellviz@latest/build/embedded-assets.mjs' + ); + + console.log('possibleUrls', possibleUrls); + + for (const url of possibleUrls) { + try { + const assets = await import(url); + if (assets.hasEmbeddedAssets()) { + console.log(`✅ Loaded embedded assets from: ${url}`); + return assets; + } + } catch (urlError) { + console.error('Error loading embedded assets:', urlError); + // Continue to next URL + continue; + } + } + } catch (e) { + console.error('Error loading embedded assets:', e); + // External loading failed + } + + console.warn('⚠️ Could not load embedded assets. Widget will show fallback UI.'); return null; } @@ -531,7 +587,23 @@ class BrowserWidget { _showFallbackUI(container, errorInfo) { container.innerHTML = ` -
Error: ${typeof errorInfo === 'string' ? errorInfo : 'Asset loading failed'}
+
+

⚠️ Shellviz Widget

+

Unable to load widget assets.

+ ${typeof errorInfo === 'string' ? `

${errorInfo}

` : ''} +
+ 💡 How to fix this +
+

Option 1: Include embedded-assets.mjs alongside your main bundle

+

Option 2: Ensure embedded-assets.mjs is accessible at one of these locations:

+
    +
  • ./embedded-assets.mjs (same directory as main script)
  • +
  • CDN: unpkg or jsdelivr
  • +
+

Option 3: Use a bundled version that includes all assets

+
+
+
`; } diff --git a/libraries/js/src/embedded-assets.js b/libraries/js/src/embedded-assets.js index b19ab6b..e543c6c 100644 --- a/libraries/js/src/embedded-assets.js +++ b/libraries/js/src/embedded-assets.js @@ -18,7 +18,7 @@ export const EMBEDDED_ASSETS = { css: "body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-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:#3b82f680;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*\n! tailwindcss v3.4.14 | MIT License | https://tailwindcss.com\n*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.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}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.top-0{top:0}.z-10{z-index:10}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.ms-auto{margin-inline-start:auto}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.h-3{height:.75rem}.h-4{height:1rem}.h-8{height:2rem}.h-96{height:24rem}.h-full{height:100%}.w-4{width:1rem}.w-8{width:2rem}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-auto{table-layout:auto}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-left-width:calc(1px*(1 - var(--tw-divide-x-reverse)));border-right-width:calc(1px*var(--tw-divide-x-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(209 213 219/var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-current{border-color:currentColor}.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))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-t-transparent{border-top-color:#0000}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.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}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pb-1{padding-bottom:.25rem}.pb-3{padding-bottom:.75rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-end{text-align:end}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.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-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-6{line-height:1.5rem}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.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-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity:1;color:rgb(168 85 247/var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity:1;color:rgb(126 34 206/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-md{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-inset{--tw-ring-inset:inset}.ring-gray-300{--tw-ring-opacity:1;--tw-ring-color:rgb(209 213 219/var(--tw-ring-opacity))}.filter{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-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.leaflet-tile::selection{background:#0000}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:initial!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fffc;border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px #0006;color:#333}.leaflet-container a.leaflet-popup-close-button{background:#0000;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px #0006;color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:#0000;border:6px solid #0000;content:\"\";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}body.dark{background:no-repeat radial-gradient(35.62% 51.83% at 84.03% 6.71%,#9747ff 0,#000 100%) #000;background-color:#000;background-repeat:no-repeat;color:#fff}body.dark .prose,body.dark .prose a,body.dark .prose code,body.dark .prose h1,body.dark .prose h2,body.dark .prose h3,body.dark .prose h4,body.dark .prose h5,body.dark .prose h6,body.dark .prose strong{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}#shellviz-app-root{height:100%;overflow-x:hidden;overflow-y:auto}#root #shellviz-app-root{height:100vh}.star{animation:pulse 8s ease-out infinite;animation-delay:2s;border-radius:344px;box-shadow:0 0 22px 13px #9747ffc7;height:160px;pointer-events:none;position:absolute;right:0;top:50px;width:160px;z-index:1}.star-delay-1,.star-delay-2{animation-delay:2.4s}@keyframes pulse{0%{opacity:0}50%{opacity:.3}to{opacity:0;transform:rotate3d(1,1,1,45deg);transform:scale(10.2)}}.content-text h1{font-size:2.25rem;font-weight:700;line-height:2.5rem;margin-bottom:1rem}.content-text h2{font-size:1.5rem;font-weight:700;line-height:2rem;margin-bottom:.5rem}.animate-rotate{animation:rotate 4s infinite}@keyframes rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(180deg)}}.last\\:border-b-0:last-child{border-bottom-width:0}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:text-gray-500:hover{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.focus\\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\\:ring: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(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-2:focus,.focus\\:ring:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-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)}.focus\\:ring-gray-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(229 231 235/var(--tw-ring-opacity))}.focus\\:ring-indigo-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(79 70 229/var(--tw-ring-opacity))}.group:hover .group-hover\\:opacity-100{opacity:1}@media (min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:leading-6{line-height:1.5rem}}", js: "/*! For license information please see main.6b7af8d7.js.LICENSE.txt */\n(()=>{var e={7243:(e,t,n)=>{\"use strict\";var r=n(9660),i={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,t){var n,o,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement(\"span\")).textContent=e,c.ariaHidden=\"true\",c.style.all=\"unset\",c.style.position=\"fixed\",c.style.top=0,c.style.clip=\"rect(0, 0, 0, 0)\",c.style.whiteSpace=\"pre\",c.style.webkitUserSelect=\"text\",c.style.MozUserSelect=\"text\",c.style.msUserSelect=\"text\",c.style.userSelect=\"text\",c.addEventListener(\"copy\",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),\"undefined\"===typeof r.clipboardData){n&&console.warn(\"unable to use e.clipboardData\"),n&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");u=!0}catch(f){n&&console.error(\"unable to copy using execCommand: \",f),n&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(t.format||\"text\",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(f){n&&console.error(\"unable to copy using clipboardData: \",f),n&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in t?t.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},755:e=>{\"use strict\";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return\"function\"===typeof Array.isArray?Array.isArray(e):\"[object Array]\"===n.call(e)},a=function(e){if(!e||\"[object Object]\"!==n.call(e))return!1;var r,i=t.call(e,\"constructor\"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!i&&!o)return!1;for(r in e);return\"undefined\"===typeof r||t.call(e,r)},s=function(e,t){r&&\"__proto__\"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if(\"__proto__\"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,f=arguments[0],d=1,h=arguments.length,p=!1;for(\"boolean\"===typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||\"object\"!==typeof f&&\"function\"!==typeof f)&&(f={});d{\"use strict\";var r=n(630),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if(\"string\"!==typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var s=l(t),m=l(n),g=0;g{\"use strict\";var n=\"function\"===typeof Symbol&&Symbol.for,r=n?Symbol.for(\"react.element\"):60103,i=n?Symbol.for(\"react.portal\"):60106,o=n?Symbol.for(\"react.fragment\"):60107,a=n?Symbol.for(\"react.strict_mode\"):60108,s=n?Symbol.for(\"react.profiler\"):60114,l=n?Symbol.for(\"react.provider\"):60109,c=n?Symbol.for(\"react.context\"):60110,u=n?Symbol.for(\"react.async_mode\"):60111,f=n?Symbol.for(\"react.concurrent_mode\"):60111,d=n?Symbol.for(\"react.forward_ref\"):60112,h=n?Symbol.for(\"react.suspense\"):60113,p=n?Symbol.for(\"react.suspense_list\"):60120,m=n?Symbol.for(\"react.memo\"):60115,g=n?Symbol.for(\"react.lazy\"):60116,y=n?Symbol.for(\"react.block\"):60121,v=n?Symbol.for(\"react.fundamental\"):60117,_=n?Symbol.for(\"react.responder\"):60118,b=n?Symbol.for(\"react.scope\"):60119;function x(e){if(\"object\"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function T(e){return x(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return T(e)||x(e)===u},t.isConcurrentMode=T,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return\"object\"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return\"string\"===typeof e||\"function\"===typeof e||e===o||e===f||e===s||e===a||e===h||e===p||\"object\"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===_||e.$$typeof===b||e.$$typeof===y)},t.typeOf=x},630:(e,t,n)=>{\"use strict\";e.exports=n(2138)},4814:e=>{var t=/\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g,n=/\\n/g,r=/^\\s*/,i=/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/,o=/^:\\s*/,a=/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/,s=/^[;\\s]*/,l=/^\\s+|\\s+$/g,c=\"\";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if(\"string\"!==typeof e)throw new TypeError(\"First argument must be a string\");if(!e)return[];l=l||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf(\"\\n\");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),_(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=l.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(l.source+\":\"+f+\":\"+d+\": \"+t);if(n.reason=t,n.filename=l.source,n.line=f,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function _(){v(r)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if(\"/\"==e.charAt(0)&&\"*\"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&(\"*\"!=e.charAt(n)||\"/\"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y(\"End of comment missing\");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:\"comment\",comment:r})}}function T(){var e=p(),n=v(i);if(n){if(x(),!v(o))return y(\"property missing ':'\");var r=v(a),l=e({type:\"declaration\",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return _(),function(){var e,t=[];for(b(t);e=T();)!1!==e&&(t.push(e),b(t));return t}()}},2527:function(e,t){!function(e){\"use strict\";var t=\"1.9.4\";function n(e){var t,n,r,i;for(n=1,r=arguments.length;n0?Math.floor(e):Math.ceil(e)};function R(e,t,n){return e instanceof M?e:y(e)?new M(e[0],e[1]):void 0===e||null===e?e:\"object\"===typeof e&&\"x\"in e&&\"y\"in e?new M(e.x,e.y):new M(e,t,n)}function D(e,t){if(e)for(var n=t?[e,t]:e,r=0,i=n.length;r=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=j(e);var t=this.min,n=this.max,r=e.min,i=e.max,o=i.x>=t.x&&r.x<=n.x,a=i.y>=t.y&&r.y<=n.y;return o&&a},overlaps:function(e){e=j(e);var t=this.min,n=this.max,r=e.min,i=e.max,o=i.x>t.x&&r.xt.y&&r.y=r.lat&&n.lat<=i.lat&&t.lng>=r.lng&&n.lng<=i.lng},intersects:function(e){e=F(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),o=i.lat>=t.lat&&r.lat<=n.lat,a=i.lng>=t.lng&&r.lng<=n.lng;return o&&a},overlaps:function(e){e=F(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),i=e.getNorthEast(),o=i.lat>t.lat&&r.latt.lng&&r.lng1,Ce=function(){var e=!1;try{var t=Object.defineProperty({},\"passive\",{get:function(){e=!0}});window.addEventListener(\"testPassiveEventSupport\",c,t),window.removeEventListener(\"testPassiveEventSupport\",c,t)}catch(n){}return e}(),Oe=!!document.createElement(\"canvas\").getContext,Ie=!(!document.createElementNS||!K(\"svg\").createSVGRect),Ne=!!Ie&&function(){var e=document.createElement(\"div\");return e.innerHTML=\"\",\"http://www.w3.org/2000/svg\"===(e.firstChild&&e.firstChild.namespaceURI)}(),Me=!Ie&&function(){try{var e=document.createElement(\"div\");e.innerHTML='';var t=e.firstChild;return t.style.behavior=\"url(#default#VML)\",t&&\"object\"===typeof t.adj}catch(n){return!1}}(),Le=0===navigator.platform.indexOf(\"Mac\"),Pe=0===navigator.platform.indexOf(\"Linux\");function Re(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var De={ie:J,ielt9:ee,edge:te,webkit:ne,android:re,android23:ie,androidStock:ae,opera:se,chrome:le,gecko:ce,safari:ue,phantom:fe,opera12:de,win:he,ie3d:pe,webkit3d:me,gecko3d:ge,any3d:ye,mobile:ve,mobileWebkit:_e,mobileWebkit3d:be,msPointer:xe,pointer:Te,touch:ke,touchNative:Ee,mobileOpera:Se,mobileGecko:we,retina:Ae,passiveEvents:Ce,canvas:Oe,svg:Ie,vml:Me,inlineSvg:Ne,mac:Le,linux:Pe},je=De.msPointer?\"MSPointerDown\":\"pointerdown\",Be=De.msPointer?\"MSPointerMove\":\"pointermove\",Fe=De.msPointer?\"MSPointerUp\":\"pointerup\",ze=De.msPointer?\"MSPointerCancel\":\"pointercancel\",Ue={touchstart:je,touchmove:Be,touchend:Fe,touchcancel:ze},He={touchstart:Qe,touchmove:Xe,touchend:Xe,touchcancel:Xe},We={},Ge=!1;function Ve(e,t,n){return\"touchstart\"===t&&Ke(),He[t]?(n=He[t].bind(this,n),e.addEventListener(Ue[t],n,!1),n):(console.warn(\"wrong event specified:\",t),c)}function Ye(e,t,n){Ue[t]?e.removeEventListener(Ue[t],n,!1):console.warn(\"wrong event specified:\",t)}function $e(e){We[e.pointerId]=e}function qe(e){We[e.pointerId]&&(We[e.pointerId]=e)}function Ze(e){delete We[e.pointerId]}function Ke(){Ge||(document.addEventListener(je,$e,!0),document.addEventListener(Be,qe,!0),document.addEventListener(Fe,Ze,!0),document.addEventListener(ze,Ze,!0),Ge=!0)}function Xe(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||\"mouse\")){for(var n in t.touches=[],We)t.touches.push(We[n]);t.changedTouches=[t],e(t)}}function Qe(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&$t(t),Xe(e,t)}function Je(e){var t,n,r={};for(n in e)t=e[n],r[n]=t&&t.bind?t.bind(e):t;return e=r,r.type=\"dblclick\",r.detail=2,r.isTrusted=!1,r._simulated=!0,r}var et=200;function tt(e,t){e.addEventListener(\"dblclick\",t);var n,r=0;function i(e){if(1===e.detail){if(\"mouse\"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var i=Zt(e);if(!i.some((function(e){return e instanceof HTMLLabelElement&&e.attributes.for}))||i.some((function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement}))){var o=Date.now();o-r<=et?2===++n&&t(Je(e)):n=1,r=o}}}else n=e.detail}return e.addEventListener(\"click\",i),{dblclick:t,simDblclick:i}}function nt(e,t){e.removeEventListener(\"dblclick\",t.dblclick),e.removeEventListener(\"click\",t.simDblclick)}var rt,it,ot,at,st,lt=St([\"transform\",\"webkitTransform\",\"OTransform\",\"MozTransform\",\"msTransform\"]),ct=St([\"webkitTransition\",\"transition\",\"OTransition\",\"MozTransition\",\"msTransition\"]),ut=\"webkitTransition\"===ct||\"OTransition\"===ct?ct+\"End\":\"transitionend\";function ft(e){return\"string\"===typeof e?document.getElementById(e):e}function dt(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||\"auto\"===n)&&document.defaultView){var r=document.defaultView.getComputedStyle(e,null);n=r?r[t]:null}return\"auto\"===n?null:n}function ht(e,t,n){var r=document.createElement(e);return r.className=t||\"\",n&&n.appendChild(r),r}function pt(e){var t=e.parentNode;t&&t.removeChild(e)}function mt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function gt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function yt(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function vt(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=Tt(e);return n.length>0&&new RegExp(\"(^|\\\\s)\"+t+\"(\\\\s|$)\").test(n)}function _t(e,t){if(void 0!==e.classList)for(var n=d(t),r=0,i=n.length;r0?2*window.devicePixelRatio:1;function Qt(e){return De.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Xt:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function Jt(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(r){return!1}return n!==e}var en={__proto__:null,on:jt,off:Ft,stopPropagation:Gt,disableScrollPropagation:Vt,disableClickPropagation:Yt,preventDefault:$t,stop:qt,getPropagationPath:Zt,getMousePosition:Kt,getWheelDelta:Qt,isExternalTarget:Jt,addListener:jt,removeListener:Ft},tn=N.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=Ct(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire(\"start\"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=S(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;tthis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,F(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=R((t=t||{}).paddingTopLeft||t.padding||[0,0]),r=R(t.paddingBottomRight||t.padding||[0,0]),i=this.project(this.getCenter()),o=this.project(e),a=this.getPixelBounds(),s=j([a.min.add(n),a.max.subtract(r)]),l=s.getSize();if(!s.contains(o)){this._enforcingBounds=!0;var c=o.subtract(s.getCenter()),u=s.extend(o).getSize().subtract(l);i.x+=c.x<0?-u.x:u.x,i.y+=c.y<0?-u.y:u.y,this.panTo(this.unproject(i),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=n({animate:!1,pan:!0},!0===e?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),o=t.divideBy(2).round(),a=r.divideBy(2).round(),s=o.subtract(a);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire(\"move\"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,\"moveend\"),200)):this.fire(\"moveend\")),this.fire(\"resize\",{oldSize:t,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire(\"viewreset\"),this._stop()},locate:function(e){if(e=this._locateOptions=n({timeout:1e4,watch:!1},e),!(\"geolocation\"in navigator))return this._handleGeolocationError({code:0,message:\"Geolocation not supported.\"}),this;var t=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,r,e):navigator.geolocation.getCurrentPosition(t,r,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(1===t?\"permission denied\":2===t?\"position unavailable\":\"timeout\");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire(\"locationerror\",{code:t,message:\"Geolocation error: \"+n+\".\"})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=new z(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),r=this._locateOptions;if(r.setView){var i=this.getBoundsZoom(n);this.setView(t,r.maxZoom?Math.min(i,r.maxZoom):i)}var o={latlng:t,bounds:n,timestamp:e.timestamp};for(var a in e.coords)\"number\"===typeof e.coords[a]&&(o[a]=e.coords[a]);this.fire(\"locationfound\",o)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off(\"moveend\",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error(\"Map container is being reused by another instance\");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),pt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(w(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire(\"unload\"),this._layers)this._layers[e].remove();for(e in this._panes)pt(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=ht(\"div\",\"leaflet-pane\"+(e?\" leaflet-\"+e.replace(\"Pane\",\"\")+\"-pane\":\"\"),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new B(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=F(e),n=R(n||[0,0]);var r=this.getZoom()||0,i=this.getMinZoom(),o=this.getMaxZoom(),a=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),c=j(this.project(s,r),this.project(a,r)).getSize(),u=De.any3d?this.options.zoomSnap:1,f=l.x/c.x,d=l.y/c.y,h=t?Math.max(f,d):Math.min(f,d);return r=this.getScaleZoom(h,r),u&&(r=Math.round(r/(u/100))*(u/100),r=t?Math.ceil(r/u)*u:Math.floor(r/u)*u),Math.max(i,Math.min(o,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new D(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return\"string\"===typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=void 0===t?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(U(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(R(e),t)},layerPointToLatLng:function(e){var t=R(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(U(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(U(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(F(e))},distance:function(e,t){return this.options.crs.distance(U(e),U(t))},containerPointToLayerPoint:function(e){return R(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return R(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(R(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(U(e)))},mouseEventToContainerPoint:function(e){return Kt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=ft(e);if(!t)throw new Error(\"Map container not found.\");if(t._leaflet_id)throw new Error(\"Map container is already initialized.\");jt(t,\"scroll\",this._onScroll,this),this._containerId=a(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&De.any3d,_t(e,\"leaflet-container\"+(De.touch?\" leaflet-touch\":\"\")+(De.retina?\" leaflet-retina\":\"\")+(De.ielt9?\" leaflet-oldie\":\"\")+(De.safari?\" leaflet-safari\":\"\")+(this._fadeAnimated?\" leaflet-fade-anim\":\"\"));var t=dt(e,\"position\");\"absolute\"!==t&&\"relative\"!==t&&\"fixed\"!==t&&\"sticky\"!==t&&(e.style.position=\"relative\"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane(\"mapPane\",this._container),At(this._mapPane,new M(0,0)),this.createPane(\"tilePane\"),this.createPane(\"overlayPane\"),this.createPane(\"shadowPane\"),this.createPane(\"markerPane\"),this.createPane(\"tooltipPane\"),this.createPane(\"popupPane\"),this.options.markerZoomAnimation||(_t(e.markerPane,\"leaflet-zoom-hide\"),_t(e.shadowPane,\"leaflet-zoom-hide\"))},_resetView:function(e,t,n){At(this._mapPane,new M(0,0));var r=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire(\"viewprereset\");var i=this._zoom!==t;this._moveStart(i,n)._move(e,t)._moveEnd(i),this.fire(\"viewreset\"),r&&this.fire(\"load\")},_moveStart:function(e,t){return e&&this.fire(\"zoomstart\"),t||this.fire(\"movestart\"),this},_move:function(e,t,n,r){void 0===t&&(t=this._zoom);var i=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),r?n&&n.pinch&&this.fire(\"zoom\",n):((i||n&&n.pinch)&&this.fire(\"zoom\",n),this.fire(\"move\",n)),this},_moveEnd:function(e){return e&&this.fire(\"zoomend\"),this.fire(\"moveend\")},_stop:function(){return w(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){At(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error(\"Set map center and zoom first.\")},_initEvents:function(e){this._targets={},this._targets[a(this._container)]=this;var t=e?Ft:jt;t(this._container,\"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup\",this._handleDOMEvent,this),this.options.trackResize&&t(window,\"resize\",this._onResize,this),De.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,\"moveend\",this._onMoveEnd)},_onResize:function(){w(this._resizeRequest),this._resizeRequest=S((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,r=[],i=\"mouseout\"===t||\"mouseover\"===t,o=e.target||e.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&(\"click\"===t||\"preclick\"===t)&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(t,!0)){if(i&&!Jt(o,e))break;if(r.push(n),i)break}if(o===this._container)break;o=o.parentNode}return r.length||s||i||!this.listens(t,!0)||(r=[this]),r},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||\"click\"===e.type&&this._isClickDisabled(t))){var n=e.type;\"mousedown\"===n&&Mt(t),this._fireDOMEvent(e,n)}},_mouseEvents:[\"click\",\"dblclick\",\"mouseover\",\"mouseout\",\"contextmenu\"],_fireDOMEvent:function(e,t,r){if(\"click\"===e.type){var i=n({},e);i.type=\"preclick\",this._fireDOMEvent(i,i.type,r)}var o=this._findEventTargets(e,t);if(r){for(var a=[],s=0;s0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=De.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire(\"move\")},_onPanTransitionEnd:function(){bt(this._mapPane,\"leaflet-pan-anim\"),this.fire(\"moveend\")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n))&&(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=ht(\"div\",\"leaflet-proxy leaflet-zoom-animated\");this._panes.mapPane.appendChild(e),this.on(\"zoomanim\",(function(e){var t=lt,n=this._proxy.style[t];wt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on(\"load moveend\",this._animMoveEnd,this),this._on(\"unload\",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pt(this._proxy),this.off(\"load moveend\",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();wt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf(\"transform\")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName(\"leaflet-zoom-animated\").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),i=this._getCenterOffset(e)._divideBy(1-1/r);return!(!0!==n.animate&&!this.getSize().contains(i))&&(S((function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)}),this),!0)},_animateZoom:function(e,t,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,_t(this._mapPane,\"leaflet-zoom-anim\")),this.fire(\"zoomanim\",{center:e,zoom:t,noUpdate:r}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&bt(this._mapPane,\"leaflet-zoom-anim\"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire(\"zoom\"),delete this._tempFireZoomEvent,this.fire(\"move\"),this._moveEnd(!0))}});function rn(e,t){return new nn(e,t)}var on=C.extend({options:{position:\"topright\"},initialize:function(e){h(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),r=e._controlCorners[n];return _t(t,\"leaflet-control\"),-1!==n.indexOf(\"bottom\")?r.insertBefore(t,r.firstChild):r.appendChild(t),this._map.on(\"unload\",this.remove,this),this},remove:function(){return this._map?(pt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off(\"unload\",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),an=function(e){return new on(e)};nn.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t=\"leaflet-\",n=this._controlContainer=ht(\"div\",t+\"control-container\",this._container);function r(r,i){var o=t+r+\" \"+t+i;e[r+i]=ht(\"div\",o,n)}r(\"top\",\"left\"),r(\"top\",\"right\"),r(\"bottom\",\"left\"),r(\"bottom\",\"right\")},_clearControlPos:function(){for(var e in this._controlCorners)pt(this._controlCorners[e]);pt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var sn=on.extend({options:{collapsed:!0,position:\"topright\",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n1,this._baseLayersList.style.display=e?\"\":\"none\"),this._separator.style.display=t&&e?\"\":\"none\",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(a(e.target)),n=t.overlay?\"add\"===e.type?\"overlayadd\":\"overlayremove\":\"add\"===e.type?\"baselayerchange\":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='\",r=document.createElement(\"div\");return r.innerHTML=n,r.firstChild},_addItem:function(e){var t,n=document.createElement(\"label\"),r=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement(\"input\")).type=\"checkbox\",t.className=\"leaflet-control-layers-selector\",t.defaultChecked=r):t=this._createRadioElement(\"leaflet-base-layers_\"+a(this),r),this._layerControlInputs.push(t),t.layerId=a(e.layer),jt(t,\"click\",this._onInputClick,this);var i=document.createElement(\"span\");i.innerHTML=\" \"+e.name;var o=document.createElement(\"span\");return n.appendChild(o),o.appendChild(t),o.appendChild(i),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var e,t,n=this._layerControlInputs,r=[],i=[];this._handlingClick=!0;for(var o=n.length-1;o>=0;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.checked?r.push(t):e.checked||i.push(t);for(o=0;o=0;i--)e=n[i],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&rt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,jt(e,\"click\",$t),this.expand();var t=this;setTimeout((function(){Ft(e,\"click\",$t),t._preventClick=!1}))}}),ln=function(e,t,n){return new sn(e,t,n)},cn=on.extend({options:{position:\"topleft\",zoomInText:'+',zoomInTitle:\"Zoom in\",zoomOutText:'',zoomOutTitle:\"Zoom out\"},onAdd:function(e){var t=\"leaflet-control-zoom\",n=ht(\"div\",t+\" leaflet-bar\"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+\"-in\",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+\"-out\",n,this._zoomOut),this._updateDisabled(),e.on(\"zoomend zoomlevelschange\",this._updateDisabled,this),n},onRemove:function(e){e.off(\"zoomend zoomlevelschange\",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,i){var o=ht(\"a\",n,r);return o.innerHTML=e,o.href=\"#\",o.title=t,o.setAttribute(\"role\",\"button\"),o.setAttribute(\"aria-label\",t),Yt(o),jt(o,\"click\",qt),jt(o,\"click\",i,this),jt(o,\"click\",this._refocusOnMap,this),o},_updateDisabled:function(){var e=this._map,t=\"leaflet-disabled\";bt(this._zoomInButton,t),bt(this._zoomOutButton,t),this._zoomInButton.setAttribute(\"aria-disabled\",\"false\"),this._zoomOutButton.setAttribute(\"aria-disabled\",\"false\"),(this._disabled||e._zoom===e.getMinZoom())&&(_t(this._zoomOutButton,t),this._zoomOutButton.setAttribute(\"aria-disabled\",\"true\")),(this._disabled||e._zoom===e.getMaxZoom())&&(_t(this._zoomInButton,t),this._zoomInButton.setAttribute(\"aria-disabled\",\"true\"))}});nn.mergeOptions({zoomControl:!0}),nn.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new cn,this.addControl(this.zoomControl))}));var un=function(e){return new cn(e)},fn=on.extend({options:{position:\"bottomleft\",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=\"leaflet-control-scale\",n=ht(\"div\",t),r=this.options;return this._addScales(r,t+\"-line\",n),e.on(r.updateWhenIdle?\"moveend\":\"move\",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?\"moveend\":\"move\",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=ht(\"div\",t,n)),e.imperial&&(this._iScale=ht(\"div\",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+\" m\":t/1e3+\" km\";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,r,i=3.2808399*e;i>5280?(t=i/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+\" mi\",n/t)):(r=this._getRoundNum(i),this._updateScale(this._iScale,r+\" ft\",r/i))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+\"px\",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+\"\").length-1),n=e/t;return t*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),dn=function(e){return new fn(e)},hn='',pn=on.extend({options:{position:\"bottomright\",prefix:''+(De.inlineSvg?hn+\" \":\"\")+\"Leaflet\"},initialize:function(e){h(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=ht(\"div\",\"leaflet-control-attribution\"),Yt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on(\"layeradd\",this._addAttribution,this),this._container},onRemove:function(e){e.off(\"layeradd\",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once(\"remove\",(function(){this.removeAttribution(e.layer.getAttribution())}),this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(\", \")),this._container.innerHTML=n.join(' | ')}}});nn.mergeOptions({attributionControl:!0}),nn.addInitHook((function(){this.options.attributionControl&&(new pn).addTo(this)}));var mn=function(e){return new pn(e)};on.Layers=sn,on.Zoom=cn,on.Scale=fn,on.Attribution=pn,an.layers=ln,an.zoom=un,an.scale=dn,an.attribution=mn;var gn=C.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});gn.addTo=function(e,t){return e.addHandler(t,this),this};var yn={Events:I},vn=De.touch?\"touchstart mousedown\":\"mousedown\",_n=N.extend({options:{clickTolerance:3},initialize:function(e,t,n,r){h(this,r),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(jt(this._dragStartTarget,vn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_n._dragging===this&&this.finishDrag(!0),Ft(this._dragStartTarget,vn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!vt(this._element,\"leaflet-zoom-anim\")))if(e.touches&&1!==e.touches.length)_n._dragging===this&&this.finishDrag();else if(!(_n._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches)&&(_n._dragging=this,this._preventOutline&&Mt(this._element),It(),rt(),!this._moving)){this.fire(\"down\");var t=e.touches?e.touches[0]:e,n=Pt(this._element);this._startPoint=new M(t.clientX,t.clientY),this._startPos=Ct(this._element),this._parentScale=Rt(n);var r=\"mousedown\"===e.type;jt(document,r?\"mousemove\":\"touchmove\",this._onMove,this),jt(document,r?\"mouseup\":\"touchend touchcancel\",this._onUp,this)}},_onMove:function(e){if(this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new M(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)l&&(o=a,l=s);l>n&&(t[o]=1,On(e,t,n,r,o),On(e,t,n,o,i))}function In(e,t){for(var n=[e[0]],r=1,i=0,o=e.length;rt&&(n.push(e[r]),i=r);return it.max.x&&(n|=2),e.yt.max.y&&(n|=8),n}function Pn(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r}function Rn(e,t,n,r){var i,o=t.x,a=t.y,s=n.x-o,l=n.y-a,c=s*s+l*l;return c>0&&((i=((e.x-o)*s+(e.y-a)*l)/c)>1?(o=n.x,a=n.y):i>0&&(o+=s*i,a+=l*i)),s=e.x-o,l=e.y-a,r?s*s+l*l:new M(o,a)}function Dn(e){return!y(e[0])||\"object\"!==typeof e[0][0]&&\"undefined\"!==typeof e[0][0]}function jn(e){return console.warn(\"Deprecated use of _flat, please use L.LineUtil.isFlat instead.\"),Dn(e)}function Bn(e,t){var n,r,i,o,a,s,l,c;if(!e||0===e.length)throw new Error(\"latlngs not passed\");Dn(e)||(console.warn(\"latlngs are not flat! Only the first ring will be used\"),e=e[0]);var u=U([0,0]),f=F(e);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(u=Tn(e));var d=e.length,h=[];for(n=0;nr){l=(o-r)/i,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var m=t.unproject(R(c));return U([m.lat+u.lat,m.lng+u.lng])}var Fn={__proto__:null,simplify:Sn,pointToSegmentDistance:wn,closestPointOnSegment:An,clipSegment:Nn,_getEdgeIntersection:Mn,_getBitCode:Ln,_sqClosestPointOnSegment:Rn,isFlat:Dn,_flat:jn,polylineCenter:Bn},zn={project:function(e){return new M(e.lng,e.lat)},unproject:function(e){return new z(e.y,e.x)},bounds:new D([-180,-90],[180,90])},Un={R:6378137,R_MINOR:6356752.314245179,bounds:new D([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,r=e.lat*t,i=this.R_MINOR/n,o=Math.sqrt(1-i*i),a=o*Math.sin(r),s=Math.tan(Math.PI/4-r/2)/Math.pow((1-a)/(1+a),o/2);return r=-n*Math.log(Math.max(s,1e-10)),new M(e.lng*t*n,r)},unproject:function(e){for(var t,n=180/Math.PI,r=this.R,i=this.R_MINOR/r,o=Math.sqrt(1-i*i),a=Math.exp(-e.y/r),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)t=o*Math.sin(s),t=Math.pow((1-t)/(1+t),o/2),s+=c=Math.PI/2-2*Math.atan(a*t)-s;return new z(s*n,e.x*n/r)}},Hn={__proto__:null,LonLat:zn,Mercator:Un,SphericalMercator:V},Wn=n({},W,{code:\"EPSG:3395\",projection:Un,transformation:function(){var e=.5/(Math.PI*Un.R);return $(e,.5,-e,.5)}()}),Gn=n({},W,{code:\"EPSG:4326\",projection:zn,transformation:$(1/180,1,-1/180,.5)}),Vn=n({},H,{projection:zn,transformation:$(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,r=t.lat-e.lat;return Math.sqrt(n*n+r*r)},infinite:!0});H.Earth=W,H.EPSG3395=Wn,H.EPSG3857=q,H.EPSG900913=Z,H.EPSG4326=Gn,H.Simple=Vn;var Yn=N.extend({options:{pane:\"overlayPane\",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[a(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[a(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once(\"remove\",(function(){t.off(n,this)}),this)}this.onAdd(t),this.fire(\"add\"),t.fire(\"layeradd\",{layer:this})}}});nn.include({addLayer:function(e){if(!e._layerAdd)throw new Error(\"The provided object is not a Layer.\");var t=a(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=a(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire(\"layerremove\",{layer:e}),e.fire(\"remove\")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return a(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?y(e)?e:[e]:[]).length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&t[0]instanceof z&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){lr.prototype._setLatLngs.call(this,e),Dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new M(t,t);if(e=new D(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var r,i=0,o=this._rings.length;ie.y!==r.y>e.y&&e.x<(r.x-n.x)*(e.y-n.y)/(r.y-n.y)+n.x&&(c=!c);return c||lr.prototype._containsPoint.call(this,e,!0)}});function fr(e,t){return new ur(e,t)}var dr=Zn.extend({initialize:function(e,t){h(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,r,i=y(e)?e:e.features;if(i){for(t=0,n=i.length;t0&&i.push(i[0].slice()),i}function _r(e,t){return e.feature?n({},e.feature,{geometry:t}):br(t)}function br(e){return\"Feature\"===e.type||\"FeatureCollection\"===e.type?e:{type:\"Feature\",properties:{},geometry:e}}var xr={toGeoJSON:function(e){return _r(this,{type:\"Point\",coordinates:yr(this.getLatLng(),e)})}};function Tr(e,t){return new dr(e,t)}tr.include(xr),ar.include(xr),ir.include(xr),lr.include({toGeoJSON:function(e){var t=!Dn(this._latlngs);return _r(this,{type:(t?\"Multi\":\"\")+\"LineString\",coordinates:vr(this._latlngs,t?1:0,!1,e)})}}),ur.include({toGeoJSON:function(e){var t=!Dn(this._latlngs),n=t&&!Dn(this._latlngs[0]),r=vr(this._latlngs,n?2:t?1:0,!0,e);return t||(r=[r]),_r(this,{type:(n?\"Multi\":\"\")+\"Polygon\",coordinates:r})}}),$n.include({toMultiPoint:function(e){var t=[];return this.eachLayer((function(n){t.push(n.toGeoJSON(e).geometry.coordinates)})),_r(this,{type:\"MultiPoint\",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(\"MultiPoint\"===t)return this.toMultiPoint(e);var n=\"GeometryCollection\"===t,r=[];return this.eachLayer((function(t){if(t.toGeoJSON){var i=t.toGeoJSON(e);if(n)r.push(i.geometry);else{var o=br(i);\"FeatureCollection\"===o.type?r.push.apply(r,o.features):r.push(o)}}})),n?_r(this,{geometries:r,type:\"GeometryCollection\"}):{type:\"FeatureCollection\",features:r}}});var Er=Tr,kr=Yn.extend({options:{opacity:1,alt:\"\",interactive:!1,crossOrigin:!1,errorOverlayUrl:\"\",zIndex:1,className:\"\"},initialize:function(e,t,n){this._url=e,this._bounds=F(t),h(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(_t(this._image,\"leaflet-interactive\"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){pt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&>(this._image),this},bringToBack:function(){return this._map&&yt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=F(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=\"IMG\"===this._url.tagName,t=this._image=e?this._url:ht(\"img\");_t(t,\"leaflet-image-layer\"),this._zoomAnimated&&_t(t,\"leaflet-zoom-animated\"),this.options.className&&_t(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onload=i(this.fire,this,\"load\"),t.onerror=i(this._overlayOnError,this,\"error\"),(this.options.crossOrigin||\"\"===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?\"\":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;wt(this._image,n,t)},_reset:function(){var e=this._image,t=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();At(e,t.min),e.style.width=n.x+\"px\",e.style.height=n.y+\"px\"},_updateOpacity:function(){Et(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire(\"error\");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Sr=function(e,t,n){return new kr(e,t,n)},wr=kr.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=\"VIDEO\"===this._url.tagName,t=this._image=e?this._url:ht(\"video\");if(_t(t,\"leaflet-image-layer\"),this._zoomAnimated&&_t(t,\"leaflet-zoom-animated\"),this.options.className&&_t(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onloadeddata=i(this.fire,this,\"load\"),e){for(var n=t.getElementsByTagName(\"source\"),r=[],o=0;o0?r:[t.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,\"objectFit\")&&(t.style.objectFit=\"fill\"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var a=0;a×',jt(r,\"click\",(function(e){$t(e),this.close()}),this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width=\"\",t.whiteSpace=\"nowrap\";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+\"px\",t.whiteSpace=\"\",t.height=\"\";var r=e.offsetHeight,i=this.options.maxHeight,o=\"leaflet-popup-scrolled\";i&&r>i?(t.height=i+\"px\",_t(e,o)):bt(e,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();At(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(dt(this._container,\"marginBottom\"),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,i=new M(this._containerLeft,-n-this._containerBottom);i._add(Ct(this._container));var o=e.layerPointToContainerPoint(i),a=R(this.options.autoPanPadding),s=R(this.options.autoPanPaddingTopLeft||a),l=R(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),u=0,f=0;o.x+r+l.x>c.x&&(u=o.x+r-c.x+l.x),o.x-u-s.x<0&&(u=o.x-s.x),o.y+n+l.y>c.y&&(f=o.y+n-c.y+l.y),o.y-f-s.y<0&&(f=o.y-s.y),(u||f)&&(this.options.keepInView&&(this._autopanning=!0),e.fire(\"autopanstart\").panBy([u,f]))}},_getAnchor:function(){return R(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Mr=function(e,t){return new Nr(e,t)};nn.mergeOptions({closePopupOnClick:!0}),nn.include({openPopup:function(e,t,n){return this._initOverlay(Nr,e,t,n).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),Yn.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Nr,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof Zn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){qt(e);var t=e.layer||e.target;this._popup._source!==t||t instanceof rr?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Lr=Ir.extend({options:{pane:\"tooltipPane\",offset:[0,0],direction:\"auto\",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Ir.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire(\"tooltipopen\",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire(\"tooltipopen\",{tooltip:this},!0))},onRemove:function(e){Ir.prototype.onRemove.call(this,e),e.fire(\"tooltipclose\",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire(\"tooltipclose\",{tooltip:this},!0))},getEvents:function(){var e=Ir.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e=\"leaflet-tooltip \"+(this.options.className||\"\")+\" leaflet-zoom-\"+(this._zoomAnimated?\"animated\":\"hide\");this._contentNode=this._container=ht(\"div\",e),this._container.setAttribute(\"role\",\"tooltip\"),this._container.setAttribute(\"id\",\"leaflet-tooltip-\"+a(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,r=this._map,i=this._container,o=r.latLngToContainerPoint(r.getCenter()),a=r.layerPointToContainerPoint(e),s=this.options.direction,l=i.offsetWidth,c=i.offsetHeight,u=R(this.options.offset),f=this._getAnchor();\"top\"===s?(t=l/2,n=c):\"bottom\"===s?(t=l/2,n=0):\"center\"===s?(t=l/2,n=c/2):\"right\"===s?(t=0,n=c/2):\"left\"===s?(t=l,n=c/2):a.xthis.options.maxZoom||nr&&this._retainParent(i,o,a,r))},_retainChildren:function(e,t,n,r){for(var i=2*e;i<2*e+2;i++)for(var o=2*t;o<2*t+2;o++){var a=new M(i,o);a.z=n+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&i1)this._setView(e,n);else{for(var f=i.min.y;f<=i.max.y;f++)for(var d=i.min.x;d<=i.max.x;d++){var h=new M(d,f);if(h.z=this._tileZoom,this._isValidTile(h)){var p=this._tiles[this._tileCoordsToKey(h)];p?p.current=!0:a.push(h)}}if(a.sort((function(e,t){return e.distanceTo(o)-t.distanceTo(o)})),0!==a.length){this._loading||(this._loading=!0,this.fire(\"loading\"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!t.wrapLat&&(e.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return F(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),i=r.add(n);return[t.unproject(r,e.z),t.unproject(i,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new B(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+\":\"+e.y+\":\"+e.z},_keyToTileCoords:function(e){var t=e.split(\":\"),n=new M(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(pt(t.el),delete this._tiles[e],this.fire(\"tileunload\",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){_t(e,\"leaflet-tile\");var t=this.getTileSize();e.style.width=t.x+\"px\",e.style.height=t.y+\"px\",e.onselectstart=c,e.onmousemove=c,De.ielt9&&this.options.opacity<1&&Et(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&S(i(this._tileReady,this,e,null,o)),At(o,n),this._tiles[r]={el:o,coords:e,current:!0},t.appendChild(o),this.fire(\"tileloadstart\",{tile:o,coords:e})},_tileReady:function(e,t,n){t&&this.fire(\"tileerror\",{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(Et(n.el,0),w(this._fadeFrame),this._fadeFrame=S(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(_t(n.el,\"leaflet-tile-loaded\"),this.fire(\"tileload\",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire(\"load\"),De.ielt9||!this._map._fadeAnimated?S(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new M(this._wrapX?l(e.x,this._wrapX):e.x,this._wrapY?l(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new D(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Br(e){return new jr(e)}var Fr=jr.extend({options:{minZoom:0,maxZoom:18,subdomains:\"abc\",errorTileUrl:\"\",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=h(this,t)).detectRetina&&De.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),\"string\"===typeof t.subdomains&&(t.subdomains=t.subdomains.split(\"\")),this.on(\"tileunload\",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement(\"img\");return jt(n,\"load\",i(this._tileOnLoad,this,t,n)),jt(n,\"error\",i(this._tileOnError,this,t,n)),(this.options.crossOrigin||\"\"===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?\"\":this.options.crossOrigin),\"string\"===typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt=\"\",n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:De.retina?\"@2x\":\"\",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var r=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=r),t[\"-y\"]=r}return g(this._url,n(t,this.options))},_tileOnLoad:function(e,t){De.ielt9?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.getAttribute(\"src\")!==r&&(t.src=r),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=c,t.onerror=c,!t.complete)){t.src=_;var n=this._tiles[e].coords;pt(t),delete this._tiles[e],this.fire(\"tileabort\",{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute(\"src\",_),jr.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute(\"src\")!==_))return jr.prototype._tileReady.call(this,e,t,n)}});function zr(e,t){return new Fr(e,t)}var Ur=Fr.extend({defaultWmsParams:{service:\"WMS\",request:\"GetMap\",layers:\"\",styles:\"\",format:\"image/jpeg\",transparent:!1,version:\"1.1.1\"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var r=n({},this.defaultWmsParams);for(var i in t)i in this.options||(r[i]=t[i]);var o=(t=h(this,t)).detectRetina&&De.retina?2:1,a=this.getTileSize();r.width=a.x*o,r.height=a.y*o,this.wmsParams=r},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?\"crs\":\"srs\";this.wmsParams[t]=this._crs.code,Fr.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,r=j(n.project(t[0]),n.project(t[1])),i=r.min,o=r.max,a=(this._wmsVersion>=1.3&&this._crs===Gn?[i.y,i.x,o.y,o.x]:[i.x,i.y,o.x,o.y]).join(\",\"),s=Fr.prototype.getTileUrl.call(this,e);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?\"&BBOX=\":\"&bbox=\")+a},setParams:function(e,t){return n(this.wmsParams,e),t||this.redraw(),this}});function Hr(e,t){return new Ur(e,t)}Fr.WMS=Ur,zr.wms=Hr;var Wr=Yn.extend({options:{padding:.1},initialize:function(e){h(this,e),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),_t(this._container,\"leaflet-zoom-animated\")),this.getPane().appendChild(this._container),this._update(),this.on(\"update\",this._updatePaths,this)},onRemove:function(){this.off(\"update\",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),r=this._map.getSize().multiplyBy(.5+this.options.padding),i=this._map.project(this._center,t),o=r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e,t));De.any3d?wt(this._container,o,n):At(this._container,o)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new D(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Gr=Wr.extend({options:{tolerance:0},getEvents:function(){var e=Wr.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement(\"canvas\");jt(e,\"mousemove\",this._onMouseMove,this),jt(e,\"click dblclick mousedown mouseup contextmenu\",this._onClick,this),jt(e,\"mouseout\",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext(\"2d\")},_destroyContainer:function(){w(this._redrawRequest),delete this._ctx,pt(this._container),Ft(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Wr.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=De.retina?2:1;At(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+\"px\",t.style.height=n.y+\"px\",De.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire(\"update\")}},_reset:function(){Wr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[a(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[a(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(\"string\"===typeof e.options.dashArray){var t,n,r=e.options.dashArray.split(/[, ]+/),i=[];for(n=0;n')}}catch(e){}return function(e){return document.createElement(\"<\"+e+' xmlns=\"urn:schemas-microsoft.com:vml\" class=\"lvml\">')}}(),$r={_initContainer:function(){this._container=ht(\"div\",\"leaflet-vml-container\")},_update:function(){this._map._animatingZoom||(Wr.prototype._update.call(this),this.fire(\"update\"))},_initPath:function(e){var t=e._container=Yr(\"shape\");_t(t,\"leaflet-vml-shape \"+(this.options.className||\"\")),t.coordsize=\"1 1\",e._path=Yr(\"path\"),t.appendChild(e._path),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;pt(t),e.removeInteractiveTarget(t),delete this._layers[a(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,i=e._container;i.stroked=!!r.stroke,i.filled=!!r.fill,r.stroke?(t||(t=e._stroke=Yr(\"stroke\")),i.appendChild(t),t.weight=r.weight+\"px\",t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=y(r.dashArray)?r.dashArray.join(\" \"):r.dashArray.replace(/( *, *)/g,\" \"):t.dashStyle=\"\",t.endcap=r.lineCap.replace(\"butt\",\"flat\"),t.joinstyle=r.lineJoin):t&&(i.removeChild(t),e._stroke=null),r.fill?(n||(n=e._fill=Yr(\"fill\")),i.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(i.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?\"M0 0\":\"AL \"+t.x+\",\"+t.y+\" \"+n+\",\"+r+\" 0,23592600\")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){gt(e._container)},_bringToBack:function(e){yt(e._container)}},qr=De.vml?Yr:K,Zr=Wr.extend({_initContainer:function(){this._container=qr(\"svg\"),this._container.setAttribute(\"pointer-events\",\"none\"),this._rootGroup=qr(\"g\"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pt(this._container),Ft(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Wr.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute(\"width\",t.x),n.setAttribute(\"height\",t.y)),At(n,e.min),n.setAttribute(\"viewBox\",[e.min.x,e.min.y,t.x,t.y].join(\" \")),this.fire(\"update\")}},_initPath:function(e){var t=e._path=qr(\"path\");e.options.className&&_t(t,e.options.className),e.options.interactive&&_t(t,\"leaflet-interactive\"),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){pt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[a(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute(\"stroke\",n.color),t.setAttribute(\"stroke-opacity\",n.opacity),t.setAttribute(\"stroke-width\",n.weight),t.setAttribute(\"stroke-linecap\",n.lineCap),t.setAttribute(\"stroke-linejoin\",n.lineJoin),n.dashArray?t.setAttribute(\"stroke-dasharray\",n.dashArray):t.removeAttribute(\"stroke-dasharray\"),n.dashOffset?t.setAttribute(\"stroke-dashoffset\",n.dashOffset):t.removeAttribute(\"stroke-dashoffset\")):t.setAttribute(\"stroke\",\"none\"),n.fill?(t.setAttribute(\"fill\",n.fillColor||n.color),t.setAttribute(\"fill-opacity\",n.fillOpacity),t.setAttribute(\"fill-rule\",n.fillRule||\"evenodd\")):t.setAttribute(\"fill\",\"none\"))},_updatePoly:function(e,t){this._setPath(e,X(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),r=\"a\"+n+\",\"+(Math.max(Math.round(e._radiusY),1)||n)+\" 0 1,0 \",i=e._empty()?\"M0 0\":\"M\"+(t.x-n)+\",\"+t.y+r+2*n+\",0 \"+r+2*-n+\",0 \";this._setPath(e,i)},_setPath:function(e,t){e._path.setAttribute(\"d\",t)},_bringToFront:function(e){gt(e._path)},_bringToBack:function(e){yt(e._path)}});function Kr(e){return De.svg||De.vml?new Zr(e):null}De.vml&&Zr.include($r),nn.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if(\"overlayPane\"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Vr(e)||Kr(e)}});var Xr=ur.extend({initialize:function(e,t){ur.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=F(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function Qr(e,t){return new Xr(e,t)}Zr.create=qr,Zr.pointsToPath=X,dr.geometryToLayer=hr,dr.coordsToLatLng=mr,dr.coordsToLatLngs=gr,dr.latLngToCoords=yr,dr.latLngsToCoords=vr,dr.getFeature=_r,dr.asFeature=br,nn.mergeOptions({boxZoom:!0});var Jr=gn.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on(\"unload\",this._destroy,this)},addHooks:function(){jt(this._container,\"mousedown\",this._onMouseDown,this)},removeHooks:function(){Ft(this._container,\"mousedown\",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),rt(),It(),this._startPoint=this._map.mouseEventToContainerPoint(e),jt(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=ht(\"div\",\"leaflet-zoom-box\",this._container),_t(this._container,\"leaflet-crosshair\"),this._map.fire(\"boxzoomstart\")),this._point=this._map.mouseEventToContainerPoint(e);var t=new D(this._point,this._startPoint),n=t.getSize();At(this._box,t.min),this._box.style.width=n.x+\"px\",this._box.style.height=n.y+\"px\"},_finish:function(){this._moved&&(pt(this._box),bt(this._container,\"leaflet-crosshair\")),it(),Nt(),Ft(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new B(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire(\"boxzoomend\",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});nn.addInitHook(\"addHandler\",\"boxZoom\",Jr),nn.mergeOptions({doubleClickZoom:!0});var ei=gn.extend({addHooks:function(){this._map.on(\"dblclick\",this._onDoubleClick,this)},removeHooks:function(){this._map.off(\"dblclick\",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),r=t.options.zoomDelta,i=e.originalEvent.shiftKey?n-r:n+r;\"center\"===t.options.doubleClickZoom?t.setZoom(i):t.setZoomAround(e.containerPoint,i)}});nn.addInitHook(\"addHandler\",\"doubleClickZoom\",ei),nn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ti=gn.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new _n(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on(\"predrag\",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on(\"predrag\",this._onPreDragWrap,this),e.on(\"zoomend\",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}_t(this._map._container,\"leaflet-grab leaflet-touch-drag\"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){bt(this._map._container,\"leaflet-grab\"),bt(this._map._container,\"leaflet-touch-drag\"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=F(this._map.options.maxBounds);this._offsetLimit=j(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire(\"movestart\").fire(\"dragstart\"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire(\"move\",e).fire(\"drag\",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,i=(r-t+n)%e+t-n,o=(r+t+n)%e-t-n,a=Math.abs(i+n)0?o:-o))-t;this._delta=0,this._startTime=null,a&&(\"center\"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}});nn.addInitHook(\"addHandler\",\"scrollWheelZoom\",ri);var ii=600;nn.mergeOptions({tapHold:De.touchNative&&De.safari&&De.mobile,tapTolerance:15});var oi=gn.extend({addHooks:function(){jt(this._map._container,\"touchstart\",this._onDown,this)},removeHooks:function(){Ft(this._map._container,\"touchstart\",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new M(t.clientX,t.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(jt(document,\"touchend\",$t),jt(document,\"touchend touchcancel\",this._cancelClickPrevent),this._simulateEvent(\"contextmenu\",t))}),this),ii),jt(document,\"touchend touchcancel contextmenu\",this._cancel,this),jt(document,\"touchmove\",this._onMove,this)}},_cancelClickPrevent:function e(){Ft(document,\"touchend\",$t),Ft(document,\"touchend touchcancel\",e)},_cancel:function(){clearTimeout(this._holdTimeout),Ft(document,\"touchend touchcancel contextmenu\",this._cancel,this),Ft(document,\"touchmove\",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new M(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});nn.addInitHook(\"addHandler\",\"tapHold\",oi),nn.mergeOptions({touchZoom:De.touch,bounceAtZoomLimits:!0});var ai=gn.extend({addHooks:function(){_t(this._map._container,\"leaflet-touch-zoom\"),jt(this._map._container,\"touchstart\",this._onTouchStart,this)},removeHooks:function(){bt(this._map._container,\"leaflet-touch-zoom\"),Ft(this._map._container,\"touchstart\",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),\"center\"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),jt(document,\"touchmove\",this._onTouchMove,this),jt(document,\"touchend touchcancel\",this._onTouchEnd,this),$t(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&o>1)&&(this._zoom=t._limitZoom(this._zoom)),\"center\"===t.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),w(this._animRequest);var s=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=S(s,this,!0),$t(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,w(this._animRequest),Ft(document,\"touchmove\",this._onTouchMove,this),Ft(document,\"touchend touchcancel\",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});nn.addInitHook(\"addHandler\",\"touchZoom\",ai),nn.BoxZoom=Jr,nn.DoubleClickZoom=ei,nn.Drag=ti,nn.Keyboard=ni,nn.ScrollWheelZoom=ri,nn.TapHold=oi,nn.TouchZoom=ai,e.Bounds=D,e.Browser=De,e.CRS=H,e.Canvas=Gr,e.Circle=ar,e.CircleMarker=ir,e.Class=C,e.Control=on,e.DivIcon=Rr,e.DivOverlay=Ir,e.DomEvent=en,e.DomUtil=Dt,e.Draggable=_n,e.Evented=N,e.FeatureGroup=Zn,e.GeoJSON=dr,e.GridLayer=jr,e.Handler=gn,e.Icon=Xn,e.ImageOverlay=kr,e.LatLng=z,e.LatLngBounds=B,e.Layer=Yn,e.LayerGroup=$n,e.LineUtil=Fn,e.Map=nn,e.Marker=tr,e.Mixin=yn,e.Path=rr,e.Point=M,e.PolyUtil=kn,e.Polygon=ur,e.Polyline=lr,e.Popup=Nr,e.PosAnimation=tn,e.Projection=Hn,e.Rectangle=Xr,e.Renderer=Wr,e.SVG=Zr,e.SVGOverlay=Cr,e.TileLayer=Fr,e.Tooltip=Lr,e.Transformation=Y,e.Util=A,e.VideoOverlay=wr,e.bind=i,e.bounds=j,e.canvas=Vr,e.circle=sr,e.circleMarker=or,e.control=an,e.divIcon=Dr,e.extend=n,e.featureGroup=Kn,e.geoJSON=Tr,e.geoJson=Er,e.gridLayer=Br,e.icon=Qn,e.imageOverlay=Sr,e.latLng=U,e.latLngBounds=F,e.layerGroup=qn,e.map=rn,e.marker=nr,e.point=R,e.polygon=fr,e.polyline=cr,e.popup=Mr,e.rectangle=Qr,e.setOptions=h,e.stamp=a,e.svg=Kr,e.svgOverlay=Or,e.tileLayer=zr,e.tooltip=Pr,e.transformation=$,e.version=t,e.videoOverlay=Ar;var si=window.L;e.noConflict=function(){return window.L=si,this},window.L=e}(t)},53:(e,t,n)=>{var r=n(220)(n(4759),\"DataView\");e.exports=r},1111:(e,t,n)=>{var r=n(6958),i=n(1176),o=n(1787),a=n(231),s=n(7455);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(5088),i=n(150),o=n(7889),a=n(4349),s=n(3077);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(220)(n(4759),\"Map\");e.exports=r},4467:(e,t,n)=>{var r=n(738),i=n(708),o=n(6823),a=n(475),s=n(7859);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(220)(n(4759),\"Promise\");e.exports=r},7887:(e,t,n)=>{var r=n(220)(n(4759),\"Set\");e.exports=r},6669:(e,t,n)=>{var r=n(4467),i=n(2274),o=n(9757);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t{var r=n(5661),i=n(4710),o=n(8384),a=n(7379),s=n(799),l=n(2791);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},4635:(e,t,n)=>{var r=n(4759).Symbol;e.exports=r},8246:(e,t,n)=>{var r=n(4759).Uint8Array;e.exports=r},4801:(e,t,n)=>{var r=n(220)(n(4759),\"WeakMap\");e.exports=r},5507:e=>{e.exports=function(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)}},8951:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n{var r=n(1049);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},3259:e=>{e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r{var r=n(4102),i=n(4578),o=n(2279),a=n(6794),s=n(7059),l=n(1641),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),f=!n&&!u&&a(e),d=!n&&!u&&!f&&l(e),h=n||u||f||d,p=h?r(e.length,String):[],m=p.length;for(var g in e)!t&&!c.call(e,g)||h&&(\"length\"==g||f&&(\"offset\"==g||\"parent\"==g)||d&&(\"buffer\"==g||\"byteLength\"==g||\"byteOffset\"==g)||s(g,m))||p.push(g);return p}},1570:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{var r=n(366),i=n(4206);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},7305:(e,t,n)=>{var r=n(366),i=n(4206),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},5099:(e,t,n)=>{var r=n(4206);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},291:(e,t,n)=>{var r=n(3965),i=n(5724);e.exports=function(e,t){return e&&r(t,i(t),e)}},2064:(e,t,n)=>{var r=n(3965),i=n(1235);e.exports=function(e,t){return e&&r(t,i(t),e)}},366:(e,t,n)=>{var r=n(8925);e.exports=function(e,t,n){\"__proto__\"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9645:(e,t,n)=>{var r=n(5535),i=n(8951),o=n(7305),a=n(291),s=n(2064),l=n(8984),c=n(6321),u=n(1849),f=n(3586),d=n(3660),h=n(6387),p=n(5531),m=n(7203),g=n(997),y=n(5539),v=n(2279),_=n(6794),b=n(7744),x=n(4567),T=n(5738),E=n(5724),k=n(1235),S=\"[object Arguments]\",w=\"[object Function]\",A=\"[object Object]\",C={};C[S]=C[\"[object Array]\"]=C[\"[object ArrayBuffer]\"]=C[\"[object DataView]\"]=C[\"[object Boolean]\"]=C[\"[object Date]\"]=C[\"[object Float32Array]\"]=C[\"[object Float64Array]\"]=C[\"[object Int8Array]\"]=C[\"[object Int16Array]\"]=C[\"[object Int32Array]\"]=C[\"[object Map]\"]=C[\"[object Number]\"]=C[A]=C[\"[object RegExp]\"]=C[\"[object Set]\"]=C[\"[object String]\"]=C[\"[object Symbol]\"]=C[\"[object Uint8Array]\"]=C[\"[object Uint8ClampedArray]\"]=C[\"[object Uint16Array]\"]=C[\"[object Uint32Array]\"]=!0,C[\"[object Error]\"]=C[w]=C[\"[object WeakMap]\"]=!1,e.exports=function e(t,n,O,I,N,M){var L,P=1&n,R=2&n,D=4&n;if(O&&(L=N?O(t,I,N,M):O(t)),void 0!==L)return L;if(!x(t))return t;var j=v(t);if(j){if(L=m(t),!P)return c(t,L)}else{var B=p(t),F=B==w||\"[object GeneratorFunction]\"==B;if(_(t))return l(t,P);if(B==A||B==S||F&&!N){if(L=R||F?{}:y(t),!P)return R?f(t,s(L,t)):u(t,a(L,t))}else{if(!C[B])return N?t:{};L=g(t,B,P)}}M||(M=new r);var z=M.get(t);if(z)return z;M.set(t,L),T(t)?t.forEach((function(r){L.add(e(r,n,O,r,t,M))})):b(t)&&t.forEach((function(r,i){L.set(i,e(r,n,O,i,t,M))}));var U=j?void 0:(D?R?h:d:R?k:E)(t);return i(U||t,(function(r,i){U&&(r=t[i=r]),o(L,i,e(r,n,O,i,t,M))})),L}},8230:(e,t,n)=>{var r=n(4567),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},5901:(e,t,n)=>{var r=n(6669),i=n(3107),o=n(3259),a=n(1570),s=n(5639),l=n(3445);e.exports=function(e,t,n,c){var u=-1,f=i,d=!0,h=e.length,p=[],m=t.length;if(!h)return p;n&&(t=a(t,s(n))),c?(f=o,d=!1):t.length>=200&&(f=l,d=!1,t=new r(t));e:for(;++u{var r=n(423),i=n(3267)(r);e.exports=i},900:(e,t,n)=>{var r=n(927);e.exports=function(e,t){var n=[];return r(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}},6993:e=>{e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o{var r=n(7518),i=n(7989);e.exports=function e(t,n,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l0&&o(u)?n>1?e(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},3031:(e,t,n)=>{var r=n(5211)();e.exports=r},423:(e,t,n)=>{var r=n(3031),i=n(5724);e.exports=function(e,t){return e&&r(e,t,i)}},52:(e,t,n)=>{var r=n(6463),i=n(2535);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n{var r=n(7518),i=n(2279);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},2022:(e,t,n)=>{var r=n(4635),i=n(1581),o=n(5336),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?\"[object Undefined]\":\"[object Null]\":a&&a in Object(e)?i(e):o(e)}},4591:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},1049:(e,t,n)=>{var r=n(6993),i=n(5381),o=n(7825);e.exports=function(e,t,n){return t===t?o(e,t,n):r(e,i,n)}},3012:(e,t,n)=>{var r=n(2022),i=n(9248);e.exports=function(e){return i(e)&&\"[object Arguments]\"==r(e)}},6666:(e,t,n)=>{var r=n(2022),i=n(9248);e.exports=function(e){return i(e)&&\"[object Date]\"==r(e)}},1404:(e,t,n)=>{var r=n(2130),i=n(9248);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!==t&&n!==n:r(t,n,o,a,e,s))}},2130:(e,t,n)=>{var r=n(5535),i=n(4519),o=n(1416),a=n(6195),s=n(5531),l=n(2279),c=n(6794),u=n(1641),f=\"[object Arguments]\",d=\"[object Array]\",h=\"[object Object]\",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,y){var v=l(e),_=l(t),b=v?d:s(e),x=_?d:s(t),T=(b=b==f?h:b)==h,E=(x=x==f?h:x)==h,k=b==x;if(k&&c(e)){if(!c(t))return!1;v=!0,T=!1}if(k&&!T)return y||(y=new r),v||u(e)?i(e,t,n,m,g,y):o(e,t,b,n,m,g,y);if(!(1&n)){var S=T&&p.call(e,\"__wrapped__\"),w=E&&p.call(t,\"__wrapped__\");if(S||w){var A=S?e.value():e,C=w?t.value():t;return y||(y=new r),g(A,C,n,m,y)}}return!!k&&(y||(y=new r),a(e,t,n,m,g,y))}},3530:(e,t,n)=>{var r=n(5531),i=n(9248);e.exports=function(e){return i(e)&&\"[object Map]\"==r(e)}},4489:(e,t,n)=>{var r=n(5535),i=n(1404);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a{e.exports=function(e){return e!==e}},7949:(e,t,n)=>{var r=n(3008),i=n(3306),o=n(4567),a=n(9131),s=/^\\[object .+?Constructor\\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,d=RegExp(\"^\"+u.call(f).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},3152:(e,t,n)=>{var r=n(5531),i=n(9248);e.exports=function(e){return i(e)&&\"[object Set]\"==r(e)}},8183:(e,t,n)=>{var r=n(2022),i=n(5776),o=n(9248),a={};a[\"[object Float32Array]\"]=a[\"[object Float64Array]\"]=a[\"[object Int8Array]\"]=a[\"[object Int16Array]\"]=a[\"[object Int32Array]\"]=a[\"[object Uint8Array]\"]=a[\"[object Uint8ClampedArray]\"]=a[\"[object Uint16Array]\"]=a[\"[object Uint32Array]\"]=!0,a[\"[object Arguments]\"]=a[\"[object Array]\"]=a[\"[object ArrayBuffer]\"]=a[\"[object Boolean]\"]=a[\"[object DataView]\"]=a[\"[object Date]\"]=a[\"[object Error]\"]=a[\"[object Function]\"]=a[\"[object Map]\"]=a[\"[object Number]\"]=a[\"[object Object]\"]=a[\"[object RegExp]\"]=a[\"[object Set]\"]=a[\"[object String]\"]=a[\"[object WeakMap]\"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},5127:(e,t,n)=>{var r=n(9769),i=n(4104),o=n(9002),a=n(2279),s=n(8857);e.exports=function(e){return\"function\"==typeof e?e:null==e?o:\"object\"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},7462:(e,t,n)=>{var r=n(2161),i=n(5112),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&\"constructor\"!=n&&t.push(n);return t}},8833:(e,t,n)=>{var r=n(4567),i=n(2161),o=n(7175),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)(\"constructor\"!=s||!t&&a.call(e,s))&&n.push(s);return n}},6602:(e,t,n)=>{var r=n(927),i=n(7840);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}},9769:(e,t,n)=>{var r=n(4489),i=n(953),o=n(4243);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},4104:(e,t,n)=>{var r=n(1404),i=n(7946),o=n(5321),a=n(5916),s=n(9794),l=n(4243),c=n(2535);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},7436:(e,t,n)=>{var r=n(5535),i=n(1983),o=n(3031),a=n(8994),s=n(4567),l=n(1235),c=n(9924);e.exports=function e(t,n,u,f,d){t!==n&&o(n,(function(o,l){if(d||(d=new r),s(o))a(t,n,l,u,e,f,d);else{var h=f?f(c(t,l),o,l+\"\",t,n,d):void 0;void 0===h&&(h=o),i(t,l,h)}}),l)}},8994:(e,t,n)=>{var r=n(1983),i=n(8984),o=n(8463),a=n(6321),s=n(5539),l=n(4578),c=n(2279),u=n(3815),f=n(6794),d=n(3008),h=n(4567),p=n(5461),m=n(1641),g=n(9924),y=n(8774);e.exports=function(e,t,n,v,_,b,x){var T=g(e,n),E=g(t,n),k=x.get(E);if(k)r(e,n,k);else{var S=b?b(T,E,n+\"\",e,t,x):void 0,w=void 0===S;if(w){var A=c(E),C=!A&&f(E),O=!A&&!C&&m(E);S=E,A||C||O?c(T)?S=T:u(T)?S=a(T):C?(w=!1,S=i(E,!0)):O?(w=!1,S=o(E,!0)):S=[]:p(E)||l(E)?(S=T,l(T)?S=y(T):h(T)&&!d(T)||(S=s(E))):w=!1}w&&(x.set(E,S),_(S,E,v,b,x),x.delete(E)),r(e,n,S)}}},8245:(e,t,n)=>{var r=n(1570),i=n(52),o=n(5127),a=n(6602),s=n(7311),l=n(5639),c=n(8152),u=n(9002),f=n(2279);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[u];var d=-1;t=r(t,l(o));var h=a(e,(function(e,n,i){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return s(h,(function(e,t){return c(e,t,n)}))}},5271:(e,t,n)=>{var r=n(2038),i=n(5321);e.exports=function(e,t){return r(e,t,(function(t,n){return i(e,n)}))}},2038:(e,t,n)=>{var r=n(52),i=n(6992),o=n(6463);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},4753:(e,t,n)=>{var r=n(52);e.exports=function(e){return function(t){return r(t,e)}}},516:(e,t,n)=>{var r=n(9002),i=n(4295),o=n(1043);e.exports=function(e,t){return o(i(e,t,r),e+\"\")}},6992:(e,t,n)=>{var r=n(7305),i=n(6463),o=n(7059),a=n(4567),s=n(2535);e.exports=function(e,t,n,l){if(!a(e))return e;for(var c=-1,u=(t=i(t,e)).length,f=u-1,d=e;null!=d&&++c{var r=n(6800),i=n(8925),o=n(9002),a=i?function(e,t){return i(e,\"toString\",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},4978:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},4102:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n{var r=n(4635),i=n(1570),o=n(2279),a=n(184),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if(\"string\"==typeof t)return t;if(o(t))return i(t,e)+\"\";if(a(t))return l?l.call(t):\"\";var n=t+\"\";return\"0\"==n&&1/t==-1/0?\"-0\":n}},5639:e=>{e.exports=function(e){return function(t){return e(t)}}},564:(e,t,n)=>{var r=n(6669),i=n(3107),o=n(3259),a=n(3445),s=n(3739),l=n(6557);e.exports=function(e,t,n){var c=-1,u=i,f=e.length,d=!0,h=[],p=h;if(n)d=!1,u=o;else if(f>=200){var m=t?null:s(e);if(m)return l(m);d=!1,u=a,p=new r}else p=t?[]:h;e:for(;++c{var r=n(6463),i=n(7988),o=n(8639),a=n(2535);e.exports=function(e,t){return t=r(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},3445:e=>{e.exports=function(e,t){return e.has(t)}},6463:(e,t,n)=>{var r=n(2279),i=n(5916),o=n(7044),a=n(4008);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},5871:(e,t,n)=>{var r=n(8246);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},8984:(e,t,n)=>{e=n.nmd(e);var r=n(4759),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},3863:(e,t,n)=>{var r=n(5871);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},1991:e=>{var t=/\\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},2106:(e,t,n)=>{var r=n(4635),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},8463:(e,t,n)=>{var r=n(5871);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},656:(e,t,n)=>{var r=n(184);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e===e,a=r(e),s=void 0!==t,l=null===t,c=t===t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!u&&e{var r=n(656);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=n.length;++i=l?c:c*(\"desc\"==n[i]?-1:1)}return e.index-t.index}},6321:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{var r=n(7305),i=n(366);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s{var r=n(3965),i=n(8194);e.exports=function(e,t){return r(e,i(e),t)}},3586:(e,t,n)=>{var r=n(3965),i=n(9653);e.exports=function(e,t){return r(e,i(e),t)}},4123:(e,t,n)=>{var r=n(4759)[\"__core-js_shared__\"];e.exports=r},4681:(e,t,n)=>{var r=n(516),i=n(9042);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&\"function\"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r{var r=n(7840);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},3739:(e,t,n)=>{var r=n(7887),i=n(9208),o=n(6557),a=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=a},1288:(e,t,n)=>{var r=n(5461);e.exports=function(e){return r(e)?void 0:e}},8925:(e,t,n)=>{var r=n(220),i=function(){try{var e=r(Object,\"defineProperty\");return e({},\"\",{}),e}catch(t){}}();e.exports=i},4519:(e,t,n)=>{var r=n(6669),i=n(6010),o=n(3445);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var d=l.get(e),h=l.get(t);if(d&&h)return d==t&&h==e;var p=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p{var r=n(4635),i=n(8246),o=n(4206),a=n(4519),s=n(943),l=n(6557),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,d){switch(n){case\"[object DataView]\":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case\"[object ArrayBuffer]\":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return o(+e,+t);case\"[object Error]\":return e.name==t.name&&e.message==t.message;case\"[object RegExp]\":case\"[object String]\":return e==t+\"\";case\"[object Map]\":var h=s;case\"[object Set]\":var p=1&r;if(h||(h=l),e.size!=t.size&&!p)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var g=a(h(e),h(t),r,c,f,d);return d.delete(e),g;case\"[object Symbol]\":if(u)return u.call(e)==u.call(t)}return!1}},6195:(e,t,n)=>{var r=n(3660),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var f=u;f--;){var d=c[f];if(!(l?d in t:i.call(t,d)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++f{var r=n(2964),i=n(4295),o=n(1043);e.exports=function(e){return o(i(e,void 0,r),e+\"\")}},6658:(e,t,n)=>{var r=\"object\"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3660:(e,t,n)=>{var r=n(4761),i=n(8194),o=n(5724);e.exports=function(e){return r(e,o,i)}},6387:(e,t,n)=>{var r=n(4761),i=n(9653),o=n(1235);e.exports=function(e){return r(e,o,i)}},7101:(e,t,n)=>{var r=n(4672);e.exports=function(e,t){var n=e.__data__;return r(t)?n[\"string\"==typeof t?\"string\":\"hash\"]:n.map}},953:(e,t,n)=>{var r=n(9794),i=n(5724);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},220:(e,t,n)=>{var r=n(7949),i=n(8166);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},2253:(e,t,n)=>{var r=n(2621)(Object.getPrototypeOf,Object);e.exports=r},1581:(e,t,n)=>{var r=n(4635),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},8194:(e,t,n)=>{var r=n(6860),i=n(1515),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},9653:(e,t,n)=>{var r=n(7518),i=n(2253),o=n(8194),a=n(1515),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},5531:(e,t,n)=>{var r=n(53),i=n(1465),o=n(202),a=n(7887),s=n(4801),l=n(2022),c=n(9131),u=\"[object Map]\",f=\"[object Promise]\",d=\"[object Set]\",h=\"[object WeakMap]\",p=\"[object DataView]\",m=c(r),g=c(i),y=c(o),v=c(a),_=c(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=u||o&&b(o.resolve())!=f||a&&b(new a)!=d||s&&b(new s)!=h)&&(b=function(e){var t=l(e),n=\"[object Object]\"==t?e.constructor:void 0,r=n?c(n):\"\";if(r)switch(r){case m:return p;case g:return u;case y:return f;case v:return d;case _:return h}return t}),e.exports=b},8166:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},964:(e,t,n)=>{var r=n(6463),i=n(4578),o=n(2279),a=n(7059),s=n(5776),l=n(2535);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,f=!1;++c{var r=n(3616);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},1176:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1787:(e,t,n)=>{var r=n(3616),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return\"__lodash_hash_undefined__\"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},231:(e,t,n)=>{var r=n(3616),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},7455:(e,t,n)=>{var r=n(3616);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?\"__lodash_hash_undefined__\":t,this}},7203:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&\"string\"==typeof e[0]&&t.call(e,\"index\")&&(r.index=e.index,r.input=e.input),r}},997:(e,t,n)=>{var r=n(5871),i=n(3863),o=n(1991),a=n(2106),s=n(8463);e.exports=function(e,t,n){var l=e.constructor;switch(t){case\"[object ArrayBuffer]\":return r(e);case\"[object Boolean]\":case\"[object Date]\":return new l(+e);case\"[object DataView]\":return i(e,n);case\"[object Float32Array]\":case\"[object Float64Array]\":case\"[object Int8Array]\":case\"[object Int16Array]\":case\"[object Int32Array]\":case\"[object Uint8Array]\":case\"[object Uint8ClampedArray]\":case\"[object Uint16Array]\":case\"[object Uint32Array]\":return s(e,n);case\"[object Map]\":case\"[object Set]\":return new l;case\"[object Number]\":case\"[object String]\":return new l(e);case\"[object RegExp]\":return o(e);case\"[object Symbol]\":return a(e)}}},5539:(e,t,n)=>{var r=n(8230),i=n(2253),o=n(2161);e.exports=function(e){return\"function\"!=typeof e.constructor||o(e)?{}:r(i(e))}},7989:(e,t,n)=>{var r=n(4635),i=n(4578),o=n(2279),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},7059:e=>{var t=/^(?:0|[1-9]\\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&(\"number\"==r||\"symbol\"!=r&&t.test(e))&&e>-1&&e%1==0&&e{var r=n(4206),i=n(7840),o=n(7059),a=n(4567);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!(\"number\"==s?i(n)&&o(t,n.length):\"string\"==s&&t in n)&&r(n[t],e)}},5916:(e,t,n)=>{var r=n(2279),i=n(184),o=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,a=/^\\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!(\"number\"!=n&&\"symbol\"!=n&&\"boolean\"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},4672:e=>{e.exports=function(e){var t=typeof e;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==e:null===e}},3306:(e,t,n)=>{var r=n(4123),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||\"\");return e?\"Symbol(src)_1.\"+e:\"\"}();e.exports=function(e){return!!i&&i in e}},2161:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===(\"function\"==typeof n&&n.prototype||t)}},9794:(e,t,n)=>{var r=n(4567);e.exports=function(e){return e===e&&!r(e)}},5088:e=>{e.exports=function(){this.__data__=[],this.size=0}},150:(e,t,n)=>{var r=n(5099),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},7889:(e,t,n)=>{var r=n(5099);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},4349:(e,t,n)=>{var r=n(5099);e.exports=function(e){return r(this.__data__,e)>-1}},3077:(e,t,n)=>{var r=n(5099);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},738:(e,t,n)=>{var r=n(1111),i=n(5661),o=n(1465);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},708:(e,t,n)=>{var r=n(7101);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6823:(e,t,n)=>{var r=n(7101);e.exports=function(e){return r(this,e).get(e)}},475:(e,t,n)=>{var r=n(7101);e.exports=function(e){return r(this,e).has(e)}},7859:(e,t,n)=>{var r=n(7101);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},943:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},4243:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},3734:(e,t,n)=>{var r=n(2434);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},3616:(e,t,n)=>{var r=n(220)(Object,\"create\");e.exports=r},5112:(e,t,n)=>{var r=n(2621)(Object.keys,Object);e.exports=r},7175:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2479:(e,t,n)=>{e=n.nmd(e);var r=n(6658),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require(\"util\").types;return e||a&&a.binding&&a.binding(\"util\")}catch(t){}}();e.exports=s},5336:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2621:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},4295:(e,t,n)=>{var r=n(5507),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a{var r=n(52),i=n(4978);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},4759:(e,t,n)=>{var r=n(6658),i=\"object\"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function(\"return this\")();e.exports=o},9924:e=>{e.exports=function(e,t){if((\"constructor\"!==t||\"function\"!==typeof e[t])&&\"__proto__\"!=t)return e[t]}},2274:e=>{e.exports=function(e){return this.__data__.set(e,\"__lodash_hash_undefined__\"),this}},9757:e=>{e.exports=function(e){return this.__data__.has(e)}},6557:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},1043:(e,t,n)=>{var r=n(5148),i=n(2929)(r);e.exports=i},2929:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},4710:(e,t,n)=>{var r=n(5661);e.exports=function(){this.__data__=new r,this.size=0}},8384:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7379:e=>{e.exports=function(e){return this.__data__.get(e)}},799:e=>{e.exports=function(e){return this.__data__.has(e)}},2791:(e,t,n)=>{var r=n(5661),i=n(1465),o=n(4467);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},7825:e=>{e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r{var r=n(3734),i=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,o=/\\\\(\\\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(\"\"),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,\"$1\"):n||e)})),t}));e.exports=a},2535:(e,t,n)=>{var r=n(184);e.exports=function(e){if(\"string\"==typeof e||r(e))return e;var t=e+\"\";return\"0\"==t&&1/e==-1/0?\"-0\":t}},9131:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+\"\"}catch(n){}}return\"\"}},6800:e=>{e.exports=function(e){return function(){return e}}},4206:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},3386:(e,t,n)=>{var r=n(6860),i=n(900),o=n(5127),a=n(2279);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},2964:(e,t,n)=>{var r=n(6810);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},7946:(e,t,n)=>{var r=n(52);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},5321:(e,t,n)=>{var r=n(4591),i=n(964);e.exports=function(e,t){return null!=e&&i(e,t,r)}},9002:e=>{e.exports=function(e){return e}},4578:(e,t,n)=>{var r=n(3012),i=n(9248),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,\"callee\")&&!s.call(e,\"callee\")};e.exports=l},2279:e=>{var t=Array.isArray;e.exports=t},7840:(e,t,n)=>{var r=n(3008),i=n(5776);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},3815:(e,t,n)=>{var r=n(7840),i=n(9248);e.exports=function(e){return i(e)&&r(e)}},6794:(e,t,n)=>{e=n.nmd(e);var r=n(4759),i=n(3721),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},4708:(e,t,n)=>{var r=n(6666),i=n(5639),o=n(2479),a=o&&o.isDate,s=a?i(a):r;e.exports=s},9418:(e,t,n)=>{var r=n(1404);e.exports=function(e,t){return r(e,t)}},3008:(e,t,n)=>{var r=n(2022),i=n(4567);e.exports=function(e){if(!i(e))return!1;var t=r(e);return\"[object Function]\"==t||\"[object GeneratorFunction]\"==t||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t}},5776:e=>{e.exports=function(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7744:(e,t,n)=>{var r=n(3530),i=n(5639),o=n(2479),a=o&&o.isMap,s=a?i(a):r;e.exports=s},9853:(e,t,n)=>{var r=n(2022),i=n(9248);e.exports=function(e){return\"number\"==typeof e||i(e)&&\"[object Number]\"==r(e)}},4567:e=>{e.exports=function(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}},9248:e=>{e.exports=function(e){return null!=e&&\"object\"==typeof e}},5461:(e,t,n)=>{var r=n(2022),i=n(2253),o=n(9248),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||\"[object Object]\"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&l.call(n)==u}},5738:(e,t,n)=>{var r=n(3152),i=n(5639),o=n(2479),a=o&&o.isSet,s=a?i(a):r;e.exports=s},6801:(e,t,n)=>{var r=n(2022),i=n(2279),o=n(9248);e.exports=function(e){return\"string\"==typeof e||!i(e)&&o(e)&&\"[object String]\"==r(e)}},184:(e,t,n)=>{var r=n(2022),i=n(9248);e.exports=function(e){return\"symbol\"==typeof e||i(e)&&\"[object Symbol]\"==r(e)}},1641:(e,t,n)=>{var r=n(8183),i=n(5639),o=n(2479),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},5724:(e,t,n)=>{var r=n(7405),i=n(7462),o=n(7840);e.exports=function(e){return o(e)?r(e):i(e)}},1235:(e,t,n)=>{var r=n(7405),i=n(8833),o=n(7840);e.exports=function(e){return o(e)?r(e,!0):i(e)}},7988:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},1397:function(e,t,n){var r;e=n.nmd(e),function(){var i,o=\"Expected a function\",a=\"__lodash_hash_undefined__\",s=\"__lodash_placeholder__\",l=16,c=32,u=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,g=4294967295,y=[[\"ary\",f],[\"bind\",1],[\"bindKey\",2],[\"curry\",8],[\"curryRight\",l],[\"flip\",512],[\"partial\",c],[\"partialRight\",u],[\"rearg\",d]],v=\"[object Arguments]\",_=\"[object Array]\",b=\"[object Boolean]\",x=\"[object Date]\",T=\"[object Error]\",E=\"[object Function]\",k=\"[object GeneratorFunction]\",S=\"[object Map]\",w=\"[object Number]\",A=\"[object Object]\",C=\"[object Promise]\",O=\"[object RegExp]\",I=\"[object Set]\",N=\"[object String]\",M=\"[object Symbol]\",L=\"[object WeakMap]\",P=\"[object ArrayBuffer]\",R=\"[object DataView]\",D=\"[object Float32Array]\",j=\"[object Float64Array]\",B=\"[object Int8Array]\",F=\"[object Int16Array]\",z=\"[object Int32Array]\",U=\"[object Uint8Array]\",H=\"[object Uint8ClampedArray]\",W=\"[object Uint16Array]\",G=\"[object Uint32Array]\",V=/\\b__p \\+= '';/g,Y=/\\b(__p \\+=) '' \\+/g,$=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>\"']/g,K=RegExp(q.source),X=RegExp(Z.source),Q=/<%-([\\s\\S]+?)%>/g,J=/<%([\\s\\S]+?)%>/g,ee=/<%=([\\s\\S]+?)%>/g,te=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,ne=/^\\w*$/,re=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,ie=/[\\\\^$.*+?()[\\]{}|]/g,oe=RegExp(ie.source),ae=/^\\s+/,se=/\\s/,le=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,ce=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,ue=/,? & /,fe=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,de=/[()=,{}\\[\\]\\/\\s]/,he=/\\\\(\\\\)?/g,pe=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,me=/\\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\\[object .+?Constructor\\]$/,_e=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\\d*)$/,xe=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Te=/($^)/,Ee=/['\\n\\r\\u2028\\u2029\\\\]/g,ke=\"\\\\ud800-\\\\udfff\",Se=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\",we=\"\\\\u2700-\\\\u27bf\",Ae=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Ce=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",Oe=\"\\\\ufe0e\\\\ufe0f\",Ie=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\\\\u2000-\\\\u206f \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Ne=\"['\\u2019]\",Me=\"[\"+ke+\"]\",Le=\"[\"+Ie+\"]\",Pe=\"[\"+Se+\"]\",Re=\"\\\\d+\",De=\"[\"+we+\"]\",je=\"[\"+Ae+\"]\",Be=\"[^\"+ke+Ie+Re+we+Ae+Ce+\"]\",Fe=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",ze=\"[^\"+ke+\"]\",Ue=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",He=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",We=\"[\"+Ce+\"]\",Ge=\"\\\\u200d\",Ve=\"(?:\"+je+\"|\"+Be+\")\",Ye=\"(?:\"+We+\"|\"+Be+\")\",$e=\"(?:['\\u2019](?:d|ll|m|re|s|t|ve))?\",qe=\"(?:['\\u2019](?:D|LL|M|RE|S|T|VE))?\",Ze=\"(?:\"+Pe+\"|\"+Fe+\")\"+\"?\",Ke=\"[\"+Oe+\"]?\",Xe=Ke+Ze+(\"(?:\"+Ge+\"(?:\"+[ze,Ue,He].join(\"|\")+\")\"+Ke+Ze+\")*\"),Qe=\"(?:\"+[De,Ue,He].join(\"|\")+\")\"+Xe,Je=\"(?:\"+[ze+Pe+\"?\",Pe,Ue,He,Me].join(\"|\")+\")\",et=RegExp(Ne,\"g\"),tt=RegExp(Pe,\"g\"),nt=RegExp(Fe+\"(?=\"+Fe+\")|\"+Je+Xe,\"g\"),rt=RegExp([We+\"?\"+je+\"+\"+$e+\"(?=\"+[Le,We,\"$\"].join(\"|\")+\")\",Ye+\"+\"+qe+\"(?=\"+[Le,We+Ve,\"$\"].join(\"|\")+\")\",We+\"?\"+Ve+\"+\"+$e,We+\"+\"+qe,\"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\",\"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\",Re,Qe].join(\"|\"),\"g\"),it=RegExp(\"[\"+Ge+ke+Se+Oe+\"]\"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],st=-1,lt={};lt[D]=lt[j]=lt[B]=lt[F]=lt[z]=lt[U]=lt[H]=lt[W]=lt[G]=!0,lt[v]=lt[_]=lt[P]=lt[b]=lt[R]=lt[x]=lt[T]=lt[E]=lt[S]=lt[w]=lt[A]=lt[O]=lt[I]=lt[N]=lt[L]=!1;var ct={};ct[v]=ct[_]=ct[P]=ct[R]=ct[b]=ct[x]=ct[D]=ct[j]=ct[B]=ct[F]=ct[z]=ct[S]=ct[w]=ct[A]=ct[O]=ct[I]=ct[N]=ct[M]=ct[U]=ct[H]=ct[W]=ct[G]=!0,ct[T]=ct[E]=ct[L]=!1;var ut={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},ft=parseFloat,dt=parseInt,ht=\"object\"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt=\"object\"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function(\"return this\")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,_t=vt&&ht.process,bt=function(){try{var e=yt&&yt.require&&yt.require(\"util\").types;return e||_t&&_t.binding&&_t.binding(\"util\")}catch(t){}}(),xt=bt&&bt.isArrayBuffer,Tt=bt&&bt.isDate,Et=bt&&bt.isMap,kt=bt&&bt.isRegExp,St=bt&&bt.isSet,wt=bt&&bt.isTypedArray;function At(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 Ct(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i-1}function Pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&Wt(t,e[n],0)>-1;);return n}var on=qt({\"\\xc0\":\"A\",\"\\xc1\":\"A\",\"\\xc2\":\"A\",\"\\xc3\":\"A\",\"\\xc4\":\"A\",\"\\xc5\":\"A\",\"\\xe0\":\"a\",\"\\xe1\":\"a\",\"\\xe2\":\"a\",\"\\xe3\":\"a\",\"\\xe4\":\"a\",\"\\xe5\":\"a\",\"\\xc7\":\"C\",\"\\xe7\":\"c\",\"\\xd0\":\"D\",\"\\xf0\":\"d\",\"\\xc8\":\"E\",\"\\xc9\":\"E\",\"\\xca\":\"E\",\"\\xcb\":\"E\",\"\\xe8\":\"e\",\"\\xe9\":\"e\",\"\\xea\":\"e\",\"\\xeb\":\"e\",\"\\xcc\":\"I\",\"\\xcd\":\"I\",\"\\xce\":\"I\",\"\\xcf\":\"I\",\"\\xec\":\"i\",\"\\xed\":\"i\",\"\\xee\":\"i\",\"\\xef\":\"i\",\"\\xd1\":\"N\",\"\\xf1\":\"n\",\"\\xd2\":\"O\",\"\\xd3\":\"O\",\"\\xd4\":\"O\",\"\\xd5\":\"O\",\"\\xd6\":\"O\",\"\\xd8\":\"O\",\"\\xf2\":\"o\",\"\\xf3\":\"o\",\"\\xf4\":\"o\",\"\\xf5\":\"o\",\"\\xf6\":\"o\",\"\\xf8\":\"o\",\"\\xd9\":\"U\",\"\\xda\":\"U\",\"\\xdb\":\"U\",\"\\xdc\":\"U\",\"\\xf9\":\"u\",\"\\xfa\":\"u\",\"\\xfb\":\"u\",\"\\xfc\":\"u\",\"\\xdd\":\"Y\",\"\\xfd\":\"y\",\"\\xff\":\"y\",\"\\xc6\":\"Ae\",\"\\xe6\":\"ae\",\"\\xde\":\"Th\",\"\\xfe\":\"th\",\"\\xdf\":\"ss\",\"\\u0100\":\"A\",\"\\u0102\":\"A\",\"\\u0104\":\"A\",\"\\u0101\":\"a\",\"\\u0103\":\"a\",\"\\u0105\":\"a\",\"\\u0106\":\"C\",\"\\u0108\":\"C\",\"\\u010a\":\"C\",\"\\u010c\":\"C\",\"\\u0107\":\"c\",\"\\u0109\":\"c\",\"\\u010b\":\"c\",\"\\u010d\":\"c\",\"\\u010e\":\"D\",\"\\u0110\":\"D\",\"\\u010f\":\"d\",\"\\u0111\":\"d\",\"\\u0112\":\"E\",\"\\u0114\":\"E\",\"\\u0116\":\"E\",\"\\u0118\":\"E\",\"\\u011a\":\"E\",\"\\u0113\":\"e\",\"\\u0115\":\"e\",\"\\u0117\":\"e\",\"\\u0119\":\"e\",\"\\u011b\":\"e\",\"\\u011c\":\"G\",\"\\u011e\":\"G\",\"\\u0120\":\"G\",\"\\u0122\":\"G\",\"\\u011d\":\"g\",\"\\u011f\":\"g\",\"\\u0121\":\"g\",\"\\u0123\":\"g\",\"\\u0124\":\"H\",\"\\u0126\":\"H\",\"\\u0125\":\"h\",\"\\u0127\":\"h\",\"\\u0128\":\"I\",\"\\u012a\":\"I\",\"\\u012c\":\"I\",\"\\u012e\":\"I\",\"\\u0130\":\"I\",\"\\u0129\":\"i\",\"\\u012b\":\"i\",\"\\u012d\":\"i\",\"\\u012f\":\"i\",\"\\u0131\":\"i\",\"\\u0134\":\"J\",\"\\u0135\":\"j\",\"\\u0136\":\"K\",\"\\u0137\":\"k\",\"\\u0138\":\"k\",\"\\u0139\":\"L\",\"\\u013b\":\"L\",\"\\u013d\":\"L\",\"\\u013f\":\"L\",\"\\u0141\":\"L\",\"\\u013a\":\"l\",\"\\u013c\":\"l\",\"\\u013e\":\"l\",\"\\u0140\":\"l\",\"\\u0142\":\"l\",\"\\u0143\":\"N\",\"\\u0145\":\"N\",\"\\u0147\":\"N\",\"\\u014a\":\"N\",\"\\u0144\":\"n\",\"\\u0146\":\"n\",\"\\u0148\":\"n\",\"\\u014b\":\"n\",\"\\u014c\":\"O\",\"\\u014e\":\"O\",\"\\u0150\":\"O\",\"\\u014d\":\"o\",\"\\u014f\":\"o\",\"\\u0151\":\"o\",\"\\u0154\":\"R\",\"\\u0156\":\"R\",\"\\u0158\":\"R\",\"\\u0155\":\"r\",\"\\u0157\":\"r\",\"\\u0159\":\"r\",\"\\u015a\":\"S\",\"\\u015c\":\"S\",\"\\u015e\":\"S\",\"\\u0160\":\"S\",\"\\u015b\":\"s\",\"\\u015d\":\"s\",\"\\u015f\":\"s\",\"\\u0161\":\"s\",\"\\u0162\":\"T\",\"\\u0164\":\"T\",\"\\u0166\":\"T\",\"\\u0163\":\"t\",\"\\u0165\":\"t\",\"\\u0167\":\"t\",\"\\u0168\":\"U\",\"\\u016a\":\"U\",\"\\u016c\":\"U\",\"\\u016e\":\"U\",\"\\u0170\":\"U\",\"\\u0172\":\"U\",\"\\u0169\":\"u\",\"\\u016b\":\"u\",\"\\u016d\":\"u\",\"\\u016f\":\"u\",\"\\u0171\":\"u\",\"\\u0173\":\"u\",\"\\u0174\":\"W\",\"\\u0175\":\"w\",\"\\u0176\":\"Y\",\"\\u0177\":\"y\",\"\\u0178\":\"Y\",\"\\u0179\":\"Z\",\"\\u017b\":\"Z\",\"\\u017d\":\"Z\",\"\\u017a\":\"z\",\"\\u017c\":\"z\",\"\\u017e\":\"z\",\"\\u0132\":\"IJ\",\"\\u0133\":\"ij\",\"\\u0152\":\"Oe\",\"\\u0153\":\"oe\",\"\\u0149\":\"'n\",\"\\u017f\":\"s\"}),an=qt({\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"});function sn(e){return\"\\\\\"+ut[e]}function ln(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n\",\""\":'\"',\"'\":\"'\"});var vn=function e(t){var n=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,at))).Array,r=t.Date,se=t.Error,ke=t.Function,Se=t.Math,we=t.Object,Ae=t.RegExp,Ce=t.String,Oe=t.TypeError,Ie=n.prototype,Ne=ke.prototype,Me=we.prototype,Le=t[\"__core-js_shared__\"],Pe=Ne.toString,Re=Me.hasOwnProperty,De=0,je=function(){var e=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||\"\");return e?\"Symbol(src)_1.\"+e:\"\"}(),Be=Me.toString,Fe=Pe.call(we),ze=mt._,Ue=Ae(\"^\"+Pe.call(Re).replace(ie,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),He=vt?t.Buffer:i,We=t.Symbol,Ge=t.Uint8Array,Ve=He?He.allocUnsafe:i,Ye=un(we.getPrototypeOf,we),$e=we.create,qe=Me.propertyIsEnumerable,Ze=Ie.splice,Ke=We?We.isConcatSpreadable:i,Xe=We?We.iterator:i,Qe=We?We.toStringTag:i,Je=function(){try{var e=fo(we,\"defineProperty\");return e({},\"\",{}),e}catch(t){}}(),nt=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,it=r&&r.now!==mt.Date.now&&r.now,ut=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Se.ceil,pt=Se.floor,gt=we.getOwnPropertySymbols,yt=He?He.isBuffer:i,_t=t.isFinite,bt=Ie.join,zt=un(we.keys,we),qt=Se.max,_n=Se.min,bn=r.now,xn=t.parseInt,Tn=Se.random,En=Ie.reverse,kn=fo(t,\"DataView\"),Sn=fo(t,\"Map\"),wn=fo(t,\"Promise\"),An=fo(t,\"Set\"),Cn=fo(t,\"WeakMap\"),On=fo(we,\"create\"),In=Cn&&new Cn,Nn={},Mn=Bo(kn),Ln=Bo(Sn),Pn=Bo(wn),Rn=Bo(An),Dn=Bo(Cn),jn=We?We.prototype:i,Bn=jn?jn.valueOf:i,Fn=jn?jn.toString:i;function zn(e){if(ts(e)&&!Ga(e)&&!(e instanceof Gn)){if(e instanceof Wn)return e;if(Re.call(e,\"__wrapped__\"))return Fo(e)}return new Wn(e)}var Un=function(){function e(){}return function(t){if(!es(t))return{};if($e)return $e(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Hn(){}function Wn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Gn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function lr(e,t,n,r,o,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!es(e))return e;var f=Ga(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&\"string\"==typeof e[0]&&Re.call(e,\"index\")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Oi(e,s)}else{var d=mo(e),h=d==E||d==k;if(qa(e))return Ei(e,l);if(d==A||d==v||h&&!o){if(s=c||h?{}:yo(e),!l)return c?function(e,t){return Ii(e,po(e),t)}(e,function(e,t){return e&&Ii(t,Ms(t),e)}(s,e)):function(e,t){return Ii(e,ho(e),t)}(e,ir(s,e))}else{if(!ct[d])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case P:return ki(e);case b:case x:return new r(+e);case R:return function(e,t){var n=t?ki(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case D:case j:case B:case F:case z:case U:case H:case W:case G:return Si(e,n);case S:return new r;case w:case N:return new r(e);case O:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case I:return new r;case M:return i=e,Bn?we(Bn.call(i)):{}}var i}(e,d,l)}}a||(a=new Zn);var p=a.get(e);if(p)return p;a.set(e,s),as(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):ns(e)&&e.forEach((function(r,i){s.set(i,lr(r,t,n,i,e,a))}));var m=f?i:(u?c?io:ro:c?Ms:Ns)(e);return Ot(m||e,(function(r,i){m&&(r=e[i=r]),tr(s,i,lr(r,t,n,i,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=we(e);r--;){var o=n[r],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function ur(e,t,n){if(\"function\"!=typeof e)throw new Oe(o);return No((function(){e.apply(i,n)}),t)}function fr(e,t,n,r){var i=-1,o=Lt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Rt(t,Jt(n))),r?(o=Pt,a=!1):t.length>=200&&(o=tn,a=!1,t=new qn(t));e:for(;++i-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(Sn||Yn),string:new Vn}},$n.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return co(this,e).get(e)},$n.prototype.has=function(e){return co(this,e).has(e)},$n.prototype.set=function(e,t){var n=co(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},qn.prototype.add=qn.prototype.push=function(e){return this.__data__.set(e,a),this},qn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(e,t),this.size=n.size,this};var dr=Li(br),hr=Li(xr,!0);function pr(e,t){var n=!0;return dr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function mr(e,t,n){for(var r=-1,o=e.length;++r0&&n(s)?t>1?yr(s,t-1,n,r,i):Dt(i,s):r||(i[i.length]=s)}return i}var vr=Pi(),_r=Pi(!0);function br(e,t){return e&&vr(e,t,Ns)}function xr(e,t){return e&&_r(e,t,Ns)}function Tr(e,t){return Mt(t,(function(t){return Xa(e[t])}))}function Er(e,t){for(var n=0,r=(t=_i(t,e)).length;null!=e&&nt}function Ar(e,t){return null!=e&&Re.call(e,t)}function Cr(e,t){return null!=e&&t in we(e)}function Or(e,t,r){for(var o=r?Pt:Lt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Rt(d,Jt(t))),u=_n(d.length,u),c[l]=!r&&(t||a>=120&&d.length>=120)?new qn(l&&d):i}d=e[0];var h=-1,p=c[0];e:for(;++h=s?l:l*(\"desc\"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Vr(e,t,n){for(var r=-1,i=t.length,o={};++r-1;)s!==e&&Ze.call(s,l,1),Ze.call(e,l,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;_o(i)?Ze.call(e,i,1):fi(e,i)}}return e}function qr(e,t){return e+pt(Tn()*(t-e+1))}function Zr(e,t){var n=\"\";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=pt(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Mo(Ao(e,t,rl),e+\"\")}function Xr(e){return Xn(zs(e))}function Qr(e,t){var n=zs(e);return Ro(n,sr(t,0,n.length))}function Jr(e,t,n,r){if(!es(e))return e;for(var o=-1,a=(t=_i(t,e)).length,s=a-1,l=e;null!=l&&++oo?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=n(o);++i>>1,a=e[o];null!==a&&!ls(a)&&(n?a<=t:a=200){var c=t?null:Zi(e);if(c)return dn(c);a=!1,i=tn,l=new qn}else l=t?[]:s;e:for(;++r=r?e:ri(e,t,n)}var Ti=nt||function(e){return mt.clearTimeout(e)};function Ei(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function ki(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function Si(e,t){var n=t?ki(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function wi(e,t){if(e!==t){var n=e!==i,r=null===e,o=e===e,a=ls(e),s=t!==i,l=null===t,c=t===t,u=ls(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!u&&e1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&\"function\"==typeof a?(o--,a):i,s&&bo(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=we(t);++r-1?o[a?t[s]:s]:i}}function Fi(e){return no((function(t){var n=t.length,r=n,a=Wn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if(\"function\"!=typeof s)throw new Oe(o);if(a&&!l&&\"wrapper\"==ao(s))var l=new Wn([],!0)}for(r=l?r:n;++r1&&b.reverse(),h&&u<_&&(b.length=u),this&&this!==mt&&this instanceof f&&(w=v||ji(w)),w.apply(S,b)}}function Ui(e,t){return function(n,r){return function(e,t,n,r){return br(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Hi(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;\"string\"==typeof n||\"string\"==typeof r?(n=ci(n),r=ci(r)):(n=li(n),r=li(r)),o=e(n,r)}return o}}function Wi(e){return no((function(t){return t=Rt(t,Jt(lo())),Kr((function(n){var r=this;return e(t,(function(e){return At(e,r,n)}))}))}))}function Gi(e,t){var n=(t=t===i?\" \":ci(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,ht(e/pn(t)));return ln(t)?xi(mn(r),0,e).join(\"\"):r.slice(0,e)}function Vi(e){return function(t,r,o){return o&&\"number\"!=typeof o&&bo(t,r,o)&&(r=o=i),t=hs(t),r===i?(r=t,t=0):r=hs(r),function(e,t,r,i){for(var o=-1,a=qt(ht((t-e)/(r||1)),0),s=n(a);a--;)s[i?a:++o]=e,e+=r;return s}(t,r,o=o===i?tl))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var d=-1,h=!0,p=2&n?new qn:i;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?\"& \":\"\")+t[r],t=t.join(n>2?\", \":\" \"),e.replace(le,\"{\\n/* [wrapped with \"+t+\"] */\\n\")}(r,function(e,t){return Ot(y,(function(n){var r=\"_.\"+n[0];t&n[1]&&!Lt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Po(e){var t=0,n=0;return function(){var r=bn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ro(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n1?e[t-1]:i;return n=\"function\"==typeof n?(e.pop(),n):i,oa(e,n)}));function da(e){var t=zn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var pa=no((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Gn&&_o(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[o],thisArg:i}),new Wn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var ma=Ni((function(e,t,n){Re.call(e,n)?++e[n]:or(e,n,1)}));var ga=Bi(Wo),ya=Bi(Go);function va(e,t){return(Ga(e)?Ot:dr)(e,lo(t,3))}function _a(e,t){return(Ga(e)?It:hr)(e,lo(t,3))}var ba=Ni((function(e,t,n){Re.call(e,n)?e[n].push(t):or(e,n,[t])}));var xa=Kr((function(e,t,r){var i=-1,o=\"function\"==typeof t,a=Ya(e)?n(e.length):[];return dr(e,(function(e){a[++i]=o?At(t,e,r):Ir(e,t,r)})),a})),Ta=Ni((function(e,t,n){or(e,n,t)}));function Ea(e,t){return(Ga(e)?Rt:Fr)(e,lo(t,3))}var ka=Ni((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Sa=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bo(e,t[0],t[1])?t=[]:n>2&&bo(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,yr(t,1),[])})),wa=it||function(){return mt.Date.now()};function Aa(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Xi(e,f,i,i,i,i,t)}function Ca(e,t){var n;if(\"function\"!=typeof t)throw new Oe(o);return e=ps(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Oa=Kr((function(e,t,n){var r=1;if(n.length){var i=fn(n,so(Oa));r|=c}return Xi(e,r,t,n,i)})),Ia=Kr((function(e,t,n){var r=3;if(n.length){var i=fn(n,so(Ia));r|=c}return Xi(t,r,e,n,i)}));function Na(e,t,n){var r,a,s,l,c,u,f=0,d=!1,h=!1,p=!0;if(\"function\"!=typeof e)throw new Oe(o);function m(t){var n=r,o=a;return r=a=i,f=t,l=e.apply(o,n)}function g(e){var n=e-u;return u===i||n>=t||n<0||h&&e-f>=s}function y(){var e=wa();if(g(e))return v(e);c=No(y,function(e){var n=t-(e-u);return h?_n(n,s-(e-f)):n}(e))}function v(e){return c=i,p&&r?m(e):(r=a=i,l)}function _(){var e=wa(),n=g(e);if(r=arguments,a=this,u=e,n){if(c===i)return function(e){return f=e,c=No(y,t),d?m(e):l}(u);if(h)return Ti(c),c=No(y,t),m(u)}return c===i&&(c=No(y,t)),l}return t=gs(t)||0,es(n)&&(d=!!n.leading,s=(h=\"maxWait\"in n)?qt(gs(n.maxWait)||0,t):s,p=\"trailing\"in n?!!n.trailing:p),_.cancel=function(){c!==i&&Ti(c),f=0,r=u=a=c=i},_.flush=function(){return c===i?l:v(wa())},_}var Ma=Kr((function(e,t){return ur(e,1,t)})),La=Kr((function(e,t,n){return ur(e,gs(t)||0,n)}));function Pa(e,t){if(\"function\"!=typeof e||null!=t&&\"function\"!=typeof t)throw new Oe(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Pa.Cache||$n),n}function Ra(e){if(\"function\"!=typeof e)throw new Oe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Pa.Cache=$n;var Da=bi((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Rt(t[0],Jt(lo())):Rt(yr(t,1),Jt(lo()))).length;return Kr((function(r){for(var i=-1,o=_n(r.length,n);++i=t})),Wa=Nr(function(){return arguments}())?Nr:function(e){return ts(e)&&Re.call(e,\"callee\")&&!qe.call(e,\"callee\")},Ga=n.isArray,Va=xt?Jt(xt):function(e){return ts(e)&&Sr(e)==P};function Ya(e){return null!=e&&Ja(e.length)&&!Xa(e)}function $a(e){return ts(e)&&Ya(e)}var qa=yt||gl,Za=Tt?Jt(Tt):function(e){return ts(e)&&Sr(e)==x};function Ka(e){if(!ts(e))return!1;var t=Sr(e);return t==T||\"[object DOMException]\"==t||\"string\"==typeof e.message&&\"string\"==typeof e.name&&!is(e)}function Xa(e){if(!es(e))return!1;var t=Sr(e);return t==E||t==k||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t}function Qa(e){return\"number\"==typeof e&&e==ps(e)}function Ja(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=p}function es(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}function ts(e){return null!=e&&\"object\"==typeof e}var ns=Et?Jt(Et):function(e){return ts(e)&&mo(e)==S};function rs(e){return\"number\"==typeof e||ts(e)&&Sr(e)==w}function is(e){if(!ts(e)||Sr(e)!=A)return!1;var t=Ye(e);if(null===t)return!0;var n=Re.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&Pe.call(n)==Fe}var os=kt?Jt(kt):function(e){return ts(e)&&Sr(e)==O};var as=St?Jt(St):function(e){return ts(e)&&mo(e)==I};function ss(e){return\"string\"==typeof e||!Ga(e)&&ts(e)&&Sr(e)==N}function ls(e){return\"symbol\"==typeof e||ts(e)&&Sr(e)==M}var cs=wt?Jt(wt):function(e){return ts(e)&&Ja(e.length)&&!!lt[Sr(e)]};var us=Yi(Br),fs=Yi((function(e,t){return e<=t}));function ds(e){if(!e)return[];if(Ya(e))return ss(e)?mn(e):Oi(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=mo(e);return(t==S?cn:t==I?dn:zs)(e)}function hs(e){return e?(e=gs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ps(e){var t=hs(e),n=t%1;return t===t?n?t-n:t:0}function ms(e){return e?sr(ps(e),0,g):0}function gs(e){if(\"number\"==typeof e)return e;if(ls(e))return m;if(es(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=ye.test(e);return n||_e.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function ys(e){return Ii(e,Ms(e))}function vs(e){return null==e?\"\":ci(e)}var _s=Mi((function(e,t){if(ko(t)||Ya(t))Ii(t,Ns(t),e);else for(var n in t)Re.call(t,n)&&tr(e,n,t[n])})),bs=Mi((function(e,t){Ii(t,Ms(t),e)})),xs=Mi((function(e,t,n,r){Ii(t,Ms(t),e,r)})),Ts=Mi((function(e,t,n,r){Ii(t,Ns(t),e,r)})),Es=no(ar);var ks=Kr((function(e,t){e=we(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&bo(t[0],t[1],o)&&(r=1);++n1),t})),Ii(e,io(e),n),r&&(n=lr(n,7,eo));for(var i=t.length;i--;)fi(n,t[i]);return n}));var Ds=no((function(e,t){return null==e?{}:function(e,t){return Vr(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function js(e,t){if(null==e)return{};var n=Rt(io(e),(function(e){return[e]}));return t=lo(t),Vr(e,n,(function(e,n){return t(e,n[0])}))}var Bs=Ki(Ns),Fs=Ki(Ms);function zs(e){return null==e?[]:en(e,Ns(e))}var Us=Di((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Ks(vs(e).toLowerCase())}function Ws(e){return(e=vs(e))&&e.replace(xe,on).replace(tt,\"\")}var Gs=Di((function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()})),Vs=Di((function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()})),Ys=Ri(\"toLowerCase\");var $s=Di((function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}));var qs=Di((function(e,t,n){return e+(n?\" \":\"\")+Ks(t)}));var Zs=Di((function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()})),Ks=Ri(\"toUpperCase\");function Xs(e,t,n){return e=vs(e),(t=n?i:t)===i?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Qs=Kr((function(e,t){try{return At(e,i,t)}catch(n){return Ka(n)?n:new se(n)}})),Js=no((function(e,t){return Ot(t,(function(t){t=jo(t),or(e,t,Oa(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Fi(),nl=Fi(!0);function rl(e){return e}function il(e){return Rr(\"function\"==typeof e?e:lr(e,1))}var ol=Kr((function(e,t){return function(n){return Ir(n,e,t)}})),al=Kr((function(e,t){return function(n){return Ir(e,n,t)}}));function sl(e,t,n){var r=Ns(t),i=Tr(t,r);null!=n||es(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Tr(t,Ns(t)));var o=!(es(n)&&\"chain\"in n)||!!n.chain,a=Xa(e);return Ot(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Oi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Dt([this.value()],arguments))})})),e}function ll(){}var cl=Wi(Rt),ul=Wi(Nt),fl=Wi(Ft);function dl(e){return xo(e)?$t(jo(e)):function(e){return function(t){return Er(t,e)}}(e)}var hl=Vi(),pl=Vi(!0);function ml(){return[]}function gl(){return!1}var yl=Hi((function(e,t){return e+t}),0),vl=qi(\"ceil\"),_l=Hi((function(e,t){return e/t}),1),bl=qi(\"floor\");var xl=Hi((function(e,t){return e*t}),1),Tl=qi(\"round\"),El=Hi((function(e,t){return e-t}),0);return zn.after=function(e,t){if(\"function\"!=typeof t)throw new Oe(o);return e=ps(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Aa,zn.assign=_s,zn.assignIn=bs,zn.assignInWith=xs,zn.assignWith=Ts,zn.at=Es,zn.before=Ca,zn.bind=Oa,zn.bindAll=Js,zn.bindKey=Ia,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},zn.chain=da,zn.chunk=function(e,t,r){t=(r?bo(e,t,r):t===i)?1:qt(ps(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=n(ht(o/t));ao?0:o+n),(r=r===i||r>o?o:ps(r))<0&&(r+=o),r=n>r?0:ms(r);n>>0)?(e=vs(e))&&(\"string\"==typeof t||null!=t&&!os(t))&&!(t=ci(t))&&ln(e)?xi(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if(\"function\"!=typeof e)throw new Oe(o);return t=null==t?0:qt(ps(t),0),Kr((function(n){var r=n[t],i=xi(n,0,t);return r&&Dt(i,r),At(e,this,i)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?ri(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?ri(e,0,(t=n||t===i?1:ps(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ri(e,(t=r-(t=n||t===i?1:ps(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?hi(e,lo(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?hi(e,lo(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new Oe(o);return es(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),Na(e,t,{leading:r,maxWait:t,trailing:i})},zn.thru=ha,zn.toArray=ds,zn.toPairs=Bs,zn.toPairsIn=Fs,zn.toPath=function(e){return Ga(e)?Rt(e,jo):ls(e)?[e]:Oi(Do(vs(e)))},zn.toPlainObject=ys,zn.transform=function(e,t,n){var r=Ga(e),i=r||qa(e)||cs(e);if(t=lo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:es(e)&&Xa(o)?Un(Ye(e)):{}}return(i?Ot:br)(e,(function(e,r,i){return t(n,e,r,i)})),n},zn.unary=function(e){return Aa(e,1)},zn.union=ta,zn.unionBy=na,zn.unionWith=ra,zn.uniq=function(e){return e&&e.length?ui(e):[]},zn.uniqBy=function(e,t){return e&&e.length?ui(e,lo(t,2)):[]},zn.uniqWith=function(e,t){return t=\"function\"==typeof t?t:i,e&&e.length?ui(e,i,t):[]},zn.unset=function(e,t){return null==e||fi(e,t)},zn.unzip=ia,zn.unzipWith=oa,zn.update=function(e,t,n){return null==e?e:di(e,t,vi(n))},zn.updateWith=function(e,t,n,r){return r=\"function\"==typeof r?r:i,null==e?e:di(e,t,vi(n),r)},zn.values=zs,zn.valuesIn=function(e){return null==e?[]:en(e,Ms(e))},zn.without=aa,zn.words=Xs,zn.wrap=function(e,t){return ja(vi(t),e)},zn.xor=sa,zn.xorBy=la,zn.xorWith=ca,zn.zip=ua,zn.zipObject=function(e,t){return gi(e||[],t||[],tr)},zn.zipObjectDeep=function(e,t){return gi(e||[],t||[],Jr)},zn.zipWith=fa,zn.entries=Bs,zn.entriesIn=Fs,zn.extend=bs,zn.extendWith=xs,sl(zn,zn),zn.add=yl,zn.attempt=Qs,zn.camelCase=Us,zn.capitalize=Hs,zn.ceil=vl,zn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=gs(n))===n?n:0),t!==i&&(t=(t=gs(t))===t?t:0),sr(gs(e),t,n)},zn.clone=function(e){return lr(e,4)},zn.cloneDeep=function(e){return lr(e,5)},zn.cloneDeepWith=function(e,t){return lr(e,5,t=\"function\"==typeof t?t:i)},zn.cloneWith=function(e,t){return lr(e,4,t=\"function\"==typeof t?t:i)},zn.conformsTo=function(e,t){return null==t||cr(e,t,Ns(t))},zn.deburr=Ws,zn.defaultTo=function(e,t){return null==e||e!==e?t:e},zn.divide=_l,zn.endsWith=function(e,t,n){e=vs(e),t=ci(t);var r=e.length,o=n=n===i?r:sr(ps(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},zn.eq=za,zn.escape=function(e){return(e=vs(e))&&X.test(e)?e.replace(Z,an):e},zn.escapeRegExp=function(e){return(e=vs(e))&&oe.test(e)?e.replace(ie,\"\\\\$&\"):e},zn.every=function(e,t,n){var r=Ga(e)?Nt:pr;return n&&bo(e,t,n)&&(t=i),r(e,lo(t,3))},zn.find=ga,zn.findIndex=Wo,zn.findKey=function(e,t){return Ut(e,lo(t,3),br)},zn.findLast=ya,zn.findLastIndex=Go,zn.findLastKey=function(e,t){return Ut(e,lo(t,3),xr)},zn.floor=bl,zn.forEach=va,zn.forEachRight=_a,zn.forIn=function(e,t){return null==e?e:vr(e,lo(t,3),Ms)},zn.forInRight=function(e,t){return null==e?e:_r(e,lo(t,3),Ms)},zn.forOwn=function(e,t){return e&&br(e,lo(t,3))},zn.forOwnRight=function(e,t){return e&&xr(e,lo(t,3))},zn.get=ws,zn.gt=Ua,zn.gte=Ha,zn.has=function(e,t){return null!=e&&go(e,t,Ar)},zn.hasIn=As,zn.head=Yo,zn.identity=rl,zn.includes=function(e,t,n,r){e=Ya(e)?e:zs(e),n=n&&!r?ps(n):0;var i=e.length;return n<0&&(n=qt(i+n,0)),ss(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Wt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ps(n);return i<0&&(i=qt(r+i,0)),Wt(e,t,i)},zn.inRange=function(e,t,n){return t=hs(t),n===i?(n=t,t=0):n=hs(n),function(e,t,n){return e>=_n(t,n)&&e=-9007199254740991&&e<=p},zn.isSet=as,zn.isString=ss,zn.isSymbol=ls,zn.isTypedArray=cs,zn.isUndefined=function(e){return e===i},zn.isWeakMap=function(e){return ts(e)&&mo(e)==L},zn.isWeakSet=function(e){return ts(e)&&\"[object WeakSet]\"==Sr(e)},zn.join=function(e,t){return null==e?\"\":bt.call(e,t)},zn.kebabCase=Gs,zn.last=Ko,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=ps(n))<0?qt(r+o,0):_n(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Ht(e,Vt,o,!0)},zn.lowerCase=Vs,zn.lowerFirst=Ys,zn.lt=us,zn.lte=fs,zn.max=function(e){return e&&e.length?mr(e,rl,wr):i},zn.maxBy=function(e,t){return e&&e.length?mr(e,lo(t,2),wr):i},zn.mean=function(e){return Yt(e,rl)},zn.meanBy=function(e,t){return Yt(e,lo(t,2))},zn.min=function(e){return e&&e.length?mr(e,rl,Br):i},zn.minBy=function(e,t){return e&&e.length?mr(e,lo(t,2),Br):i},zn.stubArray=ml,zn.stubFalse=gl,zn.stubObject=function(){return{}},zn.stubString=function(){return\"\"},zn.stubTrue=function(){return!0},zn.multiply=xl,zn.nth=function(e,t){return e&&e.length?Wr(e,ps(t)):i},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=ll,zn.now=wa,zn.pad=function(e,t,n){e=vs(e);var r=(t=ps(t))?pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Gi(pt(i),n)+e+Gi(ht(i),n)},zn.padEnd=function(e,t,n){e=vs(e);var r=(t=ps(t))?pn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Tn();return _n(e+o*(t-e+ft(\"1e-\"+((o+\"\").length-1))),t)}return qr(e,t)},zn.reduce=function(e,t,n){var r=Ga(e)?jt:Zt,i=arguments.length<3;return r(e,lo(t,4),n,i,dr)},zn.reduceRight=function(e,t,n){var r=Ga(e)?Bt:Zt,i=arguments.length<3;return r(e,lo(t,4),n,i,hr)},zn.repeat=function(e,t,n){return t=(n?bo(e,t,n):t===i)?1:ps(t),Zr(vs(e),t)},zn.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,o=(t=_i(t,e)).length;for(o||(o=1,e=i);++rp)return[];var n=g,r=_n(e,g);t=lo(t),e-=g;for(var i=Xt(r,t);++n=a)return e;var l=n-pn(r);if(l<1)return r;var c=s?xi(s,0,l).join(\"\"):e.slice(0,l);if(o===i)return c+r;if(s&&(l+=c.length-l),os(o)){if(e.slice(l).search(o)){var u,f=c;for(o.global||(o=Ae(o.source,vs(me.exec(o))+\"g\")),o.lastIndex=0;u=o.exec(f);)var d=u.index;c=c.slice(0,d===i?l:d)}}else if(e.indexOf(ci(o),l)!=l){var h=c.lastIndexOf(o);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=vs(e))&&K.test(e)?e.replace(q,yn):e},zn.uniqueId=function(e){var t=++De;return vs(e)+t},zn.upperCase=Zs,zn.upperFirst=Ks,zn.each=va,zn.eachRight=_a,zn.first=Yo,sl(zn,function(){var e={};return br(zn,(function(t,n){Re.call(zn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),zn.VERSION=\"4.17.21\",Ot([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],(function(e){zn[e].placeholder=zn})),Ot([\"drop\",\"take\"],(function(e,t){Gn.prototype[e]=function(n){n=n===i?1:qt(ps(n),0);var r=this.__filtered__&&!t?new Gn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?\"Right\":\"\")}),r},Gn.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}})),Ot([\"filter\",\"map\",\"takeWhile\"],(function(e,t){var n=t+1,r=1==n||3==n;Gn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:lo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ot([\"head\",\"last\"],(function(e,t){var n=\"take\"+(t?\"Right\":\"\");Gn.prototype[e]=function(){return this[n](1).value()[0]}})),Ot([\"initial\",\"tail\"],(function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Gn.prototype[e]=function(){return this.__filtered__?new Gn(this):this[n](1)}})),Gn.prototype.compact=function(){return this.filter(rl)},Gn.prototype.find=function(e){return this.filter(e).head()},Gn.prototype.findLast=function(e){return this.reverse().find(e)},Gn.prototype.invokeMap=Kr((function(e,t){return\"function\"==typeof e?new Gn(this):this.map((function(n){return Ir(n,e,t)}))})),Gn.prototype.reject=function(e){return this.filter(Ra(lo(e)))},Gn.prototype.slice=function(e,t){e=ps(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Gn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=ps(t))<0?n.dropRight(-t):n.take(t-e)),n)},Gn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Gn.prototype.toArray=function(){return this.take(g)},br(Gn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=zn[r?\"take\"+(\"last\"==t?\"Right\":\"\"):t],a=r||/^find/.test(t);o&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Gn,c=s[0],u=l||Ga(t),f=function(e){var t=o.apply(zn,Dt([e],s));return r&&d?t[0]:t};u&&n&&\"function\"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,m=l&&!h;if(!a&&u){t=m?t:new Gn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[f],thisArg:i}),new Wn(g,d)}return p&&m?e.apply(this,s):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),Ot([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ga(i)?i:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),br(Gn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+\"\";Re.call(Nn,r)||(Nn[r]=[]),Nn[r].push({name:t,func:n})}})),Nn[zi(i,2).name]=[{name:\"wrapper\",func:i}],Gn.prototype.clone=function(){var e=new Gn(this.__wrapped__);return e.__actions__=Oi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Oi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Oi(this.__views__),e},Gn.prototype.reverse=function(){if(this.__filtered__){var e=new Gn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Gn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof Hn;){var r=Fo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Gn){var t=e;return this.__actions__.length&&(t=new Gn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ea],thisArg:i}),new Wn(t,this.__chain__)}return this.thru(ea)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return pi(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Xe&&(zn.prototype[Xe]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},2434:(e,t,n)=>{var r=n(4467);function i(e,t){if(\"function\"!=typeof e||null!=t&&\"function\"!=typeof t)throw new TypeError(\"Expected a function\");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},3334:(e,t,n)=>{var r=n(7436),i=n(4681)((function(e,t,n){r(e,t,n)}));e.exports=i},9208:e=>{e.exports=function(){}},2093:(e,t,n)=>{var r=n(1570),i=n(9645),o=n(6949),a=n(6463),s=n(3965),l=n(1288),c=n(5002),u=n(6387),f=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),n),c&&(n=i(n,7,l));for(var f=t.length;f--;)o(n,t[f]);return n}));e.exports=f},5357:(e,t,n)=>{var r=n(5271),i=n(5002)((function(e,t){return null==e?{}:r(e,t)}));e.exports=i},8857:(e,t,n)=>{var r=n(9343),i=n(4753),o=n(5916),a=n(2535);e.exports=function(e){return o(e)?r(a(e)):i(e)}},5849:(e,t,n)=>{var r=n(6992);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},1261:(e,t,n)=>{var r=n(6810),i=n(8245),o=n(516),a=n(9042),s=o((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])}));e.exports=s},1515:e=>{e.exports=function(){return[]}},3721:e=>{e.exports=function(){return!1}},8774:(e,t,n)=>{var r=n(3965),i=n(1235);e.exports=function(e){return r(e,i(e))}},4008:(e,t,n)=>{var r=n(1582);e.exports=function(e){return null==e?\"\":r(e)}},561:(e,t,n)=>{var r=n(564);e.exports=function(e){return e&&e.length?r(e):[]}},5420:(e,t,n)=>{var r=n(5127),i=n(564);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},2810:(e,t,n)=>{var r=n(4008),i=0;e.exports=function(e){var t=++i;return r(e)+t}},4650:(e,t,n)=>{var r=n(5901),i=n(516),o=n(3815),a=i((function(e,t){return o(e)?r(e,t):[]}));e.exports=a},3488:(e,t,n)=>{\"use strict\";var r=n(3959);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw s.name=\"Invariant Violation\",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},1942:(e,t,n)=>{e.exports=n(3488)()},3959:e=>{\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"},8345:(e,t,n)=>{\"use strict\";var r=n(9950),i=n(5340);function o(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n