diff --git a/.Rbuildignore b/.Rbuildignore index aba9bd3..6220cea 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -11,7 +11,8 @@ gulpfile.js notes.md package.json package-lock.json -.travis.yml +^\.github$ .eslintignore .eslintrc .keys +^\.claude$ diff --git a/.github/workflows/js-tests.yaml b/.github/workflows/js-tests.yaml new file mode 100644 index 0000000..6f51489 --- /dev/null +++ b/.github/workflows/js-tests.yaml @@ -0,0 +1,249 @@ +name: JS tests + +# The procedure for accepting new visual baselines is documented in README.md, +# under "Updating visual test baselines". The comments below explain why the +# workflow is wired the way it is, not how to use it. + +on: + push: + workflow_dispatch: + inputs: + test_filter: + description: 'Run only tests matching this name pattern (jest -t). Leave blank for all.' + type: string + default: '' + update_snapshots: + description: 'Regenerate visual baselines and upload them as an artifact for you to commit' + type: boolean + default: true + +# One in-flight run per branch; a new push supersedes the previous run rather +# than stacking another full visual job behind it. +# +# Regeneration dispatches get their OWN group, so a routine push cannot cancel +# one. That matters because the baseline upload step is gated on !cancelled(), +# which is false once the concurrency manager cancels a run -- an interrupted +# regeneration would therefore discard the entire regenerated set silently, +# showing only "cancelled" in the Actions UI. On a push event the inputs +# context is empty, so the suffix evaluates to '' and pushes still supersede +# each other as intended. +concurrency: + group: js-tests-${{ github.ref }}${{ inputs.update_snapshots && '-regen' || '' }} + cancel-in-progress: true + +jobs: + unit: + name: Lint and compile + runs-on: ubuntu-24.04 + timeout-minutes: 20 + env: + # This job never launches a browser, so skip the Chromium download. + PUPPETEER_SKIP_DOWNLOAD: 'true' + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + + - name: Install dependencies + id: install + run: npm ci + + # Every test step below runs even if an earlier one failed, so a single + # failure does not hide the rest. The job still reports red. Gated on the + # install succeeding, so a broken npm ci does not cascade. + - name: Lint + if: ${{ !cancelled() && steps.install.outcome == 'success' }} + run: npx gulp lint + + # No `gulp testSpecs` step. This project has no unit specs: rhtmlBuildUtils + # points that task at specTestingDirectory ('theSrc/scripts'), where + # nothing matches '**/*.jest.test.js', and jest exits 1 on "No tests + # found". gulpfile.js therefore stubs the task out and excludes the real + # one. The four suites in theSrc/test/bin are browser tests needing a + # served page, so they are NOT unit specs -- they are already run by the + # visual job below, which passes theSrc/test/bin to jest as a second root + # (snapshotTesting.interactionTestDirectory) after compileInternal and + # connect have built and served the pages. Add this step back when real + # unit specs exist under theSrc/scripts. + # + # Deliberately NOT `gulp build`. That sequence starts with `clean`, which + # deletes ['browser', 'inst', 'man', 'R', '.tmp']. `man/moonplot.Rd`, + # `R/rhtmlMoonPlot.R` and `inst/htmlwidgets/*` are all tracked, and `man` + # is only regenerated by `makeDocs`, which shells out to + # `r --no-save <<< "library(devtools); document()"` -- unavailable here, and + # its failure is swallowed by an unconditional done(null). So `gulp build` + # would silently delete tracked files. These two tasks are the compile + # check we actually want, and neither cleans. + - name: Compile widget bundle + if: ${{ !cancelled() && steps.install.outcome == 'success' }} + run: npx gulp core compileWidgetEntryPoint + + visual: + name: Visual regression tests + runs-on: ubuntu-24.04 + timeout-minutes: 45 + # Read-only: this job neither pushes nor dispatches. Regenerated baselines + # are uploaded as an artifact for a human to commit -- see the last step. + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + + # Fonts are pinned explicitly so text metrics do not drift with the base + # image; label placement is what this widget is for, so a font change + # invalidates baselines. + # The libs are Chrome for Testing's runtime dependencies, which the base + # image does not ship in full. Note the t64 suffixes -- Ubuntu 24.04 + # renamed these packages during the 64-bit time_t transition, and the old + # names do not resolve. + - name: Install fonts and Chrome runtime libraries + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + fonts-liberation fonts-dejavu-core fonts-noto-color-emoji \ + libnss3 libatk1.0-0t64 libatk-bridge2.0-0t64 libcups2t64 \ + libatspi2.0-0t64 libasound2t64 libdrm2 libgbm1 libxkbcommon0 \ + libxcomposite1 libxdamage1 libxfixes3 libxrandr2 \ + libpango-1.0-0 libcairo2 + sudo fc-cache -f + + # puppeteer 19+ downloads browsers into ~/.cache/puppeteer via + # @puppeteer/browsers, outside node_modules, so unlike the old + # .local-chromium location it survives `npm ci` and can be cached. Keyed + # on package-lock.json because that is what pins the puppeteer version, + # and the version determines the browser build that gets downloaded. + - name: Cache Chrome for Testing + uses: actions/cache@v4 + with: + path: ~/.cache/puppeteer + key: puppeteer-${{ runner.os }}-${{ hashFiles('package-lock.json') }} + + - name: Install dependencies + id: install + run: npm ci + + # No --env flag: rhtmlBuildUtils constrains --env to ['local', 'travis'], + # so 'ci' comes from build/config/widget.config.js instead. --branch is + # likewise omitted, defaulting to master, so every branch compares + # against master's baselines. + # TEST_FILTER goes through env: rather than being interpolated into the + # run script, so the input is not substituted into the shell command here. + # NB this is mitigation at the YAML layer only -- rhtmlBuildUtils splices + # the -t value unescaped into a second command string that it runs via + # shelljs (/bin/sh -c), so a value with shell metacharacters would still + # be interpreted there. Acceptable: workflow_dispatch already requires + # write access, and anyone with that could edit this file directly. + # + # --acceptNewSnapshots=false stops jest WRITING baselines it would then + # throw away. rhtmlBuildUtils defaults that option to true, which appends + # --ci=0 to the jest command; jest then computes + # updateSnapshot = ci && !updateSnapshot ? 'none' : ... : 'new' + # (jest-config/build/normalize.js), and 'new' means jest-image-snapshot + # writes the baseline into the runner's filesystem and passes. Since the + # baseline upload step only runs on update_snapshots, that file would be + # discarded with the runner. Omitting --ci=0 lets jest infer ci=true from + # CI=true (jest-cli defaults ci to is-ci), giving updateSnapshot='none'. + # + # NB that alone does NOT make a missing baseline fail the build, which is + # why the guard step below exists. jest-image-snapshot returns + # {pass: false} for a missing baseline (src/index.js:225) by returning + # EARLY, before the block that increments snapshotState.unmatched, and + # rhtmlBuildUtils' testSnapshots wraps the expect() in a try/catch that + # swallows the error. So a missing baseline leaves the test green, the + # snapshot counters untouched, and jest exiting 0. A pixel MISMATCH does + # increment unmatched, so that alone does fail the run. + - name: Visual regression tests + if: ${{ !cancelled() && steps.install.outcome == 'success' && !inputs.update_snapshots }} + env: + TEST_FILTER: ${{ inputs.test_filter }} + run: | + if [ -n "$TEST_FILTER" ]; then + npx gulp testVisual --acceptNewSnapshots=false -t "$TEST_FILTER" + else + npx gulp testVisual --acceptNewSnapshots=false + fi + + # The catch block in rhtmlBuildUtils' testSnapshots writes an image into + # new_snapshots/ for every snapshot that either mismatched or had no + # baseline, so a non-empty new_snapshots/ is a reliable failure signal + # regardless of jest's exit code -- see the NB on the step above. Without + # this, the very first CI run (before theSrc/test/snapshots/ci exists) + # would report success having compared nothing at all. + # Skipped on a regeneration dispatch, where -u writes baselines through + # the success path and never populates new_snapshots/. + - name: Fail if any snapshot was missing or mismatched + if: ${{ !cancelled() && steps.install.outcome == 'success' && !inputs.update_snapshots }} + run: | + new_snapshots=$(find theSrc/test/snapshots/ci -path '*/new_snapshots/*' -name '*.png' 2>/dev/null) + if [ -n "$new_snapshots" ]; then + echo "::error::Snapshots without a committed baseline, or differing from it:" + echo "$new_snapshots" + echo + echo "Download the snapshot-diffs artifact to inspect them. If the new" + echo "rendering is correct, accept it by re-running this workflow with" + echo "update_snapshots ticked -- see README.md." + exit 1 + fi + echo "Every snapshot matched a committed baseline." + + # Same no---env and env:-passthrough reasoning as the step above. -u makes + # jest-image-snapshot write baselines instead of failing on mismatch. + - name: Regenerate baselines + if: ${{ !cancelled() && steps.install.outcome == 'success' && inputs.update_snapshots }} + env: + TEST_FILTER: ${{ inputs.test_filter }} + run: | + if [ -n "$TEST_FILTER" ]; then + npx gulp testVisual -u -t "$TEST_FILTER" + else + npx gulp testVisual -u + fi + + - name: Upload snapshot diffs + if: ${{ !cancelled() }} + uses: actions/upload-artifact@v4 + with: + name: snapshot-diffs + path: | + theSrc/test/snapshots/ci/**/__diff_output__/** + theSrc/test/snapshots/ci/**/new_snapshots/** + if-no-files-found: ignore + retention-days: 14 + + # Regenerated baselines are uploaded for a human to commit, NOT committed + # by CI. Two GitHub behaviours make a bot-authored head commit unusable: + # + # 1. A push made with the default GITHUB_TOKEN does not trigger any + # workflow (anti-recursion), so build-r-package.yaml -- which triggers + # only on push -- never runs on that commit. + # 2. workflow_dispatch check runs are excluded from a pull request's + # status rollup. They exist on the commit and go green, but the PR + # reports "no checks reported" and branch protection cannot see them. + # + # Net effect of committing from CI was a PR that looked untested. Uploading + # instead means the human's own push produces the full check set. + # + # Runs even if regeneration exited non-zero: a partial regeneration is + # still worth inspecting alongside the diffs. + - name: Upload regenerated baselines + if: ${{ !cancelled() && inputs.update_snapshots }} + uses: actions/upload-artifact@v4 + with: + name: regenerated-baselines + # Exclude the diagnostic directories; they are uploaded separately as + # snapshot-diffs and are gitignored, so they must not be mistaken for + # baselines when this artifact is extracted over a working tree. + path: | + theSrc/test/snapshots/ci + !theSrc/test/snapshots/ci/**/__diff_output__ + !theSrc/test/snapshots/ci/**/new_snapshots + if-no-files-found: error + retention-days: 14 diff --git a/.gitignore b/.gitignore index 198018e..3d7442b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ node_modules browser .tmp theSrc/internal_www/scratch.html -__diff_output__ \ No newline at end of file +__diff_output__ +new_snapshots \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 65fc593..0000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -language: node_js -node_js: - - "12" -sudo: required -dist: xenial -addons: - chrome: stable -# disabled S3 snapshot uploads until VIS-922 is complete -# artifacts: -# debug: false -# paths: -# - theSrc/test/snapshots/travis -before_install: - - sudo apt-get update -before_script: - - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost & -script: - - export ENV="travis" - - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) - - google-chrome-stable --version - - npm run travisTest diff --git a/DESCRIPTION b/DESCRIPTION index e8b7526..8dd54dc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -6,7 +6,8 @@ Author: Displayr Maintainer: Displayr Description: An opinionated template for the creation of html widget repositories using ES6 Imports: - htmlwidgets + htmlwidgets, + jsonlite License: GPL-3 LazyData: TRUE -RoxygenNote: 7.1.1 +RoxygenNote: 7.3.3 diff --git a/NAMESPACE b/NAMESPACE index a0e45f4..3c35a1d 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -2,3 +2,4 @@ export(moonplot) import(htmlwidgets) +import(jsonlite) diff --git a/R/rhtmlMoonPlot.R b/R/rhtmlMoonPlot.R index b0b3ebd..416ee19 100644 --- a/R/rhtmlMoonPlot.R +++ b/R/rhtmlMoonPlot.R @@ -8,6 +8,8 @@ #' #' @param coreNodes : Coordinates of nodes in the center of the moon (assumes coreNodes is transformed output of MASS::corresp then $rscore[, 1:2]) #' @param surfaceNodes : Coordinates of nodes outside of the moon (assumes surfaceNodes is transformed output of MASS::corresp then $cscore[, 1:2]) +#' @param width : Ignored but must be passed +#' @param height : Ignored but must be passed #' @param core.font.family : Font family for core labels #' @param core.font.size : Font size for core labels #' @param core.font.color : Font color for core labels @@ -39,6 +41,7 @@ #' @param link.width : The width of the label links #' #' @import htmlwidgets +#' @import jsonlite #' #' @export moonplot <- function( diff --git a/README.md b/README.md index e3be331..0d0abd1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![](https://travis-ci.org/Displayr/rhtmlMoonPlot.svg?branch=master)](https://travis-ci.org/Displayr/rhtmlMoonPlot/) +[![JS tests](https://github.com/Displayr/rhtmlMoonPlot/actions/workflows/js-tests.yaml/badge.svg?branch=master)](https://github.com/Displayr/rhtmlMoonPlot/actions/workflows/js-tests.yaml) [![Coverage Status](https://coveralls.io/repos/github/Displayr/rhtmlMoonPlot/badge.svg?branch=master)](https://coveralls.io/github/Displayr/rhtmlMoonPlot?branch=master) # rhtmlMoonPlot @@ -24,6 +24,51 @@ version of R in order to build packages from source. Rtools can be downloaded fr Specifying `dependencies = NA` in `install_github` will not install packages listed in `Suggests` in the `DESCRIPTION` file (some of which may be proprietary and unavailable for download). +## Updating visual test baselines + +The `JS tests` workflow runs automatically on every push. Its `Visual regression tests` job compares +rendered output against the committed baselines in `theSrc/test/snapshots/ci/master` (CI always +compares against `master`'s baselines, whatever branch it is running on). Any intended change to +rendering, layout or label placement will turn the job red and the baselines have to be regenerated. +A missing baseline also fails, rather than being silently accepted. + +Baselines are environment specific — locally generated snapshots (`npm run localTest`, which writes +to `theSrc/test/snapshots/local/`) will not match CI's fonts and Chromium build, so do not +copy them into `theSrc/test/snapshots/ci`. Regenerate through CI instead: + +1. **Inspect the failure first.** Download the `snapshot-diffs` artifact from the failed run and check + the `__diff_output__` images. Only regenerate once you are satisfied every diff is intended. +2. **Dispatch a regeneration run.** Actions → `JS tests` → *Run workflow*, select your branch, and + tick `update_snapshots`. Optionally set `test_filter` (passed to `jest -t`) to regenerate only the + tests matching a name pattern; leave it blank to regenerate all of them. +3. **Download the `regenerated-baselines` artifact** from that run. Its contents are rooted at + `master/`, so extract it into `theSrc/test/snapshots/ci/` — not over the repository root. +4. **Review, commit and push the changed snapshots yourself.** Use `git status` / `git diff --stat` to + confirm only the snapshots you expected have changed. + +Steps 2 and 3 can be done from the command line with the [GitHub CLI](https://cli.github.com/) +instead of the Actions UI: + +```sh +# Dispatch a regeneration run on the current branch (add -f test_filter= to narrow it) +gh workflow run "JS tests" --ref "$(git rev-parse --abbrev-ref HEAD)" -f update_snapshots=true + +# Get the run id, then follow it to completion +gh run list --workflow "JS tests" --event workflow_dispatch --limit 1 +gh run watch + +# Extract the baselines straight into place -- the artifact is rooted at master/ +gh run download -n regenerated-baselines -D theSrc/test/snapshots/ci + +# And the diffs from a failed comparison run, if you want them on disk +gh run download -n snapshot-diffs -D .tmp/diffs +``` + +CI deliberately does not commit the baselines for you. A push made with the default `GITHUB_TOKEN` +does not trigger any workflow, and `workflow_dispatch` check runs are excluded from a pull request's +status rollup — so a bot-authored head commit would leave the PR reporting no checks. Pushing the +snapshots yourself produces the full set of checks on the PR. + ## Submitting a bug report If you encounter a problem using the package, please open an [issue](https://github.com/Displayr/rhtmlMoonPlot/issues). To achieve a resolution as quickly as possible, please include a minimal, reproducible example of the bug, along with the exact error message or output you receive and the behavior you expect. Including the output of `sessionInfo()` in R can be helpful to reproduce the issue. Please see this [FAQ](https://community.rstudio.com/t/faq-whats-a-reproducible-example-reprex-and-how-do-i-create-one/5219), which has a number of useful tips on creating great reproducible examples. diff --git a/build/config/widget.config.js b/build/config/widget.config.js index 04525ee..6431823 100644 --- a/build/config/widget.config.js +++ b/build/config/widget.config.js @@ -16,7 +16,22 @@ const config = { puppeteer: { // headless: false, // if set to false, show the browser while testing // slowMo: 500, // delay each step in the browser interaction by X milliseconds + + // Ubuntu 24.04 restricts unprivileged user namespaces via AppArmor, which + // breaks Chrome's sandbox on CI runners. --disable-dev-shm-usage avoids + // crashes from the small default /dev/shm in containers. + // These must live here rather than being passed on the command line: + // testVisual only forwards branch/env/snapshotDirectory/headless/slowMo + // to the jest child process via .tmp/snapshot_dynamic_config.json. + args: ['--no-sandbox', '--disable-dev-shm-usage'], }, + + // Selects theSrc/test/snapshots/ci//. Set here rather than passed + // as --env=ci, because rhtmlBuildUtils constrains that option to + // choices: ['local', 'travis'] and yargs would reject 'ci'. Command-line + // --env still wins, so `npm run localTest` keeps using 'local'. + env: 'ci', + snapshotDelay: 500, consoleLogHandler, // pixelmatch: { diff --git a/inst/htmlwidgets/rhtmlMoonPlot.js b/inst/htmlwidgets/rhtmlMoonPlot.js index 34b180a..1589ffb 100644 --- a/inst/htmlwidgets/rhtmlMoonPlot.js +++ b/inst/htmlwidgets/rhtmlMoonPlot.js @@ -1,2 +1,49 @@ -!function r(i,o,a){function u(e,t){if(!o[e]){if(!i[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(s)return s(e,!0);throw(n=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",n}n=o[e]={exports:{}},i[e][0].call(n.exports,function(t){return u(i[e][1][t]||t)},n,n.exports,r,i,o,a)}return o[e].exports}for(var s="function"==typeof require&&require,t=0;ta;)o.call(t,r=i[a++])&&e.push(r);return e}},{"./_object-gops":79,"./_object-keys":82,"./_object-pie":83}],34:[function(t,e,n){var d=t("./_global"),g=t("./_core"),_=t("./_hide"),v=t("./_redefine"),y=t("./_ctx"),m="prototype",b=function(t,e,n){var r,i,o,a=t&b.F,u=t&b.G,s=t&b.S,c=t&b.P,l=t&b.B,f=u?d:s?d[e]||(d[e]={}):(d[e]||{})[m],h=u?g:g[e]||(g[e]={}),p=h[m]||(h[m]={});for(r in n=u?e:n)i=((o=!a&&f&&void 0!==f[r])?f:n)[r],o=l&&o?y(i,d):c&&"function"==typeof i?y(Function.call,i):i,f&&v(f,r,i,t&b.U),h[r]!=i&&_(h,r,o),c&&p[r]!=i&&(p[r]=i)};d.core=g,b.F=1,b.G=2,b.S=4,b.P=8,b.B=16,b.W=32,b.U=64,b.R=128,e.exports=b},{"./_core":24,"./_ctx":26,"./_global":42,"./_hide":44,"./_redefine":93}],35:[function(t,e,n){var r=t("./_wks")("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,!"/./"[e](n)}catch(t){}}return!0}},{"./_wks":130}],36:[function(t,e,n){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],37:[function(t,e,n){"use strict";t("./es6.regexp.exec");var s=t("./_redefine"),c=t("./_hide"),l=t("./_fails"),f=t("./_defined"),h=t("./_wks"),p=t("./_regexp-exec"),d=h("species"),g=!l(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),_=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};t="ab".split(t);return 2===t.length&&"a"===t[0]&&"b"===t[1]}();e.exports=function(n,t,e){var o,r,i=h(n),a=!l(function(){var t={};return t[i]=function(){return 7},7!=""[n](t)}),u=a?!l(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[d]=function(){return e}),e[i](""),!t}):void 0;a&&u&&("replace"!==n||g)&&("split"!==n||_)||(o=/./[i],e=(u=e(f,i,""[n],function(t,e,n,r,i){return e.exec===p?a&&!i?{done:!0,value:o.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}))[0],r=u[1],s(String.prototype,n,e),c(RegExp.prototype,i,2==t?function(t,e){return r.call(t,this,e)}:function(t){return r.call(t,this)}))}},{"./_defined":29,"./_fails":36,"./_hide":44,"./_redefine":93,"./_regexp-exec":95,"./_wks":130,"./es6.regexp.exec":227}],38:[function(t,e,n){"use strict";var r=t("./_an-object");e.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{"./_an-object":8}],39:[function(t,e,n){"use strict";var d=t("./_is-array"),g=t("./_is-object"),_=t("./_to-length"),v=t("./_ctx"),y=t("./_wks")("isConcatSpreadable");e.exports=function t(e,n,r,i,o,a,u,s){for(var c,l,f=o,h=0,p=!!u&&v(u,s,3);hdocument.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c[s][a[e]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(r[s]=i(t),n=new r,r[s]=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},{"./_an-object":8,"./_dom-create":31,"./_enum-bug-keys":32,"./_html":45,"./_object-dps":74,"./_shared-key":103}],73:[function(t,e,n){var r=t("./_an-object"),i=t("./_ie8-dom-define"),o=t("./_to-primitive"),a=Object.defineProperty;n.f=t("./_descriptors")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},{"./_an-object":8,"./_descriptors":30,"./_ie8-dom-define":46,"./_to-primitive":121}],74:[function(t,e,n){var a=t("./_object-dp"),u=t("./_an-object"),s=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){u(t);for(var n,r=s(e),i=r.length,o=0;oi;)a(r,n=e[i++])&&(~s(o,n)||o.push(n));return o}},{"./_array-includes":12,"./_has":43,"./_shared-key":103,"./_to-iobject":118}],82:[function(t,e,n){var r=t("./_object-keys-internal"),i=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return r(t,i)}},{"./_enum-bug-keys":32,"./_object-keys-internal":81}],83:[function(t,e,n){n.f={}.propertyIsEnumerable},{}],84:[function(t,e,n){var i=t("./_export"),o=t("./_core"),a=t("./_fails");e.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],r={};r[t]=e(n),i(i.S+i.F*a(function(){n(1)}),"Object",r)}},{"./_core":24,"./_export":34,"./_fails":36}],85:[function(t,e,n){var s=t("./_descriptors"),c=t("./_object-keys"),l=t("./_to-iobject"),f=t("./_object-pie").f;e.exports=function(u){return function(t){for(var e,n=l(t),r=c(n),i=r.length,o=0,a=[];o>>0||(o.test(t)?16:10))}:r},{"./_global":42,"./_string-trim":112,"./_string-ws":113}],89:[function(t,e,n){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],90:[function(t,e,n){var r=t("./_an-object"),i=t("./_is-object"),o=t("./_new-promise-capability");e.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},{"./_an-object":8,"./_is-object":53,"./_new-promise-capability":70}],91:[function(t,e,n){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],92:[function(t,e,n){var i=t("./_redefine");e.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},{"./_redefine":93}],93:[function(t,e,n){var o=t("./_global"),a=t("./_hide"),u=t("./_has"),s=t("./_uid")("src"),r=t("./_function-to-string"),i="toString",c=(""+r).split(i);t("./_core").inspectSource=function(t){return r.call(t)},(e.exports=function(t,e,n,r){var i="function"==typeof n;i&&(u(n,"name")||a(n,"name",e)),t[e]!==n&&(i&&(u(n,s)||a(n,s,t[e]?""+t[e]:c.join(String(e)))),t===o?t[e]=n:r?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,i,function(){return"function"==typeof this&&this[s]||r.call(this)})},{"./_core":24,"./_function-to-string":41,"./_global":42,"./_has":43,"./_hide":44,"./_uid":125}],94:[function(t,e,n){"use strict";var r=t("./_classof"),i=RegExp.prototype.exec;e.exports=function(t,e){var n=t.exec;if("function"==typeof n){n=n.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},{"./_classof":18}],95:[function(t,e,n){"use strict";var r,a=t("./_flags"),u=RegExp.prototype.exec,s=String.prototype.replace,i=u,c="lastIndex",l=(r=/a/,t=/b*/g,u.call(r,"a"),u.call(t,"a"),0!==r[c]||0!==t[c]),f=void 0!==/()??/.exec("")[1];(l||f)&&(i=function(t){var e,n,r,i,o=this;return f&&(n=new RegExp("^"+o.source+"$(?!\\s)",a.call(o))),l&&(e=o[c]),r=u.call(o,t),l&&r&&(o[c]=o.global?r.index+r[0].length:e),f&&r&&1"+i+""}var i=t("./_export"),o=t("./_fails"),a=t("./_defined"),u=/"/g;e.exports=function(e,t){var n={};n[e]=t(r),i(i.P+i.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3t&&(n=n.slice(0,t)),r?n+i:i+n}},{"./_defined":29,"./_string-repeat":111,"./_to-length":119}],111:[function(t,e,n){"use strict";var i=t("./_to-integer"),o=t("./_defined");e.exports=function(t){var e=String(o(this)),n="",r=i(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&r&&(n+=e);return n}},{"./_defined":29,"./_to-integer":117}],112:[function(t,e,n){var o=t("./_export"),r=t("./_defined"),a=t("./_fails"),u=t("./_string-ws"),t="["+u+"]",i=RegExp("^"+t+t+"*"),s=RegExp(t+t+"*$"),t=function(t,e,n){var r={},i=a(function(){return!!u[t]()||"​…"!="​…"[t]()}),e=r[t]=i?e(c):u[t];n&&(r[n]=e),o(o.P+o.F*i,"String",r)},c=t.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(i,"")),t=2&e?t.replace(s,""):t};e.exports=t},{"./_defined":29,"./_export":34,"./_fails":36,"./_string-ws":113}],113:[function(t,e,n){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],114:[function(t,e,n){function r(){var t,e=+this;v.hasOwnProperty(e)&&(t=v[e],delete v[e],t())}function i(t){r.call(t.data)}var o,a=t("./_ctx"),u=t("./_invoke"),s=t("./_html"),c=t("./_dom-create"),l=t("./_global"),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,g=l.Dispatch,_=0,v={},y="onreadystatechange";h&&p||(h=function(t){for(var e=[],n=1;n>1,c=23===e?k(2,-24)-k(2,-77):0,l=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===j?(i=t!=t?1:0,r=u):(r=A(T(t)/N),t*(n=k(2,-r))<1&&(r--,n*=2),2<=(t+=1<=r+s?c/n:c*k(2,1-s))*n&&(r++,n/=2),u<=r+s?(i=0,r=u):1<=r+s?(i=(t*n-1)*k(2,e),r+=s):(i=t*k(2,s-1)*k(2,e),r=0));8<=e;o[l++]=255&i,i/=256,e-=8);for(r=r<>1,u=i-7,s=n-1,n=t[s--],c=127&n;for(n>>=7;0>=-u,u+=e;0>8&255]}function q(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function W(t){return I(t,52,8)}function B(t){return I(t,23,4)}function U(t,e,n){g(t[b],e,{get:function(){return this[n]}})}function H(t,e,n,r){var i=p(+n);if(i+e>t[O])throw S(x);n=t[L]._b,t=i+t[P],e=n.slice(t,t+e);return r?e:e.reverse()}function Y(t,e,n,r,i,o){n=p(+n);if(n+e>t[O])throw S(x);for(var a=t[L]._b,u=n+t[P],s=r(+i),c=0;c$;)(V=G[$++])in w||u(w,V,C[V]);o||(X.constructor=w)}var X=new M(new w(2)),J=M[b].setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||s(M[b],{setInt8:function(t,e){J.call(this,t,e<<24>>24)},setUint8:function(t,e){J.call(this,t,e<<24>>24)}},!0)}else w=function(t){l(this,w,y);t=p(t);this._b=_.call(new Array(t),0),this[O]=t},M=function(t,e,n){l(this,M,m),l(t,w,m);var r=t[O],e=f(e);if(e<0||r>24},getUint8:function(t){return H(this,1,t)[0]},getInt16:function(t){t=H(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=H(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return R(H(this,4,t,arguments[1]))},getUint32:function(t){return R(H(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(H(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(H(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Y(this,1,t,D,e)},setUint8:function(t,e){Y(this,1,t,D,e)},setInt16:function(t,e){Y(this,2,t,z,e,arguments[2])},setUint16:function(t,e){Y(this,2,t,z,e,arguments[2])},setInt32:function(t,e){Y(this,4,t,q,e,arguments[2])},setUint32:function(t,e){Y(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){Y(this,4,t,B,e,arguments[2])},setFloat64:function(t,e){Y(this,8,t,W,e,arguments[2])}});v(w,y),v(M,m),u(M[b],a.VIEW,!0),n[y]=w,n[m]=M},{"./_an-instance":7,"./_array-fill":10,"./_descriptors":30,"./_fails":36,"./_global":42,"./_hide":44,"./_library":61,"./_object-dp":73,"./_object-gopn":78,"./_redefine-all":92,"./_set-to-string-tag":102,"./_to-index":116,"./_to-integer":117,"./_to-length":119,"./_typed":124}],124:[function(t,e,n){for(var r,i=t("./_global"),o=t("./_hide"),t=t("./_uid"),a=t("typed_array"),u=t("view"),t=!(!i.ArrayBuffer||!i.DataView),s=t,c=0,l="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(r=i[l[c++]])?(o(r.prototype,a,!0),o(r.prototype,u,!0)):s=!1;e.exports={ABV:t,CONSTR:s,TYPED:a,VIEW:u}},{"./_global":42,"./_hide":44,"./_uid":125}],125:[function(t,e,n){var r=0,i=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+i).toString(36))}},{}],126:[function(t,e,n){t=t("./_global").navigator;e.exports=t&&t.userAgent||""},{"./_global":42}],127:[function(t,e,n){var r=t("./_is-object");e.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},{"./_is-object":53}],128:[function(t,e,n){var r=t("./_global"),i=t("./_core"),o=t("./_library"),a=t("./_wks-ext"),u=t("./_object-dp").f;e.exports=function(t){var e=i.Symbol||(i.Symbol=!o&&r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},{"./_core":24,"./_global":42,"./_library":61,"./_object-dp":73,"./_wks-ext":129}],129:[function(t,e,n){n.f=t("./_wks")},{"./_wks":130}],130:[function(t,e,n){var r=t("./_shared")("wks"),i=t("./_uid"),o=t("./_global").Symbol,a="function"==typeof o;(e.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},{"./_global":42,"./_shared":104,"./_uid":125}],131:[function(t,e,n){var r=t("./_classof"),i=t("./_wks")("iterator"),o=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},{"./_classof":18,"./_core":24,"./_iterators":60,"./_wks":130}],132:[function(t,e,n){var r=t("./_export"),i=t("./_replacer")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},{"./_export":34,"./_replacer":96}],133:[function(t,e,n){var r=t("./_export");r(r.P,"Array",{copyWithin:t("./_array-copy-within")}),t("./_add-to-unscopables")("copyWithin")},{"./_add-to-unscopables":5,"./_array-copy-within":9,"./_export":34}],134:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_array-methods")(4);r(r.P+r.F*!t("./_strict-method")([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},{"./_array-methods":13,"./_export":34,"./_strict-method":106}],135:[function(t,e,n){var r=t("./_export");r(r.P,"Array",{fill:t("./_array-fill")}),t("./_add-to-unscopables")("fill")},{"./_add-to-unscopables":5,"./_array-fill":10,"./_export":34}],136:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_array-methods")(2);r(r.P+r.F*!t("./_strict-method")([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},{"./_array-methods":13,"./_export":34,"./_strict-method":106}],137:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_array-methods")(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,1=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":5,"./_iter-define":57,"./_iter-step":59,"./_iterators":60,"./_to-iobject":118}],144:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_to-iobject"),o=[].join;r(r.P+r.F*(t("./_iobject")!=Object||!t("./_strict-method")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},{"./_export":34,"./_iobject":49,"./_strict-method":106,"./_to-iobject":118}],145:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_to-iobject"),o=t("./_to-integer"),a=t("./_to-length"),u=[].lastIndexOf,s=!!u&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(s||!t("./_strict-method")(u)),"Array",{lastIndexOf:function(t){if(s)return u.apply(this,arguments)||0;var e=i(this),n=a(e.length),r=n-1;for((r=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{"./_export":34}],168:[function(t,e,n){var t=t("./_export"),r=Math.exp;t(t.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},{"./_export":34}],169:[function(t,e,n){var r=t("./_export"),t=t("./_math-expm1");r(r.S+r.F*(t!=Math.expm1),"Math",{expm1:t})},{"./_export":34,"./_math-expm1":62}],170:[function(t,e,n){var r=t("./_export");r(r.S,"Math",{fround:t("./_math-fround")})},{"./_export":34,"./_math-fround":63}],171:[function(t,e,n){var t=t("./_export"),s=Math.abs;t(t.S,"Math",{hypot:function(t,e){for(var n,r,i=0,o=0,a=arguments.length,u=0;o>>16)*e+t*(n&i>>>16)<<16>>>0)}})},{"./_export":34,"./_fails":36}],173:[function(t,e,n){t=t("./_export");t(t.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{"./_export":34}],174:[function(t,e,n){var r=t("./_export");r(r.S,"Math",{log1p:t("./_math-log1p")})},{"./_export":34,"./_math-log1p":64}],175:[function(t,e,n){t=t("./_export");t(t.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{"./_export":34}],176:[function(t,e,n){var r=t("./_export");r(r.S,"Math",{sign:t("./_math-sign")})},{"./_export":34,"./_math-sign":66}],177:[function(t,e,n){var r=t("./_export"),i=t("./_math-expm1"),o=Math.exp;r(r.S+r.F*t("./_fails")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{"./_export":34,"./_fails":36,"./_math-expm1":62}],178:[function(t,e,n){var r=t("./_export"),i=t("./_math-expm1"),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},{"./_export":34,"./_math-expm1":62}],179:[function(t,e,n){t=t("./_export");t(t.S,"Math",{trunc:function(t){return(0w;w++)o(g,m=x[w])&&!o(b,m)&&h(b,m,f(g,m));(b.prototype=_).constructor=b,t("./_redefine")(i,d,b)}},{"./_cof":19,"./_descriptors":30,"./_fails":36,"./_global":42,"./_has":43,"./_inherit-if-required":47,"./_object-create":72,"./_object-dp":73,"./_object-gopd":76,"./_object-gopn":78,"./_redefine":93,"./_string-trim":112,"./_to-primitive":121}],181:[function(t,e,n){t=t("./_export");t(t.S,"Number",{EPSILON:Math.pow(2,-52)})},{"./_export":34}],182:[function(t,e,n){var r=t("./_export"),i=t("./_global").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},{"./_export":34,"./_global":42}],183:[function(t,e,n){var r=t("./_export");r(r.S,"Number",{isInteger:t("./_is-integer")})},{"./_export":34,"./_is-integer":52}],184:[function(t,e,n){t=t("./_export");t(t.S,"Number",{isNaN:function(t){return t!=t}})},{"./_export":34}],185:[function(t,e,n){var r=t("./_export"),i=t("./_is-integer"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},{"./_export":34,"./_is-integer":52}],186:[function(t,e,n){t=t("./_export");t(t.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{"./_export":34}],187:[function(t,e,n){t=t("./_export");t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{"./_export":34}],188:[function(t,e,n){var r=t("./_export"),t=t("./_parse-float");r(r.S+r.F*(Number.parseFloat!=t),"Number",{parseFloat:t})},{"./_export":34,"./_parse-float":87}],189:[function(t,e,n){var r=t("./_export"),t=t("./_parse-int");r(r.S+r.F*(Number.parseInt!=t),"Number",{parseInt:t})},{"./_export":34,"./_parse-int":88}],190:[function(t,e,n){"use strict";function a(t,e){for(var n=-1,r=e;++n<6;)r+=t*h[n],h[n]=r%1e7,r=o(r/1e7)}function u(t){for(var e=6,n=0;0<=--e;)n+=h[e],h[e]=o(n/t),n=n%t*1e7}function s(){for(var t,e=6,n="";0<=--e;)""===n&&0!==e&&0===h[e]||(t=String(h[e]),n=""===n?t:n+f.call("0",7-t.length)+t);return n}var r=t("./_export"),c=t("./_to-integer"),l=t("./_a-number-value"),f=t("./_string-repeat"),i=1..toFixed,o=Math.floor,h=[0,0,0,0,0,0],p="Number.toFixed: incorrect invocation!",d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)};r(r.P+r.F*(!!i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!t("./_fails")(function(){i.call({})})),"Number",{toFixed:function(t){var e,n,r=l(this,p),i=c(t),o="",t="0";if(i<0||20t;)!function(t){var e,n,r,i=c?t.ok:t.fail,o=t.resolve,a=t.reject,u=t.domain;try{i?(c||(2==l._h&&R(l),l._h=1),!0===i?e=s:(u&&u.enter(),e=i(s),u&&(u.exit(),r=!0)),e===t.promise?a(k("Promise-chain cycle")):(n=f(e))?n.call(e,o,a):o(e)):a(s)}catch(t){u&&!r&&u.exit(),a(t)}}(n[t++]);l._c=[],l._n=!1,e&&!l._h&&I(l)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),i(e,!0))}var a,u,s,c,l=n("./_library"),h=n("./_global"),p=n("./_ctx"),d=n("./_classof"),g=n("./_export"),_=n("./_is-object"),v=n("./_a-function"),y=n("./_an-instance"),m=n("./_for-of"),b=n("./_species-constructor"),x=n("./_task").set,w=n("./_microtask")(),M=n("./_new-promise-capability"),S=n("./_perform"),j=n("./_user-agent"),C=n("./_promise-resolve"),E="Promise",k=h.TypeError,A=h.process,T=A&&A.versions,N=T&&T.v8||"",L=h[E],O="process"==d(A),P=u=M.f,d=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[n("./_wks")("species")]=function(t){t(r,r)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(r)instanceof e&&0!==N.indexOf("6.6")&&-1===j.indexOf("Chrome/66")}catch(t){}}(),I=function(i){x.call(h,function(){var t,e,n=i._v,r=F(i);if(r&&(t=S(function(){O?A.emit("unhandledRejection",n,i):(e=h.onunhandledrejection)?e({promise:i,reason:n}):(e=h.console)&&e.error&&e.error("Unhandled promise rejection",n)}),i._h=O||F(i)?2:1),i._a=void 0,r&&t.e)throw t.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(e){x.call(h,function(){var t;O?A.emit("rejectionHandled",e):(t=h.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw k("Promise can't be resolved itself");(n=f(t))?w(function(){var e={_w:r,_d:!1};try{n.call(t,p(D,e,1),p(o,e,1))}catch(t){o.call(e,t)}}):(r._v=t,r._s=1,i(r,!1))}catch(t){o.call({_w:r,_d:!1},t)}}};d||(L=function(t){y(this,L,E,"_h"),v(t),a.call(this);try{t(p(D,this,1),p(o,this,1))}catch(t){o.call(this,t)}},(a=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("./_redefine-all")(L.prototype,{then:function(t,e){var n=P(b(this,L));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&i(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new a;this.promise=t,this.resolve=p(D,t,1),this.reject=p(o,t,1)},M.f=P=function(t){return t===L||t===c?new s:u(t)}),g(g.G+g.W+g.F*!d,{Promise:L}),n("./_set-to-string-tag")(L,E),n("./_set-species")(E),c=n("./_core")[E],g(g.S+g.F*!d,E,{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),g(g.S+g.F*(l||!d),E,{resolve:function(t){return C(l&&this===c?L:this,t)}}),g(g.S+g.F*!(d&&n("./_iter-detect")(function(t){L.all(t).catch(r)})),E,{all:function(t){var a=this,e=P(a),u=e.resolve,s=e.reject,n=S(function(){var r=[],i=0,o=1;m(t,!1,function(t){var e=i++,n=!1;r.push(void 0),o++,a.resolve(t).then(function(t){n||(n=!0,r[e]=t,--o||u(r))},s)}),--o||u(r)});return n.e&&s(n.v),e.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=S(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},{"./_a-function":3,"./_an-instance":7,"./_classof":18,"./_core":24,"./_ctx":26,"./_export":34,"./_for-of":40,"./_global":42,"./_is-object":53,"./_iter-detect":58,"./_library":61,"./_microtask":69,"./_new-promise-capability":70,"./_perform":89,"./_promise-resolve":90,"./_redefine-all":92,"./_set-species":101,"./_set-to-string-tag":102,"./_species-constructor":105,"./_task":114,"./_user-agent":126,"./_wks":130}],212:[function(t,e,n){var r=t("./_export"),i=t("./_a-function"),o=t("./_an-object"),a=(t("./_global").Reflect||{}).apply,u=Function.apply;r(r.S+r.F*!t("./_fails")(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){t=i(t),n=o(n);return a?a(t,e,n):u.call(t,e,n)}})},{"./_a-function":3,"./_an-object":8,"./_export":34,"./_fails":36,"./_global":42}],213:[function(t,e,n){var r=t("./_export"),i=t("./_object-create"),o=t("./_a-function"),a=t("./_an-object"),u=t("./_is-object"),s=t("./_fails"),c=t("./_bind"),l=(t("./_global").Reflect||{}).construct,f=s(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!s(function(){l(function(){})});r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}r=n.prototype,n=i(u(r)?r:Object.prototype),r=Function.apply.call(t,n,e);return u(r)?r:n}})},{"./_a-function":3,"./_an-object":8,"./_bind":17,"./_export":34,"./_fails":36,"./_global":42,"./_is-object":53,"./_object-create":72}],214:[function(t,e,n){var r=t("./_object-dp"),i=t("./_export"),o=t("./_an-object"),a=t("./_to-primitive");i(i.S+i.F*t("./_fails")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},{"./_an-object":8,"./_export":34,"./_fails":36,"./_object-dp":73,"./_to-primitive":121}],215:[function(t,e,n){var r=t("./_export"),i=t("./_object-gopd").f,o=t("./_an-object");r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},{"./_an-object":8,"./_export":34,"./_object-gopd":76}],216:[function(t,e,n){"use strict";function r(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var i=t("./_export"),o=t("./_an-object");t("./_iter-create")(r,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new r(t)}})},{"./_an-object":8,"./_export":34,"./_iter-create":56}],217:[function(t,e,n){var r=t("./_object-gopd"),i=t("./_export"),o=t("./_an-object");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},{"./_an-object":8,"./_export":34,"./_object-gopd":76}],218:[function(t,e,n){var r=t("./_export"),i=t("./_object-gpo"),o=t("./_an-object");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},{"./_an-object":8,"./_export":34,"./_object-gpo":80}],219:[function(t,e,n){var o=t("./_object-gopd"),a=t("./_object-gpo"),u=t("./_has"),r=t("./_export"),s=t("./_is-object"),c=t("./_an-object");r(r.S,"Reflect",{get:function t(e,n){var r,i=arguments.length<3?e:arguments[2];return c(e)===i?e[n]:(r=o.f(e,n))?u(r,"value")?r.value:void 0!==r.get?r.get.call(i):void 0:s(r=a(e))?t(r,n,i):void 0}})},{"./_an-object":8,"./_export":34,"./_has":43,"./_is-object":53,"./_object-gopd":76,"./_object-gpo":80}],220:[function(t,e,n){t=t("./_export");t(t.S,"Reflect",{has:function(t,e){return e in t}})},{"./_export":34}],221:[function(t,e,n){var r=t("./_export"),i=t("./_an-object"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},{"./_an-object":8,"./_export":34}],222:[function(t,e,n){var r=t("./_export");r(r.S,"Reflect",{ownKeys:t("./_own-keys")})},{"./_export":34,"./_own-keys":86}],223:[function(t,e,n){var r=t("./_export"),i=t("./_an-object"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},{"./_an-object":8,"./_export":34}],224:[function(t,e,n){var r=t("./_export"),i=t("./_set-proto");i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},{"./_export":34,"./_set-proto":100}],225:[function(t,e,n){var u=t("./_object-dp"),s=t("./_object-gopd"),c=t("./_object-gpo"),l=t("./_has"),r=t("./_export"),f=t("./_property-desc"),h=t("./_an-object"),p=t("./_is-object");r(r.S,"Reflect",{set:function t(e,n,r){var i,o=arguments.length<4?e:arguments[3],a=s.f(h(e),n);if(!a){if(p(i=c(e)))return t(i,n,r,o);a=f(0)}if(l(a,"value")){if(!1===a.writable||!p(o))return!1;if(i=s.f(o,n)){if(i.get||i.set||!1===i.writable)return!1;i.value=r,u.f(o,n,i)}else u.f(o,n,f(0,r));return!0}return void 0!==a.set&&(a.set.call(o,r),!0)}})},{"./_an-object":8,"./_export":34,"./_has":43,"./_is-object":53,"./_object-dp":73,"./_object-gopd":76,"./_object-gpo":80,"./_property-desc":91}],226:[function(t,e,n){var r=t("./_global"),o=t("./_inherit-if-required"),i=t("./_object-dp").f,a=t("./_object-gopn").f,u=t("./_is-regexp"),s=t("./_flags"),c=d=r.RegExp,l=d.prototype,f=/a/g,h=/a/g,p=new d(f)!==f;if(t("./_descriptors")&&(!p||t("./_fails")(function(){return h[t("./_wks")("match")]=!1,d(f)!=f||d(h)==h||"/a/i"!=d(f,"i")}))){for(var d=function(t,e){var n=this instanceof d,r=u(t),i=void 0===e;return!n&&r&&t.constructor===d&&i?t:o(p?new c(r&&!i?t.source:t,e):c((r=t instanceof d)?t.source:t,r&&i?s.call(t):e),n?this:l,d)},g=a(c),_=0;g.length>_;)!function(e){e in d||i(d,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(g[_++]);(l.constructor=d).prototype=l,t("./_redefine")(r,"RegExp",d)}t("./_set-species")("RegExp")},{"./_descriptors":30,"./_fails":36,"./_flags":38,"./_global":42,"./_inherit-if-required":47,"./_is-regexp":54,"./_object-dp":73,"./_object-gopn":78,"./_redefine":93,"./_set-species":101,"./_wks":130}],227:[function(t,e,n){"use strict";var r=t("./_regexp-exec");t("./_export")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},{"./_export":34,"./_regexp-exec":95}],228:[function(t,e,n){t("./_descriptors")&&"g"!=/./g.flags&&t("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:t("./_flags")})},{"./_descriptors":30,"./_flags":38,"./_object-dp":73}],229:[function(t,e,n){"use strict";var l=t("./_an-object"),f=t("./_to-length"),h=t("./_advance-string-index"),p=t("./_regexp-exec-abstract");t("./_fix-re-wks")("match",1,function(r,i,s,c){return[function(t){var e=r(this),n=null==t?void 0:t[i];return void 0!==n?n.call(t,e):new RegExp(t)[i](String(e))},function(t){var e=c(s,t,this);if(e.done)return e.value;var n=l(t),r=String(this);if(!n.global)return p(n,r);for(var i=n.unicode,o=[],a=n.lastIndex=0;null!==(u=p(n,r));){var u=String(u[0]);""===(o[a]=u)&&(n.lastIndex=h(r,f(n.lastIndex),i)),a++}return 0===a?null:o}]})},{"./_advance-string-index":6,"./_an-object":8,"./_fix-re-wks":37,"./_regexp-exec-abstract":94,"./_to-length":119}],230:[function(t,e,n){"use strict";var w=t("./_an-object"),M=t("./_to-object"),S=t("./_to-length"),j=t("./_to-integer"),C=t("./_advance-string-index"),E=t("./_regexp-exec-abstract"),k=Math.max,A=Math.min,T=Math.floor,N=/\$([$&`']|\d\d?|<[^>]*>)/g,L=/\$([$&`']|\d\d?)/g;t("./_fix-re-wks")("replace",2,function(i,o,b,x){return[function(t,e){var n=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):b.call(String(n),t,e)},function(t,e){var n=x(b,t,this,e);if(n.done)return n.value;var r=w(t),i=String(this),o="function"==typeof e;o||(e=String(e));var a,u=r.global;u&&(a=r.unicode,r.lastIndex=0);for(var s=[];;){var c=E(r,i);if(null===c)break;if(s.push(c),!u)break;""===String(c[0])&&(r.lastIndex=C(i,S(r.lastIndex),a))}for(var l,f="",h=0,p=0;p>>0,l=new RegExp(t.source,u+"g");(r=h.call(l,n))&&!(s<(i=l[S])&&(a.push(n.slice(s,r.index)),1=c));)l[S]===r.index&&l[S]++;return s===n[M]?!o&&l.test("")||a.push(""):a.push(n.slice(s)),a[M]>c?a.slice(0,c):a}:"0"[a](void 0,0)[M]?function(t,e){return void 0===t&&0===e?[]:d.call(this,t,e)}:d;return[function(t,e){var n=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):_.call(String(n),t,e)},function(t,e){var n=g(_,t,this,e,_!==d);if(n.done)return n.value;var r=v(t),i=String(this),n=y(r,RegExp),o=r.unicode,t=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(C?"y":"g"),a=new n(C?r:"^(?:"+r.source+")",t),u=void 0===e?j:e>>>0;if(0==u)return[];if(0===i.length)return null===x(a,i)?[i]:[];for(var s=0,c=0,l=[];c>10),e%1024+56320))}return n.join("")}})},{"./_export":34,"./_to-absolute-index":115}],245:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_string-context"),o="includes";r(r.P+r.F*t("./_fails-is-regexp")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,1=t.length?{value:void 0,done:!0}:(e=r(t,e),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":57,"./_string-at":107}],248:[function(t,e,n){"use strict";t("./_string-html")("link",function(e){return function(t){return e(this,"a","href",t)}})},{"./_string-html":109}],249:[function(t,e,n){var r=t("./_export"),a=t("./_to-iobject"),u=t("./_to-length");r(r.S,"String",{raw:function(t){for(var e=a(t.raw),n=u(e.length),r=arguments.length,i=[],o=0;oi;)s(Y,e=n[i++])||e==W||e==h||r.push(e);return r},$=function(t){for(var e,n=t===X,r=F(n?V:j(t)),i=[],o=0;r.length>o;)!s(Y,e=r[o++])||n&&!s(X,e)||i.push(Y[e]);return i};G||(f((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=_(0et;)v(tt[et++]);for(var nt=O(v.store),rt=0;nt.length>rt;)m(nt[rt++]);l(l.S+l.F*!G,"Symbol",{for:function(t){return s(H,t+="")?H[t]:H[t]=R(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in H)if(H[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),l(l.S+l.F*!G,"Object",{create:function(t,e){return void 0===e?k(t):i(k(t),e)},defineProperty:K,defineProperties:i,getOwnPropertyDescriptor:a,getOwnPropertyNames:d,getOwnPropertySymbols:$});$=p(function(){N.f(1)});l(l.S+l.F*$,"Object",{getOwnPropertySymbols:function(t){return N.f(S(t))}}),D&&l(l.S+l.F*(!G||p(function(){var t=R();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;i>>=0,n>>>=0;return(e>>>0)+(r>>>0)+((t&n|(t|n)&~(t+n>>>0))>>>31)|0}})},{"./_export":34}],285:[function(t,e,n){t=t("./_export");t(t.S,"Math",{imulh:function(t,e){var n=+t,r=+e,t=65535&n,e=65535&r,n=n>>16,r=r>>16,e=(n*e>>>0)+(t*e>>>16);return n*r+(e>>16)+((t*r>>>0)+(65535&e)>>16)}})},{"./_export":34}],286:[function(t,e,n){t=t("./_export");t(t.S,"Math",{isubh:function(t,e,n,r){t>>>=0,n>>>=0;return(e>>>0)-(r>>>0)-((~t&n|~(t^n)&t-n>>>0)>>>31)|0}})},{"./_export":34}],287:[function(t,e,n){t=t("./_export");t(t.S,"Math",{RAD_PER_DEG:180/Math.PI})},{"./_export":34}],288:[function(t,e,n){var t=t("./_export"),r=Math.PI/180;t(t.S,"Math",{radians:function(t){return t*r}})},{"./_export":34}],289:[function(t,e,n){var r=t("./_export");r(r.S,"Math",{scale:t("./_math-scale")})},{"./_export":34,"./_math-scale":65}],290:[function(t,e,n){t=t("./_export");t(t.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:0>>16,r=r>>>16,e=(n*e>>>0)+(t*e>>>16);return n*r+(e>>>16)+((t*r>>>0)+(65535&e)>>>16)}})},{"./_export":34}],292:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_to-object"),o=t("./_a-function"),a=t("./_object-dp");t("./_descriptors")&&r(r.P+t("./_object-forced-pam"),"Object",{__defineGetter__:function(t,e){a.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},{"./_a-function":3,"./_descriptors":30,"./_export":34,"./_object-dp":73,"./_object-forced-pam":75,"./_to-object":120}],293:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_to-object"),o=t("./_a-function"),a=t("./_object-dp");t("./_descriptors")&&r(r.P+t("./_object-forced-pam"),"Object",{__defineSetter__:function(t,e){a.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},{"./_a-function":3,"./_descriptors":30,"./_export":34,"./_object-dp":73,"./_object-forced-pam":75,"./_to-object":120}],294:[function(t,e,n){var r=t("./_export"),i=t("./_object-to-array")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},{"./_export":34,"./_object-to-array":85}],295:[function(t,e,n){var r=t("./_export"),s=t("./_own-keys"),c=t("./_to-iobject"),l=t("./_object-gopd"),f=t("./_create-property");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=c(t),i=l.f,o=s(r),a={},u=0;o.length>u;)void 0!==(n=i(r,e=o[u++]))&&f(a,e,n);return a}})},{"./_create-property":25,"./_export":34,"./_object-gopd":76,"./_own-keys":86,"./_to-iobject":118}],296:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_to-object"),o=t("./_to-primitive"),a=t("./_object-gpo"),u=t("./_object-gopd").f;t("./_descriptors")&&r(r.P+t("./_object-forced-pam"),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=u(n,r))return e.get}while(n=a(n))}})},{"./_descriptors":30,"./_export":34,"./_object-forced-pam":75,"./_object-gopd":76,"./_object-gpo":80,"./_to-object":120,"./_to-primitive":121}],297:[function(t,e,n){"use strict";var r=t("./_export"),i=t("./_to-object"),o=t("./_to-primitive"),a=t("./_object-gpo"),u=t("./_object-gopd").f;t("./_descriptors")&&r(r.P+t("./_object-forced-pam"),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=u(n,r))return e.set}while(n=a(n))}})},{"./_descriptors":30,"./_export":34,"./_object-forced-pam":75,"./_object-gopd":76,"./_object-gpo":80,"./_to-object":120,"./_to-primitive":121}],298:[function(t,e,n){var r=t("./_export"),i=t("./_object-to-array")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},{"./_export":34,"./_object-to-array":85}],299:[function(t,e,n){"use strict";function i(t){return null==t?void 0:p(t)}function o(t){var e=t._c;e&&(t._c=void 0,e())}function a(t){return void 0===t._o}function u(t){a(t)||(t._o=void 0,o(t))}function r(e,t){d(e),this._c=void 0,this._o=e,e=new b(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:p(n),this._c=n)}catch(t){return void e.error(t)}a(this)&&o(this)}var s=t("./_export"),c=t("./_global"),l=t("./_core"),f=t("./_microtask")(),h=t("./_wks")("observable"),p=t("./_a-function"),d=t("./_an-object"),g=t("./_an-instance"),_=t("./_redefine-all"),v=t("./_hide"),y=t("./_for-of"),m=y.RETURN;r.prototype=_({},{unsubscribe:function(){u(this)}});var b=function(t){this._s=t};b.prototype=_({},{next:function(t){var e=this._s;if(!a(e)){var n=e._o;try{var r=i(n.next);if(r)return r.call(n,t)}catch(t){try{u(e)}finally{throw t}}}},error:function(t){var e=this._s;if(a(e))throw t;var n=e._o;e._o=void 0;try{var r=i(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{o(e)}finally{throw t}}return o(e),t},complete:function(t){var e=this._s;if(!a(e)){var n=e._o;e._o=void 0;try{var r=i(n.complete);t=r?r.call(n,t):void 0}catch(t){try{o(e)}finally{throw t}}return o(e),t}}});var x=function(t){g(this,x,"Observable","_f")._f=p(t)};_(x.prototype,{subscribe:function(t){return new r(t,this._f)},forEach:function(r){var i=this;return new(l.Promise||c.Promise)(function(t,e){p(r);var n=i.subscribe({next:function(t){try{return r(t)}catch(t){e(t),n.unsubscribe()}},error:e,complete:t})})}}),_(x,{from:function(t){var e="function"==typeof this?this:x,n=i(d(t)[h]);if(n){var r=d(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return f(function(){if(!n){try{if(y(t,!1,function(t){if(e.next(t),n)return m})===m)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,r=new Array(e);t>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=u.exec(t))?v(parseInt(e[1],16)):(e=s.exec(t))?new x(e[1],e[2],e[3],1):(e=l.exec(t))?new x(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=f.exec(t))?y(e[1],e[2],e[3],e[4]):(e=h.exec(t))?y(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=p.exec(t))?w(e[1],e[2]/100,e[3]/100,1):(e=d.exec(t))?w(e[1],e[2]/100,e[3]/100,e[4]):g.hasOwnProperty(t)?v(g[t]):"transparent"===t?new x(NaN,NaN,NaN,0):null}function v(t){return new x(t>>16&255,t>>8&255,255&t,1)}function y(t,e,n,r){return new x(t=r<=0?e=n=NaN:t,e,n,r)}function m(t){return(t=t instanceof c?t:_(t))?new x((t=t.rgb()).r,t.g,t.b,t.opacity):new x}function b(t,e,n,r){return 1===arguments.length?m(t):new x(t,e,n,null==r?1:r)}function x(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function w(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||1<=n?t=e=NaN:e<=0&&(t=NaN),new S(t,e,n,r)}function M(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof S)return new S(t.h,t.s,t.l,t.opacity);if(!(t=!(t instanceof c)?_(t):t))return new S;if(t instanceof S)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=e===o?(n-r)/u+6*(nu&&(i=r.slice(u,i),c[s]?c[s]+=i:c[++s]=i),(e=e[0])===(n=n[0])?c[s]?c[s]+=n:c[++s]=n:(c[++s]=null,l.push({i:s,x:_(e,n)})),u=m.lastIndex;return un._time&&(r=n._time),(t=n)._next):(e=n._next,n._next=null,t?t._next=e:i=e);o=t,m(r)}(),c=0}}function y(){var t=f.now(),e=t-s;um)throw new Error("too late");return t}function l(t,e){t=t.__transition;if(!t||!(t=t[e])||t.state>b)throw new Error("too late");return t}function M(t,e){t=t.__transition;if(!t||!(t=t[e]))throw new Error("too late");return t}function i(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>b&&n.state<5,n.state=6,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}function S(t,e,n){var r=t._id;return t.each(function(){var t=l(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return M(t,r).value[e]}}function j(t,e){var n;return("number"==typeof e?w.interpolateNumber:e instanceof r.color?w.interpolateRgb:(n=r.color(e))?(e=n,w.interpolateRgb):w.interpolateString)(t,e)}var o=x.selection.prototype.constructor;var f=0;function C(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function a(t){return x.selection().transition(t)}e=x.selection.prototype;C.prototype=a.prototype={constructor:C,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=x.selector(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a>>1;o(t[i],e)<0?n=1+i:r=i}return n},right:function(t,e,n,r){for(null==n&&(n=0),null==r&&(r=t.length);n>>1;0>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=Zt.exec(t))?ue(parseInt(e[1],16)):(e=Kt.exec(t))?new fe(e[1],e[2],e[3],1):(e=te.exec(t))?new fe(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ee.exec(t))?se(e[1],e[2],e[3],e[4]):(e=ne.exec(t))?se(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=re.exec(t))?he(e[1],e[2]/100,e[3]/100,1):(e=ie.exec(t))?he(e[1],e[2]/100,e[3]/100,e[4]):oe.hasOwnProperty(t)?ue(oe[t]):"transparent"===t?new fe(NaN,NaN,NaN,0):null}function ue(t){return new fe(t>>16&255,t>>8&255,255&t,1)}function se(t,e,n,r){return new fe(t=r<=0?e=n=NaN:t,e,n,r)}function ce(t){return(t=t instanceof Xt?t:ae(t))?new fe((t=t.rgb()).r,t.g,t.b,t.opacity):new fe}function le(t,e,n,r){return 1===arguments.length?ce(t):new fe(t,e,n,null==r?1:r)}function fe(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function he(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||1<=n?t=e=NaN:e<=0&&(t=NaN),new de(t,e,n,r)}function pe(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof de)return new de(t.h,t.s,t.l,t.opacity);if(!(t=!(t instanceof Xt)?ae(t):t))return new de;if(t instanceof de)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=e===o?(n-r)/u+6*(nu&&(i=r.slice(u,i),c[s]?c[s]+=i:c[++s]=i),(e=e[0])===(n=n[0])?c[s]?c[s]+=n:c[++s]=n:(c[++s]=null,l.push({i:s,x:en(e,n)})),u=on.lastIndex;return un._time&&(r=n._time),(t=n)._next):(e=n._next,n._next=null,t?t._next=e:An=e);Tn=t,$n(r)}(),Dn=0}}function Gn(){var t=qn.now(),e=t-Rn;Fntr)throw new Error("too late");return t}function rr(t,e){t=t.__transition;if(!t||!(t=t[e])||t.state>er)throw new Error("too late");return t}function ir(t,e){t=t.__transition;if(!t||!(t=t[e]))throw new Error("too late");return t}var or=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>er&&n.state<5,n.state=6,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}};function ar(t,e,n){var r=t._id;return t.each(function(){var t=rr(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return ir(t,r).value[e]}}function ur(t,e){var n;return("number"==typeof e?en:e instanceof ae?$e:(n=ae(e))?(e=n,$e):fn)(t,e)}var sr=Ot.prototype.constructor;var cr=0;function lr(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function fr(t){return Ot().transition(t)}var hr=Ot.prototype;function pr(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function dr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}lr.prototype=fr.prototype={constructor:lr,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=lt(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;aMath.abs(t[1]-M[1])?x=!0:b=!0),M=t,y=!0,Vr(),O()}function O(){var t;switch(_=M[0]-w[0],v=M[1]-w[1],r){case Gr:case Xr:i&&(_=Math.max(s-c,Math.min(h-p,_)),j=c+_,E=p+_),o&&(v=Math.max(l-f,Math.min(d-g,v)),C=f+v,k=g+v);break;case $r:i<0?(_=Math.max(s-c,Math.min(h-c,_)),j=c+_,E=p):0=(o=(g+v)/2))?g=o:v=o,(l=n>=(a=(_+y)/2))?_=a:y=a,!(p=(i=p)[f=l<<1|c]))return i[f]=d,t;if(u=+t._x.call(null,p.data),s=+t._y.call(null,p.data),e===u&&n===s)return d.next=p,i?i[f]=d:t._root=d,t;for(;i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+v)/2))?g=o:v=o,(l=n>=(a=(_+y)/2))?_=a:y=a,(f=l<<1|c)==(h=(a<=s)<<1|o<=u););return i[h]=p,i[f]=d,t}function Ki(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function to(t){return t[0]}function eo(t){return t[1]}function no(t,e,n){n=new ro(null==e?to:e,null==n?eo:n,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function ro(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function io(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var oo=no.prototype=ro.prototype;function ao(t){return t.x+t.vx}function uo(t){return t.y+t.vy}oo.copy=function(){var t,e,n=new ro(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=io(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=io(e));return n},oo.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return Zi(this.cover(e,n),e,n,t)},oo.addAll=function(t){for(var e,n,r,i=t.length,o=new Array(i),a=new Array(i),u=1/0,s=1/0,c=-1/0,l=-1/0,f=0;fp||(i=c.y0)>d||(o=c.x1)=(c=(p+g)/2))?p=c:g=c,(c=a>=(u=(d+_)/2))?d=u:_=u,!(h=(e=h)[l=c<<1|s]))return this;if(!h.length)break;(e[l+1&3]||e[l+2&3]||e[l+3&3])&&(n=e,f=l)}for(;h.data!==t;)if(!(h=(r=h).next))return this;return(i=h.next)&&delete h.next,r?i?r.next=i:delete r.next:e?(i?e[l]=i:delete e[l],(h=e[0]||e[1]||e[2]||e[3])&&h===(e[3]||e[2]||e[1]||e[0])&&!h.length&&(n?n[f]=h:this._root=h)):this._root=i,this},oo.removeAll=function(t){for(var e=0,n=t.length;ee+1?t.slice(0,e+1)+"."+t.slice(e+1):t+new Array(e-t.length+2).join("0")):t+""}var _o,vo=Math.PI*(3-Math.sqrt(5)),yo={"":function(t,e){t:for(var n,r=(t=t.toPrecision(e)).length,i=1,o=-1;i=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function bo(t){return new xo(t)}function xo(t){if(!(s=mo.exec(t)))throw new Error("invalid format: "+t);var e=s[1]||" ",n=s[2]||">",r=s[3]||"-",i=s[4]||"",o=!!s[5],a=s[6]&&+s[6],u=!!s[7],t=s[8]&&+s[8].slice(1),s=s[9]||"";"n"===s?(u=!0,s="g"):yo[s]||(s=""),(o||"0"===e&&"="===n)&&(o=!0,e="0",n="="),this.fill=e,this.align=n,this.sign=r,this.symbol=i,this.zero=o,this.width=a,this.comma=u,this.precision=t,this.type=s}bo.prototype=xo.prototype,xo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};function wo(t){return t}function Mo(t){var e,u,s,x=t.grouping&&t.thousands?(u=t.grouping,s=t.thousands,function(t,e){for(var n=t.length,r=[],i=0,o=u[0],a=0;0e));)o=u[i=(i+1)%u.length];return r.reverse().join(s)}):wo,r=t.currency,w=t.decimal,M=t.numerals?(e=t.numerals,function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}):wo;function o(t){var c=(t=bo(t)).fill,l=t.align,f=t.sign,e=t.symbol,h=t.zero,p=t.width,d=t.comma,g=t.precision,_=t.type,v="$"===e?r[0]:"#"===e&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",y="$"===e?r[1]:/[%p]/.test(_)?"%":"",m=yo[_],b=!_||/[defgprs%]/.test(_);function n(t){var e,n,r,i=v,o=y;if("c"===_)o=m(t)+o,t="";else{var a=(t=+t)<0;if(t=m(Math.abs(t),g),i=((a=a&&0==+t?!1:a)?"("===f?f:"-":"-"===f||"("===f?"":f)+i,o=o+("s"===_?jo[8+_o/3]:"")+(a&&"("===f?")":""),b)for(e=-1,n=t.length;++e>1)+i+t+o+s.slice(u);break;default:t=s+i+t+o}return M(t)}return g=null==g?_?6:12:/[gprs]/.test(_)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),n.toString=function(){return t+""},n}return{format:o,formatPrefix:function(t,e){var n=o(((t=bo(t)).type="f",t)),e=3*Math.max(-8,Math.min(8,Math.floor(po(e)/3))),r=Math.pow(10,-e),i=jo[8+e/3];return function(t){return n(r*t)+i}}}}var So,jo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Co(t){return So=Mo(t),q.format=So.format,q.formatPrefix=So.formatPrefix,So}Co({decimal:".",thousands:",",grouping:[3],currency:["$",""]});function Eo(t){return Math.max(0,-po(Math.abs(t)))}function ko(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(po(e)/3)))-po(Math.abs(t)))}function Ao(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,po(e)-po(t))+1}var To=function(){return new No};function No(){this.reset()}No.prototype={constructor:No,reset:function(){this.s=this.t=0},add:function(t){Oo(Lo,t,this.t),Oo(this,Lo.s,this.s),this.s?this.t+=Lo.t:this.s=Lo.t},valueOf:function(){return this.s}};var Lo=new No;function Oo(t,e,n){var r=t.s=e+n,i=r-e;t.t=e-(r-i)+(n-i)}var Po=1e-6,Io=Math.PI,Fo=Io/2,Ro=Io/4,Do=2*Io,zo=180/Io,qo=Io/180,Wo=Math.abs,Bo=Math.atan,Uo=Math.atan2,Ho=Math.cos,Yo=Math.ceil,Vo=Math.exp,Xo=Math.log,Go=Math.pow,$o=Math.sin,Jo=Math.sign||function(t){return 0Xa(xa,Ma)&&(Ma=t):Xa(t,Ma)>Xa(xa,Ma)&&(xa=t):xa<=Ma?(tXa(xa,Ma)&&(Ma=t):Xa(t,Ma)>Xa(xa,Ma)&&(xa=t)):Fa.push(Ra=[xa=t,Ma=t]),ePo&&(xa=-(Ma=180)),Ra[0]=xa,Ra[1]=Ma,ka=null}function Xa(t,e){return(e-=t)<0?e+360:e}function Ga(t,e){return t[0]-e[0]}function $a(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:ePo}).map(c)).concat(j(Yo(a/d)*d,o,d).filter(function(t){return Wo(t%_)>Po}).map(l))}return y.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[f(i).concat(h(u).slice(1),f(r).reverse().slice(1),h(s).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(i=+t[0][0],r=+t[1][0],s=+t[0][1],u=+t[1][1],rPo?Bo(($o(r)*(s=Ho(o))*$o(i)-$o(o)*(i=Ho(r))*$o(n))/(i*s*a)):(r+o)/2,c.point(p,h),c.lineEnd(),c.lineStart(),c.point(u,h),l=0),c.point(f=t,h=e),p=u},lineEnd:function(){c.lineEnd(),f=h=NaN},clean:function(){return 2-l}}},function(t,e,n,r){var i;null==t?(i=n*Fo,r.point(-Io,i),r.point(0,i),r.point(Io,i),r.point(Io,0),r.point(Io,-i),r.point(0,-i),r.point(-Io,-i),r.point(-Io,0),r.point(-Io,i)):Wo(t[0]-e[0])>Po?(t=t[0]Po;function g(t,e){return Ho(t)*Ho(e)>p}function _(t,e,n){var r=[1,0,0],i=La(Ta(t),Ta(e)),o=Na(i,i),a=i[0],u=o-a*a;if(!u)return!n&&t;var s=La(r,i),c=Pa(r,p*o/u);Oa(c,Pa(i,-p*a/u));var l=s,f=Na(c,l),r=Na(l,l),o=f*f-r*(Na(c,c)-1);if(!(o<0)){i=Qo(o),a=Pa(l,(-f-i)/r);if(Oa(a,c),a=Aa(a),!n)return a;var h,u=t[0],s=e[0],o=t[1],n=e[1];sod&&(r=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,i=3*t._l01_a*(t._l01_a+t._l12_a),o=(o*r-t._x0*t._l12_2a+t._x2*t._l01_2a)/i,a=(a*r-t._y0*t._l12_2a+t._y2*t._l01_2a)/i),t._l23_a>od&&(r=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,i=3*t._l23_a*(t._l23_a+t._l12_a),u=(u*r+t._x1*t._l23_2a-e*t._l12_2a)/i,s=(s*r+t._y1*t._l23_2a-n*t._l12_2a)/i),t._context.bezierCurveTo(o,a,u,s,t._x2,t._y2)}function Xd(t,e){this._context=t,this._alpha=e}Xd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n,r;switch(t=+t,e=+e,this._point&&(n=this._x2-t,r=this._y2-e,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))),this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Vd(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};Ap=function e(n){function t(t){return n?new Xd(t,n):new Ud(t,0)}return t.alpha=function(t){return e(+t)},t}(.5);function Gd(t,e){this._context=t,this._alpha=e}Gd.prototype={areaStart:To,areaEnd:To,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){var n,r;switch(t=+t,e=+e,this._point&&(n=this._x2-t,r=this._y2-e,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))),this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Vd(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};Bp=function e(n){function t(t){return n?new Gd(t,n):new Hd(t,0)}return t.alpha=function(t){return e(+t)},t}(.5);function $d(t,e){this._context=t,this._alpha=e}$d.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n,r;switch(t=+t,e=+e,this._point&&(n=this._x2-t,r=this._y2-e,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))),this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Vd(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};hr=function e(n){function t(t){return n?new $d(t,n):new Yd(t,0)}return t.alpha=function(t){return e(+t)},t}(.5);function Jd(t){this._context=t}Jd.prototype={areaStart:To,areaEnd:To,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Qd(t){return t<0?-1:1}function Zd(t,e,n){var r=t._x1-t._x0,i=e-t._x1,e=(t._y1-t._y0)/(r||i<0&&-0),t=(n-t._y1)/(i||r<0&&-0),i=(e*i+t*r)/(r+i);return(Qd(e)+Qd(t))*Math.min(Math.abs(e),Math.abs(t),.5*Math.abs(i))||0}function Kd(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function t0(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*e,o-u,a-u*n,o,a)}function e0(t){this._context=t}function n0(t){this._context=new r0(t)}function r0(t){this._context=t}function i0(t){this._context=t}function o0(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(o[i[0]=0]=2,a[0]=t[0]+2*t[1],e=1;e=i)return}else a=[u,n];o=[u,i]}else{if(a){if(a[1]=i)return}else a=[(n-u)/s,n];o=[(i-u)/s,i]}else{if(a){if(a[1]=r)return}else a=[e,s*e+u];o=[r,s*r+u]}else{if(a){if(a[0]B0||Math.abs(i[0][1]-i[1][1])>B0)||delete W0[o]}function j0(t,e){return e[+(e.left!==t.site)]}function C0(){for(var t,e,n,r,i,o,a,u=0,s=z0.length;uB0||Math.abs(f-p)>B0)&&(u.splice(a,0,W0.push(w0(o,c,Math.abs(l-t)=u)return null;for(var s=n-i.site[0],c=r-i.site[1],l=s*s+c*c;i=o.cells[e=a],a=null,i.halfedges.forEach(function(t){var e=o.edges[t],t=e.left;!(t!==i.site&&t||(t=e.right))||(e=(e=n-t[0])*e+(e=r-t[1])*e)=u;)s.pop(),--c;var l,f=new Array(c+1);for(i=0;i<=c;++i)(l=f[i]=[]).x0=0=d.length)return null!=p?p(t):null!=h?t.sort(h):t;for(var e,o,a,u=-1,s=t.length,c=d[n++],l=Ti(),f=r();++ud.length)return t;var i,o=a[r-1];return null!=p&&r>=d.length?i=t.entries():(i=[],t.each(function(t,e){i.push({key:e,values:n(t,r)})})),null!=o?i.sort(function(t,e){return o(t.key,e.key)}):i}(g(t,0,Oi,Pi),0)},key:function(t){return d.push(t),e},sortKeys:function(t){return a[d.length-1]=t,e},sortValues:function(t){return h=t,e},rollup:function(t){return p=t,e}}},q.set=Ri,q.map=Ti,q.keys=function(t){var e,n=[];for(e in t)n.push(e);return n},q.values=function(t){var e,n=[];for(e in t)n.push(t[e]);return n},q.entries=function(t){var e,n=[];for(e in t)n.push({key:e,value:t[e]});return n},q.color=ae,q.rgb=le,q.hsl=pe,q.lab=je,q.hcl=Ne,q.cubehelix=ze,q.dispatch=W,q.drag=function(){var e,i,o=Bt,a=Ut,n=Ht,d={},r=W("start","drag","end"),g=0;function _(t){t.on("mousedown.drag",u).on("touchstart.drag",l).on("touchmove.drag",f).on("touchend.drag touchcancel.drag",h).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t;i||!o.apply(this,arguments)||(t=p("mouse",a.apply(this,arguments),st,this,arguments))&&(It(q.event.view).on("mousemove.drag",s,!0).on("mouseup.drag",c,!0),Dt(q.event.view),Ft(),e=!1,t("start"))}function s(){Rt(),e=!0,d.mouse("drag")}function c(){It(q.event.view).on("mousemove.drag mouseup.drag",null),zt(q.event.view,e),Rt(),d.mouse("end")}function l(){if(o.apply(this,arguments))for(var t,e=q.event.changedTouches,n=a.apply(this,arguments),r=e.length,i=0;iu.index&&((i=(r=s-o.x-o.vx)*r+(n=c-o.y-o.vy)*n)t.r&&(t.r=t[e].r)}function n(){if(o){var t,e,n=o.length;for(a=new Array(n),t=0;tXa(r[0],r[1])&&(r[1]=i[1]),Xa(i[0],r[1])>Xa(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(u=Xa(r[1],i[0]))>a&&(a=u,xa=i[0],Ma=r[1])}return Fa=Ra=null,xa===1/0||wa===1/0?[[NaN,NaN],[NaN,NaN]]:[[xa,wa],[Ma,Sa]]},q.geoCentroid=function(t){Ja=Qa=Za=Ka=tu=eu=nu=ru=iu=ou=au=0,pa(t,hu);var e=iu,n=ou,r=au,t=e*e+n*n+r*r;return t<1e-12&&(e=eu,n=nu,r=ru,Qan.x&&(n=t),t.depth>r.depth&&(r=t)}),u=e===n?1:h(e,n)/2,i=u-e.x,o=s/(n.x+u+i),a=c/(r.depth||1),t.eachBefore(function(t){t.x=(t.x+i)*o,t.y=t.depth*a})),t}function f(t){var e=t.children,n=t.parent.children,r=t.i?n[t.i-1]:null;e?(function(t){for(var e,n=0,r=0,i=t.children,o=i.length;0<=--o;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(t),e=(e[0].z+e[e.length-1].z)/2,r?(t.z=r.z+h(t._,r._),t.m=t.z-e):t.z=e):r&&(t.z=r.z+h(t._,r._)),t.parent.A=function(t,e,n){if(e){for(var r,i=t,o=t,a=e,u=i.parent.children[0],s=i.m,c=o.m,l=a.m,f=u.m;a=Sl(a),i=Ml(i),a&&i;)u=Ml(u),(o=Sl(o)).a=t,0<(r=a.z+l-i.z-s+h(a._,i._))&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}(function(t,e,n){return t.a.parent===e.parent?t.a:n}(a,t,n),t,r),s+=r,c+=r),l+=a.m,s+=i.m,f+=u.m,c+=o.m;a&&!Sl(o)&&(o.t=a,o.m+=l-c),i&&!Ml(u)&&(u.t=i,u.m+=s-f,n=t)}return n}(t,r,t.parent.A||n[0])}function p(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=s,t.y=t.depth*c}return e.separation=function(t){return arguments.length?(h=t,e):h},e.size=function(t){return arguments.length?(l=!1,s=+t[0],c=+t[1],e):l?null:[s,c]},e.nodeSize=function(t){return arguments.length?(l=!0,s=+t[0],c=+t[1],e):l?[s,c]:null},e},q.treemap=function(){var a=Al,e=!1,n=1,r=1,u=[0],s=ll,c=ll,l=ll,f=ll,h=ll;function i(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(o),u=[0],e&&t.eachBefore(_l),t}function o(t){var e=u[t.depth],n=t.x0+e,r=t.y0+e,i=t.x1-e,o=t.y1-e;i>>1;_[p]od?(r+=h*=T?1:-1,i-=h):(o=0,r=i=(E+k)/2),(a-=2*p)>od?(e+=p*=T?1:-1,n-=p):(a=0,e=n=(E+k)/2)),l=C*td(e),f=C*rd(e),h=j*td(i),p=j*rd(i),od>10|55296,1023&t|56320))}function r(){w()}var t,h,b,o,i,p,d,g,x,s,c,w,M,a,S,_,u,l,v,j="sizzle"+ +new Date,y=n.document,C=0,m=0,E=st(),k=st(),A=st(),T=st(),N=function(t,e){return t===e&&(c=!0),0},L={}.hasOwnProperty,e=[],O=e.pop,P=e.push,I=e.push,F=e.slice,R=function(t,e){for(var n=0,r=t.length;n+~]|"+z+")"+z+"*"),X=new RegExp(z+"|>"),G=new RegExp(B),$=new RegExp("^"+q+"$"),J={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,nt=/[+~]/,rt=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},at=yt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{I.apply(e=F.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){I={apply:e.length?function(t,e){P.apply(t,F.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ut(e,t,n,r){var i,o,a,u,s,c,l=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&(w(t),t=t||M,S)){if(11!==f&&(u=et.exec(e)))if(c=u[1]){if(9===f){if(!(o=t.getElementById(c)))return n;if(o.id===c)return n.push(o),n}else if(l&&(o=l.getElementById(c))&&v(t,o)&&o.id===c)return n.push(o),n}else{if(u[2])return I.apply(n,t.getElementsByTagName(e)),n;if((c=u[3])&&h.getElementsByClassName&&t.getElementsByClassName)return I.apply(n,t.getElementsByClassName(c)),n}if(h.qsa&&!T[e+" "]&&(!_||!_.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(c=e,l=t,1===f&&(X.test(e)||V.test(e))){for((l=nt.test(e)&>(t.parentNode)||t)===t&&h.scope||((a=t.getAttribute("id"))?a=a.replace(it,ot):t.setAttribute("id",a=j)),i=(s=p(e)).length;i--;)s[i]=(a?"#"+a:":scope")+" "+vt(s[i]);c=s.join(",")}try{return I.apply(n,l.querySelectorAll(c)),n}catch(t){T(e,!0)}finally{a===j&&t.removeAttribute("id")}}}return g(e.replace(H,"$1"),t,n,r)}function st(){var n=[];function r(t,e){return n.push(t+" ")>b.cacheLength&&delete r[n.shift()],r[t+" "]=e}return r}function ct(t){return t[j]=!0,t}function lt(t){var e=M.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=e}function ht(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&at(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function dt(a){return ct(function(o){return o=+o,ct(function(t,e){for(var n,r=a([],t.length,o),i=r.length;i--;)t[n=r[i]]&&(t[n]=!(e[n]=t[n]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in h=ut.support={},i=ut.isXML=function(t){var e=t.namespaceURI,t=(t.ownerDocument||t).documentElement;return!Q.test(e||t&&t.nodeName||"HTML")},w=ut.setDocument=function(t){var e,t=t?t.ownerDocument||t:y;return t!=M&&9===t.nodeType&&t.documentElement&&(a=(M=t).documentElement,S=!i(M),y!=M&&(e=M.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",r,!1):e.attachEvent&&e.attachEvent("onunload",r)),h.scope=lt(function(t){return a.appendChild(t).appendChild(M.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),h.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=lt(function(t){return t.appendChild(M.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=tt.test(M.getElementsByClassName),h.getById=lt(function(t){return a.appendChild(t).id=j,!M.getElementsByName||!M.getElementsByName(j).length}),h.getById?(b.filter.ID=function(t){var e=t.replace(rt,f);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&S){t=e.getElementById(t);return t?[t]:[]}}):(b.filter.ID=function(t){var e=t.replace(rt,f);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&S){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),b.find.TAG=h.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):h.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=h.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&S)return e.getElementsByClassName(t)},u=[],_=[],(h.qsa=tt.test(M.querySelectorAll))&&(lt(function(t){var e;a.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||_.push("\\["+z+"*(?:value|"+D+")"),t.querySelectorAll("[id~="+j+"-]").length||_.push("~="),(e=M.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||_.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||_.push(":checked"),t.querySelectorAll("a#"+j+"+*").length||_.push(".#.+[+~]"),t.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")}),lt(function(t){t.innerHTML="";var e=M.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&_.push("name"+z+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),a.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),_.push(",.*:")})),(h.matchesSelector=tt.test(l=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&<(function(t){h.disconnectedMatch=l.call(t,"*"),l.call(t,"[s!='']:x"),u.push("!=",B)}),_=_.length&&new RegExp(_.join("|")),u=u.length&&new RegExp(u.join("|")),e=tt.test(a.compareDocumentPosition),v=e||tt.test(a.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},N=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===n?t==M||t.ownerDocument==y&&v(y,t)?-1:e==M||e.ownerDocument==y&&v(y,e)?1:s?R(s,t)-R(s,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t==M?-1:e==M?1:i?-1:o?1:s?R(s,t)-R(s,e):0;if(i===o)return ht(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?ht(a[r],u[r]):a[r]==y?-1:u[r]==y?1:0}),M},ut.matches=function(t,e){return ut(t,null,null,e)},ut.matchesSelector=function(t,e){if(w(t),h.matchesSelector&&S&&!T[e+" "]&&(!u||!u.test(e))&&(!_||!_.test(e)))try{var n=l.call(t,e);if(n||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){T(e,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(rt,f),t[3]=(t[3]||t[4]||t[5]||"").replace(rt,f),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ut.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ut.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return J.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&G.test(n)&&(e=p(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(rt,f).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&E(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(t){t=ut.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===r:"!="===n?t!==r:"^="===n?r&&0===t.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(t,n,r){return m(n)?S.grep(t,function(t,e){return!!n.call(t,e,t)!==r}):n.nodeType?S.grep(t,function(t){return t===n!==r}):"string"!=typeof n?S.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e,n){if(!t)return this;if(n=n||T,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(S):S.makeArray(t,this);if(!(r="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:A.exec(t))||!r[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(r[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:M,!0)),E.test(r[1])&&S.isPlainObject(e))for(var r in e)m(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(t=M.getElementById(r[2]))&&(this[0]=t,this.length=1),this}).prototype=S.fn;var T=S(M),N=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function O(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),n=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,ft=/^$|^module$|\/(?:java|ecma)script/i;$e=M.createDocumentFragment().appendChild(M.createElement("div")),(h=M.createElement("input")).setAttribute("type","radio"),h.setAttribute("checked","checked"),h.setAttribute("name","t"),$e.appendChild(h),y.checkClone=$e.cloneNode(!0).cloneNode(!0).lastChild.checked,$e.innerHTML="",y.noCloneChecked=!!$e.cloneNode(!0).lastChild.defaultValue,$e.innerHTML="",y.option=!!$e.lastChild;var ht={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function pt(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&C(t,e)?S.merge([t],n):n}function dt(t,e){for(var n=0,r=t.length;n",""]);var gt=/<|&#?\w+;/;function _t(t,e,n,r,i){for(var o,a,u,s,c,l=e.createDocumentFragment(),f=[],h=0,p=t.length;h\s*$/g;function kt(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function At(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Tt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Nt(t,e){var n,r,i,o;if(1===e.nodeType){if(G.hasData(t)&&(o=G.get(t).events))for(i in G.remove(e,"handle events"),o)for(n=0,r=o[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(t){r.remove(),i=null,t&&e("error"===t.type?404:200,t.type)}),M.head.appendChild(r[0])},abort:function(){i&&i()}}});var $e,Je=[],Qe=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||S.expando+"_"+ke.guid++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,n){var r,i,o,a=!1!==t.jsonp&&(Qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Qe,"$1"+r):!1!==t.jsonp&&(t.url+=(Ae.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},t.dataTypes[0]="json",i=w[r],w[r]=function(){o=arguments},n.always(function(){void 0===i?S(w).removeProp(r):w[r]=i,t[r]&&(t.jsonpCallback=e.jsonpCallback,Je.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=(($e=M.implementation.createHTMLDocument("").body).innerHTML="
",2===$e.childNodes.length),S.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(y.createHTMLDocument?((r=(e=M.implementation.createHTMLDocument("")).createElement("base")).href=M.location.href,e.head.appendChild(r)):e=M),r=!n&&[],(n=E.exec(t))?[e.createElement(n[1])]:(n=_t([t],e,r),r&&r.length&&S(r).remove(),S.merge([],n.childNodes)));var r},S.fn.load=function(t,e,n){var r,i,o,a=this,u=t.indexOf(" ");return-1").append(S.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(t,e,n){var r,i,o,a,u=S.css(t,"position"),s=S(t),c={};"static"===u&&(t.style.position="relative"),o=s.offset(),r=S.css(t,"top"),a=S.css(t,"left"),a=("absolute"===u||"fixed"===u)&&-1<(r+a).indexOf("auto")?(i=(u=s.position()).top,u.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(e=m(e)?e.call(t,n,S.extend({},o)):e).top&&(c.top=e.top-o.top+i),null!=e.left&&(c.left=e.left-o.left+a),"using"in e?e.using.call(t,c):("number"==typeof c.top&&(c.top+="px"),"number"==typeof c.left&&(c.left+="px"),s.css(c))}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),i.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-S.css(r,"marginTop",!0),left:e.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||nt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var o="pageYOffset"===i;S.fn[e]=function(t){return W(this,function(t,e,n){var r;return g(t)?r=t:9===t.nodeType&&(r=t.defaultView),void 0===n?r?r[i]:t[e]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):t[e]=n)},e,t,arguments.length)}}),S.each(["top","left"],function(t,n){S.cssHooks[n]=$t(y.pixelPosition,function(t,e){if(e)return e=Gt(t,n),Ut.test(e)?S(t).position()[n]+"px":e})}),S.each({Height:"height",Width:"width"},function(a,u){S.each({padding:"inner"+a,content:u,"":"outer"+a},function(r,o){S.fn[o]=function(t,e){var n=arguments.length&&(r||"boolean"!=typeof t),i=r||(!0===t||!0===e?"margin":"border");return W(this,function(t,e,n){var r;return g(t)?0===o.indexOf("outer")?t["inner"+a]:t.document.documentElement["client"+a]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+a],r["scroll"+a],t.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(t,e,i):S.style(t,e,n,i)},u,n?t:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,n){S.fn[n]=function(t,e){return 0"']/g,ka=RegExp(Ca.source),Aa=RegExp(Ea.source),Ta=/<%-([\s\S]+?)%>/g,Na=/<%([\s\S]+?)%>/g,La=/<%=([\s\S]+?)%>/g,Oa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pa=/^\w*$/,Ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fa=/[\\^$.*+?()[\]{}|]/g,Ra=RegExp(Fa.source),Da=/^\s+/,n=/\s/,za=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qa=/\{\n\/\* \[wrapped with (.+)\] \*/,Wa=/,? & /,Ba=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ua=/[()=,{}\[\]\/\s]/,Ha=/\\(\\)?/g,Ya=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Va=/\w*$/,Xa=/^[-+]0x[0-9a-f]+$/i,Ga=/^0b[01]+$/i,$a=/^\[object .+?Constructor\]$/,Ja=/^0o[0-7]+$/i,Qa=/^(?:0|[1-9]\d*)$/,Za=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ka=/($^)/,tu=/['\n\r\u2028\u2029\\]/g,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",r="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\ufe0e\\ufe0f",u="\\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",s="["+t+"]",c="["+u+"]",l="["+e+"]",f="\\d+",h="["+r+"]",p="["+i+"]",d="[^"+t+u+f+r+i+o+"]",g="\\ud83c[\\udffb-\\udfff]",_="[^"+t+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",m="["+o+"]",b="(?:"+p+"|"+d+")",u="(?:"+m+"|"+d+")",r="(?:['’](?:d|ll|m|re|s|t|ve))?",i="(?:['’](?:D|LL|M|RE|S|T|VE))?",o="(?:"+l+"|"+g+")"+"?",d="["+a+"]?",o=d+o+("(?:\\u200d(?:"+[_,v,y].join("|")+")"+d+o+")*"),h="(?:"+[h,v,y].join("|")+")"+o,s="(?:"+[_+l+"?",l,v,y,s].join("|")+")",eu=RegExp("['’]","g"),nu=RegExp(l,"g"),x=RegExp(g+"(?="+g+")|"+s+o,"g"),ru=RegExp([m+"?"+p+"+"+r+"(?="+[c,m,"$"].join("|")+")",u+"+"+i+"(?="+[c,m+b,"$"].join("|")+")",m+"?"+b+"+"+r,m+"+"+i,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",f,h].join("|"),"g"),w=RegExp("[\\u200d"+t+e+a+"]"),iu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ou=["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"],au=-1,uu={};uu[da]=uu[ga]=uu[_a]=uu[va]=uu[ya]=uu[ma]=uu[ba]=uu[xa]=uu[wa]=!0,uu[Jo]=uu[Qo]=uu[ha]=uu[Zo]=uu[pa]=uu[Ko]=uu[ta]=uu[ea]=uu[ra]=uu[ia]=uu[oa]=uu[ua]=uu[sa]=uu[ca]=uu[fa]=!1;var su={};su[Jo]=su[Qo]=su[ha]=su[pa]=su[Zo]=su[Ko]=su[da]=su[ga]=su[_a]=su[va]=su[ya]=su[ra]=su[ia]=su[oa]=su[ua]=su[sa]=su[ca]=su[la]=su[ma]=su[ba]=su[xa]=su[wa]=!0,su[ta]=su[ea]=su[fa]=!1;var M={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},cu=parseFloat,lu=parseInt,e="object"==typeof k&&k&&k.Object===Object&&k,a="object"==typeof self&&self&&self.Object===Object&&self,fu=e||a||Function("return this")(),a="object"==typeof T&&T&&!T.nodeType&&T,S=a&&"object"==typeof A&&A&&!A.nodeType&&A,hu=S&&S.exports===a,j=hu&&e.process,e=function(){try{var t=S&&S.require&&S.require("util").types;return t?t:j&&j.binding&&j.binding("util")}catch(t){}}(),pu=e&&e.isArrayBuffer,du=e&&e.isDate,gu=e&&e.isMap,_u=e&&e.isRegExp,vu=e&&e.isSet,yu=e&&e.isTypedArray;function mu(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function bu(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i":">",'"':""","'":"'"});function Ju(t){return"\\"+M[t]}function Qu(t){return w.test(t)}function Zu(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}function Ku(e,n){return function(t){return e(n(t))}}function ts(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var as=function t(e){var M=(e=null==e?fu:as.defaults(fu.Object(),e,as.pick(fu,ou))).Array,n=e.Date,f=e.Error,h=e.Function,i=e.Math,g=e.Object,p=e.RegExp,l=e.String,y=e.TypeError,o=M.prototype,r=h.prototype,d=g.prototype,a=e["__core-js_shared__"],u=r.toString,m=d.hasOwnProperty,s=0,c=(Oo=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+Oo:"",_=d.toString,v=u.call(g),b=fu._,x=p("^"+u.call(m).replace(Fa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=hu?e.Buffer:Bo,S=e.Symbol,j=e.Uint8Array,C=w?w.allocUnsafe:Bo,E=Ku(g.getPrototypeOf,g),k=g.create,A=d.propertyIsEnumerable,T=o.splice,N=S?S.isConcatSpreadable:Bo,L=S?S.iterator:Bo,O=S?S.toStringTag:Bo,P=function(){try{var t=Bn(g,"defineProperty");return t({},"",{}),t}catch(t){}}(),I=e.clearTimeout!==fu.clearTimeout&&e.clearTimeout,F=n&&n.now!==fu.Date.now&&n.now,R=e.setTimeout!==fu.setTimeout&&e.setTimeout,D=i.ceil,z=i.floor,q=g.getOwnPropertySymbols,W=w?w.isBuffer:Bo,B=e.isFinite,U=o.join,H=Ku(g.keys,g),Y=i.max,V=i.min,X=n.now,G=e.parseInt,$=i.random,J=o.reverse,Q=Bn(e,"DataView"),Z=Bn(e,"Map"),K=Bn(e,"Promise"),tt=Bn(e,"Set"),et=Bn(e,"WeakMap"),nt=Bn(g,"create"),rt=et&&new et,it={},ot=_r(Q),at=_r(Z),ut=_r(K),st=_r(tt),ct=_r(et),lt=S?S.prototype:Bo,ft=lt?lt.valueOf:Bo,ht=lt?lt.toString:Bo;function pt(t){if(Oi(t)&&!wi(t)&&!(t instanceof yt)){if(t instanceof vt)return t;if(m.call(t,"__wrapped__"))return vr(t)}return new vt(t)}var dt=function(t){if(!Li(t))return{};if(k)return k(t);gt.prototype=t;t=new gt;return gt.prototype=Bo,t};function gt(){}function _t(){}function vt(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=Bo}function yt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Go,this.__views__=[]}function mt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e>>0,e>>>=0;for(var o=M(i);++r>>1,a=t[o];null!==a&&!qi(a)&&(n?a<=e:a>>0)?(t=Ji(t))&&("string"==typeof e||null!=e&&!Ri(e))&&!(e=Re(e))&&Qu(t)?$e(rs(t),0,n):t.split(e,n):[]},pt.spread=function(n,r){if("function"!=typeof n)throw new y(Uo);return r=null==r?0:Y(Vi(r),0),Se(function(t){var e=t[r],t=$e(t,0,r);return e&&ku(t,e),mu(n,this,t)})},pt.tail=function(t){var e=null==t?0:t.length;return e?Ne(t,1,e):[]},pt.take=function(t,e,n){return t&&t.length?Ne(t,0,(e=n||e===Bo?1:Vi(e))<0?0:e):[]},pt.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ne(t,(e=r-(e=n||e===Bo?1:Vi(e)))<0?0:e,r):[]},pt.takeRightWhile=function(t,e){return t&&t.length?We(t,zn(e,3),!1,!0):[]},pt.takeWhile=function(t,e){return t&&t.length?We(t,zn(e,3)):[]},pt.tap=function(t,e){return e(t),t},pt.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new y(Uo);return Li(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ci(t,e,{leading:r,maxWait:e,trailing:i})},pt.thru=Yr,pt.toArray=Hi,pt.toPairs=vo,pt.toPairsIn=yo,pt.toPath=function(t){return wi(t)?Eu(t,gr):qi(t)?[t]:rn(dr(Ji(t)))},pt.toPlainObject=$i,pt.transform=function(t,r,i){var e,n=wi(t),o=n||Ci(t)||Wi(t);return r=zn(r,4),null==i&&(e=t&&t.constructor,i=o?n?new e:[]:Li(t)&&Ai(e)?dt(E(t)):{}),(o?xu:Gt)(t,function(t,e,n){return r(i,t,e,n)}),i},pt.unary=function(t){return oi(t,1)},pt.union=Or,pt.unionBy=Pr,pt.unionWith=Ir,pt.uniq=function(t){return t&&t.length?De(t):[]},pt.uniqBy=function(t,e){return t&&t.length?De(t,zn(e,2)):[]},pt.uniqWith=function(t,e){return e="function"==typeof e?e:Bo,t&&t.length?De(t,Bo,e):[]},pt.unset=function(t,e){return null==t||ze(t,e)},pt.unzip=Fr,pt.unzipWith=Rr,pt.update=function(t,e,n){return null==t?t:qe(t,e,Ve(n))},pt.updateWith=function(t,e,n,r){return r="function"==typeof r?r:Bo,null==t?t:qe(t,e,Ve(n),r)},pt.values=mo,pt.valuesIn=function(t){return null==t?[]:Hu(t,lo(t))},pt.without=Dr,pt.words=To,pt.wrap=function(t,e){return gi(Ve(e),t)},pt.xor=zr,pt.xorBy=qr,pt.xorWith=Wr,pt.zip=Br,pt.zipObject=function(t,e){return He(t||[],e||[],At)},pt.zipObjectDeep=function(t,e){return He(t||[],e||[],Ee)},pt.zipWith=Ur,pt.entries=vo,pt.entriesIn=yo,pt.extend=Zi,pt.extendWith=Ki,Fo(pt,pt),pt.add=et,pt.attempt=No,pt.camelCase=bo,pt.capitalize=xo,pt.ceil=a,pt.clamp=function(t,e,n){return n===Bo&&(n=e,e=Bo),n!==Bo&&(n=(n=Gi(n))==n?n:0),e!==Bo&&(e=(e=Gi(e))==e?e:0),It(Gi(t),e,n)},pt.clone=function(t){return Ft(t,4)},pt.cloneDeep=function(t){return Ft(t,5)},pt.cloneDeepWith=function(t,e){return Ft(t,5,e="function"==typeof e?e:Bo)},pt.cloneWith=function(t,e){return Ft(t,4,e="function"==typeof e?e:Bo)},pt.conformsTo=function(t,e){return null==e||Rt(t,e,co(e))},pt.deburr=wo,pt.defaultTo=function(t,e){return null==t||t!=t?e:t},pt.divide=R,pt.endsWith=function(t,e,n){t=Ji(t),e=Re(e);var r=t.length,r=n=n===Bo?r:It(Vi(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},pt.eq=yi,pt.escape=function(t){return(t=Ji(t))&&Aa.test(t)?t.replace(Ea,$u):t},pt.escapeRegExp=function(t){return(t=Ji(t))&&Ra.test(t)?t.replace(Fa,"\\$&"):t},pt.every=function(t,e,n){return(wi(t)?Mu:Bt)(t,zn(e=n&&Jn(t,e,n)?Bo:e,3))},pt.find=Gr,pt.findIndex=xr,pt.findKey=function(t,e){return Lu(t,zn(e,3),Gt)},pt.findLast=$r,pt.findLastIndex=wr,pt.findLastKey=function(t,e){return Lu(t,zn(e,3),$t)},pt.floor=Ae,pt.forEach=Jr,pt.forEachRight=Qr,pt.forIn=function(t,e){return null==t?t:Vt(t,zn(e,3),lo)},pt.forInRight=function(t,e){return null==t?t:Xt(t,zn(e,3),lo)},pt.forOwn=function(t,e){return t&&Gt(t,zn(e,3))},pt.forOwnRight=function(t,e){return t&&$t(t,zn(e,3))},pt.get=io,pt.gt=mi,pt.gte=bi,pt.has=function(t,e){return null!=t&&Vn(t,e,ee)},pt.hasIn=oo,pt.head=Sr,pt.identity=Po,pt.includes=function(t,e,n,r){return t=Si(t)?t:mo(t),n=n&&!r?Vi(n):0,r=t.length,n<0&&(n=Y(r+n,0)),zi(t)?n<=r&&-1=V(e=e,n=n)&&t=this.__values__.length;return{done:t,value:t?Bo:this.__values__[this.__index__++]}},pt.prototype.plant=function(t){for(var e,n=this;n instanceof _t;){var r=vr(n);r.__index__=0,r.__values__=Bo,e?i.__wrapped__=r:e=r;var i=r,n=n.__wrapped__}return i.__wrapped__=t,e},pt.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof yt){t=t;return(t=(t=this.__actions__.length?new yt(this):t).reverse()).__actions__.push({func:Yr,args:[Lr],thisArg:Bo}),new vt(t,this.__chain__)}return this.thru(Lr)},pt.prototype.toJSON=pt.prototype.valueOf=pt.prototype.value=function(){return Be(this.__wrapped__,this.__actions__)},pt.prototype.first=pt.prototype.head,L&&(pt.prototype[L]=function(){return this}),pt}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(fu._=as,define(function(){return as})):S?((S.exports=as)._=as,a._=as):fu._=as}.call(this)}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],341:[function(t,n,e){!function(t,e){"use strict";"function"==typeof define&&define.amd?define(e):"object"==typeof n&&n.exports?n.exports=e():t.log=e()}(this,function(){"use strict";var i=function(){},u="undefined",s=["trace","debug","info","warn","error"];function r(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function c(t,e){for(var n=0;n>>16&65535)*r+n*(e>>>16&65535)<<16>>>0)|0}:Math.imul,n="function"==typeof String.prototype.repeat&&"xxx"==="x".repeat(3)?function(t,e){return t.repeat(e)}:function(t,e){for(var n="";0>=1,t+=t;return n};function s(t){if(!(this instanceof s))return new s(t);if(null==t)t=s.engines.nativeMath;else if("function"!=typeof t)throw new TypeError("Expected engine to be a function, got "+typeof t);this.engine=t}var r,i,c,o=s.prototype;function l(t){for(var e=0,n=0;(0|e)<227;e=e+1|0)n=2147483648&t[e]|2147483647&t[e+1|0],t[e]=t[e+397|0]^n>>>1^(1&n?2567483615:0);for(;(0|e)<623;e=e+1|0)n=2147483648&t[e]|2147483647&t[e+1|0],t[e]=t[e-227|0]^n>>>1^(1&n?2567483615:0);n=2147483648&t[623]|2147483647&t[0],t[623]=t[396]^n>>>1^(1&n?2567483615:0)}function a(t){return function(){return t}}function f(e,n){return 0===n?e:function(t){return e(t)+n}}function h(t){return 0==(t+1&t)}function p(t){return h(t)?(e=t,function(t){return t()&e}):(r=(n=t+1)*Math.floor(4294967296/n),function(t){for(var e=0;e=t()>>>0,r<=e;);return e%n});var n,r,e}function d(t){var e,n,r,i=t+1;if(0==(0|i)){t=(i/4294967296|0)-1;if(h(t))return e=t,function(t){return 4294967296*(t()&e)+(t()>>>0)}}return r=(n=i)*Math.floor(9007199254740992/n),function(t){var e=0;do{e=4294967296*(2097151&t())+(t()>>>0)}while(r<=e);return e%n}}function g(r,i){return function(t){var e=0;do{var n=0|t(),e=4294967296*(2097151&n)+(t()>>>0)+(2097152&n?-9007199254740992:0)}while(e>>11,t^=t<<7&2636928640,(t^=t<<15&4022730752)^t>>>18)}return a.getUseCount=function(){return o},a.discard=function(t){for(o+=t,624<=(0|i)&&(l(r),i=0);624>>30,1812433253)+n|0;return i=624,o=0,a},a.seedWithArray=function(t){return a.seed(19650218),function(t,e){for(var n=1,r=0,i=e.length,o=0|Math.max(i,624),a=0|t[0];0<(0|o);--o)t[n]=a=(t[n]^u(a^a>>>30,1664525))+(0|e[r])+(0|r)|0,++r,623<(0|(n=n+1|0))&&(t[0]=t[623],n=1),i<=r&&(r=0);for(o=623;0<(0|o);--o)t[n]=a=(t[n]^u(a^a>>>30,1566083941))-n|0,623<(0|(n=n+1|0))&&(t[0]=t[623],n=1);t[0]=2147483648}(r,t),a},a.autoSeed=function(){return a.seedWithArray(s.generateEntropyArray())},a}),browserCrypto:"undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues&&"function"==typeof Int32Array?(r=null,i=128,function(){return 128<=i&&(null===r&&(r=new Int32Array(128)),crypto.getRandomValues(r),i=0),0|r[i++]}):null},s.generateEntropyArray=function(){for(var t=[],e=s.engines.nativeMath,n=0;n<16;++n)t[n]=0|e();return t.push(0|(new Date).getTime()),t},s.int32=function(t){return 0|t()},o.int32=function(){return s.int32(this.engine)},s.uint32=function(t){return t()>>>0},o.uint32=function(){return s.uint32(this.engine)},s.uint53=function(t){return 4294967296*(2097151&t())+(t()>>>0)},o.uint53=function(){return s.uint53(this.engine)},s.uint53Full=function(t){for(;;){var e=0|t();if(!(2097152&e))return 4294967296*(2097151&e)+(t()>>>0);if(2097152==(4194303&e)&&0==(0|t()))return 9007199254740992}},o.uint53Full=function(){return s.uint53Full(this.engine)},s.int53=function(t){var e=0|t();return 4294967296*(2097151&e)+(t()>>>0)+(2097152&e?-9007199254740992:0)},o.int53=function(){return s.int53(this.engine)},s.int53Full=function(t){for(;;){var e=0|t();if(!(4194304&e))return 4294967296*(2097151&e)+(t()>>>0)+(2097152&e?-9007199254740992:0);if(4194304==(8388607&e)&&0==(0|t()))return 9007199254740992}},o.int53Full=function(){return s.int53Full(this.engine)},s.integer=function(t,e){if(t=Math.floor(t),e=Math.floor(e),t<-9007199254740992||!isFinite(t))throw new RangeError("Expected min to be at least -9007199254740992");if(9007199254740992>>0;ne.length||!isFinite(n))throw new RangeError("Expected sampleSize to be within 0 and the length of the population");if(0===n)return[];var r=j.call(e),e=r.length;if(e===n)return s.shuffle(t,r,0);n=e-n;return s.shuffle(t,r,n-1).slice(n)},o.sample=function(t,e){return s.sample(this.engine,t,e)},s.die=function(t){return s.integer(1,t)},o.die=function(t){return s.die(t)(this.engine)},s.dice=function(t,r){var i=s.die(t);return function(t){var e=[];e.length=r;for(var n=0;n>>0,n=0|t(),r=0|t(),t=t()>>>0;return C(e.toString(16),8)+"-"+C((65535&n).toString(16),4)+"-"+C((n>>4&4095|16384).toString(16),4)+"-"+C((16383&r|32768).toString(16),4)+"-"+C((r>>4&65535).toString(16),4)+C(t.toString(16),8)},o.uuid4=function(){return s.uuid4(this.engine)},s.string=function(o){var t=(o=null==o?"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-":o).length;if(!t)throw new Error("Expected pool not to be an empty string");var a=s.integer(0,t-1);return function(t,e){for(var n="",r=0;r'),e=(0,r.default)(''),n=(0,r.default)("").html(this.error.toString());return t.append(e),t.append(n),(0,r.default)(this.rootElement).empty(),(0,r.default)(this.rootElement).append(t)},t=a;function a(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.error=e,this.rootElement=i.default.has(t,"length")?t[0]:t}e.exports=t},{jquery:339,lodash:340}],345:[function(t,e,n){"use strict";var r,i=t("lodash"),o=(r=i)&&r.__esModule?r:{default:r};var a={circleColor:"#042a4b",circleDragAreaWidth:8,circleStrokeWidth:1,coreLabelFontColor:"#333333",coreLabelFontFamily:"sans-serif",coreLabelFontSelectedColor:"#333333",coreLabelFontSize:14,coreLabelMinimumLabelDistance:7,crossColor:"grey",footerFontColor:"#000000",footerFontFamily:"sans-serif",footerFontSize:11,linkColor:"grey",linkWidth:1,subtitleFontColor:"#000000",subtitleFontFamily:"sans-serif",subtitleFontSize:18,surfaceLabelFontBaseSize:14,surfaceLabelFontColor:"#333333",surfaceLabelFontFamily:"sans-serif",surfaceLabelFontSelectedColor:"#333333",surfaceLabelMinimumLabelDistance:15,surfaceLabelRadialPadding:3,titleFontColor:"#000000",titleFontFamily:"sans-serif",titleFontSize:24};e.exports=function(t){return o.default.merge({},a,t)}},{lodash:340}],346:[function(t,e,n){"use strict";var r=(i.prototype.computePreferredDimensions=function(){return{width:0,height:0}},i.prototype.buildTransform=function(t){return"translate("+t.left+","+t.top+")"},i.prototype.draw=function(t){throw new Error("must be defined by subclass")},i);function i(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i)}e.exports=r},{}],347:[function(t,e,n){"use strict";var a=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=i(t("lodash")),u=function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}}(t("d3")),s=i(t("../math/distanceFromCenter")),r=i(t("../math/withBounds"));function i(t){return t&&t.__esModule?t:{default:t}}f.prototype.draw=function(){var t=this.center,e=this.radius,n=this.crossColor,r=this.circleColor,i=this.circleDragAreaWidth,o=this.circleStrokeWidth,a=this.parentContainer.append("g");a.append("line").attr("class","core-cross").attr("x1",t.x-6).attr("y1",t.y).attr("x2",t.x+6).attr("y2",t.y).attr("stroke-width",1).attr("stroke",n),a.append("line").attr("class","core-cross").attr("x1",t.x).attr("y1",t.y-6).attr("x2",t.x).attr("y2",t.y+6).attr("stroke-width",1).attr("stroke",n),this.parentContainer.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",e).attr("class","moon-circle").attr("stroke-width",o).style("fill","none").style("stroke",r),this.parentContainer.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",e).attr("stroke-width",i).attr("class","drag-circle").attr("cursor","all-scroll").style("fill","none").style("stroke","transparent").call(this.setupDrag())},f.prototype.applyRadiusConstraints=function(t){var e=Math.min(this.plotWidth,this.plotHeight),n=e/2-this.circleStrokeWidth;return(0,r.default)(e/20,t,n)},f.prototype.setupDrag=function(){var n=this.parentContainer,r=this.center,i=this.applyRadiusConstraints,o=this.circleRadiusChanged;return u.drag().on("start",function(){n.selectAll(".core-link").remove(),n.selectAll(".core-label").remove(),n.selectAll(".core-anchor").remove(),n.selectAll(".surface-link").remove(),n.selectAll(".surface-label").remove()}).on("drag",function(){var t=u.mouse(this),e=a(t,2),t=e[0],e=e[1],e=i((0,s.default)(r.x-t,r.y-e));n.select(".drag-circle").attr("r",e),n.select(".moon-circle").attr("r",e)}).on("end",function(){var t=u.mouse(this),e=a(t,2),t=e[0],e=e[1],e=i((0,s.default)(r.x-t,r.y-e));o(e)})},t=f;function f(t){var e=t.parentContainer,n=t.circleColor,r=t.crossColor,i=t.circleStrokeWidth,o=t.circleDragAreaWidth,a=t.center,u=t.radius,s=t.plotWidth,c=t.plotHeight,t=t.circleRadiusChanged;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),l.default.assign(this,{parentContainer:e,circleColor:n,crossColor:r,circleStrokeWidth:i,circleDragAreaWidth:o,center:a,radius:u,plotWidth:s,plotHeight:c,circleRadiusChanged:t}),this.applyRadiusConstraints=this.applyRadiusConstraints.bind(this)}e.exports=t},{"../math/distanceFromCenter":361,"../math/withBounds":364,d3:338,lodash:340}],348:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CoreLabels=void 0;var g=r(t("lodash")),d=function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}}(t("d3"));t("d3-transition");var _=t("../labellers/coreLabeller"),v=r(t("../math/getScreenCoords")),s=r(t("../math/detectViewportCollision"));function r(t){return t&&t.__esModule?t:{default:t}}n=n.CoreLabels=(y.prototype.draw=function(){var e=this;this.parentContainer.selectAll(".core-anchor").data(this.getLabels()).enter().append("circle").attr("stroke-width",3).attr("class","core-anchor").attr("fill","black").attr("data-id",function(t){return t.id}).attr("data-label",function(t){return t.name}).attr("cx",function(t){return t.anchor.x}).attr("cy",function(t){return t.anchor.y}).attr("r",function(t){return t.anchor.r}),this.parentContainer.selectAll(".core-link").data(this.getLabels()).enter().append("line").attr("x1",function(t){return t.anchor.x}).attr("y1",function(t){return t.anchor.y}).attr("x2",function(t){return g.default.get(t,"labelLineConnector.x",t.anchor.x)}).attr("y2",function(t){return g.default.get(t,"labelLineConnector.y",t.anchor.y)}).attr("data-id",function(t){return t.id}).attr("data-label",function(t){return t.name}).attr("class","core-link").attr("stroke-width",this.linkWidth).attr("stroke",this.linkColor).attr("opacity",function(t){return g.default.isNull(t.labelLineConnector)?0:1}),this.parentContainer.selectAll(".core-label").data(this.getLabels()).enter().append("text").style("fill",this.fontColor).attr("class","core-label").attr("x",function(t){return t.label.x}).attr("y",function(t){return t.label.y}).attr("data-id",function(t){return t.id}).attr("data-label",function(t){return t.name}).attr("cursor","all-scroll").attr("text-anchor","middle").style("font-family",this.fontFamily).style("font-size",this.fontSize+"px").text(function(t){return t.name}).call(this.setupDrag()),this.getLabels().forEach(function(t){t=t.id;return e.adjustLabelLength(t)})},y.prototype.adjustLabelLength=function(t){var e=this.parentContainer.select(".core-label[data-id='"+t+"']").node();d.select(e).text(d.select(e).data()[0].name);for(var n=d.select(e).node().textContent,r=!1,i=this.plotWidth,o=this.plotHeight,a=this.plotOffsetX,u=this.plotOffsetY;(0,s.default)({label:e,plotWidth:i,plotHeight:o,plotOffsetX:a,plotOffsetY:u})&&0=c&&d.event.x<=f,n=d.event.y>=l&&d.event.y<=h,r=d.select(this),i=r.node(),o=i.getBBox(),a=i.getCTM(),u=(0,_.default)(o,a),i=t.label.x"!==d){_.push(d);var M=x(_),S=M.width,M=M.height;if(g=y+M,!j.default.isNull(s)&&s/g,"
").split(" ").map(j.default.trim).filter(function(t){return!j.default.isEmpty(t)}),joinCharacter:" ",rotation:s})},splitIntoLinesByCharacter:function(){var t=(s=0i&&e.xu+10,p=e.y>u,t=e.xo,i=e.x>o+10,o=null;if(c&&l)o=C;else if(c&&h)o=M;else if(f&&t)o=j;else if(f&&u)o="TOP_RIGHT";else if(p&&t)o=w;else if(p&&u)o=S;else if(a)o=E;else if(i)o=k;else{var d=s[j].x-10,g=s[S].x+10,_=s[j].y-10,v=s[S].y+10,y=0,m=!0,a=!1,i=void 0;try{for(var b,x=Array.from(r)[Symbol.iterator]();!(m=(b=x.next()).done);m=!0)(e=b.value).x>d&&e.x_&&e.yu+h*Math.cos(o)||t[n].x+t[n].width/2>u+h*Math.cos(a))&&(t[n].yf+h&&(k[e].y=f+h-5),c(k,0,e);i=(p?d(e,k,A):s(e))-i;l.real(0,1)f+h&&(k[e].y=f+h-5),c(k,0,e);i=(p?d(e,k,A):s(e))-i;l.real(0,1).5*Math.PI||v.a<-.5*Math.PI||v.a>-.5*Math.PI&&v.a<0||0.5*Math.PI||v.a<-.5*Math.PI||v.a>-.5*Math.PI&&v.a<0||0",{width:r,height:n,top:i,left:o}),{width:r,height:n,top:i,left:o,canvasWidth:this.canvasWidth,canvasHeight:this.canvasHeight}},l.prototype._getRow=function(t){var e=a.default.find(c,{name:t});if(!e)throw new Error("Invalid row: "+t);return e},l.prototype._getColumn=function(t){var e=a.default.find(s,{name:t});if(!e)throw new Error("Invalid column: "+t);return e},l.prototype._getRowHeight=function(e){var n=this,t=this._getRow(e),t=(0,a.default)(t.cells).map(function(t){return n.cellInfo[t]}).filter({enabled:!0}).map(function(t){return t.fill?n._getHeightOfFillCell(t.name,e):t.height}).max();return u.debug("layout._getRowHeight("+e+") ->",t||0),t||0},l.prototype._getColumnWidth=function(e){var n=this,t=this._getColumn(e),t=(0,a.default)(t.cells).map(function(t){return n.cellInfo[t]}).filter({enabled:!0}).map(function(t){return t.fill?n._getWidthOfFillCell(t.name,e):n._getWidthOfFixedCell(t.name)}).max();return u.debug("layout._getColumnWidth("+e+") ->",t||0),t||0},l.prototype._getWidthOfFillCell=function(t,e){var n=this,r=a.default.filter(s,function(t){return t.name!==e&&n._columnEnabled(t.name)}),r=(0,a.default)(r).map(function(t){return n._getColumnWidth(t.name)}).sum()+r.length*this.padding+2*this.outerPadding;return u.debug("layout._getWidthOfFillCell("+t+", "+e+") ->",this.canvasWidth-r),this.canvasWidth-r},l.prototype._getHeightOfFillCell=function(t,e){var n=this,r=a.default.filter(c,function(t){return t.name!==e&&n._rowEnabled(t.name)}),r=(0,a.default)(r).map(function(t){return n._getRowHeight(t.name)}).sum()+r.length*this.padding+2*this.outerPadding;return u.debug("layout._getHeightOfFillCell("+t+", "+e+") ->",this.canvasHeight-r),this.canvasHeight-r},l.prototype._getWidthOfFixedCell=function(t){return this.cellInfo[t].width},l.prototype._getHeightOfFixedCell=function(t){return this.cellInfo[t].height},l.prototype._rowEnabled=function(t){var e=this,t=this._getRow(t);return a.default.some(t.cells,function(t){return e.cellInfo[t].enabled})},l.prototype._columnEnabled=function(t){var e=this,t=this._getColumn(t);return a.default.some(t.cells,function(t){return e.cellInfo[t].enabled})},l.prototype._findRowFromCell=function(e){var t=a.default.find(c,function(t){return-1!==t.cells.indexOf(e)});if(t)return t.name;throw new Error("Invalid cell name "+e+" : not in any rows")},l.prototype._findColumnFromCell=function(e){var t=a.default.find(s,function(t){return-1!==t.cells.indexOf(e)});if(t)return t.name;throw new Error("Invalid cell name "+e+" : not in any columns")},l.prototype._getEnabledRowsBeforeRow=function(e){var n=this,t=(1n+o,o=i.topr+t;return e||n||o||t}},{"./getScreenCoords":362}],361:[function(t,e,n){"use strict";e.exports=function(t,e){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2))}},{}],362:[function(t,e,n){"use strict";e.exports=function(t,e){return{x:e.e+t.x*e.a+t.y*e.c,y:e.f+t.x*e.b+t.y*e.d}}},{}],363:[function(t,e,n){"use strict";e.exports=function(t,e){return(t+Math.PI)/(2*Math.PI)*e}},{}],364:[function(t,e,n){"use strict";e.exports=function(t,e,n){return Math.max(t,Math.min(n,e))}},{}],365:[function(t,e,n){"use strict";var s=d(t("lodash")),r=function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}}(t("d3")),i=d(t("./plotState")),o=d(t("./buildConfig")),c=d(t("./math/buildLabelObjectsFromConfig")),l=t("./layout"),a=d(t("./labellers/coreLabeller")),u=d(t("./labellers/surfaceLabeller")),f=d(t("./components/moonPlot")),h=d(t("./components/title")),p=d(t("./components/resetButton"));function d(t){return t&&t.__esModule?t:{default:t}}var g=["coreLabelFontSize","surfaceLabelFontSize","surfaceLabelMinimumLabelDistance","surfaceLabelRadialPadding","surfaceLabelFontBaseSize","surfaceLabelRadialPadding"],_=["coreNodes","surfaceNodes","coreLabels","surfaceLabels"],t=(v.initClass=function(){this.widgetIndex=0,this.widgetName="moonPlot"},v.prototype.containerDimensions=function(){var t=s.default.has(this.rootElement,"length")?this.rootElement[0]:this.rootElement;try{return t.getBoundingClientRect()}catch(t){throw t.message="fail in this.containerDimensions: "+t.message,t}},v.prototype.init=function(){this.plotState=new i.default,this.plotState.setPlotReference(this),this.config=null,this.inputData=null},v.prototype.reset=function(){this.registeredStateListeners.forEach(function(t){return t()}),this.init()},v.prototype.clearPlot=function(){this.svg.selectAll("*").remove()},v.prototype.setConfig=function(t){this.config=(0,o.default)(s.default.omit(t,_)),this.inputData=s.default.pick(t,_),this.initialiseComponents()},v.defaultState=function(){return s.default.cloneDeep({version:1,sourceData:{coreLabels:[],surfaceLabels:[]},plot:{coreLabels:[],surfaceLabels:[]},plotSize:{width:null,height:null},circleRadius:null})},v.prototype.addStateListener=function(t){this.registeredStateListeners.push(this.plotState.addListener(t))},v.prototype.setState=function(t){this.checkState(t)?this.plotState.initialiseState(t):this.resetState()},v.prototype.checkState=function(e){var n=this,t=(0,s.default)(g).every(function(t){return s.default.get(e,"configInvariants."+t)===n.config[t]}),r=this.containerDimensions(),i=r.width,o=r.height,a=this.layout.getCellBounds(l.CellNames.PLOT),u={x:a.left+a.width/2,y:a.top+a.height/2},r=(0,c.default)(this.inputData),a=r.coreLabels,r=r.surfaceLabels;return!s.default.isEmpty(e)&&1===e.version&&Math.abs(e.plotSize.width-i)<2&&Math.abs(e.plotSize.height-o)<2&&s.default.isEqual(e.sourceData,{coreLabels:a,surfaceLabels:r})&&s.default.isEqual(e.center,u)&&s.default.has(e,"circleRadius")&&t},v.prototype.resetState=function(t){var e=this.layout.getCellBounds(l.CellNames.PLOT),n=this.containerDimensions(),r=t||Math.min(e.width,e.height)/3,i={x:e.left+e.width/2,y:e.top+e.height/2},o={x:e.width/2,y:e.height/2},t=(0,c.default)(this.inputData),e=a.default.positionLabels({svg:this.svg,coreLabels:t.coreLabels,minLabelDistance:this.config.coreLabelMinimumLabelDistance,fontFamily:this.config.coreLabelFontFamily,fontSize:this.config.coreLabelFontSize,radius:r,center:o}),o=u.default.positionLabels({svg:this.svg,surfaceLabels:t.surfaceLabels,minLabelDistance:this.config.surfaceLabelMinimumLabelDistance,radialPadding:this.config.surfaceLabelRadialPadding,fontFamily:this.config.surfaceLabelFontFamily,fontSize:this.config.surfaceLabelFontBaseSize,radius:r,center:o});this.plotState.setState(s.default.merge({},v.defaultState(),{version:1,sourceData:t,plot:{coreLabels:e,surfaceLabels:o},plotSize:{width:n.width,height:n.height},circleRadius:r,center:i,configInvariants:s.default.pick(this.config,g)}))},v.prototype.draw=function(){this.rootElement.setAttribute("rhtmlwidget-status","loading"),this.clearPlot();var t=this.containerDimensions(),e=t.width,t=t.height;this.svg.attr("width",e).attr("height",t),this.layout.enabled(l.CellNames.TITLE)&&this.components[l.CellNames.TITLE].draw(this.layout.getCellBounds(l.CellNames.TITLE)),this.layout.enabled(l.CellNames.SUBTITLE)&&this.components[l.CellNames.SUBTITLE].draw(this.layout.getCellBounds(l.CellNames.SUBTITLE)),this.layout.enabled(l.CellNames.FOOTER)&&this.components[l.CellNames.FOOTER].draw(this.layout.getCellBounds(l.CellNames.FOOTER)),this.components[l.CellNames.PLOT].draw(this.layout.getCellBounds(l.CellNames.PLOT)),this.components[l.CellNames.RESET].draw(),this.rootElement.setAttribute("rhtmlwidget-status","ready")},v.prototype.initialiseComponents=function(){var t=this;this.components={};var e,n=this.containerDimensions(),r=n.width,i=n.height;this.layout=new l.Layout(r,i,5,0),this.components[l.CellNames.PLOT]=new f.default({parentContainer:this.svg,config:this.config,plotState:this.plotState}),this.layout.enable(l.CellNames.PLOT),this.layout.setFillCell(l.CellNames.PLOT),s.default.isEmpty(this.config.title)||(this.components[l.CellNames.TITLE]=new h.default({parentContainer:this.svg,text:this.config.title,fontColor:this.config.titleFontColor,fontSize:this.config.titleFontSize,fontFamily:this.config.titleFontFamily,maxWidth:r,maxHeight:i/4,bold:!1,innerPadding:2}),n=this.components[l.CellNames.TITLE].computePreferredDimensions(),this.layout.enable(l.CellNames.TITLE),this.layout.setPreferredDimensions(l.CellNames.TITLE,n)),s.default.isEmpty(this.config.subtitle)||(this.components[l.CellNames.SUBTITLE]=new h.default({parentContainer:this.svg,text:this.config.subtitle,fontColor:this.config.subtitleFontColor,fontSize:this.config.subtitleFontSize,fontFamily:this.config.subtitleFontFamily,maxWidth:r,maxHeight:i/4,bold:!1,innerPadding:2}),e=this.components[l.CellNames.SUBTITLE].computePreferredDimensions(),this.layout.enable(l.CellNames.SUBTITLE),this.layout.setPreferredDimensions(l.CellNames.SUBTITLE,e)),s.default.isEmpty(this.config.footer)||(this.components[l.CellNames.FOOTER]=new h.default({parentContainer:this.svg,text:this.config.footer,fontColor:this.config.footerFontColor,fontSize:this.config.footerFontSize,fontFamily:this.config.footerFontFamily,maxWidth:r,maxHeight:i/4,bold:!1,innerPadding:2}),e=this.components[l.CellNames.FOOTER].computePreferredDimensions(),this.layout.enable(l.CellNames.FOOTER),this.layout.setPreferredDimensions(l.CellNames.FOOTER,e)),this.components[l.CellNames.RESET]=new p.default({parentContainer:this.svg,fontFamily:this.config.titleFontFamily,plotWidth:r,plotHeight:i,onReset:function(){t.resetState(),t.draw()}}),this.layout.allComponentsRegistered()},v);function v(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v),this.rootElement=t,this.registeredStateListeners=[],this.id=v.widgetName+"-"+v.widgetIndex++;var e=this.containerDimensions(),t=e.width,e=e.height;this.svg=r.select(this.rootElement).append("svg").attr("id",this.id).attr("class","svgContent").attr("width",t).attr("height",e),this.init()}t.initClass(),e.exports=t},{"./buildConfig":345,"./components/moonPlot":349,"./components/resetButton":350,"./components/title":352,"./labellers/coreLabeller":354,"./labellers/surfaceLabeller":356,"./layout":357,"./math/buildLabelObjectsFromConfig":358,"./plotState":366,d3:338,lodash:340}],366:[function(t,e,n){"use strict";var r,i=t("lodash"),o=(r=i)&&r.__esModule?r:{default:r};a.prototype.setPlotReference=function(t){this.plotReference=t},a.prototype.init=function(){this.state={},this.listeners={},this.listenerId=0},a.prototype.initialiseState=function(t){this.state=t},a.prototype.setState=function(t){this.state=t,this.callListeners()},a.prototype.callListeners=function(){var e=this;o.default.each(this.listeners,function(t){t(o.default.cloneDeep(e.state))})},a.prototype.addListener=function(t){var e=this,n=this.listenerId++;this.listeners[n]=t;return function(){delete e.listeners[n]}},a.prototype.moveCoreLabel=function(t,e){o.default.find(this.state.plot.coreLabels,{id:t}).moved=!0,this.callListeners()},a.prototype.moveSurfaceLabel=function(t,e){o.default.find(this.state.plot.surfaceLabels,{id:t}).moved=!0,this.callListeners()},a.prototype.circleRadiusChanged=function(t){this.plotReference.clearPlot(),this.plotReference.initialiseComponents(),this.plotReference.resetState(t),this.callListeners(),this.plotReference.draw()},a.prototype.getCircleRadius=function(){return this.state.circleRadius},a.prototype.getCenter=function(){return this.state.center},a.prototype.getCoreLabels=function(){return this.state.plot.coreLabels},a.prototype.getSurfaceLabels=function(){return this.state.plot.surfaceLabels},a.prototype.getPlotSize=function(){return this.state.plotSize},t=a;function a(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.moveCoreLabel=this.moveCoreLabel.bind(this),this.moveSurfaceLabel=this.moveSurfaceLabel.bind(this),this.circleRadiusChanged=this.circleRadiusChanged.bind(this),this.getCoreLabels=this.getCoreLabels.bind(this),this.getSurfaceLabels=this.getSurfaceLabels.bind(this),this.init()}e.exports=t},{lodash:340}],367:[function(t,e,n){"use strict";var s=r(t("lodash")),c=r(t("./outerPlot")),l=r(t("./DisplayError"));function r(t){return t&&t.__esModule?t:{default:t}}e.exports=function(n,t,e,r){var i=null,o=null,a=new c.default(n);function u(t,e){try{a.reset(),a.setConfig(t),"function"==typeof r&&a.addStateListener(r),a.setState(e),a.addStateListener(function(t){o=t}),a.draw()}catch(t){!function(t,e){throw console.error(t.stack),new l.default(e,t).draw(),new Error(t)}(t,n)}}return{resize:function(){u(i,o)},renderValue:function(t,e){i=s.default.cloneDeep(t),u(t,e)}}}},{"./DisplayError":344,"./outerPlot":365,lodash:340}],368:[function(t,e,n){"use strict";t("babel-polyfill");var r,i=t("./rhtmlMoonPlot.factory"),t=(r=i)&&r.__esModule?r:{default:r};HTMLWidgets.widget({name:"rhtmlMoonPlot",type:"output",factory:t.default})},{"./rhtmlMoonPlot.factory":367,"babel-polyfill":1}]},{},[368]); +(()=>{var jH=Object.create;var k1=Object.defineProperty;var GH=Object.getOwnPropertyDescriptor;var XH=Object.getOwnPropertyNames;var YH=Object.getPrototypeOf,VH=Object.prototype.hasOwnProperty;var B1=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,n)=>(typeof require!="undefined"?require:t)[n]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var K=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(a){throw n=[a],a}};var T=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var KH=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of XH(t))!VH.call(e,s)&&s!==n&&k1(e,s,{get:()=>t[s],enumerable:!(a=GH(t,s))||a.enumerable});return e};var Re=(e,t,n)=>(n=e!=null?jH(YH(e)):{},KH(t||!e||!e.__esModule?k1(n,"default",{value:e,enumerable:!0}):n,e));var u=K(()=>{typeof Object.assign!="function"&&(Object.assign=function(e){for(let t=1;t{u();var ZH=W1.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=ZH)});var zr=T((zK,U1)=>{u();var JH={}.hasOwnProperty;U1.exports=function(e,t){return JH.call(e,t)}});var ot=T((GK,H1)=>{u();H1.exports=function(e){try{return!!e()}catch(t){return!0}}});var Ct=T((YK,$1)=>{u();$1.exports=!ot()(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})});var fn=T((KK,z1)=>{u();var QH=z1.exports={version:"2.6.12"};typeof __e=="number"&&(__e=QH)});var pt=T((JK,j1)=>{u();j1.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}});var Xe=T((eZ,G1)=>{u();var e6=pt();G1.exports=function(e){if(!e6(e))throw TypeError(e+" is not an object!");return e}});var Ml=T((rZ,Y1)=>{u();var X1=pt(),qd=nt().document,t6=X1(qd)&&X1(qd.createElement);Y1.exports=function(e){return t6?qd.createElement(e):{}}});var Sd=T((iZ,V1)=>{u();V1.exports=!Ct()&&!ot()(function(){return Object.defineProperty(Ml()("div"),"a",{get:function(){return 7}}).a!=7})});var On=T((aZ,K1)=>{u();var Ll=pt();K1.exports=function(e,t){if(!Ll(e))return e;var n,a;if(t&&typeof(n=e.toString)=="function"&&!Ll(a=n.call(e))||typeof(n=e.valueOf)=="function"&&!Ll(a=n.call(e))||!t&&typeof(n=e.toString)=="function"&&!Ll(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}});var Rt=T(J1=>{u();var Z1=Xe(),r6=Sd(),n6=On(),i6=Object.defineProperty;J1.f=Ct()?Object.defineProperty:function(t,n,a){if(Z1(t),n=n6(n,!0),Z1(a),r6)try{return i6(t,n,a)}catch(s){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(t[n]=a.value),t}});var Gi=T((lZ,Q1)=>{u();Q1.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}});var Or=T((hZ,ew)=>{u();var o6=Rt(),a6=Gi();ew.exports=Ct()?function(e,t,n){return o6.f(e,t,a6(1,n))}:function(e,t,n){return e[t]=n,e}});var Xi=T((dZ,tw)=>{u();var u6=0,s6=Math.random();tw.exports=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++u6+s6).toString(36))}});var vi=T((vZ,rw)=>{u();rw.exports=!1});var Ea=T((xZ,aw)=>{u();var f6=fn(),nw=nt(),iw="__core-js_shared__",ow=nw[iw]||(nw[iw]={});(aw.exports=function(e,t){return ow[e]||(ow[e]=t!==void 0?t:{})})("versions",[]).push({version:f6.version,mode:vi()?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})});var sw=T((wZ,uw)=>{u();uw.exports=Ea()("native-function-to-string",Function.toString)});var Ar=T((_Z,cw)=>{u();var l6=nt(),Rl=Or(),fw=zr(),Td=Xi()("src"),Cd=sw(),lw="toString",c6=(""+Cd).split(lw);fn().inspectSource=function(e){return Cd.call(e)};(cw.exports=function(e,t,n,a){var s=typeof n=="function";s&&(fw(n,"name")||Rl(n,"name",t)),e[t]!==n&&(s&&(fw(n,Td)||Rl(n,Td,e[t]?""+e[t]:c6.join(String(t)))),e===l6?e[t]=n:a?e[t]?e[t]=n:Rl(e,t,n):(delete e[t],Rl(e,t,n)))})(Function.prototype,lw,function(){return typeof this=="function"&&this[Td]||Cd.call(this)})});var ur=T((SZ,hw)=>{u();hw.exports=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}});var ln=T((CZ,pw)=>{u();var h6=ur();pw.exports=function(e,t,n){if(h6(e),t===void 0)return e;switch(n){case 1:return function(a){return e.call(t,a)};case 2:return function(a,s){return e.call(t,a,s)};case 3:return function(a,s,c){return e.call(t,a,s,c)}}return function(){return e.apply(t,arguments)}}});var re=T((OZ,gw)=>{u();var Oa=nt(),Pl=fn(),p6=Or(),d6=Ar(),dw=ln(),Ed="prototype",xr=function(e,t,n){var a=e&xr.F,s=e&xr.G,c=e&xr.S,d=e&xr.P,m=e&xr.B,w=s?Oa:c?Oa[t]||(Oa[t]={}):(Oa[t]||{})[Ed],_=s?Pl:Pl[t]||(Pl[t]={}),O=_[Ed]||(_[Ed]={}),L,S,I,P;s&&(n=t);for(L in n)S=!a&&w&&w[L]!==void 0,I=(S?w:n)[L],P=m&&S?dw(I,Oa):d&&typeof I=="function"?dw(Function.call,I):I,w&&d6(w,L,I,e&xr.U),_[L]!=I&&p6(_,L,P),d&&O[L]!=I&&(O[L]=I)};Oa.core=Pl;xr.F=1;xr.G=2;xr.S=4;xr.P=8;xr.B=16;xr.W=32;xr.U=64;xr.R=128;gw.exports=xr});var mi=T((IZ,vw)=>{u();var Fo=Xi()("meta"),g6=pt(),Od=zr(),v6=Rt().f,m6=0,Fl=Object.isExtensible||function(){return!0},x6=!ot()(function(){return Fl(Object.preventExtensions({}))}),Ad=function(e){v6(e,Fo,{value:{i:"O"+ ++m6,w:{}}})},y6=function(e,t){if(!g6(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!Od(e,Fo)){if(!Fl(e))return"F";if(!t)return"E";Ad(e)}return e[Fo].i},w6=function(e,t){if(!Od(e,Fo)){if(!Fl(e))return!0;if(!t)return!1;Ad(e)}return e[Fo].w},b6=function(e){return x6&&_6.NEED&&Fl(e)&&!Od(e,Fo)&&Ad(e),e},_6=vw.exports={KEY:Fo,NEED:!1,fastKey:y6,getWeak:w6,onFreeze:b6}});var wt=T((LZ,xw)=>{u();var Id=Ea()("wks"),q6=Xi(),Md=nt().Symbol,mw=typeof Md=="function",S6=xw.exports=function(e){return Id[e]||(Id[e]=mw&&Md[e]||(mw?Md:q6)("Symbol."+e))};S6.store=Id});var Do=T((PZ,ww)=>{u();var T6=Rt().f,C6=zr(),yw=wt()("toStringTag");ww.exports=function(e,t,n){e&&!C6(e=n?e:e.prototype,yw)&&T6(e,yw,{configurable:!0,value:t})}});var Ld=T(bw=>{u();bw.f=wt()});var Dl=T((kZ,qw)=>{u();var E6=nt(),_w=fn(),O6=vi(),A6=Ld(),I6=Rt().f;qw.exports=function(e){var t=_w.Symbol||(_w.Symbol=O6?{}:E6.Symbol||{});e.charAt(0)!="_"&&!(e in t)&&I6(t,e,{value:A6.f(e)})}});var cn=T((WZ,Sw)=>{u();var M6={}.toString;Sw.exports=function(e){return M6.call(e).slice(8,-1)}});var Aa=T((HZ,Tw)=>{u();var L6=cn();Tw.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return L6(e)=="String"?e.split(""):Object(e)}});var An=T((zZ,Cw)=>{u();Cw.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}});var jr=T((GZ,Ew)=>{u();var R6=Aa(),P6=An();Ew.exports=function(e){return R6(P6(e))}});var hn=T((YZ,Ow)=>{u();var F6=Math.ceil,D6=Math.floor;Ow.exports=function(e){return isNaN(e=+e)?0:(e>0?D6:F6)(e)}});var _t=T((KZ,Aw)=>{u();var N6=hn(),k6=Math.min;Aw.exports=function(e){return e>0?k6(N6(e),9007199254740991):0}});var Yi=T((JZ,Iw)=>{u();var B6=hn(),W6=Math.max,U6=Math.min;Iw.exports=function(e,t){return e=B6(e),e<0?W6(e+t,0):U6(e,t)}});var Uu=T((eJ,Mw)=>{u();var H6=jr(),$6=_t(),z6=Yi();Mw.exports=function(e){return function(t,n,a){var s=H6(t),c=$6(s.length),d=z6(a,c),m;if(e&&n!=n){for(;c>d;)if(m=s[d++],m!=m)return!0}else for(;c>d;d++)if((e||d in s)&&s[d]===n)return e||d||0;return!e&&-1}}});var Nl=T((rJ,Rw)=>{u();var Lw=Ea()("keys"),j6=Xi();Rw.exports=function(e){return Lw[e]||(Lw[e]=j6(e))}});var Rd=T((iJ,Fw)=>{u();var Pw=zr(),G6=jr(),X6=Uu()(!1),Y6=Nl()("IE_PROTO");Fw.exports=function(e,t){var n=G6(e),a=0,s=[],c;for(c in n)c!=Y6&&Pw(n,c)&&s.push(c);for(;t.length>a;)Pw(n,c=t[a++])&&(~X6(s,c)||s.push(c));return s}});var kl=T((aJ,Dw)=>{u();Dw.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")});var Vi=T((sJ,Nw)=>{u();var V6=Rd(),K6=kl();Nw.exports=Object.keys||function(t){return V6(t,K6)}});var Hu=T(kw=>{u();kw.f=Object.getOwnPropertySymbols});var Ia=T(Bw=>{u();Bw.f={}.propertyIsEnumerable});var Uw=T((dJ,Ww)=>{u();var Z6=Vi(),J6=Hu(),Q6=Ia();Ww.exports=function(e){var t=Z6(e),n=J6.f;if(n)for(var a=n(e),s=Q6.f,c=0,d;a.length>c;)s.call(e,d=a[c++])&&t.push(d);return t}});var $u=T((vJ,Hw)=>{u();var e$=cn();Hw.exports=Array.isArray||function(t){return e$(t)=="Array"}});var Bt=T((xJ,$w)=>{u();var t$=An();$w.exports=function(e){return Object(t$(e))}});var Pd=T((wJ,zw)=>{u();var r$=Rt(),n$=Xe(),i$=Vi();zw.exports=Ct()?Object.defineProperties:function(t,n){n$(t);for(var a=i$(n),s=a.length,c=0,d;s>c;)r$.f(t,d=a[c++],n[d]);return t}});var Bl=T((_J,Gw)=>{u();var jw=nt().document;Gw.exports=jw&&jw.documentElement});var Ki=T((SJ,Yw)=>{u();var o$=Xe(),a$=Pd(),Xw=kl(),u$=Nl()("IE_PROTO"),Fd=function(){},Dd="prototype",Wl=function(){var e=Ml()("iframe"),t=Xw.length,n="<",a=">",s;for(e.style.display="none",Bl().appendChild(e),e.src="javascript:",s=e.contentWindow.document,s.open(),s.write(n+"script"+a+"document.F=Object"+n+"/script"+a),s.close(),Wl=s.F;t--;)delete Wl[Dd][Xw[t]];return Wl()};Yw.exports=Object.create||function(t,n){var a;return t!==null?(Fd[Dd]=o$(t),a=new Fd,Fd[Dd]=null,a[u$]=t):a=Wl(),n===void 0?a:a$(a,n)}});var Zi=T(Vw=>{u();var s$=Rd(),f$=kl().concat("length","prototype");Vw.f=Object.getOwnPropertyNames||function(t){return s$(t,f$)}});var Nd=T((OJ,Jw)=>{u();var l$=jr(),Kw=Zi().f,c$={}.toString,Zw=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h$=function(e){try{return Kw(e)}catch(t){return Zw.slice()}};Jw.exports.f=function(t){return Zw&&c$.call(t)=="[object Window]"?h$(t):Kw(l$(t))}});var Gr=T(eb=>{u();var p$=Ia(),d$=Gi(),g$=jr(),v$=On(),m$=zr(),x$=Sd(),Qw=Object.getOwnPropertyDescriptor;eb.f=Ct()?Qw:function(t,n){if(t=g$(t),n=v$(n,!0),x$)try{return Qw(t,n)}catch(a){}if(m$(t,n))return d$(!p$.f.call(t,n),t[n])}});var db=T(()=>{"use strict";u();var $l=nt(),Zt=zr(),$d=Ct(),sr=re(),tb=Ar(),y$=mi().KEY,Vd=ot(),Kd=Ea(),Zd=Do(),w$=Xi(),Gu=wt(),b$=Ld(),_$=Dl(),q$=Uw(),S$=$u(),zd=Xe(),T$=pt(),C$=Bt(),zl=jr(),Jd=On(),jd=Gi(),ju=Ki(),ob=Nd(),ab=Gr(),jl=Hu(),ub=Rt(),E$=Vi(),sb=ab.f,No=ub.f,fb=ob.f,Mr=$l.Symbol,Hl=$l.JSON,Ul=Hl&&Hl.stringify,Ji="prototype",Ir=Gu("_hidden"),rb=Gu("toPrimitive"),O$={}.propertyIsEnumerable,zu=Kd("symbol-registry"),xi=Kd("symbols"),Xu=Kd("op-symbols"),pn=Object[Ji],Ma=typeof Mr=="function"&&!!jl.f,kd=$l.QObject,Gd=!kd||!kd[Ji]||!kd[Ji].findChild,Xd=$d&&Vd(function(){return ju(No({},"a",{get:function(){return No(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var a=sb(pn,t);a&&delete pn[t],No(e,t,n),a&&e!==pn&&No(pn,t,a)}:No,nb=function(e){var t=xi[e]=ju(Mr[Ji]);return t._k=e,t},Yd=Ma&&typeof Mr.iterator=="symbol"?function(e){return typeof e=="symbol"}:function(e){return e instanceof Mr},Gl=function(t,n,a){return t===pn&&Gl(Xu,n,a),zd(t),n=Jd(n,!0),zd(a),Zt(xi,n)?(a.enumerable?(Zt(t,Ir)&&t[Ir][n]&&(t[Ir][n]=!1),a=ju(a,{enumerable:jd(0,!1)})):(Zt(t,Ir)||No(t,Ir,jd(1,{})),t[Ir][n]=!0),Xd(t,n,a)):No(t,n,a)},lb=function(t,n){zd(t);for(var a=q$(n=zl(n)),s=0,c=a.length,d;c>s;)Gl(t,d=a[s++],n[d]);return t},A$=function(t,n){return n===void 0?ju(t):lb(ju(t),n)},ib=function(t){var n=O$.call(this,t=Jd(t,!0));return this===pn&&Zt(xi,t)&&!Zt(Xu,t)?!1:n||!Zt(this,t)||!Zt(xi,t)||Zt(this,Ir)&&this[Ir][t]?n:!0},cb=function(t,n){if(t=zl(t),n=Jd(n,!0),!(t===pn&&Zt(xi,n)&&!Zt(Xu,n))){var a=sb(t,n);return a&&Zt(xi,n)&&!(Zt(t,Ir)&&t[Ir][n])&&(a.enumerable=!0),a}},hb=function(t){for(var n=fb(zl(t)),a=[],s=0,c;n.length>s;)!Zt(xi,c=n[s++])&&c!=Ir&&c!=y$&&a.push(c);return a},pb=function(t){for(var n=t===pn,a=fb(n?Xu:zl(t)),s=[],c=0,d;a.length>c;)Zt(xi,d=a[c++])&&(!n||Zt(pn,d))&&s.push(xi[d]);return s};Ma||(Mr=function(){if(this instanceof Mr)throw TypeError("Symbol is not a constructor!");var t=w$(arguments.length>0?arguments[0]:void 0),n=function(a){this===pn&&n.call(Xu,a),Zt(this,Ir)&&Zt(this[Ir],t)&&(this[Ir][t]=!1),Xd(this,t,jd(1,a))};return $d&&Gd&&Xd(pn,t,{configurable:!0,set:n}),nb(t)},tb(Mr[Ji],"toString",function(){return this._k}),ab.f=cb,ub.f=Gl,Zi().f=ob.f=hb,Ia().f=ib,jl.f=pb,$d&&!vi()&&tb(pn,"propertyIsEnumerable",ib,!0),b$.f=function(e){return nb(Gu(e))});sr(sr.G+sr.W+sr.F*!Ma,{Symbol:Mr});for(Bd="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Wd=0;Bd.length>Wd;)Gu(Bd[Wd++]);var Bd,Wd;for(Ud=E$(Gu.store),Hd=0;Ud.length>Hd;)_$(Ud[Hd++]);var Ud,Hd;sr(sr.S+sr.F*!Ma,"Symbol",{for:function(e){return Zt(zu,e+="")?zu[e]:zu[e]=Mr(e)},keyFor:function(t){if(!Yd(t))throw TypeError(t+" is not a symbol!");for(var n in zu)if(zu[n]===t)return n},useSetter:function(){Gd=!0},useSimple:function(){Gd=!1}});sr(sr.S+sr.F*!Ma,"Object",{create:A$,defineProperty:Gl,defineProperties:lb,getOwnPropertyDescriptor:cb,getOwnPropertyNames:hb,getOwnPropertySymbols:pb});var I$=Vd(function(){jl.f(1)});sr(sr.S+sr.F*I$,"Object",{getOwnPropertySymbols:function(t){return jl.f(C$(t))}});Hl&&sr(sr.S+sr.F*(!Ma||Vd(function(){var e=Mr();return Ul([e])!="[null]"||Ul({a:e})!="{}"||Ul(Object(e))!="{}"})),"JSON",{stringify:function(t){for(var n=[t],a=1,s,c;arguments.length>a;)n.push(arguments[a++]);if(c=s=n[1],!(!T$(s)&&t===void 0||Yd(t)))return S$(s)||(s=function(d,m){if(typeof c=="function"&&(m=c.call(this,d,m)),!Yd(m))return m}),n[1]=s,Ul.apply(Hl,n)}});Mr[Ji][rb]||Or()(Mr[Ji],rb,Mr[Ji].valueOf);Zd(Mr,"Symbol");Zd(Math,"Math",!0);Zd($l.JSON,"JSON",!0)});var vb=T(()=>{u();var gb=re();gb(gb.S,"Object",{create:Ki()})});var mb=T(()=>{u();var Qd=re();Qd(Qd.S+Qd.F*!Ct(),"Object",{defineProperty:Rt().f})});var xb=T(()=>{u();var eg=re();eg(eg.S+eg.F*!Ct(),"Object",{defineProperties:Pd()})});var In=T((zJ,yb)=>{u();var tg=re(),M$=fn(),L$=ot();yb.exports=function(e,t){var n=(M$.Object||{})[e]||Object[e],a={};a[e]=t(n),tg(tg.S+tg.F*L$(function(){n(1)}),"Object",a)}});var wb=T(()=>{u();var R$=jr(),P$=Gr().f;In()("getOwnPropertyDescriptor",function(){return function(t,n){return P$(R$(t),n)}})});var Xr=T((VJ,_b)=>{u();var F$=zr(),D$=Bt(),bb=Nl()("IE_PROTO"),N$=Object.prototype;_b.exports=Object.getPrototypeOf||function(e){return e=D$(e),F$(e,bb)?e[bb]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?N$:null}});var qb=T(()=>{u();var k$=Bt(),B$=Xr();In()("getPrototypeOf",function(){return function(t){return B$(k$(t))}})});var Sb=T(()=>{u();var W$=Bt(),U$=Vi();In()("keys",function(){return function(t){return U$(W$(t))}})});var Tb=T(()=>{u();In()("getOwnPropertyNames",function(){return Nd().f})});var Cb=T(()=>{u();var H$=pt(),$$=mi().onFreeze;In()("freeze",function(e){return function(n){return e&&H$(n)?e($$(n)):n}})});var Eb=T(()=>{u();var z$=pt(),j$=mi().onFreeze;In()("seal",function(e){return function(n){return e&&z$(n)?e(j$(n)):n}})});var Ob=T(()=>{u();var G$=pt(),X$=mi().onFreeze;In()("preventExtensions",function(e){return function(n){return e&&G$(n)?e(X$(n)):n}})});var Ab=T(()=>{u();var Y$=pt();In()("isFrozen",function(e){return function(n){return Y$(n)?e?e(n):!1:!0}})});var Ib=T(()=>{u();var V$=pt();In()("isSealed",function(e){return function(n){return V$(n)?e?e(n):!1:!0}})});var Mb=T(()=>{u();var K$=pt();In()("isExtensible",function(e){return function(n){return K$(n)?e?e(n):!0:!1}})});var rg=T((SQ,Rb)=>{"use strict";u();var Z$=Ct(),Lb=Vi(),J$=Hu(),Q$=Ia(),e5=Bt(),t5=Aa(),Xl=Object.assign;Rb.exports=!Xl||ot()(function(){var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach(function(s){t[s]=s}),Xl({},e)[n]!=7||Object.keys(Xl({},t)).join("")!=a})?function(t,n){for(var a=e5(t),s=arguments.length,c=1,d=J$.f,m=Q$.f;s>c;)for(var w=t5(arguments[c++]),_=d?Lb(w).concat(d(w)):Lb(w),O=_.length,L=0,S;O>L;)S=_[L++],(!Z$||m.call(w,S))&&(a[S]=w[S]);return a}:Xl});var Pb=T(()=>{u();var ng=re();ng(ng.S+ng.F,"Object",{assign:rg()})});var ig=T((AQ,Fb)=>{u();Fb.exports=Object.is||function(t,n){return t===n?t!==0||1/t===1/n:t!=t&&n!=n}});var Nb=T(()=>{u();var Db=re();Db(Db.S,"Object",{is:ig()})});var Yl=T((PQ,Bb)=>{u();var r5=pt(),n5=Xe(),kb=function(e,t){if(n5(e),!r5(t)&&t!==null)throw TypeError(t+": can't set as prototype!")};Bb.exports={set:Object.setPrototypeOf||("__proto__"in{}?(function(e,t,n){try{n=ln()(Function.call,Gr().f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(a){t=!0}return function(s,c){return kb(s,c),t?s.__proto__=c:n(s,c),s}})({},!1):void 0),check:kb}});var Ub=T(()=>{u();var Wb=re();Wb(Wb.S,"Object",{setPrototypeOf:Yl().set})});var ko=T((BQ,Hb)=>{u();var og=cn(),i5=wt()("toStringTag"),o5=og((function(){return arguments})())=="Arguments",a5=function(e,t){try{return e[t]}catch(n){}};Hb.exports=function(e){var t,n,a;return e===void 0?"Undefined":e===null?"Null":typeof(n=a5(t=Object(e),i5))=="string"?n:o5?og(t):(a=og(t))=="Object"&&typeof t.callee=="function"?"Arguments":a}});var zb=T(()=>{"use strict";u();var u5=ko(),$b={};$b[wt()("toStringTag")]="z";$b+""!="[object z]"&&Ar()(Object.prototype,"toString",function(){return"[object "+u5(this)+"]"},!0)});var ag=T((zQ,jb)=>{u();jb.exports=function(e,t,n){var a=n===void 0;switch(t.length){case 0:return a?e():e.call(n);case 1:return a?e(t[0]):e.call(n,t[0]);case 2:return a?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return a?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return a?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}});var sg=T((GQ,Xb)=>{"use strict";u();var s5=ur(),f5=pt(),l5=ag(),Gb=[].slice,ug={},c5=function(e,t,n){if(!(t in ug)){for(var a=[],s=0;s{u();var Yb=re();Yb(Yb.P,"Function",{bind:sg()})});var Jb=T(()=>{u();var h5=Rt().f,Kb=Function.prototype,p5=/^\s*function ([^ (]*)/,Zb="name";Zb in Kb||Ct()&&h5(Kb,Zb,{configurable:!0,get:function(){try{return(""+this).match(p5)[1]}catch(e){return""}}})});var r_=T(()=>{"use strict";u();var Qb=pt(),d5=Xr(),e_=wt()("hasInstance"),t_=Function.prototype;e_ in t_||Rt().f(t_,e_,{value:function(e){if(typeof this!="function"||!Qb(e))return!1;if(!Qb(this.prototype))return e instanceof this;for(;e=d5(e);)if(this.prototype===e)return!0;return!1}})});var Vl=T((nee,n_)=>{u();n_.exports=` +\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Bo=T((oee,a_)=>{u();var fg=re(),g5=An(),v5=ot(),lg=Vl(),Kl="["+lg+"]",i_="\u200B\x85",m5=RegExp("^"+Kl+Kl+"*"),x5=RegExp(Kl+Kl+"*$"),o_=function(e,t,n){var a={},s=v5(function(){return!!lg[e]()||i_[e]()!=i_}),c=a[e]=s?t(y5):lg[e];n&&(a[n]=c),fg(fg.P+fg.F*s,"String",a)},y5=o_.trim=function(e,t){return e=String(g5(e)),t&1&&(e=e.replace(m5,"")),t&2&&(e=e.replace(x5,"")),e};a_.exports=o_});var cg=T((uee,s_)=>{u();var Zl=nt().parseInt,w5=Bo().trim,u_=Vl(),b5=/^[-+]?0[xX]/;s_.exports=Zl(u_+"08")!==8||Zl(u_+"0x16")!==22?function(t,n){var a=w5(String(t),3);return Zl(a,n>>>0||(b5.test(a)?16:10))}:Zl});var l_=T(()=>{u();var hg=re(),f_=cg();hg(hg.G+hg.F*(parseInt!=f_),{parseInt:f_})});var dg=T((hee,c_)=>{u();var pg=nt().parseFloat,_5=Bo().trim;c_.exports=1/pg(Vl()+"-0")!==-1/0?function(t){var n=_5(String(t),3),a=pg(n);return a===0&&n.charAt(0)=="-"?-0:a}:pg});var p_=T(()=>{u();var gg=re(),h_=dg();gg(gg.G+gg.F*(parseFloat!=h_),{parseFloat:h_})});var Jl=T((mee,g_)=>{u();var q5=pt(),d_=Yl().set;g_.exports=function(e,t,n){var a=t.constructor,s;return a!==n&&typeof a=="function"&&(s=a.prototype)!==n.prototype&&q5(s)&&d_&&d_(e,s),e}});var w_=T(()=>{"use strict";u();var x_=nt(),v_=zr(),y_=cn(),S5=Jl(),T5=On(),C5=ot(),E5=Zi().f,O5=Gr().f,A5=Rt().f,I5=Bo().trim,rc="Number",Yr=x_[rc],Ql=Yr,tc=Yr.prototype,M5=y_(Ki()(tc))==rc,L5="trim"in String.prototype,m_=function(e){var t=T5(e,!1);if(typeof t=="string"&&t.length>2){t=L5?t.trim():I5(t,3);var n=t.charCodeAt(0),a,s,c;if(n===43||n===45){if(a=t.charCodeAt(2),a===88||a===120)return NaN}else if(n===48){switch(t.charCodeAt(1)){case 66:case 98:s=2,c=49;break;case 79:case 111:s=8,c=55;break;default:return+t}for(var d=t.slice(2),m=0,w=d.length,_;mc)return NaN;return parseInt(d,s)}}return+t};if(!Yr(" 0o1")||!Yr("0b1")||Yr("+0x1")){for(Yr=function(t){var n=arguments.length<1?0:t,a=this;return a instanceof Yr&&(M5?C5(function(){tc.valueOf.call(a)}):y_(a)!=rc)?S5(new Ql(m_(n)),a,Yr):m_(n)},vg=Ct()?E5(Ql):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),ec=0;vg.length>ec;ec++)v_(Ql,Yu=vg[ec])&&!v_(Yr,Yu)&&A5(Yr,Yu,O5(Ql,Yu));Yr.prototype=tc,tc.constructor=Yr,Ar()(x_,rc,Yr)}var vg,ec,Yu});var mg=T((_ee,b_)=>{u();var R5=cn();b_.exports=function(e,t){if(typeof e!="number"&&R5(e)!="Number")throw TypeError(t);return+e}});var nc=T((See,__)=>{"use strict";u();var P5=hn(),F5=An();__.exports=function(t){var n=String(F5(this)),a="",s=P5(t);if(s<0||s==1/0)throw RangeError("Count can't be negative");for(;s>0;(s>>>=1)&&(n+=n))s&1&&(a+=n);return a}});var E_=T(()=>{"use strict";u();var xg=re(),D5=hn(),N5=mg(),wg=nc(),q_=1 .toFixed,C_=Math.floor,Pa=[0,0,0,0,0,0],S_="Number.toFixed: incorrect invocation!",ic="0",La=function(e,t){for(var n=-1,a=t;++n<6;)a+=e*Pa[n],Pa[n]=a%1e7,a=C_(a/1e7)},yg=function(e){for(var t=6,n=0;--t>=0;)n+=Pa[t],Pa[t]=C_(n/e),n=n%e*1e7},T_=function(){for(var e=6,t="";--e>=0;)if(t!==""||e===0||Pa[e]!==0){var n=String(Pa[e]);t=t===""?n:t+wg.call(ic,7-n.length)+n}return t},Ra=function(e,t,n){return t===0?n:t%2===1?Ra(e,t-1,n*e):Ra(e*e,t/2,n)},k5=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};xg(xg.P+xg.F*(!!q_&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||0xde0b6b3a7640080.toFixed(0)!=="1000000000000000128")||!ot()(function(){q_.call({})})),"Number",{toFixed:function(t){var n=N5(this,S_),a=D5(t),s="",c=ic,d,m,w,_;if(a<0||a>20)throw RangeError(S_);if(n!=n)return"NaN";if(n<=-1e21||n>=1e21)return String(n);if(n<0&&(s="-",n=-n),n>1e-21)if(d=k5(n*Ra(2,69,1))-69,m=d<0?n*Ra(2,-d,1):n/Ra(2,d,1),m*=4503599627370496,d=52-d,d>0){for(La(0,m),w=a;w>=7;)La(1e7,0),w-=7;for(La(Ra(10,w,1),0),w=d-1;w>=23;)yg(1<<23),w-=23;yg(1<0?(_=c.length,c=s+(_<=a?"0."+wg.call(ic,a-_)+c:c.slice(0,_-a)+"."+c.slice(_-a))):c=s+c,c}})});var A_=T(()=>{"use strict";u();var bg=re(),O_=ot(),B5=mg(),oc=1 .toPrecision;bg(bg.P+bg.F*(O_(function(){return oc.call(1,void 0)!=="1"})||!O_(function(){oc.call({})})),"Number",{toPrecision:function(t){var n=B5(this,"Number#toPrecision: incorrect invocation!");return t===void 0?oc.call(n):oc.call(n,t)}})});var M_=T(()=>{u();var I_=re();I_(I_.S,"Number",{EPSILON:Math.pow(2,-52)})});var R_=T(()=>{u();var L_=re(),W5=nt().isFinite;L_(L_.S,"Number",{isFinite:function(t){return typeof t=="number"&&W5(t)}})});var _g=T((kee,P_)=>{u();var U5=pt(),H5=Math.floor;P_.exports=function(t){return!U5(t)&&isFinite(t)&&H5(t)===t}});var D_=T(()=>{u();var F_=re();F_(F_.S,"Number",{isInteger:_g()})});var k_=T(()=>{u();var N_=re();N_(N_.S,"Number",{isNaN:function(t){return t!=t}})});var W_=T(()=>{u();var B_=re(),$5=_g(),z5=Math.abs;B_(B_.S,"Number",{isSafeInteger:function(t){return $5(t)&&z5(t)<=9007199254740991}})});var H_=T(()=>{u();var U_=re();U_(U_.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})});var z_=T(()=>{u();var $_=re();$_($_.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})});var G_=T(()=>{u();var qg=re(),j_=dg();qg(qg.S+qg.F*(Number.parseFloat!=j_),"Number",{parseFloat:j_})});var Y_=T(()=>{u();var Sg=re(),X_=cg();Sg(Sg.S+Sg.F*(Number.parseInt!=X_),"Number",{parseInt:X_})});var Tg=T((ute,V_)=>{u();V_.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}});var Z_=T(()=>{u();var Cg=re(),j5=Tg(),K_=Math.sqrt,Eg=Math.acosh;Cg(Cg.S+Cg.F*!(Eg&&Math.floor(Eg(Number.MAX_VALUE))==710&&Eg(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>9490626562425156e-8?Math.log(t)+Math.LN2:j5(t-1+K_(t-1)*K_(t+1))}})});var eq=T(()=>{u();var Og=re(),J_=Math.asinh;function Q_(e){return!isFinite(e=+e)||e==0?e:e<0?-Q_(-e):Math.log(e+Math.sqrt(e*e+1))}Og(Og.S+Og.F*!(J_&&1/J_(0)>0),"Math",{asinh:Q_})});var rq=T(()=>{u();var Ag=re(),tq=Math.atanh;Ag(Ag.S+Ag.F*!(tq&&1/tq(-0)<0),"Math",{atanh:function(t){return(t=+t)==0?t:Math.log((1+t)/(1-t))/2}})});var ac=T((xte,nq)=>{u();nq.exports=Math.sign||function(t){return(t=+t)==0||t!=t?t:t<0?-1:1}});var oq=T(()=>{u();var iq=re(),G5=ac();iq(iq.S,"Math",{cbrt:function(t){return G5(t=+t)*Math.pow(Math.abs(t),1/3)}})});var uq=T(()=>{u();var aq=re();aq(aq.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})});var lq=T(()=>{u();var sq=re(),fq=Math.exp;sq(sq.S,"Math",{cosh:function(t){return(fq(t=+t)+fq(-t))/2}})});var uc=T((Ate,cq)=>{u();var Vu=Math.expm1;cq.exports=!Vu||Vu(10)>22025.465794806718||Vu(10)<22025.465794806718||Vu(-2e-17)!=-2e-17?function(t){return(t=+t)==0?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:Vu});var pq=T(()=>{u();var Ig=re(),hq=uc();Ig(Ig.S+Ig.F*(hq!=Math.expm1),"Math",{expm1:hq})});var Rg=T((Pte,dq)=>{u();var X5=ac(),fc=Math.pow,Lg=fc(2,-52),sc=fc(2,-23),Y5=fc(2,127)*(2-sc),Mg=fc(2,-126),V5=function(e){return e+1/Lg-1/Lg};dq.exports=Math.fround||function(t){var n=Math.abs(t),a=X5(t),s,c;return nY5||c!=c?a*(1/0):a*c)}});var vq=T(()=>{u();var gq=re();gq(gq.S,"Math",{fround:Rg()})});var xq=T(()=>{u();var mq=re(),K5=Math.abs;mq(mq.S,"Math",{hypot:function(t,n){for(var a=0,s=0,c=arguments.length,d=0,m,w;s0?(w=m/d,a+=w*w):a+=m;return d===1/0?1/0:d*Math.sqrt(a)}})});var wq=T(()=>{u();var Pg=re(),yq=Math.imul;Pg(Pg.S+Pg.F*ot()(function(){return yq(4294967295,5)!=-5||yq.length!=2}),"Math",{imul:function(t,n){var a=65535,s=+t,c=+n,d=a&s,m=a&c;return 0|d*m+((a&s>>>16)*m+d*(a&c>>>16)<<16>>>0)}})});var _q=T(()=>{u();var bq=re();bq(bq.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})});var Sq=T(()=>{u();var qq=re();qq(qq.S,"Math",{log1p:Tg()})});var Cq=T(()=>{u();var Tq=re();Tq(Tq.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})});var Oq=T(()=>{u();var Eq=re();Eq(Eq.S,"Math",{sign:ac()})});var Mq=T(()=>{u();var Fg=re(),Aq=uc(),Iq=Math.exp;Fg(Fg.S+Fg.F*ot()(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(Aq(t)-Aq(-t))/2:(Iq(t-1)-Iq(-t-1))*(Math.E/2)}})});var Fq=T(()=>{u();var Lq=re(),Rq=uc(),Pq=Math.exp;Lq(Lq.S,"Math",{tanh:function(t){var n=Rq(t=+t),a=Rq(-t);return n==1/0?1:a==1/0?-1:(n-a)/(Pq(t)+Pq(-t))}})});var Nq=T(()=>{u();var Dq=re();Dq(Dq.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})});var Wq=T(()=>{u();var Dg=re(),Z5=Yi(),kq=String.fromCharCode,Bq=String.fromCodePoint;Dg(Dg.S+Dg.F*(!!Bq&&Bq.length!=1),"String",{fromCodePoint:function(t){for(var n=[],a=arguments.length,s=0,c;a>s;){if(c=+arguments[s++],Z5(c,1114111)!==c)throw RangeError(c+" is not a valid code point");n.push(c<65536?kq(c):kq(((c-=65536)>>10)+55296,c%1024+56320))}return n.join("")}})});var Hq=T(()=>{u();var Uq=re(),J5=jr(),Q5=_t();Uq(Uq.S,"String",{raw:function(t){for(var n=J5(t.raw),a=Q5(n.length),s=arguments.length,c=[],d=0;a>d;)c.push(String(n[d++])),d{"use strict";u();Bo()("trim",function(e){return function(){return e(this,3)}})});var Ku=T((bre,zq)=>{u();var e8=hn(),t8=An();zq.exports=function(e){return function(t,n){var a=String(t8(t)),s=e8(n),c=a.length,d,m;return s<0||s>=c?e?"":void 0:(d=a.charCodeAt(s),d<55296||d>56319||s+1===c||(m=a.charCodeAt(s+1))<56320||m>57343?e?a.charAt(s):d:e?a.slice(s,s+2):(d-55296<<10)+(m-56320)+65536)}}});var Wo=T((qre,jq)=>{u();jq.exports={}});var lc=T((Tre,Xq)=>{"use strict";u();var r8=Ki(),n8=Gi(),i8=Do(),Gq={};Or()(Gq,wt()("iterator"),function(){return this});Xq.exports=function(e,t,n){e.prototype=r8(Gq,{next:n8(1,n)}),i8(e,t+" Iterator")}});var hc=T((Ere,Qq)=>{"use strict";u();var Yq=vi(),Ng=re(),o8=Ar(),Vq=Or(),Kq=Wo(),a8=lc(),u8=Do(),s8=Xr(),Zu=wt()("iterator"),kg=!([].keys&&"next"in[].keys()),f8="@@iterator",Zq="keys",cc="values",Jq=function(){return this};Qq.exports=function(e,t,n,a,s,c,d){a8(n,t,a);var m=function(j){if(!kg&&j in L)return L[j];switch(j){case Zq:return function(){return new n(this,j)};case cc:return function(){return new n(this,j)}}return function(){return new n(this,j)}},w=t+" Iterator",_=s==cc,O=!1,L=e.prototype,S=L[Zu]||L[f8]||s&&L[s],I=S||m(s),P=s?_?m("entries"):I:void 0,$=t=="Array"&&L.entries||S,D,G,Z;if($&&(Z=s8($.call(new e)),Z!==Object.prototype&&Z.next&&(u8(Z,w,!0),!Yq&&typeof Z[Zu]!="function"&&Vq(Z,Zu,Jq))),_&&S&&S.name!==cc&&(O=!0,I=function(){return S.call(this)}),(!Yq||d)&&(kg||O||!L[Zu])&&Vq(L,Zu,I),Kq[t]=I,Kq[w]=Jq,s)if(D={values:_?I:m(cc),keys:c?I:m(Zq),entries:P},d)for(G in D)G in L||o8(L,G,D[G]);else Ng(Ng.P+Ng.F*(kg||O),t,D);return D}});var eS=T(()=>{"use strict";u();var l8=Ku()(!0);hc()(String,"String",function(e){this._t=String(e),this._i=0},function(){var e=this._t,t=this._i,n;return t>=e.length?{value:void 0,done:!0}:(n=l8(e,t),this._i+=n.length,{value:n,done:!1})})});var rS=T(()=>{"use strict";u();var tS=re(),c8=Ku()(!1);tS(tS.P,"String",{codePointAt:function(t){return c8(this,t)}})});var Ju=T((Fre,nS)=>{u();var h8=pt(),p8=cn(),d8=wt()("match");nS.exports=function(e){var t;return h8(e)&&((t=e[d8])!==void 0?!!t:p8(e)=="RegExp")}});var pc=T((Nre,iS)=>{u();var g8=Ju(),v8=An();iS.exports=function(e,t,n){if(g8(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(v8(e))}});var dc=T((Bre,oS)=>{u();var m8=wt()("match");oS.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[m8]=!1,!"/./"[e](t)}catch(a){}}return!0}});var sS=T(()=>{"use strict";u();var Bg=re(),aS=_t(),x8=pc(),Wg="endsWith",uS=""[Wg];Bg(Bg.P+Bg.F*dc()(Wg),"String",{endsWith:function(t){var n=x8(this,t,Wg),a=arguments.length>1?arguments[1]:void 0,s=aS(n.length),c=a===void 0?s:Math.min(aS(a),s),d=String(t);return uS?uS.call(n,d,c):n.slice(c-d.length,c)===d}})});var lS=T(()=>{"use strict";u();var Ug=re(),y8=pc(),fS="includes";Ug(Ug.P+Ug.F*dc()(fS),"String",{includes:function(t){return!!~y8(this,t,fS).indexOf(t,arguments.length>1?arguments[1]:void 0)}})});var hS=T(()=>{u();var cS=re();cS(cS.P,"String",{repeat:nc()})});var dS=T(()=>{"use strict";u();var Hg=re(),w8=_t(),b8=pc(),$g="startsWith",pS=""[$g];Hg(Hg.P+Hg.F*dc()($g),"String",{startsWith:function(t){var n=b8(this,t,$g),a=w8(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),s=String(t);return pS?pS.call(n,s,a):n.slice(a,a+s.length)===s}})});var Lr=T((Qre,gS)=>{u();var zg=re(),_8=ot(),q8=An(),S8=/"/g,T8=function(e,t,n,a){var s=String(q8(e)),c="<"+t;return n!==""&&(c+=" "+n+'="'+String(a).replace(S8,""")+'"'),c+">"+s+""};gS.exports=function(e,t){var n={};n[e]=t(T8),zg(zg.P+zg.F*_8(function(){var a=""[e]('"');return a!==a.toLowerCase()||a.split('"').length>3}),"String",n)}});var vS=T(()=>{"use strict";u();Lr()("anchor",function(e){return function(n){return e(this,"a","name",n)}})});var mS=T(()=>{"use strict";u();Lr()("big",function(e){return function(){return e(this,"big","","")}})});var xS=T(()=>{"use strict";u();Lr()("blink",function(e){return function(){return e(this,"blink","","")}})});var yS=T(()=>{"use strict";u();Lr()("bold",function(e){return function(){return e(this,"b","","")}})});var wS=T(()=>{"use strict";u();Lr()("fixed",function(e){return function(){return e(this,"tt","","")}})});var bS=T(()=>{"use strict";u();Lr()("fontcolor",function(e){return function(n){return e(this,"font","color",n)}})});var _S=T(()=>{"use strict";u();Lr()("fontsize",function(e){return function(n){return e(this,"font","size",n)}})});var qS=T(()=>{"use strict";u();Lr()("italics",function(e){return function(){return e(this,"i","","")}})});var SS=T(()=>{"use strict";u();Lr()("link",function(e){return function(n){return e(this,"a","href",n)}})});var TS=T(()=>{"use strict";u();Lr()("small",function(e){return function(){return e(this,"small","","")}})});var CS=T(()=>{"use strict";u();Lr()("strike",function(e){return function(){return e(this,"strike","","")}})});var ES=T(()=>{"use strict";u();Lr()("sub",function(e){return function(){return e(this,"sub","","")}})});var OS=T(()=>{"use strict";u();Lr()("sup",function(e){return function(){return e(this,"sup","","")}})});var IS=T(()=>{u();var AS=re();AS(AS.S,"Date",{now:function(){return new Date().getTime()}})});var MS=T(()=>{"use strict";u();var jg=re(),C8=Bt(),E8=On();jg(jg.P+jg.F*ot()(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1}),"Date",{toJSON:function(t){var n=C8(this),a=E8(n);return typeof a=="number"&&!isFinite(a)?null:n.toISOString()}})});var PS=T((Gne,RS)=>{"use strict";u();var LS=ot(),O8=Date.prototype.getTime,Gg=Date.prototype.toISOString,Fa=function(e){return e>9?e:"0"+e};RS.exports=LS(function(){return Gg.call(new Date(-5e13-1))!="0385-07-25T07:06:39.999Z"})||!LS(function(){Gg.call(new Date(NaN))})?function(){if(!isFinite(O8.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),a=t.getUTCMilliseconds(),s=n<0?"-":n>9999?"+":"";return s+("00000"+Math.abs(n)).slice(s?-6:-4)+"-"+Fa(t.getUTCMonth()+1)+"-"+Fa(t.getUTCDate())+"T"+Fa(t.getUTCHours())+":"+Fa(t.getUTCMinutes())+":"+Fa(t.getUTCSeconds())+"."+(a>99?a:"0"+Fa(a))+"Z"}:Gg});var DS=T(()=>{u();var Xg=re(),FS=PS();Xg(Xg.P+Xg.F*(Date.prototype.toISOString!==FS),"Date",{toISOString:FS})});var BS=T(()=>{u();var Yg=Date.prototype,NS="Invalid Date",kS="toString",A8=Yg[kS],I8=Yg.getTime;new Date(NaN)+""!=NS&&Ar()(Yg,kS,function(){var t=I8.call(this);return t===t?A8.call(this):NS})});var HS=T((eie,US)=>{"use strict";u();var M8=Xe(),L8=On(),WS="number";US.exports=function(e){if(e!=="string"&&e!==WS&&e!=="default")throw TypeError("Incorrect hint");return L8(M8(this),e!=WS)}});var jS=T(()=>{u();var $S=wt()("toPrimitive"),zS=Date.prototype;$S in zS||Or()(zS,$S,HS())});var XS=T(()=>{u();var GS=re();GS(GS.S,"Array",{isArray:$u()})});var Vg=T((sie,VS)=>{u();var YS=Xe();VS.exports=function(e,t,n,a){try{return a?t(YS(n)[0],n[1]):t(n)}catch(c){var s=e.return;throw s!==void 0&&YS(s.call(e)),c}}});var gc=T((lie,KS)=>{u();var R8=Wo(),P8=wt()("iterator"),F8=Array.prototype;KS.exports=function(e){return e!==void 0&&(R8.Array===e||F8[P8]===e)}});var vc=T((hie,ZS)=>{"use strict";u();var D8=Rt(),N8=Gi();ZS.exports=function(e,t,n){t in e?D8.f(e,t,N8(0,n)):e[t]=n}});var mc=T((die,JS)=>{u();var k8=ko(),B8=wt()("iterator"),W8=Wo();JS.exports=fn().getIteratorMethod=function(e){if(e!=null)return e[B8]||e["@@iterator"]||W8[k8(e)]}});var Qu=T((vie,eT)=>{u();var Zg=wt()("iterator"),QS=!1;try{Kg=[7][Zg](),Kg.return=function(){QS=!0},Array.from(Kg,function(){throw 2})}catch(e){}var Kg;eT.exports=function(e,t){if(!t&&!QS)return!1;var n=!1;try{var a=[7],s=a[Zg]();s.next=function(){return{done:n=!0}},a[Zg]=function(){return s},e(a)}catch(c){}return n}});var rT=T(()=>{"use strict";u();var U8=ln(),Jg=re(),H8=Bt(),$8=Vg(),z8=gc(),j8=_t(),tT=vc(),G8=mc();Jg(Jg.S+Jg.F*!Qu()(function(e){Array.from(e)}),"Array",{from:function(t){var n=H8(t),a=typeof this=="function"?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,d=c!==void 0,m=0,w=G8(n),_,O,L,S;if(d&&(c=U8(c,s>2?arguments[2]:void 0,2)),w!=null&&!(a==Array&&z8(w)))for(S=w.call(n),O=new a;!(L=S.next()).done;m++)tT(O,m,d?$8(S,c,[L.value,m],!0):L.value);else for(_=j8(n.length),O=new a(_);_>m;m++)tT(O,m,d?c(n[m],m):n[m]);return O.length=m,O}})});var nT=T(()=>{"use strict";u();var Qg=re(),X8=vc();Qg(Qg.S+Qg.F*ot()(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var t=0,n=arguments.length,a=new(typeof this=="function"?this:Array)(n);n>t;)X8(a,t,arguments[t++]);return a.length=n,a}})});var dn=T((Sie,iT)=>{"use strict";u();var Y8=ot();iT.exports=function(e,t){return!!e&&Y8(function(){t?e.call(null,function(){},1):e.call(null)})}});var aT=T(()=>{"use strict";u();var ev=re(),V8=jr(),oT=[].join;ev(ev.P+ev.F*(Aa()!=Object||!dn()(oT)),"Array",{join:function(t){return oT.call(V8(this),t===void 0?",":t)}})});var cT=T(()=>{"use strict";u();var tv=re(),uT=Bl(),K8=cn(),sT=Yi(),fT=_t(),lT=[].slice;tv(tv.P+tv.F*ot()(function(){uT&&lT.call(uT)}),"Array",{slice:function(t,n){var a=fT(this.length),s=K8(this);if(n=n===void 0?a:n,s=="Array")return lT.call(this,t,n);for(var c=sT(t,a),d=sT(n,a),m=fT(d-c),w=new Array(m),_=0;_{"use strict";u();var rv=re(),Z8=ur(),hT=Bt(),pT=ot(),nv=[].sort,dT=[1,2,3];rv(rv.P+rv.F*(pT(function(){dT.sort(void 0)})||!pT(function(){dT.sort(null)})||!dn()(nv)),"Array",{sort:function(t){return t===void 0?nv.call(hT(this)):nv.call(hT(this),Z8(t))}})});var xT=T((Fie,mT)=>{u();var J8=pt(),vT=$u(),Q8=wt()("species");mT.exports=function(e){var t;return vT(e)&&(t=e.constructor,typeof t=="function"&&(t===Array||vT(t.prototype))&&(t=void 0),J8(t)&&(t=t[Q8],t===null&&(t=void 0))),t===void 0?Array:t}});var xc=T((Nie,yT)=>{u();var e4=xT();yT.exports=function(e,t){return new(e4(e))(t)}});var Mn=T((Bie,wT)=>{u();var t4=ln(),r4=Aa(),n4=Bt(),i4=_t(),o4=xc();wT.exports=function(e,t){var n=e==1,a=e==2,s=e==3,c=e==4,d=e==6,m=e==5||d,w=t||o4;return function(_,O,L){for(var S=n4(_),I=r4(S),P=t4(O,L,3),$=i4(I.length),D=0,G=n?w(_,$):a?w(_,0):void 0,Z,j;$>D;D++)if((m||D in I)&&(Z=I[D],j=P(Z,D,S),e)){if(n)G[D]=j;else if(j)switch(e){case 3:return!0;case 5:return Z;case 6:return D;case 2:G.push(Z)}else if(c)return!1}return d?-1:s||c?c:G}}});var bT=T(()=>{"use strict";u();var iv=re(),a4=Mn()(0),u4=dn()([].forEach,!0);iv(iv.P+iv.F*!u4,"Array",{forEach:function(t){return a4(this,t,arguments[1])}})});var _T=T(()=>{"use strict";u();var ov=re(),s4=Mn()(1);ov(ov.P+ov.F*!dn()([].map,!0),"Array",{map:function(t){return s4(this,t,arguments[1])}})});var qT=T(()=>{"use strict";u();var av=re(),f4=Mn()(2);av(av.P+av.F*!dn()([].filter,!0),"Array",{filter:function(t){return f4(this,t,arguments[1])}})});var ST=T(()=>{"use strict";u();var uv=re(),l4=Mn()(3);uv(uv.P+uv.F*!dn()([].some,!0),"Array",{some:function(t){return l4(this,t,arguments[1])}})});var TT=T(()=>{"use strict";u();var sv=re(),c4=Mn()(4);sv(sv.P+sv.F*!dn()([].every,!0),"Array",{every:function(t){return c4(this,t,arguments[1])}})});var fv=T((roe,CT)=>{u();var h4=ur(),p4=Bt(),d4=Aa(),g4=_t();CT.exports=function(e,t,n,a,s){h4(t);var c=p4(e),d=d4(c),m=g4(c.length),w=s?m-1:0,_=s?-1:1;if(n<2)for(;;){if(w in d){a=d[w],w+=_;break}if(w+=_,s?w<0:m<=w)throw TypeError("Reduce of empty array with no initial value")}for(;s?w>=0:m>w;w+=_)w in d&&(a=t(a,d[w],w,c));return a}});var ET=T(()=>{"use strict";u();var lv=re(),v4=fv();lv(lv.P+lv.F*!dn()([].reduce,!0),"Array",{reduce:function(t){return v4(this,t,arguments.length,arguments[1],!1)}})});var OT=T(()=>{"use strict";u();var cv=re(),m4=fv();cv(cv.P+cv.F*!dn()([].reduceRight,!0),"Array",{reduceRight:function(t){return m4(this,t,arguments.length,arguments[1],!0)}})});var IT=T(()=>{"use strict";u();var hv=re(),x4=Uu()(!1),pv=[].indexOf,AT=!!pv&&1/[1].indexOf(1,-0)<0;hv(hv.P+hv.F*(AT||!dn()(pv)),"Array",{indexOf:function(t){return AT?pv.apply(this,arguments)||0:x4(this,t,arguments[1])}})});var LT=T(()=>{"use strict";u();var dv=re(),y4=jr(),w4=hn(),b4=_t(),gv=[].lastIndexOf,MT=!!gv&&1/[1].lastIndexOf(1,-0)<0;dv(dv.P+dv.F*(MT||!dn()(gv)),"Array",{lastIndexOf:function(t){if(MT)return gv.apply(this,arguments)||0;var n=y4(this),a=b4(n.length),s=a-1;for(arguments.length>1&&(s=Math.min(s,w4(arguments[1]))),s<0&&(s=a+s);s>=0;s--)if(s in n&&n[s]===t)return s||0;return-1}})});var mv=T((voe,RT)=>{"use strict";u();var _4=Bt(),vv=Yi(),q4=_t();RT.exports=[].copyWithin||function(t,n){var a=_4(this),s=q4(a.length),c=vv(t,s),d=vv(n,s),m=arguments.length>2?arguments[2]:void 0,w=Math.min((m===void 0?s:vv(m,s))-d,s-c),_=1;for(d0;)d in a?a[c]=a[d]:delete a[c],c+=_,d+=_;return a}});var yi=T((xoe,PT)=>{u();var xv=wt()("unscopables"),yv=Array.prototype;yv[xv]==null&&Or()(yv,xv,{});PT.exports=function(e){yv[xv][e]=!0}});var DT=T(()=>{u();var FT=re();FT(FT.P,"Array",{copyWithin:mv()});yi()("copyWithin")});var yc=T((qoe,kT)=>{"use strict";u();var S4=Bt(),NT=Yi(),T4=_t();kT.exports=function(t){for(var n=S4(this),a=T4(n.length),s=arguments.length,c=NT(s>1?arguments[1]:void 0,a),d=s>2?arguments[2]:void 0,m=d===void 0?a:NT(d,a);m>c;)n[c++]=t;return n}});var WT=T(()=>{u();var BT=re();BT(BT.P,"Array",{fill:yc()});yi()("fill")});var HT=T(()=>{"use strict";u();var wv=re(),C4=Mn()(5),bv="find",UT=!0;bv in[]&&Array(1)[bv](function(){UT=!1});wv(wv.P+wv.F*UT,"Array",{find:function(t){return C4(this,t,arguments.length>1?arguments[1]:void 0)}});yi()(bv)});var zT=T(()=>{"use strict";u();var _v=re(),E4=Mn()(6),qv="findIndex",$T=!0;qv in[]&&Array(1)[qv](function(){$T=!1});_v(_v.P+_v.F*$T,"Array",{findIndex:function(t){return E4(this,t,arguments.length>1?arguments[1]:void 0)}});yi()(qv)});var Qi=T((Poe,GT)=>{"use strict";u();var O4=nt(),A4=Rt(),I4=Ct(),jT=wt()("species");GT.exports=function(e){var t=O4[e];I4&&t&&!t[jT]&&A4.f(t,jT,{configurable:!0,get:function(){return this}})}});var XT=T(()=>{u();Qi()("Array")});var Sv=T((Boe,YT)=>{u();YT.exports=function(e,t){return{value:t,done:!!e}}});var bc=T((Uoe,KT)=>{"use strict";u();var Tv=yi(),wc=Sv(),VT=Wo(),M4=jr();KT.exports=hc()(Array,"Array",function(e,t){this._t=M4(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,wc(1)):t=="keys"?wc(0,n):t=="values"?wc(0,e[n]):wc(0,[n,e[n]])},"values");VT.Arguments=VT.Array;Tv("keys");Tv("values");Tv("entries")});var Da=T(($oe,ZT)=>{"use strict";u();var L4=Xe();ZT.exports=function(){var e=L4(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}});var tC=T(()=>{u();var eC=nt(),R4=Jl(),P4=Rt().f,F4=Zi().f,D4=Ju(),N4=Da(),fr=eC.RegExp,es=fr,Cv=fr.prototype,ts=/a/g,Ev=/a/g,JT=new fr(ts)!==ts;if(Ct()&&(!JT||ot()(function(){return Ev[wt()("match")]=!1,fr(ts)!=ts||fr(Ev)==Ev||fr(ts,"i")!="/a/i"}))){for(fr=function(t,n){var a=this instanceof fr,s=D4(t),c=n===void 0;return!a&&s&&t.constructor===fr&&c?t:R4(JT?new es(s&&!c?t.source:t,n):es((s=t instanceof fr)?t.source:t,s&&c?N4.call(t):n),a?this:Cv,fr)},QT=function(e){e in fr||P4(fr,e,{configurable:!0,get:function(){return es[e]},set:function(t){es[e]=t}})},Ov=F4(es),Av=0;Ov.length>Av;)QT(Ov[Av++]);Cv.constructor=fr,fr.prototype=Cv,Ar()(eC,"RegExp",fr)}var QT,Ov,Av;Qi()("RegExp")});var Sc=T((Yoe,nC)=>{"use strict";u();var k4=Da(),_c=RegExp.prototype.exec,B4=String.prototype.replace,rC=_c,qc="lastIndex",Iv=(function(){var e=/a/,t=/b*/g;return _c.call(e,"a"),_c.call(t,"a"),e[qc]!==0||t[qc]!==0})(),Mv=/()??/.exec("")[1]!==void 0,W4=Iv||Mv;W4&&(rC=function(t){var n=this,a,s,c,d;return Mv&&(s=new RegExp("^"+n.source+"$(?!\\s)",k4.call(n))),Iv&&(a=n[qc]),c=_c.call(n,t),Iv&&c&&(n[qc]=n.global?c.index+c[0].length:a),Mv&&c&&c.length>1&&B4.call(c[0],s,function(){for(d=1;d{"use strict";u();var iC=Sc();re()({target:"RegExp",proto:!0,forced:iC!==/./.exec},{exec:iC})});var Rv=T(()=>{u();Ct()&&/./g.flags!="g"&&Rt().f(RegExp.prototype,"flags",{configurable:!0,get:Da()})});var aC=T(()=>{"use strict";u();Rv();var U4=Xe(),H4=Da(),$4=Ct(),Fv="toString",Pv=/./[Fv],oC=function(e){Ar()(RegExp.prototype,Fv,e,!0)};ot()(function(){return Pv.call({source:"a",flags:"b"})!="/a/b"})?oC(function(){var t=U4(this);return"/".concat(t.source,"/","flags"in t?t.flags:!$4&&t instanceof RegExp?H4.call(t):void 0)}):Pv.name!=Fv&&oC(function(){return Pv.call(this)})});var Tc=T((oae,uC)=>{"use strict";u();var z4=Ku()(!0);uC.exports=function(e,t,n){return t+(n?z4(e,t).length:1)}});var rs=T((uae,sC)=>{"use strict";u();var j4=ko(),G4=RegExp.prototype.exec;sC.exports=function(e,t){var n=e.exec;if(typeof n=="function"){var a=n.call(e,t);if(typeof a!="object")throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if(j4(e)!=="RegExp")throw new TypeError("RegExp#exec called on incompatible receiver");return G4.call(e,t)}});var ns=T((fae,lC)=>{"use strict";u();Lv();var X4=Ar(),Y4=Or(),Dv=ot(),V4=An(),fC=wt(),K4=Sc(),Z4=fC("species"),J4=!Dv(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$")!=="7"}),Q4=(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length===2&&n[0]==="a"&&n[1]==="b"})();lC.exports=function(e,t,n){var a=fC(e),s=!Dv(function(){var O={};return O[a]=function(){return 7},""[e](O)!=7}),c=s?!Dv(function(){var O=!1,L=/a/;return L.exec=function(){return O=!0,null},e==="split"&&(L.constructor={},L.constructor[Z4]=function(){return L}),L[a](""),!O}):void 0;if(!s||!c||e==="replace"&&!J4||e==="split"&&!Q4){var d=/./[a],m=n(V4,a,""[e],function(L,S,I,P,$){return S.exec===K4?s&&!$?{done:!0,value:d.call(S,I,P)}:{done:!0,value:L.call(I,S,P)}:{done:!1}}),w=m[0],_=m[1];X4(String.prototype,e,w),Y4(RegExp.prototype,a,t==2?function(O,L){return _.call(O,this,L)}:function(O){return _.call(O,this)})}}});var hC=T(()=>{"use strict";u();var ez=Xe(),tz=_t(),rz=Tc(),cC=rs();ns()("match",1,function(e,t,n,a){return[function(c){var d=e(this),m=c==null?void 0:c[t];return m!==void 0?m.call(c,d):new RegExp(c)[t](String(d))},function(s){var c=a(n,s,this);if(c.done)return c.value;var d=ez(s),m=String(this);if(!d.global)return cC(d,m);var w=d.unicode;d.lastIndex=0;for(var _=[],O=0,L;(L=cC(d,m))!==null;){var S=String(L[0]);_[O]=S,S===""&&(d.lastIndex=rz(m,tz(d.lastIndex),w)),O++}return O===0?null:_}]})});var pC=T(()=>{"use strict";u();var nz=Xe(),iz=Bt(),oz=_t(),az=hn(),uz=Tc(),sz=rs(),fz=Math.max,lz=Math.min,cz=Math.floor,hz=/\$([$&`']|\d\d?|<[^>]*>)/g,pz=/\$([$&`']|\d\d?)/g,dz=function(e){return e===void 0?e:String(e)};ns()("replace",2,function(e,t,n,a){return[function(d,m){var w=e(this),_=d==null?void 0:d[t];return _!==void 0?_.call(d,w,m):n.call(String(w),d,m)},function(c,d){var m=a(n,c,this,d);if(m.done)return m.value;var w=nz(c),_=String(this),O=typeof d=="function";O||(d=String(d));var L=w.global;if(L){var S=w.unicode;w.lastIndex=0}for(var I=[];;){var P=sz(w,_);if(P===null||(I.push(P),!L))break;var $=String(P[0]);$===""&&(w.lastIndex=uz(_,oz(w.lastIndex),S))}for(var D="",G=0,Z=0;Z=G&&(D+=_.slice(G,U)+Ie,G=U+j.length)}return D+_.slice(G)}];function s(c,d,m,w,_,O){var L=m+c.length,S=w.length,I=pz;return _!==void 0&&(_=iz(_),I=hz),n.call(O,I,function(P,$){var D;switch($.charAt(0)){case"$":return"$";case"&":return c;case"`":return d.slice(0,m);case"'":return d.slice(L);case"<":D=_[$.slice(1,-1)];break;default:var G=+$;if(G===0)return P;if(G>S){var Z=cz(G/10);return Z===0?P:Z<=S?w[Z-1]===void 0?$.charAt(1):w[Z-1]+$.charAt(1):P}D=w[G-1]}return D===void 0?"":D})}})});var gC=T(()=>{"use strict";u();var gz=Xe(),dC=ig(),vz=rs();ns()("search",1,function(e,t,n,a){return[function(c){var d=e(this),m=c==null?void 0:c[t];return m!==void 0?m.call(c,d):new RegExp(c)[t](String(d))},function(s){var c=a(n,s,this);if(c.done)return c.value;var d=gz(s),m=String(this),w=d.lastIndex;dC(w,0)||(d.lastIndex=0);var _=vz(d,m);return dC(d.lastIndex,w)||(d.lastIndex=w),_===null?-1:_.index}]})});var Na=T((wae,mC)=>{u();var vC=Xe(),mz=ur(),xz=wt()("species");mC.exports=function(e,t){var n=vC(e).constructor,a;return n===void 0||(a=vC(n)[xz])==null?t:mz(a)}});var yC=T(()=>{"use strict";u();var yz=Ju(),wz=Xe(),bz=Na(),_z=Tc(),qz=_t(),xC=rs(),Sz=Sc(),Tz=ot(),Cz=Math.min,Ez=[].push,Uo="split",gn="length",Nv="lastIndex",kv=4294967295,is=!Tz(function(){RegExp(kv,"y")});ns()("split",2,function(e,t,n,a){var s;return"abbc"[Uo](/(b)*/)[1]=="c"||"test"[Uo](/(?:)/,-1)[gn]!=4||"ab"[Uo](/(?:ab)*/)[gn]!=2||"."[Uo](/(.?)(.?)/)[gn]!=4||"."[Uo](/()()/)[gn]>1||""[Uo](/.?/)[gn]?s=function(c,d){var m=String(this);if(c===void 0&&d===0)return[];if(!yz(c))return n.call(m,c,d);for(var w=[],_=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(c.sticky?"y":""),O=0,L=d===void 0?kv:d>>>0,S=new RegExp(c.source,_+"g"),I,P,$;(I=Sz.call(S,m))&&(P=S[Nv],!(P>O&&(w.push(m.slice(O,I.index)),I[gn]>1&&I.index=L)));)S[Nv]===I.index&&S[Nv]++;return O===m[gn]?($||!S.test(""))&&w.push(""):w.push(m.slice(O)),w[gn]>L?w.slice(0,L):w}:"0"[Uo](void 0,0)[gn]?s=function(c,d){return c===void 0&&d===0?[]:n.call(this,c,d)}:s=n,[function(d,m){var w=e(this),_=d==null?void 0:d[t];return _!==void 0?_.call(d,w,m):s.call(String(w),d,m)},function(c,d){var m=a(s,c,this,d,s!==n);if(m.done)return m.value;var w=wz(c),_=String(this),O=bz(w,RegExp),L=w.unicode,S=(w.ignoreCase?"i":"")+(w.multiline?"m":"")+(w.unicode?"u":"")+(is?"y":"g"),I=new O(is?w:"^(?:"+w.source+")",S),P=d===void 0?kv:d>>>0;if(P===0)return[];if(_.length===0)return xC(I,_)===null?[_]:[];for(var $=0,D=0,G=[];D<_.length;){I.lastIndex=is?D:0;var Z=xC(I,is?_:_.slice(D)),j;if(Z===null||(j=Cz(qz(I.lastIndex+(is?0:D)),_.length))===$)D=_z(_,D,L);else{if(G.push(_.slice($,D)),G.length===P)return G;for(var U=1;U<=Z.length-1;U++)if(G.push(Z[U]),G.length===P)return G;D=$=j}}return G.push(_.slice($)),G}]})});var eo=T((Tae,wC)=>{u();wC.exports=function(e,t,n,a){if(!(e instanceof t)||a!==void 0&&a in e)throw TypeError(n+": incorrect invocation!");return e}});var to=T((Cc,bC)=>{u();var Oz=ln(),Az=Vg(),Iz=gc(),Mz=Xe(),Lz=_t(),Rz=mc(),Bv={},Wv={},Cc=bC.exports=function(e,t,n,a,s){var c=s?function(){return e}:Rz(e),d=Oz(n,a,t?2:1),m=0,w,_,O,L;if(typeof c!="function")throw TypeError(e+" is not iterable!");if(Iz(c)){for(w=Lz(e.length);w>m;m++)if(L=t?d(Mz(_=e[m])[0],_[1]):d(e[m]),L===Bv||L===Wv)return L}else for(O=c.call(e);!(_=O.next()).done;)if(L=Az(O,d,_.value,t),L===Bv||L===Wv)return L};Cc.BREAK=Bv;Cc.RETURN=Wv});var Oc=T((Oae,OC)=>{u();var Ec=ln(),Pz=ag(),_C=Bl(),qC=Ml(),wi=nt(),SC=wi.process,jv=wi.setImmediate,Gv=wi.clearImmediate,TC=wi.MessageChannel,Uv=wi.Dispatch,Hv=0,as={},CC="onreadystatechange",Ho,$v,zv,os=function(){var e=+this;if(as.hasOwnProperty(e)){var t=as[e];delete as[e],t()}},EC=function(e){os.call(e.data)};(!jv||!Gv)&&(jv=function(t){for(var n=[],a=1;arguments.length>a;)n.push(arguments[a++]);return as[++Hv]=function(){Pz(typeof t=="function"?t:Function(t),n)},Ho(Hv),Hv},Gv=function(t){delete as[t]},cn()(SC)=="process"?Ho=function(e){SC.nextTick(Ec(os,e,1))}:Uv&&Uv.now?Ho=function(e){Uv.now(Ec(os,e,1))}:TC?($v=new TC,zv=$v.port2,$v.port1.onmessage=EC,Ho=Ec(zv.postMessage,zv,1)):wi.addEventListener&&typeof postMessage=="function"&&!wi.importScripts?(Ho=function(e){wi.postMessage(e+"","*")},wi.addEventListener("message",EC,!1)):CC in qC("script")?Ho=function(e){_C.appendChild(qC("script"))[CC]=function(){_C.removeChild(this),os.call(e)}}:Ho=function(e){setTimeout(Ec(os,e,1),0)});OC.exports={set:jv,clear:Gv}});var Ac=T((Iae,MC)=>{u();var $o=nt(),Fz=Oc().set,AC=$o.MutationObserver||$o.WebKitMutationObserver,Yv=$o.process,Xv=$o.Promise,IC=cn()(Yv)=="process";MC.exports=function(){var e,t,n,a=function(){var m,w;for(IC&&(m=Yv.domain)&&m.exit();e;){w=e.fn,e=e.next;try{w()}catch(_){throw e?n():t=void 0,_}}t=void 0,m&&m.enter()};if(IC)n=function(){Yv.nextTick(a)};else if(AC&&!($o.navigator&&$o.navigator.standalone)){var s=!0,c=document.createTextNode("");new AC(a).observe(c,{characterData:!0}),n=function(){c.data=s=!s}}else if(Xv&&Xv.resolve){var d=Xv.resolve(void 0);n=function(){d.then(a)}}else n=function(){Fz.call($o,a)};return function(m){var w={fn:m,next:void 0};t&&(t.next=w),e||(e=w,n()),t=w}}});var Ic=T((Lae,RC)=>{"use strict";u();var LC=ur();function Dz(e){var t,n;this.promise=new e(function(a,s){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=a,n=s}),this.resolve=LC(t),this.reject=LC(n)}RC.exports.f=function(e){return new Dz(e)}});var Vv=T((Pae,PC)=>{u();PC.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}});var us=T((Dae,DC)=>{u();var Nz=nt(),FC=Nz.navigator;DC.exports=FC&&FC.userAgent||""});var Kv=T((kae,NC)=>{u();var kz=Xe(),Bz=pt(),Wz=Ic();NC.exports=function(e,t){if(kz(e),Bz(t)&&t.constructor===e)return t;var n=Wz.f(e),a=n.resolve;return a(t),n.promise}});var ro=T((Wae,kC)=>{u();var Uz=Ar();kC.exports=function(e,t,n){for(var a in t)Uz(e,a,t[a],n);return e}});var KC=T(()=>{"use strict";u();var BC=vi(),no=nt(),ka=ln(),Hz=ko(),Vr=re(),$z=pt(),zz=ur(),jz=eo(),WC=to(),Gz=Na(),zC=Oc().set,jC=Ac()(),GC=Ic(),Zv=Vv(),Xz=us(),Yz=Kv(),io="Promise",XC=no.TypeError,Wa=no.process,UC=Wa&&Wa.versions,Vz=UC&&UC.v8||"",Kn=no[io],ss=Hz(Wa)=="process",Lc=function(){},Mc,YC,HC,Qv,fs=YC=GC.f,ls=!!(function(){try{var e=Kn.resolve(1),t=(e.constructor={})[wt()("species")]=function(n){n(Lc,Lc)};return(ss||typeof PromiseRejectionEvent=="function")&&e.then(Lc)instanceof t&&Vz.indexOf("6.6")!==0&&Xz.indexOf("Chrome/66")===-1}catch(n){}})(),VC=function(e){var t;return $z(e)&&typeof(t=e.then)=="function"?t:!1},em=function(e,t){if(!e._n){e._n=!0;var n=e._c;jC(function(){for(var a=e._v,s=e._s==1,c=0,d=function(m){var w=s?m.ok:m.fail,_=m.resolve,O=m.reject,L=m.domain,S,I,P;try{w?(s||(e._h==2&&Zz(e),e._h=1),w===!0?S=a:(L&&L.enter(),S=w(a),L&&(L.exit(),P=!0)),S===m.promise?O(XC("Promise-chain cycle")):(I=VC(S))?I.call(S,_,O):_(S)):O(a)}catch($){L&&!P&&L.exit(),O($)}};n.length>c;)d(n[c++]);e._c=[],e._n=!1,t&&!e._h&&Kz(e)})}},Kz=function(e){zC.call(no,function(){var t=e._v,n=$C(e),a,s,c;if(n&&(a=Zv(function(){ss?Wa.emit("unhandledRejection",t,e):(s=no.onunhandledrejection)?s({promise:e,reason:t}):(c=no.console)&&c.error&&c.error("Unhandled promise rejection",t)}),e._h=ss||$C(e)?2:1),e._a=void 0,n&&a.e)throw a.v})},$C=function(e){return e._h!==1&&(e._a||e._c).length===0},Zz=function(e){zC.call(no,function(){var t;ss?Wa.emit("rejectionHandled",e):(t=no.onrejectionhandled)&&t({promise:e,reason:e._v})})},Ba=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),em(t,!0))},Jv=function(e){var t=this,n;if(!t._d){t._d=!0,t=t._w||t;try{if(t===e)throw XC("Promise can't be resolved itself");(n=VC(e))?jC(function(){var a={_w:t,_d:!1};try{n.call(e,ka(Jv,a,1),ka(Ba,a,1))}catch(s){Ba.call(a,s)}}):(t._v=e,t._s=1,em(t,!1))}catch(a){Ba.call({_w:t,_d:!1},a)}}};ls||(Kn=function(t){jz(this,Kn,io,"_h"),zz(t),Mc.call(this);try{t(ka(Jv,this,1),ka(Ba,this,1))}catch(n){Ba.call(this,n)}},Mc=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Mc.prototype=ro()(Kn.prototype,{then:function(t,n){var a=fs(Gz(this,Kn));return a.ok=typeof t=="function"?t:!0,a.fail=typeof n=="function"&&n,a.domain=ss?Wa.domain:void 0,this._c.push(a),this._a&&this._a.push(a),this._s&&em(this,!1),a.promise},catch:function(e){return this.then(void 0,e)}}),HC=function(){var e=new Mc;this.promise=e,this.resolve=ka(Jv,e,1),this.reject=ka(Ba,e,1)},GC.f=fs=function(e){return e===Kn||e===Qv?new HC(e):YC(e)});Vr(Vr.G+Vr.W+Vr.F*!ls,{Promise:Kn});Do()(Kn,io);Qi()(io);Qv=fn()[io];Vr(Vr.S+Vr.F*!ls,io,{reject:function(t){var n=fs(this),a=n.reject;return a(t),n.promise}});Vr(Vr.S+Vr.F*(BC||!ls),io,{resolve:function(t){return Yz(BC&&this===Qv?Kn:this,t)}});Vr(Vr.S+Vr.F*!(ls&&Qu()(function(e){Kn.all(e).catch(Lc)})),io,{all:function(t){var n=this,a=fs(n),s=a.resolve,c=a.reject,d=Zv(function(){var m=[],w=0,_=1;WC(t,!1,function(O){var L=w++,S=!1;m.push(void 0),_++,n.resolve(O).then(function(I){S||(S=!0,m[L]=I,--_||s(m))},c)}),--_||s(m)});return d.e&&c(d.v),a.promise},race:function(t){var n=this,a=fs(n),s=a.reject,c=Zv(function(){WC(t,!1,function(d){n.resolve(d).then(a.resolve,s)})});return c.e&&s(c.v),a.promise}})});var oo=T((jae,ZC)=>{u();var Jz=pt();ZC.exports=function(e,t){if(!Jz(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}});var tm=T((Xae,eE)=>{"use strict";u();var Qz=Rt().f,ej=Ki(),tj=ro(),rj=ln(),nj=eo(),ij=to(),oj=hc(),Rc=Sv(),aj=Qi(),JC=Ct(),QC=mi().fastKey,Ua=oo(),cs=JC?"_s":"size",Pc=function(e,t){var n=QC(t),a;if(n!=="F")return e._i[n];for(a=e._f;a;a=a.n)if(a.k==t)return a};eE.exports={getConstructor:function(e,t,n,a){var s=e(function(c,d){nj(c,s,t,"_i"),c._t=t,c._i=ej(null),c._f=void 0,c._l=void 0,c[cs]=0,d!=null&&ij(d,n,c[a],c)});return tj(s.prototype,{clear:function(){for(var d=Ua(this,t),m=d._i,w=d._f;w;w=w.n)w.r=!0,w.p&&(w.p=w.p.n=void 0),delete m[w.i];d._f=d._l=void 0,d[cs]=0},delete:function(c){var d=Ua(this,t),m=Pc(d,c);if(m){var w=m.n,_=m.p;delete d._i[m.i],m.r=!0,_&&(_.n=w),w&&(w.p=_),d._f==m&&(d._f=w),d._l==m&&(d._l=_),d[cs]--}return!!m},forEach:function(d){Ua(this,t);for(var m=rj(d,arguments.length>1?arguments[1]:void 0,3),w;w=w?w.n:this._f;)for(m(w.v,w.k,this);w&&w.r;)w=w.p},has:function(d){return!!Pc(Ua(this,t),d)}}),JC&&Qz(s.prototype,"size",{get:function(){return Ua(this,t)[cs]}}),s},def:function(e,t,n){var a=Pc(e,t),s,c;return a?a.v=n:(e._l=a={i:c=QC(t,!0),k:t,v:n,p:s=e._l,n:void 0,r:!1},e._f||(e._f=a),s&&(s.n=a),e[cs]++,c!=="F"&&(e._i[c]=a)),e},getEntry:Pc,setStrong:function(e,t,n){oj(e,t,function(a,s){this._t=Ua(a,t),this._k=s,this._l=void 0},function(){for(var a=this,s=a._k,c=a._l;c&&c.r;)c=c.p;return!a._t||!(a._l=c=c?c.n:a._t._f)?(a._t=void 0,Rc(1)):s=="keys"?Rc(0,c.k):s=="values"?Rc(0,c.v):Rc(0,[c.k,c.v])},n?"entries":"values",!n,!0),aj(t)}}});var hs=T((Vae,tE)=>{"use strict";u();var uj=nt(),Fc=re(),sj=Ar(),fj=ro(),lj=mi(),cj=to(),hj=eo(),rm=pt(),nm=ot(),pj=Qu(),dj=Do(),gj=Jl();tE.exports=function(e,t,n,a,s,c){var d=uj[e],m=d,w=s?"set":"add",_=m&&m.prototype,O={},L=function(G){var Z=_[G];sj(_,G,G=="delete"?function(j){return c&&!rm(j)?!1:Z.call(this,j===0?0:j)}:G=="has"?function(U){return c&&!rm(U)?!1:Z.call(this,U===0?0:U)}:G=="get"?function(U){return c&&!rm(U)?void 0:Z.call(this,U===0?0:U)}:G=="add"?function(U){return Z.call(this,U===0?0:U),this}:function(U,Q){return Z.call(this,U===0?0:U,Q),this})};if(typeof m!="function"||!(c||_.forEach&&!nm(function(){new m().entries().next()})))m=a.getConstructor(t,e,s,w),fj(m.prototype,n),lj.NEED=!0;else{var S=new m,I=S[w](c?{}:-0,1)!=S,P=nm(function(){S.has(1)}),$=pj(function(G){new m(G)}),D=!c&&nm(function(){for(var G=new m,Z=5;Z--;)G[w](Z,Z);return!G.has(-0)});$||(m=t(function(G,Z){hj(G,m,e);var j=gj(new d,G,m);return Z!=null&&cj(Z,s,j[w],j),j}),m.prototype=_,_.constructor=m),(P||D)&&(L("delete"),L("has"),s&&L("get")),(D||I)&&L(w),c&&_.clear&&delete _.clear}return dj(m,e),O[e]=m,Fc(Fc.G+Fc.W+Fc.F*(m!=d),O),c||a.setStrong(m,e,s),m}});var am=T((Zae,nE)=>{"use strict";u();var im=tm(),rE=oo(),om="Map";nE.exports=hs()(om,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=im.getEntry(rE(this,om),t);return n&&n.v},set:function(t,n){return im.def(rE(this,om),t===0?0:t,n)}},im,!0)});var um=T((Qae,aE)=>{"use strict";u();var iE=tm(),vj=oo(),oE="Set";aE.exports=hs()(oE,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return iE.def(vj(this,oE),t=t===0?0:t,t)}},iE)});var lm=T((tue,hE)=>{"use strict";u();var mj=ro(),sm=mi().getWeak,xj=Xe(),uE=pt(),yj=eo(),wj=to(),lE=Mn(),sE=zr(),fE=oo(),bj=lE(5),_j=lE(6),qj=0,Dc=function(e){return e._l||(e._l=new cE)},cE=function(){this.a=[]},fm=function(e,t){return bj(e.a,function(n){return n[0]===t})};cE.prototype={get:function(e){var t=fm(this,e);if(t)return t[1]},has:function(e){return!!fm(this,e)},set:function(e,t){var n=fm(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=_j(this.a,function(n){return n[0]===e});return~t&&this.a.splice(t,1),!!~t}};hE.exports={getConstructor:function(e,t,n,a){var s=e(function(c,d){yj(c,s,t,"_i"),c._t=t,c._i=qj++,c._l=void 0,d!=null&&wj(d,n,c[a],c)});return mj(s.prototype,{delete:function(c){if(!uE(c))return!1;var d=sm(c);return d===!0?Dc(fE(this,t)).delete(c):d&&sE(d,this._i)&&delete d[this._i]},has:function(d){if(!uE(d))return!1;var m=sm(d);return m===!0?Dc(fE(this,t)).has(d):m&&sE(m,this._i)}}),s},def:function(e,t,n){var a=sm(xj(t),!0);return a===!0?Dc(e).set(t,n):a[e._i]=n,e},ufstore:Dc}});var hm=T((nue,yE)=>{"use strict";u();var pE=nt(),Sj=Mn()(0),Tj=Ar(),gE=mi(),Cj=rg(),kc=lm(),vE=pt(),dE=oo(),Ej=oo(),Oj=!pE.ActiveXObject&&"ActiveXObject"in pE,Nc="WeakMap",Aj=gE.getWeak,Ij=Object.isExtensible,Mj=kc.ufstore,cm,mE=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},xE={get:function(t){if(vE(t)){var n=Aj(t);return n===!0?Mj(dE(this,Nc)).get(t):n?n[this._i]:void 0}},set:function(t,n){return kc.def(dE(this,Nc),t,n)}},Lj=yE.exports=hs()(Nc,mE,xE,kc,!0,!0);Ej&&Oj&&(cm=kc.getConstructor(mE,Nc),Cj(cm.prototype,xE),gE.NEED=!0,Sj(["delete","has","get","set"],function(e){var t=Lj.prototype,n=t[e];Tj(t,e,function(a,s){if(vE(a)&&!Ij(a)){this._f||(this._f=new cm);var c=this._f[e](a,s);return e=="set"?this:c}return n.call(this,a,s)})}))});var _E=T(()=>{"use strict";u();var wE=lm(),Rj=oo(),bE="WeakSet";hs()(bE,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return wE.def(Rj(this,bE),t,!0)}},wE,!1,!0)});var ps=T((sue,IE)=>{u();var dm=nt(),qE=Or(),TE=Xi(),CE=TE("typed_array"),EE=TE("view"),OE=!!(dm.ArrayBuffer&&dm.DataView),AE=OE,SE=0,Pj=9,pm,Fj="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");for(;SE{u();var Dj=hn(),Nj=_t();ME.exports=function(e){if(e===void 0)return 0;var t=Dj(e),n=Nj(t);if(t!==n)throw RangeError("Wrong length!");return n}});var Gc=T(Sm=>{"use strict";u();var xs=nt(),jc=Ct(),kj=vi(),BE=ps(),WE=Or(),LE=ro(),vm=ot(),Bc=eo(),Bj=hn(),Wj=_t(),$c=gm(),Uj=Zi().f,Hj=Rt().f,$j=yc(),UE=Do(),vs="ArrayBuffer",ms="DataView",zo="prototype",zj="Wrong length!",HE="Wrong index!",Ut=xs[vs],vn=xs[ms],ys=xs.Math,zc=xs.RangeError,wm=xs.Infinity,Wc=Ut,jj=ys.abs,bi=ys.pow,Gj=ys.floor,Xj=ys.log,Yj=ys.LN2,$E="buffer",bm="byteLength",zE="byteOffset",_m=jc?"_b":$E,gs=jc?"_l":bm,qm=jc?"_o":zE;function jE(e,t,n){var a=new Array(n),s=n*8-t-1,c=(1<>1,m=t===23?bi(2,-24)-bi(2,-77):0,w=0,_=e<0||e===0&&1/e<0?1:0,O,L,S;for(e=jj(e),e!=e||e===wm?(L=e!=e?1:0,O=c):(O=Gj(Xj(e)/Yj),e*(S=bi(2,-O))<1&&(O--,S*=2),O+d>=1?e+=m/S:e+=m*bi(2,1-d),e*S>=2&&(O++,S/=2),O+d>=c?(L=0,O=c):O+d>=1?(L=(e*S-1)*bi(2,t),O=O+d):(L=e*bi(2,d-1)*bi(2,t),O=0));t>=8;a[w++]=L&255,L/=256,t-=8);for(O=O<0;a[w++]=O&255,O/=256,s-=8);return a[--w]|=_*128,a}function RE(e,t,n){var a=n*8-t-1,s=(1<>1,d=a-7,m=n-1,w=e[m--],_=w&127,O;for(w>>=7;d>0;_=_*256+e[m],m--,d-=8);for(O=_&(1<<-d)-1,_>>=-d,d+=t;d>0;O=O*256+e[m],m--,d-=8);if(_===0)_=1-c;else{if(_===s)return O?NaN:w?-wm:wm;O=O+bi(2,t),_=_-c}return(w?-1:1)*O*bi(2,_-t)}function PE(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function FE(e){return[e&255]}function DE(e){return[e&255,e>>8&255]}function NE(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]}function Vj(e){return jE(e,52,8)}function Kj(e){return jE(e,23,4)}function Uc(e,t,n){Hj(e[zo],t,{get:function(){return this[n]}})}function ao(e,t,n,a){var s=+n,c=$c(s);if(c+t>e[gs])throw zc(HE);var d=e[_m]._b,m=c+e[qm],w=d.slice(m,m+t);return a?w:w.reverse()}function uo(e,t,n,a,s,c){var d=+n,m=$c(d);if(m+t>e[gs])throw zc(HE);for(var w=e[_m]._b,_=m+e[qm],O=a(+s),L=0;Ls)throw zc("Wrong offset!");if(a=a===void 0?s-c:Wj(a),c+a>s)throw zc(zj);this[_m]=t,this[qm]=c,this[gs]=a},jc&&(Uc(Ut,bm,"_l"),Uc(vn,$E,"_b"),Uc(vn,bm,"_l"),Uc(vn,zE,"_o")),LE(vn[zo],{getInt8:function(t){return ao(this,1,t)[0]<<24>>24},getUint8:function(t){return ao(this,1,t)[0]},getInt16:function(t){var n=ao(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=ao(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return PE(ao(this,4,t,arguments[1]))},getUint32:function(t){return PE(ao(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return RE(ao(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return RE(ao(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){uo(this,1,t,FE,n)},setUint8:function(t,n){uo(this,1,t,FE,n)},setInt16:function(t,n){uo(this,2,t,DE,n,arguments[2])},setUint16:function(t,n){uo(this,2,t,DE,n,arguments[2])},setInt32:function(t,n){uo(this,4,t,NE,n,arguments[2])},setUint32:function(t,n){uo(this,4,t,NE,n,arguments[2])},setFloat32:function(t,n){uo(this,4,t,Kj,n,arguments[2])},setFloat64:function(t,n){uo(this,8,t,Vj,n,arguments[2])}});else{if(!vm(function(){Ut(1)})||!vm(function(){new Ut(-1)})||vm(function(){return new Ut,new Ut(1.5),new Ut(NaN),Ut.name!=vs})){for(Ut=function(t){return Bc(this,Ut),new Wc($c(t))},kE=Ut[zo]=Wc[zo],mm=Uj(Wc),xm=0;mm.length>xm;)(Hc=mm[xm++])in Ut||WE(Ut,Hc,Wc[Hc]);kj||(kE.constructor=Ut)}ds=new vn(new Ut(2)),ym=vn[zo].setInt8,ds.setInt8(0,2147483648),ds.setInt8(1,2147483649),(ds.getInt8(0)||!ds.getInt8(1))&&LE(vn[zo],{setInt8:function(t,n){ym.call(this,t,n<<24>>24)},setUint8:function(t,n){ym.call(this,t,n<<24>>24)}},!0)}var kE,mm,xm,Hc,ds,ym;UE(Ut,vs);UE(vn,ms);WE(vn[zo],BE.VIEW,!0);Sm[vs]=Ut;Sm[ms]=vn});var QE=T(()=>{"use strict";u();var Ln=re(),Tm=ps(),ZE=Gc(),GE=Xe(),XE=Yi(),Zj=_t(),Jj=pt(),JE=nt().ArrayBuffer,Qj=Na(),ws=ZE.ArrayBuffer,YE=ZE.DataView,VE=Tm.ABV&&JE.isView,KE=ws.prototype.slice,eG=Tm.VIEW,Cm="ArrayBuffer";Ln(Ln.G+Ln.W+Ln.F*(JE!==ws),{ArrayBuffer:ws});Ln(Ln.S+Ln.F*!Tm.CONSTR,Cm,{isView:function(t){return VE&&VE(t)||Jj(t)&&eG in t}});Ln(Ln.P+Ln.U+Ln.F*ot()(function(){return!new ws(2).slice(1,void 0).byteLength}),Cm,{slice:function(t,n){if(KE!==void 0&&n===void 0)return KE.call(GE(this),t);for(var a=GE(this).byteLength,s=XE(t,a),c=XE(n===void 0?a:n,a),d=new(Qj(this,ws))(Zj(c-s)),m=new YE(this),w=new YE(d),_=0;s{u();var Xc=re();Xc(Xc.G+Xc.W+Xc.F*!ps().ABV,{DataView:Gc().DataView})});var Jn=T((wue,r0)=>{"use strict";u();Ct()?(Yc=vi(),bs=nt(),Rn=ot(),yt=re(),_s=ps(),Em=Gc(),tO=ln(),Om=eo(),rO=Gi(),Pn=Or(),Vc=ro(),nO=hn(),qs=_t(),Am=gm(),Im=Yi(),Mm=On(),Ha=zr(),Lm=ko(),jo=pt(),Rm=Bt(),iO=gc(),oO=Ki(),aO=Xr(),Kc=Zi().f,uO=mc(),Pm=Xi(),Fm=wt(),so=Mn(),Dm=Uu(),Zc=Na(),Jc=bc(),sO=Wo(),fO=Qu(),lO=Qi(),cO=yc(),hO=mv(),Nm=Rt(),km=Gr(),$a=Nm.f,pO=km.f,za=bs.RangeError,Bm=bs.TypeError,Go=bs.Uint8Array,Qc="ArrayBuffer",Wm="Shared"+Qc,Um="BYTES_PER_ELEMENT",ja="prototype",_i=Array[ja],eh=Em.ArrayBuffer,dO=Em.DataView,Hm=so(0),gO=so(2),vO=so(3),mO=so(4),xO=so(5),yO=so(6),wO=Dm(!0),bO=Dm(!1),_O=Jc.values,qO=Jc.keys,SO=Jc.entries,TO=_i.lastIndexOf,CO=_i.reduce,EO=_i.reduceRight,$m=_i.join,OO=_i.sort,zm=_i.slice,Ga=_i.toString,th=_i.toLocaleString,rh=Fm("iterator"),Ss=Fm("toStringTag"),jm=Pm("typed_constructor"),Ts=Pm("def_constructor"),Gm=_s.CONSTR,Xo=_s.TYPED,AO=_s.VIEW,Cs="Wrong length!",IO=so(1,function(e,t){return Os(Zc(e,e[Ts]),t)}),Xm=Rn(function(){return new Go(new Uint16Array([1]).buffer)[0]===1}),MO=!!Go&&!!Go[ja].set&&Rn(function(){new Go(1).set({})}),Es=function(e,t){var n=nO(e);if(n<0||n%t)throw za("Wrong offset!");return n},bt=function(e){if(jo(e)&&Xo in e)return e;throw Bm(e+" is not a typed array!")},Os=function(e,t){if(!(jo(e)&&jm in e))throw Bm("It is not a typed array constructor!");return new e(t)},Ym=function(e,t){return nh(Zc(e,e[Ts]),t)},nh=function(e,t){for(var n=0,a=t.length,s=Os(e,a);a>n;)s[n]=t[n++];return s},As=function(e,t,n){$a(e,t,{get:function(){return this._d[n]}})},ih=function(t){var n=Rm(t),a=arguments.length,s=a>1?arguments[1]:void 0,c=s!==void 0,d=uO(n),m,w,_,O,L,S;if(d!=null&&!iO(d)){for(S=d.call(n),_=[],m=0;!(L=S.next()).done;m++)_.push(L.value);n=_}for(c&&a>2&&(s=tO(s,arguments[2],2)),m=0,w=qs(n.length),O=Os(this,w);w>m;m++)O[m]=c?s(n[m],m):n[m];return O},LO=function(){for(var t=0,n=arguments.length,a=Os(this,n);n>t;)a[t]=arguments[t++];return a},RO=!!Go&&Rn(function(){th.call(new Go(1))}),Vm=function(){return th.apply(RO?zm.call(bt(this)):bt(this),arguments)},Km={copyWithin:function(t,n){return hO.call(bt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return mO(bt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return cO.apply(bt(this),arguments)},filter:function(t){return Ym(this,gO(bt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return xO(bt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return yO(bt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Hm(bt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return bO(bt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return wO(bt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return $m.apply(bt(this),arguments)},lastIndexOf:function(t){return TO.apply(bt(this),arguments)},map:function(t){return IO(bt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return CO.apply(bt(this),arguments)},reduceRight:function(t){return EO.apply(bt(this),arguments)},reverse:function(){for(var t=this,n=bt(t).length,a=Math.floor(n/2),s=0,c;s1?arguments[1]:void 0)},sort:function(t){return OO.call(bt(this),t)},subarray:function(t,n){var a=bt(this),s=a.length,c=Im(t,s);return new(Zc(a,a[Ts]))(a.buffer,a.byteOffset+c*a.BYTES_PER_ELEMENT,qs((n===void 0?s:Im(n,s))-c))}},Zm=function(t,n){return Ym(this,zm.call(bt(this),t,n))},Jm=function(t){bt(this);var n=Es(arguments[1],1),a=this.length,s=Rm(t),c=qs(s.length),d=0;if(c+n>a)throw za(Cs);for(;d255?255:Q&255),h.v[d](U*t+h.o,Q,Xm)},$=function(j,U){$a(j,U,{get:function(){return I(this,U)},set:function(Q){return P(this,U,Q)},enumerable:!0})};O?(m=n(function(j,U,Q,h){Om(j,m,s,"_d");var de=0,le=0,Ie,Ee,he,ee;if(!jo(U))he=Am(U),Ee=he*t,Ie=new eh(Ee);else if(U instanceof eh||(ee=Lm(U))==Qc||ee==Wm){Ie=U,le=Es(Q,t);var ce=U.byteLength;if(h===void 0){if(ce%t||(Ee=ce-le,Ee<0))throw za(Cs)}else if(Ee=qs(h)*t,Ee+le>ce)throw za(Cs);he=Ee/t}else return Xo in U?nh(m,U):ih.call(m,U);for(Pn(j,"_d",{b:Ie,o:le,l:Ee,e:he,v:new dO(Ie)});de{u();Jn()("Int8",1,function(e){return function(n,a,s){return e(this,n,a,s)}})});var FO=T(()=>{u();Jn()("Uint8",1,function(e){return function(n,a,s){return e(this,n,a,s)}})});var DO=T(()=>{u();Jn()("Uint8",1,function(e){return function(n,a,s){return e(this,n,a,s)}},!0)});var NO=T(()=>{u();Jn()("Int16",2,function(e){return function(n,a,s){return e(this,n,a,s)}})});var kO=T(()=>{u();Jn()("Uint16",2,function(e){return function(n,a,s){return e(this,n,a,s)}})});var BO=T(()=>{u();Jn()("Int32",4,function(e){return function(n,a,s){return e(this,n,a,s)}})});var WO=T(()=>{u();Jn()("Uint32",4,function(e){return function(n,a,s){return e(this,n,a,s)}})});var UO=T(()=>{u();Jn()("Float32",4,function(e){return function(n,a,s){return e(this,n,a,s)}})});var HO=T(()=>{u();Jn()("Float64",8,function(e){return function(n,a,s){return e(this,n,a,s)}})});var $O=T(()=>{u();var n0=re(),tG=ur(),rG=Xe(),i0=(nt().Reflect||{}).apply,nG=Function.apply;n0(n0.S+n0.F*!ot()(function(){i0(function(){})}),"Reflect",{apply:function(t,n,a){var s=tG(t),c=rG(a);return i0?i0(s,n,c):nG.call(s,n,c)}})});var VO=T(()=>{u();var o0=re(),iG=Ki(),zO=ur(),oG=Xe(),jO=pt(),YO=ot(),aG=sg(),a0=(nt().Reflect||{}).construct,GO=YO(function(){function e(){}return!(a0(function(){},[],e)instanceof e)}),XO=!YO(function(){a0(function(){})});o0(o0.S+o0.F*(GO||XO),"Reflect",{construct:function(t,n){zO(t),oG(n);var a=arguments.length<3?t:zO(arguments[2]);if(XO&&!GO)return a0(t,n,a);if(t==a){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var s=[null];return s.push.apply(s,n),new(aG.apply(t,s))}var c=a.prototype,d=iG(jO(c)?c:Object.prototype),m=Function.apply.call(t,d,n);return jO(m)?m:d}})});var JO=T(()=>{u();var KO=Rt(),u0=re(),ZO=Xe(),uG=On();u0(u0.S+u0.F*ot()(function(){Reflect.defineProperty(KO.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,a){ZO(t),n=uG(n,!0),ZO(a);try{return KO.f(t,n,a),!0}catch(s){return!1}}})});var e2=T(()=>{u();var QO=re(),sG=Gr().f,fG=Xe();QO(QO.S,"Reflect",{deleteProperty:function(t,n){var a=sG(fG(t),n);return a&&!a.configurable?!1:delete t[n]}})});var n2=T(()=>{"use strict";u();var t2=re(),lG=Xe(),r2=function(e){this._t=lG(e),this._i=0;var t=this._k=[],n;for(n in e)t.push(n)};lc()(r2,"Object",function(){var e=this,t=e._k,n;do if(e._i>=t.length)return{value:void 0,done:!0};while(!((n=t[e._i++])in e._t));return{value:n,done:!1}});t2(t2.S,"Reflect",{enumerate:function(t){return new r2(t)}})});var a2=T(()=>{u();var cG=Gr(),hG=Xr(),pG=zr(),i2=re(),dG=pt(),gG=Xe();function o2(e,t){var n=arguments.length<3?e:arguments[2],a,s;if(gG(e)===n)return e[t];if(a=cG.f(e,t))return pG(a,"value")?a.value:a.get!==void 0?a.get.call(n):void 0;if(dG(s=hG(e)))return o2(s,t,n)}i2(i2.S,"Reflect",{get:o2})});var s2=T(()=>{u();var vG=Gr(),u2=re(),mG=Xe();u2(u2.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return vG.f(mG(t),n)}})});var l2=T(()=>{u();var f2=re(),xG=Xr(),yG=Xe();f2(f2.S,"Reflect",{getPrototypeOf:function(t){return xG(yG(t))}})});var h2=T(()=>{u();var c2=re();c2(c2.S,"Reflect",{has:function(t,n){return n in t}})});var g2=T(()=>{u();var p2=re(),wG=Xe(),d2=Object.isExtensible;p2(p2.S,"Reflect",{isExtensible:function(t){return wG(t),d2?d2(t):!0}})});var s0=T((Tse,m2)=>{u();var bG=Zi(),_G=Hu(),qG=Xe(),v2=nt().Reflect;m2.exports=v2&&v2.ownKeys||function(t){var n=bG.f(qG(t)),a=_G.f;return a?n.concat(a(t)):n}});var y2=T(()=>{u();var x2=re();x2(x2.S,"Reflect",{ownKeys:s0()})});var _2=T(()=>{u();var w2=re(),SG=Xe(),b2=Object.preventExtensions;w2(w2.S,"Reflect",{preventExtensions:function(t){SG(t);try{return b2&&b2(t),!0}catch(n){return!1}}})});var A2=T(()=>{u();var q2=Rt(),S2=Gr(),TG=Xr(),CG=zr(),T2=re(),C2=Gi(),EG=Xe(),E2=pt();function O2(e,t,n){var a=arguments.length<4?e:arguments[3],s=S2.f(EG(e),t),c,d;if(!s){if(E2(d=TG(e)))return O2(d,t,n,a);s=C2(0)}if(CG(s,"value")){if(s.writable===!1||!E2(a))return!1;if(c=S2.f(a,t)){if(c.get||c.set||c.writable===!1)return!1;c.value=n,q2.f(a,t,c)}else q2.f(a,t,C2(0,n));return!0}return s.set===void 0?!1:(s.set.call(a,n),!0)}T2(T2.S,"Reflect",{set:O2})});var M2=T(()=>{u();var I2=re(),f0=Yl();f0&&I2(I2.S,"Reflect",{setPrototypeOf:function(t,n){f0.check(t,n);try{return f0.set(t,n),!0}catch(a){return!1}}})});var R2=T(()=>{"use strict";u();var L2=re(),OG=Uu()(!0);L2(L2.P,"Array",{includes:function(t){return OG(this,t,arguments.length>1?arguments[1]:void 0)}});yi()("includes")});var l0=T((Hse,F2)=>{"use strict";u();var AG=$u(),IG=pt(),MG=_t(),LG=ln(),RG=wt()("isConcatSpreadable");function P2(e,t,n,a,s,c,d,m){for(var w=s,_=0,O=d?LG(d,m,3):!1,L,S;_0)w=P2(e,t,L,MG(L.length),w,c-1)-1;else{if(w>=9007199254740991)throw TypeError();e[w]=L}w++}_++}return w}F2.exports=P2});var N2=T(()=>{"use strict";u();var D2=re(),PG=l0(),FG=Bt(),DG=_t(),NG=ur(),kG=xc();D2(D2.P,"Array",{flatMap:function(t){var n=FG(this),a,s;return NG(t),a=DG(n.length),s=kG(n,0),PG(s,n,n,a,0,1,t,arguments[1]),s}});yi()("flatMap")});var B2=T(()=>{"use strict";u();var k2=re(),BG=l0(),WG=Bt(),UG=_t(),HG=hn(),$G=xc();k2(k2.P,"Array",{flatten:function(){var t=arguments[0],n=WG(this),a=UG(n.length),s=$G(n,0);return BG(s,n,n,a,0,t===void 0?1:HG(t)),s}});yi()("flatten")});var W2=T(()=>{"use strict";u();var c0=re(),zG=Ku()(!0),jG=ot(),GG=jG(function(){return"\u{20BB7}".at(0)!=="\u{20BB7}"});c0(c0.P+c0.F*GG,"String",{at:function(t){return zG(this,t)}})});var h0=T((Qse,U2)=>{u();var XG=_t(),YG=nc(),VG=An();U2.exports=function(e,t,n,a){var s=String(VG(e)),c=s.length,d=n===void 0?" ":String(n),m=XG(t);if(m<=c||d=="")return s;var w=m-c,_=YG.call(d,Math.ceil(w/d.length));return _.length>w&&(_=_.slice(0,w)),a?_+s:s+_}});var H2=T(()=>{"use strict";u();var p0=re(),KG=h0(),ZG=us(),JG=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(ZG);p0(p0.P+p0.F*JG,"String",{padStart:function(t){return KG(this,t,arguments.length>1?arguments[1]:void 0,!0)}})});var $2=T(()=>{"use strict";u();var d0=re(),QG=h0(),e7=us(),t7=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(e7);d0(d0.P+d0.F*t7,"String",{padEnd:function(t){return QG(this,t,arguments.length>1?arguments[1]:void 0,!1)}})});var z2=T(()=>{"use strict";u();Bo()("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")});var j2=T(()=>{"use strict";u();Bo()("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")});var Y2=T(()=>{"use strict";u();var G2=re(),r7=An(),n7=_t(),i7=Ju(),o7=Da(),a7=RegExp.prototype,X2=function(e,t){this._r=e,this._s=t};lc()(X2,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:t===null}});G2(G2.P,"String",{matchAll:function(t){if(r7(this),!i7(t))throw TypeError(t+" is not a regexp!");var n=String(this),a="flags"in a7?String(t.flags):o7.call(t),s=new RegExp(t.source,~a.indexOf("g")?a:"g"+a);return s.lastIndex=n7(t.lastIndex),new X2(s,n)}})});var V2=T(()=>{u();Dl()("asyncIterator")});var K2=T(()=>{u();Dl()("observable")});var J2=T(()=>{u();var Z2=re(),u7=s0(),s7=jr(),f7=Gr(),l7=vc();Z2(Z2.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n=s7(t),a=f7.f,s=u7(n),c={},d=0,m,w;s.length>d;)w=a(n,m=s[d++]),w!==void 0&&l7(c,m,w);return c}})});var g0=T((Tfe,Q2)=>{u();var c7=Ct(),h7=Vi(),p7=jr(),d7=Ia().f;Q2.exports=function(e){return function(t){for(var n=p7(t),a=h7(n),s=a.length,c=0,d=[],m;s>c;)m=a[c++],(!c7||d7.call(n,m))&&d.push(e?[m,n[m]]:n[m]);return d}}});var tA=T(()=>{u();var eA=re(),g7=g0()(!1);eA(eA.S,"Object",{values:function(t){return g7(t)}})});var nA=T(()=>{u();var rA=re(),v7=g0()(!0);rA(rA.S,"Object",{entries:function(t){return v7(t)}})});var Ms=T((Rfe,iA)=>{"use strict";u();iA.exports=vi()||!ot()(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete nt()[e]})});var aA=T(()=>{"use strict";u();var oA=re(),m7=Bt(),x7=ur(),y7=Rt();Ct()&&oA(oA.P+Ms(),"Object",{__defineGetter__:function(t,n){y7.f(m7(this),t,{get:x7(n),enumerable:!0,configurable:!0})}})});var sA=T(()=>{"use strict";u();var uA=re(),w7=Bt(),b7=ur(),_7=Rt();Ct()&&uA(uA.P+Ms(),"Object",{__defineSetter__:function(t,n){_7.f(w7(this),t,{set:b7(n),enumerable:!0,configurable:!0})}})});var lA=T(()=>{"use strict";u();var fA=re(),q7=Bt(),S7=On(),T7=Xr(),C7=Gr().f;Ct()&&fA(fA.P+Ms(),"Object",{__lookupGetter__:function(t){var n=q7(this),a=S7(t,!0),s;do if(s=C7(n,a))return s.get;while(n=T7(n))}})});var hA=T(()=>{"use strict";u();var cA=re(),E7=Bt(),O7=On(),A7=Xr(),I7=Gr().f;Ct()&&cA(cA.P+Ms(),"Object",{__lookupSetter__:function(t){var n=E7(this),a=O7(t,!0),s;do if(s=I7(n,a))return s.set;while(n=A7(n))}})});var v0=T((Xfe,pA)=>{u();var M7=to();pA.exports=function(e,t){var n=[];return M7(e,!1,n.push,n,t),n}});var m0=T((Vfe,dA)=>{u();var L7=ko(),R7=v0();dA.exports=function(e){return function(){if(L7(this)!=e)throw TypeError(e+"#toJSON isn't generic");return R7(this)}}});var gA=T(()=>{u();var x0=re();x0(x0.P+x0.R,"Map",{toJSON:m0()("Map")})});var vA=T(()=>{u();var y0=re();y0(y0.P+y0.R,"Set",{toJSON:m0()("Set")})});var Ls=T((nle,xA)=>{"use strict";u();var mA=re();xA.exports=function(e){mA(mA.S,e,{of:function(){for(var n=arguments.length,a=new Array(n);n--;)a[n]=arguments[n];return new this(a)}})}});var yA=T(()=>{u();Ls()("Map")});var wA=T(()=>{u();Ls()("Set")});var bA=T(()=>{u();Ls()("WeakMap")});var _A=T(()=>{u();Ls()("WeakSet")});var Rs=T((mle,CA)=>{"use strict";u();var qA=re(),SA=ur(),P7=ln(),TA=to();CA.exports=function(e){qA(qA.S,e,{from:function(n){var a=arguments[1],s,c,d,m;return SA(this),s=a!==void 0,s&&SA(a),n==null?new this:(c=[],s?(d=0,m=P7(a,arguments[2],2),TA(n,!1,function(w){c.push(m(w,d++))})):TA(n,!1,c.push,c),new this(c))}})}});var EA=T(()=>{u();Rs()("Map")});var OA=T(()=>{u();Rs()("Set")});var AA=T(()=>{u();Rs()("WeakMap")});var IA=T(()=>{u();Rs()("WeakSet")});var LA=T(()=>{u();var MA=re();MA(MA.G,{global:nt()})});var PA=T(()=>{u();var RA=re();RA(RA.S,"System",{global:nt()})});var DA=T(()=>{u();var FA=re(),F7=cn();FA(FA.S,"Error",{isError:function(t){return F7(t)==="Error"}})});var kA=T(()=>{u();var NA=re();NA(NA.S,"Math",{clamp:function(t,n,a){return Math.min(a,Math.max(n,t))}})});var WA=T(()=>{u();var BA=re();BA(BA.S,"Math",{DEG_PER_RAD:Math.PI/180})});var HA=T(()=>{u();var UA=re(),D7=180/Math.PI;UA(UA.S,"Math",{degrees:function(t){return t*D7}})});var w0=T((Vle,$A)=>{u();$A.exports=Math.scale||function(t,n,a,s,c){return arguments.length===0||t!=t||n!=n||a!=a||s!=s||c!=c?NaN:t===1/0||t===-1/0?t:(t-n)*(c-s)/(a-n)+s}});var jA=T(()=>{u();var zA=re(),N7=w0(),k7=Rg();zA(zA.S,"Math",{fscale:function(t,n,a,s,c){return k7(N7(t,n,a,s,c))}})});var XA=T(()=>{u();var GA=re();GA(GA.S,"Math",{iaddh:function(t,n,a,s){var c=t>>>0,d=n>>>0,m=a>>>0;return d+(s>>>0)+((c&m|(c|m)&~(c+m>>>0))>>>31)|0}})});var VA=T(()=>{u();var YA=re();YA(YA.S,"Math",{isubh:function(t,n,a,s){var c=t>>>0,d=n>>>0,m=a>>>0;return d-(s>>>0)-((~c&m|~(c^m)&c-m>>>0)>>>31)|0}})});var ZA=T(()=>{u();var KA=re();KA(KA.S,"Math",{imulh:function(t,n){var a=65535,s=+t,c=+n,d=s&a,m=c&a,w=s>>16,_=c>>16,O=(w*m>>>0)+(d*m>>>16);return w*_+(O>>16)+((d*_>>>0)+(O&a)>>16)}})});var QA=T(()=>{u();var JA=re();JA(JA.S,"Math",{RAD_PER_DEG:180/Math.PI})});var tI=T(()=>{u();var eI=re(),B7=Math.PI/180;eI(eI.S,"Math",{radians:function(t){return t*B7}})});var nI=T(()=>{u();var rI=re();rI(rI.S,"Math",{scale:w0()})});var oI=T(()=>{u();var iI=re();iI(iI.S,"Math",{umulh:function(t,n){var a=65535,s=+t,c=+n,d=s&a,m=c&a,w=s>>>16,_=c>>>16,O=(w*m>>>0)+(d*m>>>16);return w*_+(O>>>16)+((d*_>>>0)+(O&a)>>>16)}})});var uI=T(()=>{u();var aI=re();aI(aI.S,"Math",{signbit:function(t){return(t=+t)!=t?t:t==0?1/t==1/0:t>0}})});var fI=T(()=>{"use strict";u();var b0=re(),W7=fn(),U7=nt(),H7=Na(),sI=Kv();b0(b0.P+b0.R,"Promise",{finally:function(e){var t=H7(this,W7.Promise||U7.Promise),n=typeof e=="function";return this.then(n?function(a){return sI(t,e()).then(function(){return a})}:e,n?function(a){return sI(t,e()).then(function(){throw a})}:e)}})});var cI=T(()=>{"use strict";u();var lI=re(),$7=Ic(),z7=Vv();lI(lI.S,"Promise",{try:function(e){var t=$7.f(this),n=z7(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})});var Qn=T((Ice,gI)=>{u();var hI=am(),pI=re(),dI=Ea()("metadata"),_0=dI.store||(dI.store=new(hm())),Ps=function(e,t,n){var a=_0.get(e);if(!a){if(!n)return;_0.set(e,a=new hI)}var s=a.get(t);if(!s){if(!n)return;a.set(t,s=new hI)}return s},j7=function(e,t,n){var a=Ps(t,n,!1);return a===void 0?!1:a.has(e)},G7=function(e,t,n){var a=Ps(t,n,!1);return a===void 0?void 0:a.get(e)},X7=function(e,t,n,a){Ps(n,a,!0).set(e,t)},Y7=function(e,t){var n=Ps(e,t,!1),a=[];return n&&n.forEach(function(s,c){a.push(c)}),a},V7=function(e){return e===void 0||typeof e=="symbol"?e:String(e)},K7=function(e){pI(pI.S,"Reflect",e)};gI.exports={store:_0,map:Ps,has:j7,get:G7,set:X7,keys:Y7,key:V7,exp:K7}});var vI=T(()=>{u();var q0=Qn(),Z7=Xe(),J7=q0.key,Q7=q0.set;q0.exp({defineMetadata:function(t,n,a,s){Q7(t,n,Z7(a),J7(s))}})});var xI=T(()=>{u();var oh=Qn(),e9=Xe(),t9=oh.key,r9=oh.map,mI=oh.store;oh.exp({deleteMetadata:function(t,n){var a=arguments.length<3?void 0:t9(arguments[2]),s=r9(e9(n),a,!1);if(s===void 0||!s.delete(t))return!1;if(s.size)return!0;var c=mI.get(n);return c.delete(a),!!c.size||mI.delete(n)}})});var wI=T(()=>{u();var ah=Qn(),n9=Xe(),i9=Xr(),o9=ah.has,a9=ah.get,u9=ah.key,yI=function(e,t,n){var a=o9(e,t,n);if(a)return a9(e,t,n);var s=i9(t);return s!==null?yI(e,s,n):void 0};ah.exp({getMetadata:function(t,n){return yI(t,n9(n),arguments.length<3?void 0:u9(arguments[2]))}})});var _I=T(()=>{u();var s9=um(),f9=v0(),S0=Qn(),l9=Xe(),c9=Xr(),h9=S0.keys,p9=S0.key,bI=function(e,t){var n=h9(e,t),a=c9(e);if(a===null)return n;var s=bI(a,t);return s.length?n.length?f9(new s9(n.concat(s))):s:n};S0.exp({getMetadataKeys:function(t){return bI(l9(t),arguments.length<2?void 0:p9(arguments[1]))}})});var qI=T(()=>{u();var T0=Qn(),d9=Xe(),g9=T0.get,v9=T0.key;T0.exp({getOwnMetadata:function(t,n){return g9(t,d9(n),arguments.length<3?void 0:v9(arguments[2]))}})});var SI=T(()=>{u();var C0=Qn(),m9=Xe(),x9=C0.keys,y9=C0.key;C0.exp({getOwnMetadataKeys:function(t){return x9(m9(t),arguments.length<2?void 0:y9(arguments[1]))}})});var CI=T(()=>{u();var E0=Qn(),w9=Xe(),b9=Xr(),_9=E0.has,q9=E0.key,TI=function(e,t,n){var a=_9(e,t,n);if(a)return!0;var s=b9(t);return s!==null?TI(e,s,n):!1};E0.exp({hasMetadata:function(t,n){return TI(t,w9(n),arguments.length<3?void 0:q9(arguments[2]))}})});var EI=T(()=>{u();var O0=Qn(),S9=Xe(),T9=O0.has,C9=O0.key;O0.exp({hasOwnMetadata:function(t,n){return T9(t,S9(n),arguments.length<3?void 0:C9(arguments[2]))}})});var OI=T(()=>{u();var A0=Qn(),E9=Xe(),O9=ur(),A9=A0.key,I9=A0.set;A0.exp({metadata:function(t,n){return function(s,c){I9(t,n,(c!==void 0?E9:O9)(s),A9(c))}}})});var MI=T(()=>{u();var AI=re(),M9=Ac()(),II=nt().process,L9=cn()(II)=="process";AI(AI.G,{asap:function(t){var n=L9&&II.domain;M9(n?n.bind(t):t)}})});var WI=T(()=>{"use strict";u();var LI=re(),R9=nt(),P9=fn(),RI=Ac()(),FI=wt()("observable"),sh=ur(),I0=Xe(),F9=eo(),fh=ro(),D9=Or(),DI=to(),PI=DI.RETURN,uh=function(e){return e==null?void 0:sh(e)},Xa=function(e){var t=e._c;t&&(e._c=void 0,t())},Fs=function(e){return e._o===void 0},NI=function(e){Fs(e)||(e._o=void 0,Xa(e))},kI=function(e,t){I0(e),this._c=void 0,this._o=e,e=new BI(this);try{var n=t(e),a=n;n!=null&&(typeof n.unsubscribe=="function"?n=function(){a.unsubscribe()}:sh(n),this._c=n)}catch(s){e.error(s);return}Fs(this)&&Xa(this)};kI.prototype=fh({},{unsubscribe:function(){NI(this)}});var BI=function(e){this._s=e};BI.prototype=fh({},{next:function(t){var n=this._s;if(!Fs(n)){var a=n._o;try{var s=uh(a.next);if(s)return s.call(a,t)}catch(c){try{NI(n)}finally{throw c}}}},error:function(t){var n=this._s;if(Fs(n))throw t;var a=n._o;n._o=void 0;try{var s=uh(a.error);if(!s)throw t;t=s.call(a,t)}catch(c){try{Xa(n)}finally{throw c}}return Xa(n),t},complete:function(t){var n=this._s;if(!Fs(n)){var a=n._o;n._o=void 0;try{var s=uh(a.complete);t=s?s.call(a,t):void 0}catch(c){try{Xa(n)}finally{throw c}}return Xa(n),t}}});var Yo=function(t){F9(this,Yo,"Observable","_f")._f=sh(t)};fh(Yo.prototype,{subscribe:function(t){return new kI(t,this._f)},forEach:function(t){var n=this;return new(P9.Promise||R9.Promise)(function(a,s){sh(t);var c=n.subscribe({next:function(d){try{return t(d)}catch(m){s(m),c.unsubscribe()}},error:s,complete:a})})}});fh(Yo,{from:function(t){var n=typeof this=="function"?this:Yo,a=uh(I0(t)[FI]);if(a){var s=I0(a.call(t));return s.constructor===n?s:new n(function(c){return s.subscribe(c)})}return new n(function(c){var d=!1;return RI(function(){if(!d){try{if(DI(t,!1,function(m){if(c.next(m),d)return PI})===PI)return}catch(m){if(d)throw m;c.error(m);return}c.complete()}}),function(){d=!0}})},of:function(){for(var t=0,n=arguments.length,a=new Array(n);t{u();var UI=nt(),lh=re(),N9=us(),k9=[].slice,B9=/MSIE .\./.test(N9),HI=function(e){return function(t,n){var a=arguments.length>2,s=a?k9.call(arguments,2):!1;return e(a?function(){(typeof t=="function"?t:Function(t)).apply(this,s)}:t,n)}};lh(lh.G+lh.B+lh.F*B9,{setTimeout:HI(UI.setTimeout),setInterval:HI(UI.setInterval)})});var jI=T(()=>{u();var M0=re(),zI=Oc();M0(M0.G+M0.B,{setImmediate:zI.set,clearImmediate:zI.clear})});var tM=T(()=>{u();var GI=bc(),W9=Vi(),U9=Ar(),H9=nt(),XI=Or(),QI=Wo(),eM=wt(),YI=eM("iterator"),VI=eM("toStringTag"),KI=QI.Array,ZI={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1};for(L0=W9(ZI),ch=0;ch{u();db();vb();mb();xb();wb();qb();Sb();Tb();Cb();Eb();Ob();Ab();Ib();Mb();Pb();Nb();Ub();zb();Vb();Jb();r_();l_();p_();w_();E_();A_();M_();R_();D_();k_();W_();H_();z_();G_();Y_();Z_();eq();rq();oq();uq();lq();pq();vq();xq();wq();_q();Sq();Cq();Oq();Mq();Fq();Nq();Wq();Hq();$q();eS();rS();sS();lS();hS();dS();vS();mS();xS();yS();wS();bS();_S();qS();SS();TS();CS();ES();OS();IS();MS();DS();BS();jS();XS();rT();nT();aT();cT();gT();bT();_T();qT();ST();TT();ET();OT();IT();LT();DT();WT();HT();zT();XT();bc();tC();Lv();aC();Rv();hC();pC();gC();yC();KC();am();um();hm();_E();QE();eO();PO();FO();DO();NO();kO();BO();WO();UO();HO();$O();VO();JO();e2();n2();a2();s2();l2();h2();g2();y2();_2();A2();M2();R2();N2();B2();W2();H2();$2();z2();j2();Y2();V2();K2();J2();tA();nA();aA();sA();lA();hA();gA();vA();yA();wA();bA();_A();EA();OA();AA();IA();LA();PA();DA();kA();WA();HA();jA();XA();VA();ZA();QA();tI();nI();oI();uI();fI();cI();vI();xI();wI();_I();qI();SI();CI();EI();OI();MI();WI();$I();jI();tM();rM.exports=fn()});var oM=T((iM,hh)=>{u();(function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,a,s=typeof Symbol=="function"?Symbol:{},c=s.iterator||"@@iterator",d=s.asyncIterator||"@@asyncIterator",m=s.toStringTag||"@@toStringTag",w=typeof hh=="object",_=e.regeneratorRuntime;if(_){w&&(hh.exports=_);return}_=e.regeneratorRuntime=w?hh.exports:{};function O(oe,ae,me,xe){var _e=ae&&ae.prototype instanceof G?ae:G,Ve=Object.create(_e.prototype),lt=new Fe(xe||[]);return Ve._invoke=Ee(oe,me,lt),Ve}_.wrap=O;function L(oe,ae,me){try{return{type:"normal",arg:oe.call(ae,me)}}catch(xe){return{type:"throw",arg:xe}}}var S="suspendedStart",I="suspendedYield",P="executing",$="completed",D={};function G(){}function Z(){}function j(){}var U={};U[c]=function(){return this};var Q=Object.getPrototypeOf,h=Q&&Q(Q(ze([])));h&&h!==t&&n.call(h,c)&&(U=h);var de=j.prototype=G.prototype=Object.create(U);Z.prototype=de.constructor=j,j.constructor=Z,j[m]=Z.displayName="GeneratorFunction";function le(oe){["next","throw","return"].forEach(function(ae){oe[ae]=function(me){return this._invoke(ae,me)}})}_.isGeneratorFunction=function(oe){var ae=typeof oe=="function"&&oe.constructor;return ae?ae===Z||(ae.displayName||ae.name)==="GeneratorFunction":!1},_.mark=function(oe){return Object.setPrototypeOf?Object.setPrototypeOf(oe,j):(oe.__proto__=j,m in oe||(oe[m]="GeneratorFunction")),oe.prototype=Object.create(de),oe},_.awrap=function(oe){return{__await:oe}};function Ie(oe){function ae(_e,Ve,lt,xt){var qt=L(oe[_e],oe,Ve);if(qt.type==="throw")xt(qt.arg);else{var Mt=qt.arg,Ht=Mt.value;return Ht&&typeof Ht=="object"&&n.call(Ht,"__await")?Promise.resolve(Ht.__await).then(function(Wt){ae("next",Wt,lt,xt)},function(Wt){ae("throw",Wt,lt,xt)}):Promise.resolve(Ht).then(function(Wt){Mt.value=Wt,lt(Mt)},xt)}}typeof e.process=="object"&&e.process.domain&&(ae=e.process.domain.bind(ae));var me;function xe(_e,Ve){function lt(){return new Promise(function(xt,qt){ae(_e,Ve,xt,qt)})}return me=me?me.then(lt,lt):lt()}this._invoke=xe}le(Ie.prototype),Ie.prototype[d]=function(){return this},_.AsyncIterator=Ie,_.async=function(oe,ae,me,xe){var _e=new Ie(O(oe,ae,me,xe));return _.isGeneratorFunction(ae)?_e:_e.next().then(function(Ve){return Ve.done?Ve.value:_e.next()})};function Ee(oe,ae,me){var xe=S;return function(Ve,lt){if(xe===P)throw new Error("Generator is already running");if(xe===$){if(Ve==="throw")throw lt;return Oe()}for(me.method=Ve,me.arg=lt;;){var xt=me.delegate;if(xt){var qt=he(xt,me);if(qt){if(qt===D)continue;return qt}}if(me.method==="next")me.sent=me._sent=me.arg;else if(me.method==="throw"){if(xe===S)throw xe=$,me.arg;me.dispatchException(me.arg)}else me.method==="return"&&me.abrupt("return",me.arg);xe=P;var Mt=L(oe,ae,me);if(Mt.type==="normal"){if(xe=me.done?$:I,Mt.arg===D)continue;return{value:Mt.arg,done:me.done}}else Mt.type==="throw"&&(xe=$,me.method="throw",me.arg=Mt.arg)}}}function he(oe,ae){var me=oe.iterator[ae.method];if(me===a){if(ae.delegate=null,ae.method==="throw"){if(oe.iterator.return&&(ae.method="return",ae.arg=a,he(oe,ae),ae.method==="throw"))return D;ae.method="throw",ae.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var xe=L(me,oe.iterator,ae.arg);if(xe.type==="throw")return ae.method="throw",ae.arg=xe.arg,ae.delegate=null,D;var _e=xe.arg;if(!_e)return ae.method="throw",ae.arg=new TypeError("iterator result is not an object"),ae.delegate=null,D;if(_e.done)ae[oe.resultName]=_e.value,ae.next=oe.nextLoc,ae.method!=="return"&&(ae.method="next",ae.arg=a);else return _e;return ae.delegate=null,D}le(de),de[m]="Generator",de[c]=function(){return this},de.toString=function(){return"[object Generator]"};function ee(oe){var ae={tryLoc:oe[0]};1 in oe&&(ae.catchLoc=oe[1]),2 in oe&&(ae.finallyLoc=oe[2],ae.afterLoc=oe[3]),this.tryEntries.push(ae)}function ce(oe){var ae=oe.completion||{};ae.type="normal",delete ae.arg,oe.completion=ae}function Fe(oe){this.tryEntries=[{tryLoc:"root"}],oe.forEach(ee,this),this.reset(!0)}_.keys=function(oe){var ae=[];for(var me in oe)ae.push(me);return ae.reverse(),function xe(){for(;ae.length;){var _e=ae.pop();if(_e in oe)return xe.value=_e,xe.done=!1,xe}return xe.done=!0,xe}};function ze(oe){if(oe){var ae=oe[c];if(ae)return ae.call(oe);if(typeof oe.next=="function")return oe;if(!isNaN(oe.length)){var me=-1,xe=function _e(){for(;++me=0;--xe){var _e=this.tryEntries[xe],Ve=_e.completion;if(_e.tryLoc==="root")return me("end");if(_e.tryLoc<=this.prev){var lt=n.call(_e,"catchLoc"),xt=n.call(_e,"finallyLoc");if(lt&&xt){if(this.prev<_e.catchLoc)return me(_e.catchLoc,!0);if(this.prev<_e.finallyLoc)return me(_e.finallyLoc)}else if(lt){if(this.prev<_e.catchLoc)return me(_e.catchLoc,!0)}else if(xt){if(this.prev<_e.finallyLoc)return me(_e.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(oe,ae){for(var me=this.tryEntries.length-1;me>=0;--me){var xe=this.tryEntries[me];if(xe.tryLoc<=this.prev&&n.call(xe,"finallyLoc")&&this.prev=0;--ae){var me=this.tryEntries[ae];if(me.finallyLoc===oe)return this.complete(me.completion,me.afterLoc),ce(me),D}},catch:function(oe){for(var ae=this.tryEntries.length-1;ae>=0;--ae){var me=this.tryEntries[ae];if(me.tryLoc===oe){var xe=me.completion;if(xe.type==="throw"){var _e=xe.arg;ce(me)}return _e}}throw new Error("illegal catch attempt")},delegateYield:function(oe,ae,me){return this.delegate={iterator:ze(oe),resultName:ae,nextLoc:me},this.method==="next"&&(this.arg=a),D}}})(typeof window=="object"||typeof window=="object"?window:typeof self=="object"?self:iM)});var uM=T((qhe,aM)=>{u();aM.exports=function(e,t){var n=t===Object(t)?function(a){return t[a]}:t;return function(a){return String(a).replace(e,n)}}});var fM=T(()=>{u();var sM=re(),$9=uM()(/[\\^$*+?.()|[\]{}]/g,"\\$&");sM(sM.S,"RegExp",{escape:function(t){return $9(t)}})});var cM=T((Ohe,lM)=>{u();fM();lM.exports=fn().RegExp.escape});var tr=T((Ya,ks)=>{u();(function(){var e,t="4.18.1",n=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",c="Invalid `variable` option passed into `_.template`",d="Invalid `imports` option passed into `_.template`",m="__lodash_hash_undefined__",w=500,_="__lodash_placeholder__",O=1,L=2,S=4,I=1,P=2,$=1,D=2,G=4,Z=8,j=16,U=32,Q=64,h=128,de=256,le=512,Ie=30,Ee="...",he=800,ee=16,ce=1,Fe=2,ze=3,Oe=1/0,oe=9007199254740991,ae=17976931348623157e292,me=NaN,xe=4294967295,_e=xe-1,Ve=xe>>>1,lt=[["ary",h],["bind",$],["bindKey",D],["curry",Z],["curryRight",j],["flip",le],["partial",U],["partialRight",Q],["rearg",de]],xt="[object Arguments]",qt="[object Array]",Mt="[object AsyncFunction]",Ht="[object Boolean]",Wt="[object Date]",ye="[object DOMException]",Ne="[object Error]",ke="[object Function]",ge="[object GeneratorFunction]",ct="[object Map]",et="[object Number]",St="[object Null]",ht="[object Object]",Ot="[object Promise]",ti="[object Proxy]",kn="[object RegExp]",Yt="[object Set]",Ft="[object String]",cr="[object Symbol]",Jr="[object Undefined]",Te="[object WeakMap]",Dt="[object WeakSet]",Qr="[object ArrayBuffer]",$e="[object DataView]",yo="[object Float32Array]",Ai="[object Float64Array]",ua="[object Int8Array]",ri="[object Int16Array]",Fr="[object Int32Array]",yn="[object Uint8Array]",Bn="[object Uint8ClampedArray]",ou="[object Uint16Array]",Ii="[object Uint32Array]",bf=/\b__p \+= '';/g,_f=/\b(__p \+=) '' \+/g,up=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ni=/&(?:amp|lt|gt|quot|#39);/g,Mi=/[&<>"']/g,qf=RegExp(ni.source),Sf=RegExp(Mi.source),wr=/<%-([\s\S]+?)%>/g,nr=/<%([\s\S]+?)%>/g,sa=/<%=([\s\S]+?)%>/g,sp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tf=/^\w*$/,Cf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wn=/[\\^$.*+?()[\]{}|]/g,Li=RegExp(Wn.source),wo=/^\s+/,fa=/\s/,fp=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lp=/\{\n\/\* \[wrapped with (.+)\] \*/,cp=/,? & /,Ef=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Of=/[()=,{}\[\]\/\s]/,hp=/\\(\\)?/g,Af=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,If=/\w*$/,Ri=/^[-+]0x[0-9a-f]+$/i,Mf=/^0b[01]+$/i,au=/^\[object .+?Constructor\]$/,uu=/^0o[0-7]+$/i,la=/^(?:0|[1-9]\d*)$/,Lf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ca=/($^)/,bo=/['\n\r\u2028\u2029\\]/g,_o="\\ud800-\\udfff",Rf="\\u0300-\\u036f",Pf="\\ufe20-\\ufe2f",Ff="\\u20d0-\\u20ff",Df=Rf+Pf+Ff,ha="\\u2700-\\u27bf",Nf="a-z\\xdf-\\xf6\\xf8-\\xff",pp="\\xac\\xb1\\xd7\\xf7",kf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Bf="\\u2000-\\u206f",su=" \\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",fu="A-Z\\xc0-\\xd6\\xd8-\\xde",Qt="\\ufe0e\\ufe0f",ii=pp+kf+Bf+su,Pi="['\u2019]",dp="["+_o+"]",Wf="["+ii+"]",Fi="["+Df+"]",lu="\\d+",pa="["+ha+"]",cu="["+Nf+"]",Uf="[^"+_o+ii+lu+ha+Nf+fu+"]",hu="\\ud83c[\\udffb-\\udfff]",Dr="(?:"+Fi+"|"+hu+")",pu="[^"+_o+"]",oi="(?:\\ud83c[\\udde6-\\uddff]){2}",du="[\\ud800-\\udbff][\\udc00-\\udfff]",Di="["+fu+"]",Un="\\u200d",Hn="(?:"+cu+"|"+Uf+")",gu="(?:"+Di+"|"+Uf+")",Hf="(?:"+Pi+"(?:d|ll|m|re|s|t|ve))?",Ni="(?:"+Pi+"(?:D|LL|M|RE|S|T|VE))?",vu=Dr+"?",da="["+Qt+"]?",$f="(?:"+Un+"(?:"+[pu,oi,du].join("|")+")"+da+vu+")*",zf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",mu=da+vu+$f,vp="(?:"+[pa,oi,du].join("|")+")"+mu,mp="(?:"+[pu+Fi+"?",Fi,oi,du,dp].join("|")+")",xu=RegExp(Pi,"g"),xp=RegExp(Fi,"g"),yu=RegExp(hu+"(?="+hu+")|"+mp+mu,"g"),yp=RegExp([Di+"?"+cu+"+"+Hf+"(?="+[Wf,Di,"$"].join("|")+")",gu+"+"+Ni+"(?="+[Wf,Di+Hn,"$"].join("|")+")",Di+"?"+Hn+"+"+Hf,Di+"+"+Ni,gp,zf,lu,vp].join("|"),"g"),wp=RegExp("["+Un+_o+Df+Qt+"]"),bp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_p=["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"],qp=-1,mt={};mt[yo]=mt[Ai]=mt[ua]=mt[ri]=mt[Fr]=mt[yn]=mt[Bn]=mt[ou]=mt[Ii]=!0,mt[xt]=mt[qt]=mt[Qr]=mt[Ht]=mt[$e]=mt[Wt]=mt[Ne]=mt[ke]=mt[ct]=mt[et]=mt[ht]=mt[kn]=mt[Yt]=mt[Ft]=mt[Te]=!1;var dt={};dt[xt]=dt[qt]=dt[Qr]=dt[$e]=dt[Ht]=dt[Wt]=dt[yo]=dt[Ai]=dt[ua]=dt[ri]=dt[Fr]=dt[ct]=dt[et]=dt[ht]=dt[kn]=dt[Yt]=dt[Ft]=dt[cr]=dt[yn]=dt[Bn]=dt[ou]=dt[Ii]=!0,dt[Ne]=dt[ke]=dt[Te]=!1;var jf={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"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"},wu={"&":"&","<":"<",">":">",'"':""","'":"'"},Gf={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xf={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},bu=parseFloat,Sp=parseInt,Yf=typeof window=="object"&&window&&window.Object===Object&&window,Tp=typeof self=="object"&&self&&self.Object===Object&&self,Tt=Yf||Tp||Function("return this")(),ga=typeof Ya=="object"&&Ya&&!Ya.nodeType&&Ya,wn=ga&&typeof ks=="object"&&ks&&!ks.nodeType&&ks,Vf=wn&&wn.exports===ga,_u=Vf&&Yf.process,br=(function(){try{var A=wn&&wn.require&&wn.require("util").types;return A||_u&&_u.binding&&_u.binding("util")}catch(B){}})(),o=br&&br.isArrayBuffer,l=br&&br.isDate,p=br&&br.isMap,v=br&&br.isRegExp,x=br&&br.isSet,y=br&&br.isTypedArray;function q(A,B,k){switch(k.length){case 0:return A.call(B);case 1:return A.call(B,k[0]);case 2:return A.call(B,k[0],k[1]);case 3:return A.call(B,k[0],k[1],k[2])}return A.apply(B,k)}function N(A,B,k,ie){for(var ue=-1,Se=A==null?0:A.length;++ue-1}function ve(A,B,k){for(var ie=-1,ue=A==null?0:A.length;++ie-1;);return k}function Co(A,B){for(var k=A.length;k--&&vt(B,A[k],0)>-1;);return k}function kr(A,B){for(var k=A.length,ie=0;k--;)A[k]===B&&++ie;return ie}var ki=_r(jf),Cp=_r(wu);function Ep(A){return"\\"+Xf[A]}function Kf(A,B){return A==null?e:A[B]}function qr(A){return wp.test(A)}function Su(A){return bp.test(A)}function jn(A){for(var B,k=[];!(B=A.next()).done;)k.push(B.value);return k}function ma(A){var B=-1,k=Array(A.size);return A.forEach(function(ie,ue){k[++B]=[ue,ie]}),k}function Bi(A,B){return function(k){return A(B(k))}}function Br(A,B){for(var k=-1,ie=A.length,ue=0,Se=[];++k-1}function m3(r,i){var f=this.__data__,g=ll(f,r);return g<0?(++this.size,f.push([r,i])):f[g][1]=i,this}si.prototype.clear=p3,si.prototype.delete=d3,si.prototype.get=g3,si.prototype.has=v3,si.prototype.set=m3;function fi(r){var i=-1,f=r==null?0:r.length;for(this.clear();++i=i?r:i)),r}function on(r,i,f,g,b,E){var F,W=i&O,X=i&L,se=i&S;if(f&&(F=b?f(r,g,b,E):f(r)),F!==e)return F;if(!It(r))return r;var fe=He(r);if(fe){if(F=bk(r),!W)return Sr(r,F)}else{var pe=ar(r),we=pe==ke||pe==ge;if(ji(r))return Oy(r,W);if(pe==ht||pe==xt||we&&!b){if(F=X||we?{}:Xy(r),!W)return X?lk(r,R3(F,r)):fk(r,iy(F,r))}else{if(!dt[pe])return b?r:{};F=_k(r,pe,W)}}E||(E=new Sn);var Ae=E.get(r);if(Ae)return Ae;E.set(r,F),_1(r)?r.forEach(function(Le){F.add(on(Le,i,f,Le,r,E))}):w1(r)&&r.forEach(function(Le,tt){F.set(tt,on(Le,i,f,tt,r,E))});var De=se?X?Qp:Jp:X?Cr:Kt,Ye=fe?e:De(r);return R(Ye||r,function(Le,tt){Ye&&(tt=Le,Le=r[tt]),Lu(F,tt,on(Le,i,f,tt,r,E))}),F}function P3(r){var i=Kt(r);return function(f){return oy(f,r,i)}}function oy(r,i,f){var g=f.length;if(r==null)return!g;for(r=be(r);g--;){var b=f[g],E=i[b],F=r[b];if(F===e&&!(b in r)||!E(F))return!1}return!0}function ay(r,i,f){if(typeof r!="function")throw new Ke(s);return Bu(function(){r.apply(e,f)},i)}function Ru(r,i,f,g){var b=-1,E=V,F=!0,W=r.length,X=[],se=i.length;if(!W)return X;f&&(i=qe(i,hr(f))),g?(E=ve,F=!1):i.length>=n&&(E=To,F=!1,i=new Ao(i));e:for(;++bb?0:b+f),g=g===e||g>b?b:Ge(g),g<0&&(g+=b),g=f>g?0:S1(g);f0&&f(W)?i>1?er(W,i-1,f,g,b):Ue(b,W):g||(b[b.length]=W)}return b}var Pp=Py(),fy=Py(!0);function Yn(r,i){return r&&Pp(r,i,Kt)}function Fp(r,i){return r&&fy(r,i,Kt)}function hl(r,i){return ne(i,function(f){return pi(r[f])})}function Mo(r,i){i=$i(i,r);for(var f=0,g=i.length;r!=null&&fi}function N3(r,i){return r!=null&&Be.call(r,i)}function k3(r,i){return r!=null&&i in be(r)}function B3(r,i,f){return r>=or(i,f)&&r=120&&fe.length>=120)?new Ao(F&&fe):e}fe=r[0];var pe=-1,we=W[0];e:for(;++pe-1;)W!==r&&nl.call(W,X,1),nl.call(r,X,1);return r}function wy(r,i){for(var f=r?i.length:0,g=f-1;f--;){var b=i[f];if(f==g||b!==E){var E=b;hi(b)?nl.call(r,b,1):jp(r,b)}}return r}function Hp(r,i){return r+al(ey()*(i-r+1))}function J3(r,i,f,g){for(var b=-1,E=Gt(ol((i-r)/(f||1)),0),F=k(E);E--;)F[g?E:++b]=r,r+=f;return F}function $p(r,i){var f="";if(!r||i<1||i>oe)return f;do i%2&&(f+=r),i=al(i/2),i&&(r+=r);while(i);return f}function Ze(r,i){return ad(Ky(r,i,Er),r+"")}function Q3(r){return ny(Ca(r))}function ek(r,i){var f=Ca(r);return ql(f,Io(i,0,f.length))}function Du(r,i,f,g){if(!It(r))return r;i=$i(i,r);for(var b=-1,E=i.length,F=E-1,W=r;W!=null&&++bb?0:b+i),f=f>b?b:f,f<0&&(f+=b),b=i>f?0:f-i>>>0,i>>>=0;for(var E=k(b);++g>>1,F=r[E];F!==null&&!Ur(F)&&(f?F<=i:F=n){var se=i?null:dk(r);if(se)return ui(se);F=!1,b=To,X=new Ao}else X=i?[]:W;e:for(;++g=g?r:an(r,i,f)}var Ey=jN||function(r){return Tt.clearTimeout(r)};function Oy(r,i){if(i)return r.slice();var f=r.length,g=Vx?Vx(f):new r.constructor(f);return r.copy(g),g}function Vp(r){var i=new r.constructor(r.byteLength);return new tl(i).set(new tl(r)),i}function ok(r,i){var f=i?Vp(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.byteLength)}function ak(r){var i=new r.constructor(r.source,If.exec(r));return i.lastIndex=r.lastIndex,i}function uk(r){return Mu?be(Mu.call(r)):{}}function Ay(r,i){var f=i?Vp(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.length)}function Iy(r,i){if(r!==i){var f=r!==e,g=r===null,b=r===r,E=Ur(r),F=i!==e,W=i===null,X=i===i,se=Ur(i);if(!W&&!se&&!E&&r>i||E&&F&&X&&!W&&!se||g&&F&&X||!f&&X||!b)return 1;if(!g&&!E&&!se&&r=W)return X;var se=f[g];return X*(se=="desc"?-1:1)}}return r.index-i.index}function My(r,i,f,g){for(var b=-1,E=r.length,F=f.length,W=-1,X=i.length,se=Gt(E-F,0),fe=k(X+se),pe=!g;++W1?f[b-1]:e,F=b>2?f[2]:e;for(E=r.length>3&&typeof E=="function"?(b--,E):e,F&&vr(f[0],f[1],F)&&(E=b<3?e:E,b=1),i=be(i);++g-1?b[E?i[F]:F]:e}}function Ny(r){return ci(function(i){var f=i.length,g=f,b=nn.prototype.thru;for(r&&i.reverse();g--;){var E=i[g];if(typeof E!="function")throw new Ke(s);if(b&&!F&&bl(E)=="wrapper")var F=new nn([],!0)}for(g=F?g:f;++g1&&it.reverse(),fe&&XW))return!1;var se=E.get(r),fe=E.get(i);if(se&&fe)return se==i&&fe==r;var pe=-1,we=!0,Ae=f&P?new Ao:e;for(E.set(r,i),E.set(i,r);++pe1?"& ":"")+i[g],i=i.join(f>2?", ":" "),r.replace(fp,`{ +/* [wrapped with `+i+`] */ +`)}function Sk(r){return He(r)||Po(r)||!!(Jx&&r&&r[Jx])}function hi(r,i){var f=typeof r;return i=i==null?oe:i,!!i&&(f=="number"||f!="symbol"&&la.test(r))&&r>-1&&r%1==0&&r0){if(++i>=he)return arguments[0]}else i=0;return r.apply(e,arguments)}}function ql(r,i){var f=-1,g=r.length,b=g-1;for(i=i===e?g:i;++f1?r[i-1]:e;return f=typeof f=="function"?(r.pop(),f):e,s1(r,f)});function f1(r){var i=C(r);return i.__chain__=!0,i}function FB(r,i){return i(r),r}function Sl(r,i){return i(r)}var DB=ci(function(r){var i=r.length,f=i?r[0]:0,g=this.__wrapped__,b=function(E){return Rp(E,r)};return i>1||this.__actions__.length||!(g instanceof rt)||!hi(f)?this.thru(b):(g=g.slice(f,+f+(i?1:0)),g.__actions__.push({func:Sl,args:[b],thisArg:e}),new nn(g,this.__chain__).thru(function(E){return i&&!E.length&&E.push(e),E}))});function NB(){return f1(this)}function kB(){return new nn(this.value(),this.__chain__)}function BB(){this.__values__===e&&(this.__values__=q1(this.value()));var r=this.__index__>=this.__values__.length,i=r?e:this.__values__[this.__index__++];return{done:r,value:i}}function WB(){return this}function UB(r){for(var i,f=this;f instanceof fl;){var g=r1(f);g.__index__=0,g.__values__=e,i?b.__wrapped__=g:i=g;var b=g;f=f.__wrapped__}return b.__wrapped__=r,i}function HB(){var r=this.__wrapped__;if(r instanceof rt){var i=r;return this.__actions__.length&&(i=new rt(this)),i=i.reverse(),i.__actions__.push({func:Sl,args:[ud],thisArg:e}),new nn(i,this.__chain__)}return this.thru(ud)}function $B(){return Ty(this.__wrapped__,this.__actions__)}var zB=vl(function(r,i,f){Be.call(r,f)?++r[f]:Xn(r,f,1)});function jB(r,i,f){var g=He(r)?te:F3;return f&&vr(r,i,f)&&(i=e),g(r,Pe(i,3))}function GB(r,i){var f=He(r)?ne:sy;return f(r,Pe(i,3))}var XB=Dy(n1),YB=Dy(i1);function VB(r,i){return er(Tl(r,i),1)}function KB(r,i){return er(Tl(r,i),Oe)}function ZB(r,i,f){return f=f===e?1:Ge(f),er(Tl(r,i),f)}function l1(r,i){var f=He(r)?R:Ui;return f(r,Pe(i,3))}function c1(r,i){var f=He(r)?z:uy;return f(r,Pe(i,3))}var JB=vl(function(r,i,f){Be.call(r,f)?r[f].push(i):Xn(r,f,[i])});function QB(r,i,f,g){r=Tr(r)?r:Ca(r),f=f&&!g?Ge(f):0;var b=r.length;return f<0&&(f=Gt(b+f,0)),Il(r)?f<=b&&r.indexOf(i,f)>-1:!!b&&vt(r,i,f)>-1}var eW=Ze(function(r,i,f){var g=-1,b=typeof i=="function",E=Tr(r)?k(r.length):[];return Ui(r,function(F){E[++g]=b?q(i,F,f):Pu(F,i,f)}),E}),tW=vl(function(r,i,f){Xn(r,f,i)});function Tl(r,i){var f=He(r)?qe:dy;return f(r,Pe(i,3))}function rW(r,i,f,g){return r==null?[]:(He(i)||(i=i==null?[]:[i]),f=g?e:f,He(f)||(f=f==null?[]:[f]),xy(r,i,f))}var nW=vl(function(r,i,f){r[f?0:1].push(i)},function(){return[[],[]]});function iW(r,i,f){var g=He(r)?We:bn,b=arguments.length<3;return g(r,Pe(i,4),f,b,Ui)}function oW(r,i,f){var g=He(r)?$t:bn,b=arguments.length<3;return g(r,Pe(i,4),f,b,uy)}function aW(r,i){var f=He(r)?ne:sy;return f(r,Ol(Pe(i,3)))}function uW(r){var i=He(r)?ny:Q3;return i(r)}function sW(r,i,f){(f?vr(r,i,f):i===e)?i=1:i=Ge(i);var g=He(r)?I3:ek;return g(r,i)}function fW(r){var i=He(r)?M3:rk;return i(r)}function lW(r){if(r==null)return 0;if(Tr(r))return Il(r)?Gn(r):r.length;var i=ar(r);return i==ct||i==Yt?r.size:Bp(r).length}function cW(r,i,f){var g=He(r)?At:nk;return f&&vr(r,i,f)&&(i=e),g(r,Pe(i,3))}var hW=Ze(function(r,i){if(r==null)return[];var f=i.length;return f>1&&vr(r,i[0],i[1])?i=[]:f>2&&vr(i[0],i[1],i[2])&&(i=[i[0]]),xy(r,er(i,1),[])}),Cl=GN||function(){return Tt.Date.now()};function pW(r,i){if(typeof i!="function")throw new Ke(s);return r=Ge(r),function(){if(--r<1)return i.apply(this,arguments)}}function h1(r,i,f){return i=f?e:i,i=r&&i==null?r.length:i,li(r,h,e,e,e,e,i)}function p1(r,i){var f;if(typeof i!="function")throw new Ke(s);return r=Ge(r),function(){return--r>0&&(f=i.apply(this,arguments)),r<=1&&(i=e),f}}var fd=Ze(function(r,i,f){var g=$;if(f.length){var b=Br(f,Sa(fd));g|=U}return li(r,g,i,f,b)}),d1=Ze(function(r,i,f){var g=$|D;if(f.length){var b=Br(f,Sa(d1));g|=U}return li(i,g,r,f,b)});function g1(r,i,f){i=f?e:i;var g=li(r,Z,e,e,e,e,e,i);return g.placeholder=g1.placeholder,g}function v1(r,i,f){i=f?e:i;var g=li(r,j,e,e,e,e,e,i);return g.placeholder=v1.placeholder,g}function m1(r,i,f){var g,b,E,F,W,X,se=0,fe=!1,pe=!1,we=!0;if(typeof r!="function")throw new Ke(s);i=sn(i)||0,It(f)&&(fe=!!f.leading,pe="maxWait"in f,E=pe?Gt(sn(f.maxWait)||0,i):E,we="trailing"in f?!!f.trailing:we);function Ae(kt){var En=g,gi=b;return g=b=e,se=kt,F=r.apply(gi,En),F}function De(kt){return se=kt,W=Bu(tt,i),fe?Ae(kt):F}function Ye(kt){var En=kt-X,gi=kt-se,N1=i-En;return pe?or(N1,E-gi):N1}function Le(kt){var En=kt-X,gi=kt-se;return X===e||En>=i||En<0||pe&&gi>=E}function tt(){var kt=Cl();if(Le(kt))return it(kt);W=Bu(tt,Ye(kt))}function it(kt){return W=e,we&&g?Ae(kt):(g=b=e,F)}function Hr(){W!==e&&Ey(W),se=0,g=X=b=W=e}function mr(){return W===e?F:it(Cl())}function $r(){var kt=Cl(),En=Le(kt);if(g=arguments,b=this,X=kt,En){if(W===e)return De(X);if(pe)return Ey(W),W=Bu(tt,i),Ae(X)}return W===e&&(W=Bu(tt,i)),F}return $r.cancel=Hr,$r.flush=mr,$r}var dW=Ze(function(r,i){return ay(r,1,i)}),gW=Ze(function(r,i,f){return ay(r,sn(i)||0,f)});function vW(r){return li(r,le)}function El(r,i){if(typeof r!="function"||i!=null&&typeof i!="function")throw new Ke(s);var f=function(){var g=arguments,b=i?i.apply(this,g):g[0],E=f.cache;if(E.has(b))return E.get(b);var F=r.apply(this,g);return f.cache=E.set(b,F)||E,F};return f.cache=new(El.Cache||fi),f}El.Cache=fi;function Ol(r){if(typeof r!="function")throw new Ke(s);return function(){var i=arguments;switch(i.length){case 0:return!r.call(this);case 1:return!r.call(this,i[0]);case 2:return!r.call(this,i[0],i[1]);case 3:return!r.call(this,i[0],i[1],i[2])}return!r.apply(this,i)}}function mW(r){return p1(2,r)}var xW=ik(function(r,i){i=i.length==1&&He(i[0])?qe(i[0],hr(Pe())):qe(er(i,1),hr(Pe()));var f=i.length;return Ze(function(g){for(var b=-1,E=or(g.length,f);++b=i}),Po=cy((function(){return arguments})())?cy:function(r){return Lt(r)&&Be.call(r,"callee")&&!Zx.call(r,"callee")},He=k.isArray,RW=o?hr(o):U3;function Tr(r){return r!=null&&Al(r.length)&&!pi(r)}function Nt(r){return Lt(r)&&Tr(r)}function PW(r){return r===!0||r===!1||Lt(r)&&gr(r)==Ht}var ji=YN||_d,FW=l?hr(l):H3;function DW(r){return Lt(r)&&r.nodeType===1&&!Wu(r)}function NW(r){if(r==null)return!0;if(Tr(r)&&(He(r)||typeof r=="string"||typeof r.splice=="function"||ji(r)||Ta(r)||Po(r)))return!r.length;var i=ar(r);if(i==ct||i==Yt)return!r.size;if(ku(r))return!Bp(r).length;for(var f in r)if(Be.call(r,f))return!1;return!0}function kW(r,i){return Fu(r,i)}function BW(r,i,f){f=typeof f=="function"?f:e;var g=f?f(r,i):e;return g===e?Fu(r,i,e,f):!!g}function cd(r){if(!Lt(r))return!1;var i=gr(r);return i==Ne||i==ye||typeof r.message=="string"&&typeof r.name=="string"&&!Wu(r)}function WW(r){return typeof r=="number"&&Qx(r)}function pi(r){if(!It(r))return!1;var i=gr(r);return i==ke||i==ge||i==Mt||i==ti}function y1(r){return typeof r=="number"&&r==Ge(r)}function Al(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=oe}function It(r){var i=typeof r;return r!=null&&(i=="object"||i=="function")}function Lt(r){return r!=null&&typeof r=="object"}var w1=p?hr(p):z3;function UW(r,i){return r===i||kp(r,i,td(i))}function HW(r,i,f){return f=typeof f=="function"?f:e,kp(r,i,td(i),f)}function $W(r){return b1(r)&&r!=+r}function zW(r){if(Ek(r))throw new ue(a);return hy(r)}function jW(r){return r===null}function GW(r){return r==null}function b1(r){return typeof r=="number"||Lt(r)&&gr(r)==et}function Wu(r){if(!Lt(r)||gr(r)!=ht)return!1;var i=rl(r);if(i===null)return!0;var f=Be.call(i,"constructor")&&i.constructor;return typeof f=="function"&&f instanceof f&&qn.call(f)==HN}var hd=v?hr(v):j3;function XW(r){return y1(r)&&r>=-oe&&r<=oe}var _1=x?hr(x):G3;function Il(r){return typeof r=="string"||!He(r)&&Lt(r)&&gr(r)==Ft}function Ur(r){return typeof r=="symbol"||Lt(r)&&gr(r)==cr}var Ta=y?hr(y):X3;function YW(r){return r===e}function VW(r){return Lt(r)&&ar(r)==Te}function KW(r){return Lt(r)&&gr(r)==Dt}var ZW=wl(Wp),JW=wl(function(r,i){return r<=i});function q1(r){if(!r)return[];if(Tr(r))return Il(r)?pr(r):Sr(r);if(Eu&&r[Eu])return jn(r[Eu]());var i=ar(r),f=i==ct?ma:i==Yt?ui:Ca;return f(r)}function di(r){if(!r)return r===0?r:0;if(r=sn(r),r===Oe||r===-Oe){var i=r<0?-1:1;return i*ae}return r===r?r:0}function Ge(r){var i=di(r),f=i%1;return i===i?f?i-f:i:0}function S1(r){return r?Io(Ge(r),0,xe):0}function sn(r){if(typeof r=="number")return r;if(Ur(r))return me;if(It(r)){var i=typeof r.valueOf=="function"?r.valueOf():r;r=It(i)?i+"":i}if(typeof r!="string")return r===0?r:+r;r=rn(r);var f=Mf.test(r);return f||uu.test(r)?Sp(r.slice(2),f?2:8):Ri.test(r)?me:+r}function T1(r){return Vn(r,Cr(r))}function QW(r){return r?Io(Ge(r),-oe,oe):r===0?r:0}function gt(r){return r==null?"":Wr(r)}var eU=_a(function(r,i){if(ku(i)||Tr(i)){Vn(i,Kt(i),r);return}for(var f in i)Be.call(i,f)&&Lu(r,f,i[f])}),C1=_a(function(r,i){Vn(i,Cr(i),r)}),E1=_a(function(r,i,f,g){Vn(i,Cr(i),r,g)}),pd=_a(function(r,i,f,g){Vn(i,Kt(i),r,g)}),tU=ci(Rp);function rU(r,i){var f=ba(r);return i==null?f:iy(f,i)}var nU=Ze(function(r,i){r=be(r);var f=-1,g=i.length,b=g>2?i[2]:e;for(b&&vr(i[0],i[1],b)&&(g=1);++f1),E}),Vn(r,Qp(r),f),g&&(f=on(f,O|L|S,gk));for(var b=i.length;b--;)jp(f,i[b]);return f});function bU(r,i){return A1(r,Ol(Pe(i)))}var _U=ci(function(r,i){return r==null?{}:K3(r,i)});function A1(r,i){if(r==null)return{};var f=qe(Qp(r),function(g){return[g]});return i=Pe(i),yy(r,f,function(g,b){return i(g,b[0])})}function qU(r,i,f){i=$i(i,r);var g=-1,b=i.length;for(b||(b=1,r=e);++gi){var g=r;r=i,i=g}if(f||r%1||i%1){var b=ey();return or(r+b*(i-r+bu("1e-"+((b+"").length-1))),i)}return Hp(r,i)}var PU=qa(function(r,i,f){return i=i.toLowerCase(),r+(f?L1(i):i)});function L1(r){return vd(gt(r).toLowerCase())}function R1(r){return r=gt(r),r&&r.replace(Lf,ki).replace(xp,"")}function FU(r,i,f){r=gt(r),i=Wr(i);var g=r.length;f=f===e?g:Io(Ge(f),0,g);var b=f;return f-=i.length,f>=0&&r.slice(f,b)==i}function DU(r){return r=gt(r),r&&Sf.test(r)?r.replace(Mi,Cp):r}function NU(r){return r=gt(r),r&&Li.test(r)?r.replace(Wn,"\\$&"):r}var kU=qa(function(r,i,f){return r+(f?"-":"")+i.toLowerCase()}),BU=qa(function(r,i,f){return r+(f?" ":"")+i.toLowerCase()}),WU=Fy("toLowerCase");function UU(r,i,f){r=gt(r),i=Ge(i);var g=i?Gn(r):0;if(!i||g>=i)return r;var b=(i-g)/2;return yl(al(b),f)+r+yl(ol(b),f)}function HU(r,i,f){r=gt(r),i=Ge(i);var g=i?Gn(r):0;return i&&g>>0,f?(r=gt(r),r&&(typeof i=="string"||i!=null&&!hd(i))&&(i=Wr(i),!i&&qr(r))?zi(pr(r),0,f):r.split(i,f)):[]}var VU=qa(function(r,i,f){return r+(f?" ":"")+vd(i)});function KU(r,i,f){return r=gt(r),f=f==null?0:Io(Ge(f),0,r.length),i=Wr(i),r.slice(f,f+i.length)==i}function ZU(r,i,f){var g=C.templateSettings;f&&vr(r,i,f)&&(i=e),r=gt(r),i=pd({},i,g,Hy);var b=pd({},i.imports,g.imports,Hy),E=Kt(b),F=qu(b,E);R(E,function(Le){if(Of.test(Le))throw new ue(d)});var W,X,se=0,fe=i.interpolate||ca,pe="__p += '",we=je((i.escape||ca).source+"|"+fe.source+"|"+(fe===sa?Af:ca).source+"|"+(i.evaluate||ca).source+"|$","g"),Ae="//# sourceURL="+(Be.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++qp+"]")+` +`;r.replace(we,function(Le,tt,it,Hr,mr,$r){return it||(it=Hr),pe+=r.slice(se,$r).replace(bo,Ep),tt&&(W=!0,pe+=`' + +__e(`+tt+`) + +'`),mr&&(X=!0,pe+=`'; +`+mr+`; +__p += '`),it&&(pe+=`' + +((__t = (`+it+`)) == null ? '' : __t) + +'`),se=$r+Le.length,Le}),pe+=`'; +`;var De=Be.call(i,"variable")&&i.variable;if(!De)pe=`with (obj) { +`+pe+` +} +`;else if(Of.test(De))throw new ue(c);pe=(X?pe.replace(bf,""):pe).replace(_f,"$1").replace(up,"$1;"),pe="function("+(De||"obj")+`) { +`+(De?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(W?", __e = _.escape":"")+(X?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+pe+`return __p +}`;var Ye=F1(function(){return Se(E,Ae+"return "+pe).apply(e,F)});if(Ye.source=pe,cd(Ye))throw Ye;return Ye}function JU(r){return gt(r).toLowerCase()}function QU(r){return gt(r).toUpperCase()}function eH(r,i,f){if(r=gt(r),r&&(f||i===e))return rn(r);if(!r||!(i=Wr(i)))return r;var g=pr(r),b=pr(i),E=ut(g,b),F=Co(g,b)+1;return zi(g,E,F).join("")}function tH(r,i,f){if(r=gt(r),r&&(f||i===e))return r.slice(0,Zf(r)+1);if(!r||!(i=Wr(i)))return r;var g=pr(r),b=Co(g,pr(i))+1;return zi(g,0,b).join("")}function rH(r,i,f){if(r=gt(r),r&&(f||i===e))return r.replace(wo,"");if(!r||!(i=Wr(i)))return r;var g=pr(r),b=ut(g,pr(i));return zi(g,b).join("")}function nH(r,i){var f=Ie,g=Ee;if(It(i)){var b="separator"in i?i.separator:b;f="length"in i?Ge(i.length):f,g="omission"in i?Wr(i.omission):g}r=gt(r);var E=r.length;if(qr(r)){var F=pr(r);E=F.length}if(f>=E)return r;var W=f-Gn(g);if(W<1)return g;var X=F?zi(F,0,W).join(""):r.slice(0,W);if(b===e)return X+g;if(F&&(W+=X.length-W),hd(b)){if(r.slice(W).search(b)){var se,fe=X;for(b.global||(b=je(b.source,gt(If.exec(b))+"g")),b.lastIndex=0;se=b.exec(fe);)var pe=se.index;X=X.slice(0,pe===e?W:pe)}}else if(r.indexOf(Wr(b),W)!=W){var we=X.lastIndexOf(b);we>-1&&(X=X.slice(0,we))}return X+g}function iH(r){return r=gt(r),r&&qf.test(r)?r.replace(ni,Cu):r}var oH=qa(function(r,i,f){return r+(f?" ":"")+i.toUpperCase()}),vd=Fy("toUpperCase");function P1(r,i,f){return r=gt(r),i=f?e:i,i===e?Su(r)?H(r):Je(r):r.match(i)||[]}var F1=Ze(function(r,i){try{return q(r,e,i)}catch(f){return cd(f)?f:new ue(f)}}),aH=ci(function(r,i){return R(i,function(f){f=Tn(f),Xn(r,f,fd(r[f],r))}),r});function uH(r){var i=r==null?0:r.length,f=Pe();return r=i?qe(r,function(g){if(typeof g[1]!="function")throw new Ke(s);return[f(g[0]),g[1]]}):[],Ze(function(g){for(var b=-1;++boe)return[];var f=xe,g=or(r,xe);i=Pe(i),r-=xe;for(var b=So(g,i);++f0||i<0)?new rt(f):(r<0?f=f.takeRight(-r):r&&(f=f.drop(r)),i!==e&&(i=Ge(i),f=i<0?f.dropRight(-i):f.take(i-r)),f)},rt.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},rt.prototype.toArray=function(){return this.take(xe)},Yn(rt.prototype,function(r,i){var f=/^(?:filter|find|map|reject)|While$/.test(i),g=/^(?:head|last)$/.test(i),b=C[g?"take"+(i=="last"?"Right":""):i],E=g||/^find/.test(i);b&&(C.prototype[i]=function(){var F=this.__wrapped__,W=g?[1]:arguments,X=F instanceof rt,se=W[0],fe=X||He(F),pe=function(tt){var it=b.apply(C,Ue([tt],W));return g&&we?it[0]:it};fe&&f&&typeof se=="function"&&se.length!=1&&(X=fe=!1);var we=this.__chain__,Ae=!!this.__actions__.length,De=E&&!we,Ye=X&&!Ae;if(!E&&fe){F=Ye?F:new rt(this);var Le=r.apply(F,W);return Le.__actions__.push({func:Sl,args:[pe],thisArg:e}),new nn(Le,we)}return De&&Ye?r.apply(this,W):(Le=this.thru(pe),De?g?Le.value()[0]:Le.value():Le)})}),R(["pop","push","shift","sort","splice","unshift"],function(r){var i=zt[r],f=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",g=/^(?:pop|shift)$/.test(r);C.prototype[r]=function(){var b=arguments;if(g&&!this.__chain__){var E=this.value();return i.apply(He(E)?E:[],b)}return this[f](function(F){return i.apply(He(F)?F:[],b)})}}),Yn(rt.prototype,function(r,i){var f=C[i];if(f){var g=f.name+"";Be.call(wa,g)||(wa[g]=[]),wa[g].push({name:i,func:f})}}),wa[ml(e,D).name]=[{name:"wrapper",func:e}],rt.prototype.clone=o3,rt.prototype.reverse=a3,rt.prototype.value=u3,C.prototype.at=DB,C.prototype.chain=NB,C.prototype.commit=kB,C.prototype.next=BB,C.prototype.plant=UB,C.prototype.reverse=HB,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=$B,C.prototype.first=C.prototype.head,Eu&&(C.prototype[Eu]=WB),C}),J=Y();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Tt._=J,define(function(){return J})):wn?((wn.exports=J)._=J,ga._=J):Tt._=J}).call(Ya)});var hM=K(()=>{u()});var pM=K(()=>{u()});function gM(){for(var e=0,t=arguments.length,n={},a;e=0&&(a=n.slice(s+1),n=n.slice(0,s)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:a}})}function X9(e,t){for(var n=0,a=e.length,s;n{u();j9={value:()=>{}};ph.prototype=gM.prototype={constructor:ph,on:function(e,t){var n=this._,a=G9(e+"",n),s,c=-1,d=a.length;if(arguments.length<2){for(;++c0)for(var n=new Array(s),a=0,s,c;a{u();vM()});var gh,F0,D0=K(()=>{u();gh="http://www.w3.org/1999/xhtml",F0={svg:"http://www.w3.org/2000/svg",xhtml:gh,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}});function qi(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),F0.hasOwnProperty(t)?{space:F0[t],local:e}:e}var vh=K(()=>{u();D0()});function Y9(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===gh&&t.documentElement.namespaceURI===gh?t.createElement(e):t.createElementNS(n,e)}}function V9(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function mh(e){var t=qi(e);return(t.local?V9:Y9)(t)}var N0=K(()=>{u();vh();D0()});function K9(){}function Vo(e){return e==null?K9:function(){return this.querySelector(e)}}var xh=K(()=>{u()});function mM(e){typeof e!="function"&&(e=Vo(e));for(var t=this._groups,n=t.length,a=new Array(n),s=0;s{u();Fn();xh()});function k0(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}var yM=K(()=>{u()});function Z9(){return[]}function Ws(e){return e==null?Z9:function(){return this.querySelectorAll(e)}}var B0=K(()=>{u()});function J9(e){return function(){return k0(e.apply(this,arguments))}}function wM(e){typeof e=="function"?e=J9(e):e=Ws(e);for(var t=this._groups,n=t.length,a=[],s=[],c=0;c{u();Fn();yM();B0()});function Us(e){return function(){return this.matches(e)}}function yh(e){return function(t){return t.matches(e)}}var Hs=K(()=>{u()});function eX(e){return function(){return Q9.call(this.children,e)}}function tX(){return this.firstElementChild}function _M(e){return this.select(e==null?tX:eX(typeof e=="function"?e:yh(e)))}var Q9,qM=K(()=>{u();Hs();Q9=Array.prototype.find});function nX(){return Array.from(this.children)}function iX(e){return function(){return rX.call(this.children,e)}}function SM(e){return this.selectAll(e==null?nX:iX(typeof e=="function"?e:yh(e)))}var rX,TM=K(()=>{u();Hs();rX=Array.prototype.filter});function CM(e){typeof e!="function"&&(e=Us(e));for(var t=this._groups,n=t.length,a=new Array(n),s=0;s{u();Fn();Hs()});function wh(e){return new Array(e.length)}var W0=K(()=>{u()});function OM(){return new Pt(this._enter||this._groups.map(wh),this._parents)}function $s(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}var U0=K(()=>{u();W0();Fn();$s.prototype={constructor:$s,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}}});function AM(e){return function(){return e}}var IM=K(()=>{u()});function oX(e,t,n,a,s,c){for(var d=0,m,w=t.length,_=c.length;d<_;++d)(m=t[d])?(m.__data__=c[d],a[d]=m):n[d]=new $s(e,c[d]);for(;d=j&&(j=Z+1);!(Q=D[j])&&++j{u();Fn();U0();IM()});function RM(){return new Pt(this._exit||this._groups.map(wh),this._parents)}var PM=K(()=>{u();W0();Fn()});function FM(e,t,n){var a=this.enter(),s=this,c=this.exit();return typeof e=="function"?(a=e(a),a&&(a=a.selection())):a=a.append(e+""),t!=null&&(s=t(s),s&&(s=s.selection())),n==null?c.remove():n(c),a&&s?a.merge(s).order():s}var DM=K(()=>{u()});function NM(e){for(var t=e.selection?e.selection():e,n=this._groups,a=t._groups,s=n.length,c=a.length,d=Math.min(s,c),m=new Array(s),w=0;w{u();Fn()});function BM(){for(var e=this._groups,t=-1,n=e.length;++t=0;)(d=a[s])&&(c&&d.compareDocumentPosition(c)^4&&c.parentNode.insertBefore(d,c),c=d);return this}var WM=K(()=>{u()});function UM(e){e||(e=fX);function t(L,S){return L&&S?e(L.__data__,S.__data__):!L-!S}for(var n=this._groups,a=n.length,s=new Array(a),c=0;ct?1:e>=t?0:NaN}var HM=K(()=>{u();Fn()});function $M(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}var zM=K(()=>{u()});function jM(){return Array.from(this)}var GM=K(()=>{u()});function XM(){for(var e=this._groups,t=0,n=e.length;t{u()});function VM(){let e=0;for(let t of this)++e;return e}var KM=K(()=>{u()});function ZM(){return!this.node()}var JM=K(()=>{u()});function QM(e){for(var t=this._groups,n=0,a=t.length;n{u()});function lX(e){return function(){this.removeAttribute(e)}}function cX(e){return function(){this.removeAttributeNS(e.space,e.local)}}function hX(e,t){return function(){this.setAttribute(e,t)}}function pX(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function dX(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function gX(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function tL(e,t){var n=qi(e);if(arguments.length<2){var a=this.node();return n.local?a.getAttributeNS(n.space,n.local):a.getAttribute(n)}return this.each((t==null?n.local?cX:lX:typeof t=="function"?n.local?gX:dX:n.local?pX:hX)(n,t))}var rL=K(()=>{u();vh()});function bh(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}var H0=K(()=>{u()});function vX(e){return function(){this.style.removeProperty(e)}}function mX(e,t,n){return function(){this.style.setProperty(e,t,n)}}function xX(e,t,n){return function(){var a=t.apply(this,arguments);a==null?this.style.removeProperty(e):this.style.setProperty(e,a,n)}}function nL(e,t,n){return arguments.length>1?this.each((t==null?vX:typeof t=="function"?xX:mX)(e,t,n==null?"":n)):lo(this.node(),e)}function lo(e,t){return e.style.getPropertyValue(t)||bh(e).getComputedStyle(e,null).getPropertyValue(t)}var $0=K(()=>{u();H0()});function yX(e){return function(){delete this[e]}}function wX(e,t){return function(){this[e]=t}}function bX(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function iL(e,t){return arguments.length>1?this.each((t==null?yX:typeof t=="function"?bX:wX)(e,t)):this.node()[e]}var oL=K(()=>{u()});function aL(e){return e.trim().split(/^|\s+/)}function z0(e){return e.classList||new uL(e)}function uL(e){this._node=e,this._names=aL(e.getAttribute("class")||"")}function sL(e,t){for(var n=z0(e),a=-1,s=t.length;++a{u();uL.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}});function TX(){this.textContent=""}function CX(e){return function(){this.textContent=e}}function EX(e){return function(){var t=e.apply(this,arguments);this.textContent=t==null?"":t}}function hL(e){return arguments.length?this.each(e==null?TX:(typeof e=="function"?EX:CX)(e)):this.node().textContent}var pL=K(()=>{u()});function OX(){this.innerHTML=""}function AX(e){return function(){this.innerHTML=e}}function IX(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t==null?"":t}}function dL(e){return arguments.length?this.each(e==null?OX:(typeof e=="function"?IX:AX)(e)):this.node().innerHTML}var gL=K(()=>{u()});function MX(){this.nextSibling&&this.parentNode.appendChild(this)}function vL(){return this.each(MX)}var mL=K(()=>{u()});function LX(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function xL(){return this.each(LX)}var yL=K(()=>{u()});function wL(e){var t=typeof e=="function"?e:mh(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}var bL=K(()=>{u();N0()});function RX(){return null}function _L(e,t){var n=typeof e=="function"?e:mh(e),a=t==null?RX:typeof t=="function"?t:Vo(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),a.apply(this,arguments)||null)})}var qL=K(()=>{u();N0();xh()});function PX(){var e=this.parentNode;e&&e.removeChild(this)}function SL(){return this.each(PX)}var TL=K(()=>{u()});function FX(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function DX(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function CL(e){return this.select(e?DX:FX)}var EL=K(()=>{u()});function OL(e){return arguments.length?this.property("__data__",e):this.node().__data__}var AL=K(()=>{u()});function NX(e){return function(t){e.call(this,t,this.__data__)}}function kX(e){return e.trim().split(/^|\s+/).map(function(t){var n="",a=t.indexOf(".");return a>=0&&(n=t.slice(a+1),t=t.slice(0,a)),{type:t,name:n}})}function BX(e){return function(){var t=this.__on;if(t){for(var n=0,a=-1,s=t.length,c;n{u()});function LL(e,t,n){var a=bh(e),s=a.CustomEvent;typeof s=="function"?s=new s(t,n):(s=a.document.createEvent("Event"),n?(s.initEvent(t,n.bubbles,n.cancelable),s.detail=n.detail):s.initEvent(t,!1,!1)),e.dispatchEvent(s)}function UX(e,t){return function(){return LL(this,e,t)}}function HX(e,t){return function(){return LL(this,e,t.apply(this,arguments))}}function RL(e,t){return this.each((typeof t=="function"?HX:UX)(e,t))}var PL=K(()=>{u();H0()});function*FL(){for(var e=this._groups,t=0,n=e.length;t{u()});function Pt(e,t){this._groups=e,this._parents=t}function NL(){return new Pt([[document.documentElement]],j0)}function $X(){return this}var j0,Si,Fn=K(()=>{u();xM();bM();qM();TM();EM();LM();U0();PM();DM();kM();WM();HM();zM();GM();YM();KM();JM();eL();rL();$0();oL();cL();pL();gL();mL();yL();bL();qL();TL();EL();AL();ML();PL();DL();j0=[null];Pt.prototype=NL.prototype={constructor:Pt,select:mM,selectAll:wM,selectChild:_M,selectChildren:SM,filter:CM,data:MM,enter:OM,exit:RM,join:FM,merge:NM,selection:$X,order:BM,sort:UM,call:$M,nodes:jM,node:XM,size:VM,empty:ZM,each:QM,attr:tL,style:nL,property:iL,classed:lL,text:hL,html:dL,raise:vL,lower:xL,append:wL,insert:_L,remove:SL,clone:CL,datum:OL,on:IL,dispatch:RL,[Symbol.iterator]:FL};Si=NL});function st(e){return typeof e=="string"?new Pt([[document.querySelector(e)]],[document.documentElement]):new Pt([[e]],j0)}var kL=K(()=>{u();Fn()});function BL(e){let t;for(;t=e.sourceEvent;)e=t;return e}var WL=K(()=>{u()});function Ko(e,t){if(e=BL(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var a=n.createSVGPoint();return a.x=e.clientX,a.y=e.clientY,a=a.matrixTransform(t.getScreenCTM().inverse()),[a.x,a.y]}if(t.getBoundingClientRect){var s=t.getBoundingClientRect();return[e.clientX-s.left-t.clientLeft,e.clientY-s.top-t.clientTop]}}return[e.pageX,e.pageY]}var UL=K(()=>{u();WL()});var Kr=K(()=>{u();Hs();vh();UL();kL();Fn();xh();B0();$0()});function _h(e){e.stopImmediatePropagation()}function co(e){e.preventDefault(),e.stopImmediatePropagation()}var HL,Zo,G0=K(()=>{u();HL={passive:!1},Zo={capture:!0,passive:!1}});function $L(e){var t=e.document.documentElement,n=st(e).on("dragstart.drag",co,Zo);"onselectstart"in t?n.on("selectstart.drag",co,Zo):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function zL(e,t){var n=e.document.documentElement,a=st(e).on("dragstart.drag",null);t&&(a.on("click.drag",co,Zo),setTimeout(function(){a.on("click.drag",null)},0)),"onselectstart"in n?a.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var jL=K(()=>{u();Kr();G0()});var zs,GL=K(()=>{u();zs=e=>()=>e});function js(e,{sourceEvent:t,subject:n,target:a,identifier:s,active:c,x:d,y:m,dx:w,dy:_,dispatch:O}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:a,enumerable:!0,configurable:!0},identifier:{value:s,enumerable:!0,configurable:!0},active:{value:c,enumerable:!0,configurable:!0},x:{value:d,enumerable:!0,configurable:!0},y:{value:m,enumerable:!0,configurable:!0},dx:{value:w,enumerable:!0,configurable:!0},dy:{value:_,enumerable:!0,configurable:!0},_:{value:O}})}var XL=K(()=>{u();js.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e}});function zX(e){return!e.ctrlKey&&!e.button}function jX(){return this.parentNode}function GX(e,t){return t==null?{x:e.x,y:e.y}:t}function XX(){return navigator.maxTouchPoints||"ontouchstart"in this}function Jo(){var e=zX,t=jX,n=GX,a=XX,s={},c=Bs("start","drag","end"),d=0,m,w,_,O,L=0;function S(U){U.on("mousedown.drag",I).filter(a).on("touchstart.drag",D).on("touchmove.drag",G,HL).on("touchend.drag touchcancel.drag",Z).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function I(U,Q){if(!(O||!e.call(this,U,Q))){var h=j(this,t.call(this,U,Q),U,Q,"mouse");h&&(st(U.view).on("mousemove.drag",P,Zo).on("mouseup.drag",$,Zo),$L(U.view),_h(U),_=!1,m=U.clientX,w=U.clientY,h("start",U))}}function P(U){if(co(U),!_){var Q=U.clientX-m,h=U.clientY-w;_=Q*Q+h*h>L}s.mouse("drag",U)}function $(U){st(U.view).on("mousemove.drag mouseup.drag",null),zL(U.view,_),co(U),s.mouse("end",U)}function D(U,Q){if(e.call(this,U,Q)){var h=U.changedTouches,de=t.call(this,U,Q),le=h.length,Ie,Ee;for(Ie=0;Ie{u();dh();Kr();jL();G0();GL();XL()});var VL=K(()=>{u();YL()});function qh(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function X0(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}var KL=K(()=>{u()});function Ys(){}function JL(){return this.rgb().formatHex()}function tY(){return this.rgb().formatHex8()}function rY(){return oR(this).formatHsl()}function QL(){return this.rgb().formatRgb()}function ho(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=YX.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?eR(t):n===3?new Rr(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Sh(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Sh(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=VX.exec(e))?new Rr(t[1],t[2],t[3],1):(t=KX.exec(e))?new Rr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=ZX.exec(e))?Sh(t[1],t[2],t[3],t[4]):(t=JX.exec(e))?Sh(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=QX.exec(e))?nR(t[1],t[2]/100,t[3]/100,1):(t=eY.exec(e))?nR(t[1],t[2]/100,t[3]/100,t[4]):ZL.hasOwnProperty(e)?eR(ZL[e]):e==="transparent"?new Rr(NaN,NaN,NaN,0):null}function eR(e){return new Rr(e>>16&255,e>>8&255,e&255,1)}function Sh(e,t,n,a){return a<=0&&(e=t=n=NaN),new Rr(e,t,n,a)}function nY(e){return e instanceof Ys||(e=ho(e)),e?(e=e.rgb(),new Rr(e.r,e.g,e.b,e.opacity)):new Rr}function Ka(e,t,n,a){return arguments.length===1?nY(e):new Rr(e,t,n,a==null?1:a)}function Rr(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function tR(){return`#${Qo(this.r)}${Qo(this.g)}${Qo(this.b)}`}function iY(){return`#${Qo(this.r)}${Qo(this.g)}${Qo(this.b)}${Qo((isNaN(this.opacity)?1:this.opacity)*255)}`}function rR(){let e=Eh(this.opacity);return`${e===1?"rgb(":"rgba("}${ea(this.r)}, ${ea(this.g)}, ${ea(this.b)}${e===1?")":`, ${e})`}`}function Eh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ea(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Qo(e){return e=ea(e),(e<16?"0":"")+e.toString(16)}function nR(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Dn(e,t,n,a)}function oR(e){if(e instanceof Dn)return new Dn(e.h,e.s,e.l,e.opacity);if(e instanceof Ys||(e=ho(e)),!e)return new Dn;if(e instanceof Dn)return e;e=e.rgb();var t=e.r/255,n=e.g/255,a=e.b/255,s=Math.min(t,n,a),c=Math.max(t,n,a),d=NaN,m=c-s,w=(c+s)/2;return m?(t===c?d=(n-a)/m+(n0&&w<1?0:d,new Dn(d,m,w,e.opacity)}function aR(e,t,n,a){return arguments.length===1?oR(e):new Dn(e,t,n,a==null?1:a)}function Dn(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function iR(e){return e=(e||0)%360,e<0?e+360:e}function Th(e){return Math.max(0,Math.min(1,e||0))}function Y0(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var Gs,Ch,Va,Xs,ei,YX,VX,KX,ZX,JX,QX,eY,ZL,uR=K(()=>{u();KL();Gs=.7,Ch=1/Gs,Va="\\s*([+-]?\\d+)\\s*",Xs="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ei="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",YX=/^#([0-9a-f]{3,8})$/,VX=new RegExp(`^rgb\\(${Va},${Va},${Va}\\)$`),KX=new RegExp(`^rgb\\(${ei},${ei},${ei}\\)$`),ZX=new RegExp(`^rgba\\(${Va},${Va},${Va},${Xs}\\)$`),JX=new RegExp(`^rgba\\(${ei},${ei},${ei},${Xs}\\)$`),QX=new RegExp(`^hsl\\(${Xs},${ei},${ei}\\)$`),eY=new RegExp(`^hsla\\(${Xs},${ei},${ei},${Xs}\\)$`),ZL={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};qh(Ys,ho,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:JL,formatHex:JL,formatHex8:tY,formatHsl:rY,formatRgb:QL,toString:QL});qh(Rr,Ka,X0(Ys,{brighter(e){return e=e==null?Ch:Math.pow(Ch,e),new Rr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Gs:Math.pow(Gs,e),new Rr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Rr(ea(this.r),ea(this.g),ea(this.b),Eh(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tR,formatHex:tR,formatHex8:iY,formatRgb:rR,toString:rR}));qh(Dn,aR,X0(Ys,{brighter(e){return e=e==null?Ch:Math.pow(Ch,e),new Dn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Gs:Math.pow(Gs,e),new Dn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,a=n+(n<.5?n:1-n)*t,s=2*n-a;return new Rr(Y0(e>=240?e-240:e+120,s,a),Y0(e,s,a),Y0(e<120?e+240:e-120,s,a),this.opacity)},clamp(){return new Dn(iR(this.h),Th(this.s),Th(this.l),Eh(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=Eh(this.opacity);return`${e===1?"hsl(":"hsla("}${iR(this.h)}, ${Th(this.s)*100}%, ${Th(this.l)*100}%${e===1?")":`, ${e})`}`}}))});var Oh=K(()=>{u();uR()});function V0(e,t,n,a,s){var c=e*e,d=c*e;return((1-3*e+3*c-d)*t+(4-6*c+3*d)*n+(1+3*e+3*c-3*d)*a+d*s)/6}function sR(e){var t=e.length-1;return function(n){var a=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),s=e[a],c=e[a+1],d=a>0?e[a-1]:2*s-c,m=a{u()});function fR(e){var t=e.length;return function(n){var a=Math.floor(((n%=1)<0?++n:n)*t),s=e[(a+t-1)%t],c=e[a%t],d=e[(a+1)%t],m=e[(a+2)%t];return V0((n-a/t)*t,s,c,d,m)}}var lR=K(()=>{u();K0()});var Z0,cR=K(()=>{u();Z0=e=>()=>e});function oY(e,t){return function(n){return e+n*t}}function aY(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(a){return Math.pow(e+a*t,n)}}function hR(e){return(e=+e)==1?Ah:function(t,n){return n-t?aY(t,n,e):Z0(isNaN(t)?n:t)}}function Ah(e,t){var n=t-e;return n?oY(e,n):Z0(isNaN(e)?t:e)}var pR=K(()=>{u();cR()});function dR(e){return function(t){var n=t.length,a=new Array(n),s=new Array(n),c=new Array(n),d,m;for(d=0;d{u();Oh();K0();lR();pR();Ih=(function e(t){var n=hR(t);function a(s,c){var d=n((s=Ka(s)).r,(c=Ka(c)).r),m=n(s.g,c.g),w=n(s.b,c.b),_=Ah(s.opacity,c.opacity);return function(O){return s.r=d(O),s.g=m(O),s.b=w(O),s.opacity=_(O),s+""}}return a.gamma=e,a})(1);uY=dR(sR),sY=dR(fR)});function mn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Mh=K(()=>{u()});function fY(e){return function(){return e}}function lY(e){return function(t){return e(t)+""}}function ex(e,t){var n=Q0.lastIndex=J0.lastIndex=0,a,s,c,d=-1,m=[],w=[];for(e=e+"",t=t+"";(a=Q0.exec(e))&&(s=J0.exec(t));)(c=s.index)>n&&(c=t.slice(n,c),m[d]?m[d]+=c:m[++d]=c),(a=a[0])===(s=s[0])?m[d]?m[d]+=s:m[++d]=s:(m[++d]=null,w.push({i:d,x:mn(a,s)})),n=J0.lastIndex;return n{u();Mh();Q0=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,J0=new RegExp(Q0.source,"g")});function tx(e,t,n,a,s,c){var d,m,w;return(d=Math.sqrt(e*e+t*t))&&(e/=d,t/=d),(w=e*n+t*a)&&(n-=e*w,a-=t*w),(m=Math.sqrt(n*n+a*a))&&(n/=m,a/=m,w/=m),e*a{u();mR=180/Math.PI,Lh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}});function yR(e){let t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Lh:tx(t.a,t.b,t.c,t.d,t.e,t.f)}function wR(e){return e==null?Lh:(Rh||(Rh=document.createElementNS("http://www.w3.org/2000/svg","g")),Rh.setAttribute("transform",e),(e=Rh.transform.baseVal.consolidate())?(e=e.matrix,tx(e.a,e.b,e.c,e.d,e.e,e.f)):Lh)}var Rh,bR=K(()=>{u();xR()});function _R(e,t,n,a){function s(_){return _.length?_.pop()+" ":""}function c(_,O,L,S,I,P){if(_!==L||O!==S){var $=I.push("translate(",null,t,null,n);P.push({i:$-4,x:mn(_,L)},{i:$-2,x:mn(O,S)})}else(L||S)&&I.push("translate("+L+t+S+n)}function d(_,O,L,S){_!==O?(_-O>180?O+=360:O-_>180&&(_+=360),S.push({i:L.push(s(L)+"rotate(",null,a)-2,x:mn(_,O)})):O&&L.push(s(L)+"rotate("+O+a)}function m(_,O,L,S){_!==O?S.push({i:L.push(s(L)+"skewX(",null,a)-2,x:mn(_,O)}):O&&L.push(s(L)+"skewX("+O+a)}function w(_,O,L,S,I,P){if(_!==L||O!==S){var $=I.push(s(I)+"scale(",null,",",null,")");P.push({i:$-4,x:mn(_,L)},{i:$-2,x:mn(O,S)})}else(L!==1||S!==1)&&I.push(s(I)+"scale("+L+","+S+")")}return function(_,O){var L=[],S=[];return _=e(_),O=e(O),c(_.translateX,_.translateY,O.translateX,O.translateY,L,S),d(_.rotate,O.rotate,L,S),m(_.skewX,O.skewX,L,S),w(_.scaleX,_.scaleY,O.scaleX,O.scaleY,L,S),_=O=null,function(I){for(var P=-1,$=S.length,D;++P<$;)L[(D=S[P]).i]=D.x(I);return L.join("")}}}var rx,nx,qR=K(()=>{u();Mh();bR();rx=_R(yR,"px, ","px)","deg)"),nx=_R(wR,", ",")",")")});var Vs=K(()=>{u();Mh();vR();qR();gR()});function tf(){return ta||(CR(cY),ta=Qs.now()+Dh)}function cY(){ta=0}function ef(){this._call=this._time=this._next=null}function Nh(e,t,n){var a=new ef;return a.restart(e,t,n),a}function ER(){tf(),++Za;for(var e=Ph,t;e;)(t=ta-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Za}function SR(){ta=(Fh=Qs.now())+Dh,Za=Zs=0;try{ER()}finally{Za=0,pY(),ta=0}}function hY(){var e=Qs.now(),t=e-Fh;t>TR&&(Dh-=t,Fh=e)}function pY(){for(var e,t=Ph,n,a=1/0;t;)t._call?(a>t._time&&(a=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Ph=n);Js=e,ix(a)}function ix(e){if(!Za){Zs&&(Zs=clearTimeout(Zs));var t=e-ta;t>24?(e<1/0&&(Zs=setTimeout(SR,e-Qs.now()-Dh)),Ks&&(Ks=clearInterval(Ks))):(Ks||(Fh=Qs.now(),Ks=setInterval(hY,TR)),Za=1,CR(SR))}}var Za,Zs,Ks,TR,Ph,Js,Fh,ta,Dh,Qs,CR,ox=K(()=>{u();Za=0,Zs=0,Ks=0,TR=1e3,Fh=0,ta=0,Dh=0,Qs=typeof performance=="object"&&performance.now?performance:Date,CR=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};ef.prototype=Nh.prototype={constructor:ef,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?tf():+n)+(t==null?0:+t),!this._next&&Js!==this&&(Js?Js._next=this:Ph=this,Js=this),this._call=e,this._time=n,ix()},stop:function(){this._call&&(this._call=null,this._time=1/0,ix())}}});function kh(e,t,n){var a=new ef;return t=t==null?0:+t,a.restart(s=>{a.stop(),e(s+t)},t,n),a}var OR=K(()=>{u();ox()});var Bh=K(()=>{u();ox();OR()});function po(e,t,n,a,s,c){var d=e.__transition;if(!d)e.__transition={};else if(n in d)return;vY(e,n,{name:t,index:a,group:s,on:dY,tween:gY,time:c.time,delay:c.delay,duration:c.duration,ease:c.ease,timer:null,state:MR})}function nf(e,t){var n=Xt(e,t);if(n.state>MR)throw new Error("too late; already scheduled");return n}function rr(e,t){var n=Xt(e,t);if(n.state>Wh)throw new Error("too late; already running");return n}function Xt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function vY(e,t,n){var a=e.__transition,s;a[t]=n,n.timer=Nh(c,0,n.time);function c(_){n.state=AR,n.timer.restart(d,n.delay,n.time),n.delay<=_&&d(_-n.delay)}function d(_){var O,L,S,I;if(n.state!==AR)return w();for(O in a)if(I=a[O],I.name===n.name){if(I.state===Wh)return kh(d);I.state===IR?(I.state=rf,I.timer.stop(),I.on.call("interrupt",e,e.__data__,I.index,I.group),delete a[O]):+O{u();dh();Bh();dY=Bs("start","end","cancel","interrupt"),gY=[],MR=0,AR=1,Uh=2,Wh=3,IR=4,Hh=5,rf=6});function $h(e,t){var n=e.__transition,a,s,c=!0,d;if(n){t=t==null?null:t+"";for(d in n){if((a=n[d]).name!==t){c=!1;continue}s=a.state>Uh&&a.state{u();Pr()});function RR(e){return this.each(function(){$h(this,e)})}var PR=K(()=>{u();LR()});function mY(e,t){var n,a;return function(){var s=rr(this,e),c=s.tween;if(c!==n){a=n=c;for(var d=0,m=a.length;d{u();Pr()});function zh(e,t){var n;return(typeof t=="number"?mn:t instanceof ho?Ih:(n=ho(t))?(t=n,Ih):ex)(e,t)}var ax=K(()=>{u();Oh();Vs()});function yY(e){return function(){this.removeAttribute(e)}}function wY(e){return function(){this.removeAttributeNS(e.space,e.local)}}function bY(e,t,n){var a,s=n+"",c;return function(){var d=this.getAttribute(e);return d===s?null:d===a?c:c=t(a=d,n)}}function _Y(e,t,n){var a,s=n+"",c;return function(){var d=this.getAttributeNS(e.space,e.local);return d===s?null:d===a?c:c=t(a=d,n)}}function qY(e,t,n){var a,s,c;return function(){var d,m=n(this),w;return m==null?void this.removeAttribute(e):(d=this.getAttribute(e),w=m+"",d===w?null:d===a&&w===s?c:(s=w,c=t(a=d,m)))}}function SY(e,t,n){var a,s,c;return function(){var d,m=n(this),w;return m==null?void this.removeAttributeNS(e.space,e.local):(d=this.getAttributeNS(e.space,e.local),w=m+"",d===w?null:d===a&&w===s?c:(s=w,c=t(a=d,m)))}}function DR(e,t){var n=qi(e),a=n==="transform"?nx:zh;return this.attrTween(e,typeof t=="function"?(n.local?SY:qY)(n,a,Ja(this,"attr."+e,t)):t==null?(n.local?wY:yY)(n):(n.local?_Y:bY)(n,a,t))}var NR=K(()=>{u();Vs();Kr();of();ax()});function TY(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function CY(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function EY(e,t){var n,a;function s(){var c=t.apply(this,arguments);return c!==a&&(n=(a=c)&&CY(e,c)),n}return s._value=t,s}function OY(e,t){var n,a;function s(){var c=t.apply(this,arguments);return c!==a&&(n=(a=c)&&TY(e,c)),n}return s._value=t,s}function kR(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var a=qi(e);return this.tween(n,(a.local?EY:OY)(a,t))}var BR=K(()=>{u();Kr()});function AY(e,t){return function(){nf(this,e).delay=+t.apply(this,arguments)}}function IY(e,t){return t=+t,function(){nf(this,e).delay=t}}function WR(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?AY:IY)(t,e)):Xt(this.node(),t).delay}var UR=K(()=>{u();Pr()});function MY(e,t){return function(){rr(this,e).duration=+t.apply(this,arguments)}}function LY(e,t){return t=+t,function(){rr(this,e).duration=t}}function HR(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?MY:LY)(t,e)):Xt(this.node(),t).duration}var $R=K(()=>{u();Pr()});function RY(e,t){if(typeof t!="function")throw new Error;return function(){rr(this,e).ease=t}}function zR(e){var t=this._id;return arguments.length?this.each(RY(t,e)):Xt(this.node(),t).ease}var jR=K(()=>{u();Pr()});function PY(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;rr(this,e).ease=n}}function GR(e){if(typeof e!="function")throw new Error;return this.each(PY(this._id,e))}var XR=K(()=>{u();Pr()});function YR(e){typeof e!="function"&&(e=Us(e));for(var t=this._groups,n=t.length,a=new Array(n),s=0;s{u();Kr();ra()});function KR(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,a=t.length,s=n.length,c=Math.min(a,s),d=new Array(a),m=0;m{u();ra()});function FY(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function DY(e,t,n){var a,s,c=FY(t)?nf:rr;return function(){var d=c(this,e),m=d.on;m!==a&&(s=(a=m).copy()).on(t,n),d.on=s}}function JR(e,t){var n=this._id;return arguments.length<2?Xt(this.node(),n).on.on(e):this.each(DY(n,e,t))}var QR=K(()=>{u();Pr()});function NY(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function eP(){return this.on("end.remove",NY(this._id))}var tP=K(()=>{u()});function rP(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Vo(e));for(var a=this._groups,s=a.length,c=new Array(s),d=0;d{u();Kr();ra();Pr()});function iP(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Ws(e));for(var a=this._groups,s=a.length,c=[],d=[],m=0;m{u();Kr();ra();Pr()});function aP(){return new kY(this._groups,this._parents)}var kY,uP=K(()=>{u();Kr();kY=Si.prototype.constructor});function BY(e,t){var n,a,s;return function(){var c=lo(this,e),d=(this.style.removeProperty(e),lo(this,e));return c===d?null:c===n&&d===a?s:s=t(n=c,a=d)}}function sP(e){return function(){this.style.removeProperty(e)}}function WY(e,t,n){var a,s=n+"",c;return function(){var d=lo(this,e);return d===s?null:d===a?c:c=t(a=d,n)}}function UY(e,t,n){var a,s,c;return function(){var d=lo(this,e),m=n(this),w=m+"";return m==null&&(w=m=(this.style.removeProperty(e),lo(this,e))),d===w?null:d===a&&w===s?c:(s=w,c=t(a=d,m))}}function HY(e,t){var n,a,s,c="style."+t,d="end."+c,m;return function(){var w=rr(this,e),_=w.on,O=w.value[c]==null?m||(m=sP(t)):void 0;(_!==n||s!==O)&&(a=(n=_).copy()).on(d,s=O),w.on=a}}function fP(e,t,n){var a=(e+="")=="transform"?rx:zh;return t==null?this.styleTween(e,BY(e,a)).on("end.style."+e,sP(e)):typeof t=="function"?this.styleTween(e,UY(e,a,Ja(this,"style."+e,t))).each(HY(this._id,e)):this.styleTween(e,WY(e,a,t),n).on("end.style."+e,null)}var lP=K(()=>{u();Vs();Kr();Pr();of();ax()});function $Y(e,t,n){return function(a){this.style.setProperty(e,t.call(this,a),n)}}function zY(e,t,n){var a,s;function c(){var d=t.apply(this,arguments);return d!==s&&(a=(s=d)&&$Y(e,d,n)),a}return c._value=t,c}function cP(e,t,n){var a="style."+(e+="");if(arguments.length<2)return(a=this.tween(a))&&a._value;if(t==null)return this.tween(a,null);if(typeof t!="function")throw new Error;return this.tween(a,zY(e,t,n==null?"":n))}var hP=K(()=>{u()});function jY(e){return function(){this.textContent=e}}function GY(e){return function(){var t=e(this);this.textContent=t==null?"":t}}function pP(e){return this.tween("text",typeof e=="function"?GY(Ja(this,"text",e)):jY(e==null?"":e+""))}var dP=K(()=>{u();of()});function XY(e){return function(t){this.textContent=e.call(this,t)}}function YY(e){var t,n;function a(){var s=e.apply(this,arguments);return s!==n&&(t=(n=s)&&XY(s)),t}return a._value=e,a}function gP(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,YY(e))}var vP=K(()=>{u()});function mP(){for(var e=this._name,t=this._id,n=jh(),a=this._groups,s=a.length,c=0;c{u();ra();Pr()});function yP(){var e,t,n=this,a=n._id,s=n.size();return new Promise(function(c,d){var m={value:d},w={value:function(){--s===0&&c()}};n.each(function(){var _=rr(this,a),O=_.on;O!==e&&(t=(e=O).copy(),t._.cancel.push(m),t._.interrupt.push(m),t._.end.push(w)),_.on=t}),s===0&&c()})}var wP=K(()=>{u();Pr()});function yr(e,t,n,a){this._groups=e,this._parents=t,this._name=n,this._id=a}function bP(e){return Si().transition(e)}function jh(){return++VY}var VY,Ti,ra=K(()=>{u();Kr();NR();BR();UR();$R();jR();XR();VR();ZR();QR();tP();nP();oP();uP();lP();hP();dP();vP();xP();of();wP();VY=0;Ti=Si.prototype;yr.prototype=bP.prototype={constructor:yr,select:rP,selectAll:iP,selectChild:Ti.selectChild,selectChildren:Ti.selectChildren,filter:YR,merge:KR,selection:aP,transition:mP,call:Ti.call,nodes:Ti.nodes,node:Ti.node,size:Ti.size,empty:Ti.empty,each:Ti.each,on:JR,attr:DR,attrTween:kR,style:fP,styleTween:cP,text:pP,textTween:gP,remove:eP,tween:FR,delay:WR,duration:HR,ease:zR,easeVarying:GR,end:yP,[Symbol.iterator]:Ti[Symbol.iterator]}});function Gh(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var _P=K(()=>{u()});var ux=K(()=>{u();_P()});function ZY(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function qP(e){var t,n;e instanceof yr?(t=e._id,e=e._name):(t=jh(),(n=KY).time=tf(),e=e==null?null:e+"");for(var a=this._groups,s=a.length,c=0;c{u();ra();Pr();ux();Bh();KY={time:null,delay:0,duration:250,ease:Gh}});var TP=K(()=>{u();Kr();PR();SP();Si.prototype.interrupt=RR;Si.prototype.transition=qP});var af=K(()=>{u();TP()});var CP=K(()=>{u()});var EP=K(()=>{u()});var OP=K(()=>{u()});function AP(e){return[+e[0],+e[1]]}function JY(e){return[AP(e[0]),AP(e[1])]}function sx(e){return{type:e}}var Xxe,Yxe,Vxe,Kxe,Zxe,Jxe,IP=K(()=>{u();af();CP();EP();OP();({abs:Xxe,max:Yxe,min:Vxe}=Math);Kxe={name:"x",handles:["w","e"].map(sx),input:function(e,t){return e==null?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},Zxe={name:"y",handles:["n","s"].map(sx),input:function(e,t){return e==null?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},Jxe={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(sx),input:function(e){return e==null?null:JY(e)},output:function(e){return e}}});var MP=K(()=>{u();IP()});var LP=K(()=>{u()});var RP=K(()=>{u()});var PP=K(()=>{u()});var FP=K(()=>{u()});var DP=K(()=>{u()});var NP=K(()=>{u()});var kP=K(()=>{u()});var BP=K(()=>{u()});function WP(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function na(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),a=e.slice(0,n);return[a.length>1?a[0]+a.slice(2):a,+e.slice(n+1)]}var uf=K(()=>{u()});function UP(e){return e=na(Math.abs(e)),e?e[1]:NaN}var HP=K(()=>{u();uf()});function $P(e,t){return function(n,a){for(var s=n.length,c=[],d=0,m=e[0],w=0;s>0&&m>0&&(w+m+1>a&&(m=Math.max(1,a-w)),c.push(n.substring(s-=m,s+m)),!((w+=m+1)>a));)m=e[d=(d+1)%e.length];return c.reverse().join(t)}}var zP=K(()=>{u()});function jP(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var GP=K(()=>{u()});function sf(e){if(!(t=QY.exec(e)))throw new Error("invalid format: "+e);var t;return new fx({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function fx(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}var QY,XP=K(()=>{u();QY=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;sf.prototype=fx.prototype;fx.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type}});function YP(e){e:for(var t=e.length,n=1,a=-1,s;n0&&(a=0);break}return a>0?e.slice(0,a)+e.slice(s+1):e}var VP=K(()=>{u()});function KP(e,t){var n=na(e,t);if(!n)return ff=void 0,e.toPrecision(t);var a=n[0],s=n[1],c=s-(ff=Math.max(-8,Math.min(8,Math.floor(s/3)))*3)+1,d=a.length;return c===d?a:c>d?a+new Array(c-d+1).join("0"):c>0?a.slice(0,c)+"."+a.slice(c):"0."+new Array(1-c).join("0")+na(e,Math.max(0,t+c-1))[0]}var ff,lx=K(()=>{u();uf()});function cx(e,t){var n=na(e,t);if(!n)return e+"";var a=n[0],s=n[1];return s<0?"0."+new Array(-s).join("0")+a:a.length>s+1?a.slice(0,s+1)+"."+a.slice(s+1):a+new Array(s-a.length+2).join("0")}var ZP=K(()=>{u();uf()});var hx,JP=K(()=>{u();uf();lx();ZP();hx={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:WP,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>cx(e*100,t),r:cx,s:KP,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)}});function px(e){return e}var QP=K(()=>{u()});function rF(e){var t=e.grouping===void 0||e.thousands===void 0?px:$P(eF.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",a=e.currency===void 0?"":e.currency[1]+"",s=e.decimal===void 0?".":e.decimal+"",c=e.numerals===void 0?px:jP(eF.call(e.numerals,String)),d=e.percent===void 0?"%":e.percent+"",m=e.minus===void 0?"\u2212":e.minus+"",w=e.nan===void 0?"NaN":e.nan+"";function _(L,S){L=sf(L);var I=L.fill,P=L.align,$=L.sign,D=L.symbol,G=L.zero,Z=L.width,j=L.comma,U=L.precision,Q=L.trim,h=L.type;h==="n"?(j=!0,h="g"):hx[h]||(U===void 0&&(U=12),Q=!0,h="g"),(G||I==="0"&&P==="=")&&(G=!0,I="0",P="=");var de=(S&&S.prefix!==void 0?S.prefix:"")+(D==="$"?n:D==="#"&&/[boxX]/.test(h)?"0"+h.toLowerCase():""),le=(D==="$"?a:/[%p]/.test(h)?d:"")+(S&&S.suffix!==void 0?S.suffix:""),Ie=hx[h],Ee=/[defgprs%]/.test(h);U=U===void 0?6:/[gprs]/.test(h)?Math.max(1,Math.min(21,U)):Math.max(0,Math.min(20,U));function he(ee){var ce=de,Fe=le,ze,Oe,oe;if(h==="c")Fe=Ie(ee)+Fe,ee="";else{ee=+ee;var ae=ee<0||1/ee<0;if(ee=isNaN(ee)?w:Ie(Math.abs(ee),U),Q&&(ee=YP(ee)),ae&&+ee==0&&$!=="+"&&(ae=!1),ce=(ae?$==="("?$:m:$==="-"||$==="("?"":$)+ce,Fe=(h==="s"&&!isNaN(ee)&&ff!==void 0?tF[8+ff/3]:"")+Fe+(ae&&$==="("?")":""),Ee){for(ze=-1,Oe=ee.length;++zeoe||oe>57){Fe=(oe===46?s+ee.slice(ze+1):ee.slice(ze))+Fe,ee=ee.slice(0,ze);break}}}j&&!G&&(ee=t(ee,1/0));var me=ce.length+ee.length+Fe.length,xe=me>1)+ce+ee+Fe+xe.slice(me);break;default:ee=xe+ce+ee+Fe;break}return c(ee)}return he.toString=function(){return L+""},he}function O(L,S){var I=Math.max(-8,Math.min(8,Math.floor(UP(S)/3)))*3,P=Math.pow(10,-I),$=_((L=sf(L),L.type="f",L),{suffix:tF[8+I/3]});return function(D){return $(P*D)}}return{format:_,formatPrefix:O}}var eF,tF,nF=K(()=>{u();HP();zP();GP();XP();VP();JP();lx();QP();eF=Array.prototype.map,tF=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"]});function dx(e){return Xh=rF(e),iF=Xh.format,oF=Xh.formatPrefix,Xh}var Xh,iF,oF,aF=K(()=>{u();nF();dx({thousands:",",grouping:[3],currency:["$",""]})});var uF=K(()=>{u();aF()});var sF=K(()=>{u()});var fF=K(()=>{u()});var lF=K(()=>{u()});var cF=K(()=>{u()});function Zr(e,t,n,a){function s(c){return e(c=arguments.length===0?new Date:new Date(+c)),c}return s.floor=c=>(e(c=new Date(+c)),c),s.ceil=c=>(e(c=new Date(c-1)),t(c,1),e(c),c),s.round=c=>{let d=s(c),m=s.ceil(c);return c-d(t(c=new Date(+c),d==null?1:Math.floor(d)),c),s.range=(c,d,m)=>{let w=[];if(c=s.ceil(c),m=m==null?1:Math.floor(m),!(c0))return w;let _;do w.push(_=new Date(+c)),t(c,m),e(c);while(_Zr(d=>{if(d>=d)for(;e(d),!c(d);)d.setTime(d-1)},(d,m)=>{if(d>=d)if(m<0)for(;++m<=0;)for(;t(d,-1),!c(d););else for(;--m>=0;)for(;t(d,1),!c(d););}),n&&(s.count=(c,d)=>(gx.setTime(+c),vx.setTime(+d),e(gx),e(vx),Math.floor(n(gx,vx))),s.every=c=>(c=Math.floor(c),!isFinite(c)||!(c>0)?null:c>1?s.filter(a?d=>a(d)%c===0:d=>s.count(0,d)%c===0):s)),s}var gx,vx,Yh=K(()=>{u();gx=new Date,vx=new Date});var lf,tV,cf,rV,hF,nV,pF=K(()=>{u();Yh();lf=Zr(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1),tV=lf.range,cf=Zr(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>e.getUTCDate()-1),rV=cf.range,hF=Zr(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>Math.floor(e/864e5)),nV=hF.range});function ia(e){return Zr(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}function oa(e){return Zr(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/6048e5)}var hf,Qa,dF,gF,go,vF,mF,xF,oV,aV,uV,sV,fV,lV,pf,eu,yF,wF,vo,bF,_F,qF,cV,hV,pV,dV,gV,vV,SF=K(()=>{u();Yh();hf=ia(0),Qa=ia(1),dF=ia(2),gF=ia(3),go=ia(4),vF=ia(5),mF=ia(6),xF=hf.range,oV=Qa.range,aV=dF.range,uV=gF.range,sV=go.range,fV=vF.range,lV=mF.range;pf=oa(0),eu=oa(1),yF=oa(2),wF=oa(3),vo=oa(4),bF=oa(5),_F=oa(6),qF=pf.range,cV=eu.range,hV=yF.range,pV=wF.range,dV=vo.range,gV=bF.range,vV=_F.range});var Ci,mV,Ei,xV,TF=K(()=>{u();Yh();Ci=Zr(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Ci.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Zr(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});mV=Ci.range,Ei=Zr(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Ei.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Zr(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});xV=Ei.range});var xx=K(()=>{u();pF();SF();TF()});function yx(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function wx(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function df(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function bx(e){var t=e.dateTime,n=e.date,a=e.time,s=e.periods,c=e.days,d=e.shortDays,m=e.months,w=e.shortMonths,_=gf(s),O=vf(s),L=gf(c),S=vf(c),I=gf(d),P=vf(d),$=gf(m),D=vf(m),G=gf(w),Z=vf(w),j={a:oe,A:ae,b:me,B:xe,c:null,d:MF,e:MF,f:UV,g:ZV,G:QV,H:kV,I:BV,j:WV,L:DF,m:HV,M:$V,p:_e,q:Ve,Q:PF,s:FF,S:zV,u:jV,U:GV,V:XV,w:YV,W:VV,x:null,X:null,y:KV,Y:JV,Z:eK,"%":RF},U={a:lt,A:xt,b:qt,B:Mt,c:null,d:LF,e:LF,f:iK,g:dK,G:vK,H:tK,I:rK,j:nK,L:kF,m:oK,M:aK,p:Ht,q:Wt,Q:PF,s:FF,S:uK,u:sK,U:fK,V:lK,w:cK,W:hK,x:null,X:null,y:pK,Y:gK,Z:mK,"%":RF},Q={a:Ee,A:he,b:ee,B:ce,c:Fe,d:AF,e:AF,f:PV,g:OF,G:EF,H:IF,I:IF,j:IV,L:RV,m:AV,M:MV,p:Ie,q:OV,Q:DV,s:NV,S:LV,u:qV,U:SV,V:TV,w:_V,W:CV,x:ze,X:Oe,y:OF,Y:EF,Z:EV,"%":FV};j.x=h(n,j),j.X=h(a,j),j.c=h(t,j),U.x=h(n,U),U.X=h(a,U),U.c=h(t,U);function h(ye,Ne){return function(ke){var ge=[],ct=-1,et=0,St=ye.length,ht,Ot,ti;for(ke instanceof Date||(ke=new Date(+ke));++ct53)return null;"w"in ge||(ge.w=1),"Z"in ge?(et=wx(df(ge.y,0,1)),St=et.getUTCDay(),et=St>4||St===0?eu.ceil(et):eu(et),et=cf.offset(et,(ge.V-1)*7),ge.y=et.getUTCFullYear(),ge.m=et.getUTCMonth(),ge.d=et.getUTCDate()+(ge.w+6)%7):(et=yx(df(ge.y,0,1)),St=et.getDay(),et=St>4||St===0?Qa.ceil(et):Qa(et),et=lf.offset(et,(ge.V-1)*7),ge.y=et.getFullYear(),ge.m=et.getMonth(),ge.d=et.getDate()+(ge.w+6)%7)}else("W"in ge||"U"in ge)&&("w"in ge||(ge.w="u"in ge?ge.u%7:"W"in ge?1:0),St="Z"in ge?wx(df(ge.y,0,1)).getUTCDay():yx(df(ge.y,0,1)).getDay(),ge.m=0,ge.d="W"in ge?(ge.w+6)%7+ge.W*7-(St+5)%7:ge.w+ge.U*7-(St+6)%7);return"Z"in ge?(ge.H+=ge.Z/100|0,ge.M+=ge.Z%100,wx(ge)):yx(ge)}}function le(ye,Ne,ke,ge){for(var ct=0,et=Ne.length,St=ke.length,ht,Ot;ct=St)return-1;if(ht=Ne.charCodeAt(ct++),ht===37){if(ht=Ne.charAt(ct++),Ot=Q[ht in CF?Ne.charAt(ct++):ht],!Ot||(ge=Ot(ye,ke,ge))<0)return-1}else if(ht!=ke.charCodeAt(ge++))return-1}return ge}function Ie(ye,Ne,ke){var ge=_.exec(Ne.slice(ke));return ge?(ye.p=O.get(ge[0].toLowerCase()),ke+ge[0].length):-1}function Ee(ye,Ne,ke){var ge=I.exec(Ne.slice(ke));return ge?(ye.w=P.get(ge[0].toLowerCase()),ke+ge[0].length):-1}function he(ye,Ne,ke){var ge=L.exec(Ne.slice(ke));return ge?(ye.w=S.get(ge[0].toLowerCase()),ke+ge[0].length):-1}function ee(ye,Ne,ke){var ge=G.exec(Ne.slice(ke));return ge?(ye.m=Z.get(ge[0].toLowerCase()),ke+ge[0].length):-1}function ce(ye,Ne,ke){var ge=$.exec(Ne.slice(ke));return ge?(ye.m=D.get(ge[0].toLowerCase()),ke+ge[0].length):-1}function Fe(ye,Ne,ke){return le(ye,t,Ne,ke)}function ze(ye,Ne,ke){return le(ye,n,Ne,ke)}function Oe(ye,Ne,ke){return le(ye,a,Ne,ke)}function oe(ye){return d[ye.getDay()]}function ae(ye){return c[ye.getDay()]}function me(ye){return w[ye.getMonth()]}function xe(ye){return m[ye.getMonth()]}function _e(ye){return s[+(ye.getHours()>=12)]}function Ve(ye){return 1+~~(ye.getMonth()/3)}function lt(ye){return d[ye.getUTCDay()]}function xt(ye){return c[ye.getUTCDay()]}function qt(ye){return w[ye.getUTCMonth()]}function Mt(ye){return m[ye.getUTCMonth()]}function Ht(ye){return s[+(ye.getUTCHours()>=12)]}function Wt(ye){return 1+~~(ye.getUTCMonth()/3)}return{format:function(ye){var Ne=h(ye+="",j);return Ne.toString=function(){return ye},Ne},parse:function(ye){var Ne=de(ye+="",!1);return Ne.toString=function(){return ye},Ne},utcFormat:function(ye){var Ne=h(ye+="",U);return Ne.toString=function(){return ye},Ne},utcParse:function(ye){var Ne=de(ye+="",!0);return Ne.toString=function(){return ye},Ne}}}function ft(e,t,n){var a=e<0?"-":"",s=(a?-e:e)+"",c=s.length;return a+(c[t.toLowerCase(),n]))}function _V(e,t,n){var a=Jt.exec(t.slice(n,n+1));return a?(e.w=+a[0],n+a[0].length):-1}function qV(e,t,n){var a=Jt.exec(t.slice(n,n+1));return a?(e.u=+a[0],n+a[0].length):-1}function SV(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.U=+a[0],n+a[0].length):-1}function TV(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.V=+a[0],n+a[0].length):-1}function CV(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.W=+a[0],n+a[0].length):-1}function EF(e,t,n){var a=Jt.exec(t.slice(n,n+4));return a?(e.y=+a[0],n+a[0].length):-1}function OF(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.y=+a[0]+(+a[0]>68?1900:2e3),n+a[0].length):-1}function EV(e,t,n){var a=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return a?(e.Z=a[1]?0:-(a[2]+(a[3]||"00")),n+a[0].length):-1}function OV(e,t,n){var a=Jt.exec(t.slice(n,n+1));return a?(e.q=a[0]*3-3,n+a[0].length):-1}function AV(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.m=a[0]-1,n+a[0].length):-1}function AF(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.d=+a[0],n+a[0].length):-1}function IV(e,t,n){var a=Jt.exec(t.slice(n,n+3));return a?(e.m=0,e.d=+a[0],n+a[0].length):-1}function IF(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.H=+a[0],n+a[0].length):-1}function MV(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.M=+a[0],n+a[0].length):-1}function LV(e,t,n){var a=Jt.exec(t.slice(n,n+2));return a?(e.S=+a[0],n+a[0].length):-1}function RV(e,t,n){var a=Jt.exec(t.slice(n,n+3));return a?(e.L=+a[0],n+a[0].length):-1}function PV(e,t,n){var a=Jt.exec(t.slice(n,n+6));return a?(e.L=Math.floor(a[0]/1e3),n+a[0].length):-1}function FV(e,t,n){var a=yV.exec(t.slice(n,n+1));return a?n+a[0].length:-1}function DV(e,t,n){var a=Jt.exec(t.slice(n));return a?(e.Q=+a[0],n+a[0].length):-1}function NV(e,t,n){var a=Jt.exec(t.slice(n));return a?(e.s=+a[0],n+a[0].length):-1}function MF(e,t){return ft(e.getDate(),t,2)}function kV(e,t){return ft(e.getHours(),t,2)}function BV(e,t){return ft(e.getHours()%12||12,t,2)}function WV(e,t){return ft(1+lf.count(Ci(e),e),t,3)}function DF(e,t){return ft(e.getMilliseconds(),t,3)}function UV(e,t){return DF(e,t)+"000"}function HV(e,t){return ft(e.getMonth()+1,t,2)}function $V(e,t){return ft(e.getMinutes(),t,2)}function zV(e,t){return ft(e.getSeconds(),t,2)}function jV(e){var t=e.getDay();return t===0?7:t}function GV(e,t){return ft(hf.count(Ci(e)-1,e),t,2)}function NF(e){var t=e.getDay();return t>=4||t===0?go(e):go.ceil(e)}function XV(e,t){return e=NF(e),ft(go.count(Ci(e),e)+(Ci(e).getDay()===4),t,2)}function YV(e){return e.getDay()}function VV(e,t){return ft(Qa.count(Ci(e)-1,e),t,2)}function KV(e,t){return ft(e.getFullYear()%100,t,2)}function ZV(e,t){return e=NF(e),ft(e.getFullYear()%100,t,2)}function JV(e,t){return ft(e.getFullYear()%1e4,t,4)}function QV(e,t){var n=e.getDay();return e=n>=4||n===0?go(e):go.ceil(e),ft(e.getFullYear()%1e4,t,4)}function eK(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ft(t/60|0,"0",2)+ft(t%60,"0",2)}function LF(e,t){return ft(e.getUTCDate(),t,2)}function tK(e,t){return ft(e.getUTCHours(),t,2)}function rK(e,t){return ft(e.getUTCHours()%12||12,t,2)}function nK(e,t){return ft(1+cf.count(Ei(e),e),t,3)}function kF(e,t){return ft(e.getUTCMilliseconds(),t,3)}function iK(e,t){return kF(e,t)+"000"}function oK(e,t){return ft(e.getUTCMonth()+1,t,2)}function aK(e,t){return ft(e.getUTCMinutes(),t,2)}function uK(e,t){return ft(e.getUTCSeconds(),t,2)}function sK(e){var t=e.getUTCDay();return t===0?7:t}function fK(e,t){return ft(pf.count(Ei(e)-1,e),t,2)}function BF(e){var t=e.getUTCDay();return t>=4||t===0?vo(e):vo.ceil(e)}function lK(e,t){return e=BF(e),ft(vo.count(Ei(e),e)+(Ei(e).getUTCDay()===4),t,2)}function cK(e){return e.getUTCDay()}function hK(e,t){return ft(eu.count(Ei(e)-1,e),t,2)}function pK(e,t){return ft(e.getUTCFullYear()%100,t,2)}function dK(e,t){return e=BF(e),ft(e.getUTCFullYear()%100,t,2)}function gK(e,t){return ft(e.getUTCFullYear()%1e4,t,4)}function vK(e,t){var n=e.getUTCDay();return e=n>=4||n===0?vo(e):vo.ceil(e),ft(e.getUTCFullYear()%1e4,t,4)}function mK(){return"+0000"}function RF(){return"%"}function PF(e){return+e}function FF(e){return Math.floor(+e/1e3)}var CF,Jt,yV,wV,WF=K(()=>{u();xx();CF={"-":"",_:" ",0:"0"},Jt=/^\s*\d+/,yV=/^%/,wV=/[\\^$*+?|[\]().{}]/g});function _x(e){return tu=bx(e),UF=tu.format,HF=tu.parse,$F=tu.utcFormat,zF=tu.utcParse,tu}var tu,UF,HF,$F,zF,jF=K(()=>{u();WF();_x({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})});var GF=K(()=>{u();jF()});var XF=K(()=>{u()});var YF=K(()=>{u()});var VF=K(()=>{u()});var KF=K(()=>{u()});var ZF=K(()=>{u()});function mo(e,t,n){this.k=e,this.x=t,this.y=n}function Sx(e){for(;!e.__zoom;)if(!(e=e.parentNode))return qx;return e.__zoom}var qx,Tx=K(()=>{u();mo.prototype={constructor:mo,scale:function(e){return e===1?this:new mo(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new mo(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};qx=new mo(1,0,0);Sx.prototype=mo.prototype});var JF=K(()=>{u()});var QF=K(()=>{u();af();KF();ZF();Tx();JF()});var eD=K(()=>{u();QF();Tx()});var mf=K(()=>{u();hM();pM();MP();RP();Oh();PP();FP();dh();VL();DP();ux();NP();BP();uF();sF();fF();Vs();LP();lF();kP();cF();XF();YF();Kr();VF();xx();GF();Bh();af();eD()});var rD=T((Jwe,tD)=>{u();var xf=Re(tr()),Cx=class{constructor(){this.moveCoreLabel=this.moveCoreLabel.bind(this),this.moveSurfaceLabel=this.moveSurfaceLabel.bind(this),this.circleRadiusChanged=this.circleRadiusChanged.bind(this),this.getCoreLabels=this.getCoreLabels.bind(this),this.getSurfaceLabels=this.getSurfaceLabels.bind(this),this.init()}setPlotReference(t){this.plotReference=t}init(){this.state={},this.listeners={},this.listenerId=0}initialiseState(t){this.state=t}setState(t){this.state=t,this.callListeners()}callListeners(){xf.default.each(this.listeners,t=>{t(xf.default.cloneDeep(this.state))})}addListener(t){let n=this.listenerId++;return this.listeners[n]=t,()=>{delete this.listeners[n]}}moveCoreLabel(t,n){xf.default.find(this.state.plot.coreLabels,{id:t}).moved=!0,this.callListeners()}moveSurfaceLabel(t,n){xf.default.find(this.state.plot.surfaceLabels,{id:t}).moved=!0,this.callListeners()}circleRadiusChanged(t){this.plotReference.clearPlot(),this.plotReference.initialiseComponents(),this.plotReference.resetState(t),this.callListeners(),this.plotReference.draw()}getCircleRadius(){return this.state.circleRadius}getCenter(){return this.state.center}getCoreLabels(){return this.state.plot.coreLabels}getSurfaceLabels(){return this.state.plot.surfaceLabels}getPlotSize(){return this.state.plotSize}};tD.exports=Cx});var oD=T((ebe,iD)=>{u();var nD=Re(tr()),xK={circleColor:"#042a4b",circleDragAreaWidth:8,circleStrokeWidth:1,coreLabelFontColor:"#333333",coreLabelFontFamily:"sans-serif",coreLabelFontSelectedColor:"#333333",coreLabelFontSize:14,coreLabelMinimumLabelDistance:7,crossColor:"grey",footerFontColor:"#000000",footerFontFamily:"sans-serif",footerFontSize:11,linkColor:"grey",linkWidth:1,subtitleFontColor:"#000000",subtitleFontFamily:"sans-serif",subtitleFontSize:18,surfaceLabelFontBaseSize:14,surfaceLabelFontColor:"#333333",surfaceLabelFontFamily:"sans-serif",surfaceLabelFontSelectedColor:"#333333",surfaceLabelMinimumLabelDistance:15,surfaceLabelRadialPadding:3,titleFontColor:"#000000",titleFontFamily:"sans-serif",titleFontSize:24};function yK(e){return nD.default.merge({},xK,e)}iD.exports=yK});var Ex=T((rbe,aD)=>{u();aD.exports=(e,t)=>Math.sqrt(Math.pow(e,2)+Math.pow(t,2))});var sD=T((ibe,uD)=>{u();var xn=Re(tr()),Ox=Re(Ex()),wK=["coreNodes","surfaceNodes","coreLabels","surfaceLabels"];uD.exports=e=>{if((0,xn.default)(wK).each(d=>{if(!xn.default.has(e,d))throw new Error(`Invalid config. Missing ${d}`);if(!xn.default.isArray(e[d]))throw new Error(`Invalid config. ${d} must be array`)}),e.coreNodes.length!==e.coreLabels.length)throw new Error("Invalid config. length(coreNodes) != length(coreLabels)");if(e.surfaceNodes.length!==e.surfaceLabels.length)throw new Error("Invalid config. length(surfaceNodes) != length(surfaceLabels)");let t=bK(e.coreNodes),n=_K(e.surfaceNodes,1.5,.5),a=qK(e.surfaceNodes),s=(0,xn.default)(t).map((d,m)=>({id:m,name:e.coreLabels[m],x:d[0],y:d[1]})).value(),c=(0,xn.default)(a).map((d,m)=>({id:m,name:e.surfaceLabels[m],x:d[0],y:d[1],size:n[m]})).value();return{coreLabels:s,surfaceLabels:c}};var bK=(e,t=.1)=>{let n=(0,xn.default)(e).map(a=>(0,Ox.default)(a[0],a[1])*(1+t)).max();return(0,xn.default)(e).map(a=>[a[0]/n,a[1]/n]).value()},_K=(e,t,n)=>{let a=(0,xn.default)(e).map(c=>(0,Ox.default)(c[0],c[1])).value(),s=(0,xn.default)(a).max();return(0,xn.default)(a).map(c=>t*Math.pow(c/s,n)).value()},qK=e=>(0,xn.default)(e).map(t=>Math.atan2(t[1],t[0])).map(t=>[Math.cos(t),Math.sin(t)]).value()});var lD=T((fD,Kh)=>{u();(function(e,t){"use strict";typeof define=="function"&&define.amd?define(t):typeof Kh=="object"&&Kh.exports?Kh.exports=t():e.log=t()})(fD,function(){"use strict";var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),a=["trace","debug","info","warn","error"],s={},c=null;function d(P,$){var D=P[$];if(typeof D.bind=="function")return D.bind(P);try{return Function.prototype.bind.call(D,P)}catch(G){return function(){return Function.prototype.apply.apply(D,[P,arguments])}}}function m(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function w(P){return P==="debug"&&(P="log"),typeof console===t?!1:P==="trace"&&n?m:console[P]!==void 0?d(console,P):console.log!==void 0?d(console,"log"):e}function _(){for(var P=this.getLevel(),$=0;$=0&&he<=D.levels.SILENT)return he;throw new TypeError("log.setLevel() called with invalid level: "+Ee)}D.name=P,D.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},D.methodFactory=$||L,D.getLevel=function(){return j!=null?j:Z!=null?Z:G},D.setLevel=function(Ee,he){return j=le(Ee),he!==!1&&Q(j),_.call(D)},D.setDefaultLevel=function(Ee){Z=le(Ee),h()||D.setLevel(Ee,!1)},D.resetLevel=function(){j=null,de(),_.call(D)},D.enableAll=function(Ee){D.setLevel(D.levels.TRACE,Ee)},D.disableAll=function(Ee){D.setLevel(D.levels.SILENT,Ee)},D.rebuild=function(){if(c!==D&&(G=le(c.getLevel())),_.call(D),c===D)for(var Ee in s)s[Ee].rebuild()},G=le(c?c.getLevel():"WARN");var Ie=h();Ie!=null&&(j=le(Ie)),_.call(D)}c=new S,c.getLogger=function($){if(typeof $!="symbol"&&typeof $!="string"||$==="")throw new TypeError("You must supply a name when creating a logger.");var D=s[$];return D||(D=s[$]=new S($,c.methodFactory)),D};var I=typeof window!==t?window.log:void 0;return c.noConflict=function(){return typeof window!==t&&window.log===c&&(window.log=I),c},c.getLoggers=function(){return s},c.default=c,c})});var pD=T((ube,hD)=>{u();var Et=Re(tr()),cD=Re(lD()),ru=cD.getLogger("layout"),Nn={TITLE:"TITLE",SUBTITLE:"SUBTITLE",FOOTER:"FOOTER",PLOT:"PLOT",RESET:"RESET"},yf=[{name:"PLOT",cells:[Nn.TITLE,Nn.SUBTITLE,Nn.PLOT,Nn.FOOTER]}],Zh=[{name:"TITLE",cells:[Nn.TITLE]},{name:"SUBTITLE",cells:[Nn.SUBTITLE]},{name:"PLOT",cells:[Nn.PLOT]},{name:"FOOTER",cells:[Nn.FOOTER]}],Ax=class{constructor(t,n,a=0,s=2){this.cellInfo=Et.default.transform(Et.default.keys(Nn),(c,d)=>{c[d]={name:d,enabled:!1,fill:!1,width:0,height:0,meta:{}}},{}),this.canvasWidth=t,this.canvasHeight=n,this.padding=a,this.outerPadding=s,this.specialRules=[]}enable(t){this._throwIfNotValidCell(t),this.cellInfo[t].enabled=!0}disable(t){this._throwIfNotValidCell(t),this.cellInfo[t].enabled=!1}enabled(t){return this._throwIfNotValidCell(t),this.cellInfo[t].enabled}isRightmost(t){let n=this._findColumnFromCell(t);return this._getEnabledColumnsAfterColumn(n,{includeMargins:!1}).length===0}getSpaceToTheRightOf(t){let n=this._findColumnFromCell(t),a=this._getEnabledColumnsAfterColumn(n,{includeMargins:!1});return(0,Et.default)(a).map(this._getColumnWidth.bind(this)).sum()}setFillCell(t){if(this._throwIfNotValidCell(t),Et.default.find(this.cellInfo,{fill:!0},null))throw new Error("Can only have one fill cell");this.cellInfo[t].fill=!0}setPreferredDimensions(t,n){this._throwIfNotValidCell(t),this.cellInfo[t].width=n.width,this.cellInfo[t].height=n.height,this.cellInfo[t].conditional=Et.default.has(n,"conditional")?n.conditional:null}getCellBounds(t){return this._throwIfNotEnabled(t),this._getCellBounds(t)}getEstimatedCellBounds(t){return this._getCellBounds(t)}_getCellBounds(t){ru.debug(`enter layout.getCellBounds(${t})`);let n=this._findRowFromCell(t),a=this._findColumnFromCell(t),s=this._getEnabledRowsBeforeRow(n),c=this._getEnabledColumnsBeforeColumn(a),d=this.outerPadding+(0,Et.default)(c).map(O=>this._getColumnWidth(O)+this.padding).sum(),m=this.outerPadding+(0,Et.default)(s).map(O=>this._getRowHeight(O)+this.padding).sum(),w=this._getColumnWidth(a),_=this._getRowHeight(n);return w===0&&console.warn(`returning zero width for getCellBounds(${t})`),_===0&&console.warn(`returning zero height for getCellBounds(${t})`),ru.debug(`layout.getCellBounds(${t}) ->`,{width:w,height:_,top:m,left:d}),{width:w,height:_,top:m,left:d,canvasWidth:this.canvasWidth,canvasHeight:this.canvasHeight}}_getRow(t){let n=Et.default.find(Zh,{name:t});if(!n)throw new Error(`Invalid row: ${t}`);return n}_getColumn(t){let n=Et.default.find(yf,{name:t});if(!n)throw new Error(`Invalid column: ${t}`);return n}_getRowHeight(t){let n=this._getRow(t),a=(0,Et.default)(n.cells).map(s=>this.cellInfo[s]).filter({enabled:!0}).map(s=>s.fill?this._getHeightOfFillCell(s.name,t):s.height).max();return ru.debug(`layout._getRowHeight(${t}) ->`,a||0),a||0}_getColumnWidth(t){let n=this._getColumn(t),a=(0,Et.default)(n.cells).map(s=>this.cellInfo[s]).filter({enabled:!0}).map(s=>s.fill?this._getWidthOfFillCell(s.name,t):this._getWidthOfFixedCell(s.name)).max();return ru.debug(`layout._getColumnWidth(${t}) ->`,a||0),a||0}_getWidthOfFillCell(t,n){let a=Et.default.filter(yf,c=>c.name!==n&&this._columnEnabled(c.name)),s=(0,Et.default)(a).map(c=>this._getColumnWidth(c.name)).sum()+a.length*this.padding+2*this.outerPadding;return ru.debug(`layout._getWidthOfFillCell(${t}, ${n}) ->`,this.canvasWidth-s),this.canvasWidth-s}_getHeightOfFillCell(t,n){let a=Et.default.filter(Zh,c=>c.name!==n&&this._rowEnabled(c.name)),s=(0,Et.default)(a).map(c=>this._getRowHeight(c.name)).sum()+a.length*this.padding+2*this.outerPadding;return ru.debug(`layout._getHeightOfFillCell(${t}, ${n}) ->`,this.canvasHeight-s),this.canvasHeight-s}_getWidthOfFixedCell(t){return this.cellInfo[t].width}_getHeightOfFixedCell(t){return this.cellInfo[t].height}_rowEnabled(t){let n=this._getRow(t);return Et.default.some(n.cells,a=>this.cellInfo[a].enabled)}_columnEnabled(t){let n=this._getColumn(t);return Et.default.some(n.cells,a=>this.cellInfo[a].enabled)}_findRowFromCell(t){let n=Et.default.find(Zh,({cells:a})=>a.includes(t));if(n)return n.name;throw new Error(`Invalid cell name ${t} : not in any rows`)}_findColumnFromCell(t){let n=Et.default.find(yf,({cells:a})=>a.includes(t));if(n)return n.name;throw new Error(`Invalid cell name ${t} : not in any columns`)}_getEnabledRowsBeforeRow(t,{includeMargins:n=!0}={}){let a=!1;return(0,Et.default)(Zh).filter(({name:s})=>(s===t&&(a=!0),!a)).filter(({type:s})=>n||s!=="margin").map("name").filter(s=>this._rowEnabled(s)).value()}_getEnabledColumnsBeforeColumn(t,{includeMargins:n=!0}={}){let a=!1;return(0,Et.default)(yf).filter(({name:s})=>(s===t&&(a=!0),!a)).filter(({type:s})=>n||s!=="margin").map("name").filter(s=>this._columnEnabled(s)).value()}_getEnabledColumnsAfterColumn(t,{includeMargins:n=!0}={}){let a=!1;return(0,Et.default)(yf).filter(({name:s})=>(s===t&&(a=!0),a&&s!==t)).filter(({type:s})=>n||s!=="margin").map("name").filter(s=>this._columnEnabled(s)).value()}allComponentsRegistered(){this.applySpecialRules()}applySpecialRules(){this.specialRules.forEach(t=>t())}_throwIfNotValidCell(t){if(!Et.default.has(Nn,t))throw new Error(`Invalid cell: ${t}`)}_throwIfNotEnabled(t){if(this._throwIfNotValidCell(t),!this.cellInfo[t].enabled)throw new Error(`Cannot getCellBounds(${t}): not enabled`)}};hD.exports={Layout:Ax,CellNames:Nn}});var gD=T((dD,Ix)=>{u();(function(e){"use strict";var t="Random",n=typeof Math.imul!="function"||Math.imul(4294967295,5)!==-5?function(S,I){var P=S>>>16&65535,$=S&65535,D=I>>>16&65535,G=I&65535;return $*G+(P*G+$*D<<16>>>0)|0}:Math.imul,a=typeof String.prototype.repeat=="function"&&"x".repeat(3)==="xxx"?function(S,I){return S.repeat(I)}:function(S,I){for(var P="";I>0;)I&1&&(P+=S),I>>=1,S+=S;return P};function s(S){if(!(this instanceof s))return new s(S);if(S==null)S=s.engines.nativeMath;else if(typeof S!="function")throw new TypeError("Expected engine to be a function, got "+typeof S);this.engine=S}var c=s.prototype;s.engines={nativeMath:function(){return Math.random()*4294967296|0},mt19937:(function(S){function I(G){for(var Z=0,j=0;(Z|0)<227;Z=Z+1|0)j=G[Z]&2147483648|G[Z+1|0]&2147483647,G[Z]=G[Z+397|0]^j>>>1^(j&1?2567483615:0);for(;(Z|0)<623;Z=Z+1|0)j=G[Z]&2147483648|G[Z+1|0]&2147483647,G[Z]=G[Z-227|0]^j>>>1^(j&1?2567483615:0);j=G[623]&2147483648|G[0]&2147483647,G[623]=G[396]^j>>>1^(j&1?2567483615:0)}function P(G){return G^=G>>>11,G^=G<<7&2636928640,G^=G<<15&4022730752,G^G>>>18}function $(G,Z){for(var j=1,U=0,Q=Z.length,h=Math.max(Q,624)|0,de=G[0]|0;(h|0)>0;--h)G[j]=de=(G[j]^n(de^de>>>30,1664525))+(Z[U]|0)+(U|0)|0,j=j+1|0,++U,(j|0)>623&&(G[0]=G[623],j=1),U>=Q&&(U=0);for(h=623;(h|0)>0;--h)G[j]=de=(G[j]^n(de^de>>>30,1566083941))-j|0,j=j+1|0,(j|0)>623&&(G[0]=G[623],j=1);G[0]=2147483648}function D(){var G=new S(624),Z=0,j=0;function U(){(Z|0)>=624&&(I(G),Z=0);var Q=G[Z];return Z=Z+1|0,j+=1,P(Q)|0}return U.getUseCount=function(){return j},U.discard=function(Q){for(j+=Q,(Z|0)>=624&&(I(G),Z=0);Q-Z>624;)Q-=624-Z,I(G),Z=0;return Z=Z+Q|0,U},U.seed=function(Q){var h=0;G[0]=h=Q|0;for(var de=1;de<624;de=de+1|0)G[de]=h=n(h^h>>>30,1812433253)+de|0;return Z=624,j=0,U},U.seedWithArray=function(Q){return U.seed(19650218),$(G,Q),U},U.autoSeed=function(){return U.seedWithArray(s.generateEntropyArray())},U}return D})(typeof Int32Array=="function"?Int32Array:Array),browserCrypto:typeof crypto!="undefined"&&typeof crypto.getRandomValues=="function"&&typeof Int32Array=="function"?(function(){var S=null,I=128;return function(){return I>=128&&(S===null&&(S=new Int32Array(128)),crypto.getRandomValues(S),I=0),S[I++]|0}})():null},s.generateEntropyArray=function(){for(var S=[],I=s.engines.nativeMath,P=0;P<16;++P)S[P]=I()|0;return S.push(new Date().getTime()|0),S};function d(S){return function(){return S}}s.int32=function(S){return S()|0},c.int32=function(){return s.int32(this.engine)},s.uint32=function(S){return S()>>>0},c.uint32=function(){return s.uint32(this.engine)},s.uint53=function(S){var I=S()&2097151,P=S()>>>0;return I*4294967296+P},c.uint53=function(){return s.uint53(this.engine)},s.uint53Full=function(S){for(;;){var I=S()|0;if(I&2097152){if((I&4194303)===2097152&&(S()|0)===0)return 9007199254740992}else{var P=S()>>>0;return(I&2097151)*4294967296+P}}},c.uint53Full=function(){return s.uint53Full(this.engine)},s.int53=function(S){var I=S()|0,P=S()>>>0;return(I&2097151)*4294967296+P+(I&2097152?-9007199254740992:0)},c.int53=function(){return s.int53(this.engine)},s.int53Full=function(S){for(;;){var I=S()|0;if(I&4194304){if((I&8388607)===4194304&&(S()|0)===0)return 9007199254740992}else{var P=S()>>>0;return(I&2097151)*4294967296+P+(I&2097152?-9007199254740992:0)}}},c.int53Full=function(){return s.int53Full(this.engine)};function m(S,I){return I===0?S:function(P){return S(P)+I}}s.integer=(function(){function S(Q){return(Q+1&Q)===0}function I(Q){return function(h){return h()&Q}}function P(Q){var h=Q+1,de=h*Math.floor(4294967296/h);return function(le){var Ie=0;do Ie=le()>>>0;while(Ie>=de);return Ie%h}}function $(Q){return S(Q)?I(Q):P(Q)}function D(Q){return(Q|0)===0}function G(Q){return function(h){var de=h()&Q,le=h()>>>0;return de*4294967296+le}}function Z(Q){var h=Q*Math.floor(9007199254740992/Q);return function(de){var le=0;do{var Ie=de()&2097151,Ee=de()>>>0;le=Ie*4294967296+Ee}while(le>=h);return le%Q}}function j(Q){var h=Q+1;if(D(h)){var de=(h/4294967296|0)-1;if(S(de))return G(de)}return Z(h)}function U(Q,h){return function(de){var le=0;do{var Ie=de()|0,Ee=de()>>>0;le=(Ie&2097151)*4294967296+Ee+(Ie&2097152?-9007199254740992:0)}while(leh);return le}}return function(Q,h){if(Q=Math.floor(Q),h=Math.floor(h),Q<-9007199254740992||!isFinite(Q))throw new RangeError("Expected min to be at least "+-9007199254740992);if(h>9007199254740992||!isFinite(h))throw new RangeError("Expected max to be at most "+9007199254740992);var de=h-Q;return de<=0||!isFinite(de)?d(Q):de===4294967295?Q===0?s.uint32:m(s.int32,Q+2147483648):de<4294967295?m($(de),Q):de===9007199254740991?m(s.uint53,Q):de<9007199254740991?m(j(de),Q):h-1-Q===9007199254740991?m(s.uint53Full,Q):Q===-9007199254740992&&h===9007199254740992?s.int53Full:Q===-9007199254740992&&h===9007199254740991?s.int53:Q===-9007199254740991&&h===9007199254740992?m(s.int53,1):h===9007199254740992?m(U(Q-1,h-1),1):U(Q,h)}})(),c.integer=function(S,I){return s.integer(S,I)(this.engine)},s.realZeroToOneInclusive=function(S){return s.uint53Full(S)/9007199254740992},c.realZeroToOneInclusive=function(){return s.realZeroToOneInclusive(this.engine)},s.realZeroToOneExclusive=function(S){return s.uint53(S)/9007199254740992},c.realZeroToOneExclusive=function(){return s.realZeroToOneExclusive(this.engine)},s.real=(function(){function S(I,P){return P===1?I:P===0?function(){return 0}:function($){return I($)*P}}return function(I,P,$){if(isFinite(I)){if(!isFinite(P))throw new RangeError("Expected right to be a finite number")}else throw new RangeError("Expected left to be a finite number");return m(S($?s.realZeroToOneInclusive:s.realZeroToOneExclusive,P-I),I)}})(),c.real=function(S,I,P){return s.real(S,I,P)(this.engine)},s.bool=(function(){function S($){return($()&1)===1}function I($,D){return function(G){return $(G)=1)return d(!0);var D=$*4294967296;return D%1===0?I(s.int32,D-2147483648|0):I(s.uint53,Math.round($*9007199254740992))}return function($,D){return D==null?$==null?S:P($):$<=0?d(!1):$>=D?d(!0):I(s.integer(0,D-1),$)}})(),c.bool=function(S,I){return s.bool(S,I)(this.engine)};function w(S){var I=+S;return I<0?Math.ceil(I):Math.floor(I)}function _(S,I){return S<0?Math.max(S+I,0):Math.min(S,I)}s.pick=function(S,I,P,$){var D=I.length,G=P==null?0:_(w(P),D),Z=$===void 0?D:_(w($),D);if(!(G>=Z)){var j=s.integer(G,Z-1);return I[j(S)]}},c.pick=function(S,I,P){return s.pick(this.engine,S,I,P)};function O(){}var L=Array.prototype.slice;s.picker=function(S,I,P){var $=L.call(S,I,P);if(!$.length)return O;var D=s.integer(0,$.length-1);return function(G){return $[D(G)]}},s.shuffle=function(S,I,P){var $=I.length;if($){P==null&&(P=0);for(var D=$-1>>>0;D>P;--D){var G=s.integer(0,D),Z=G(S);if(D!==Z){var j=I[D];I[D]=I[Z],I[Z]=j}}}return I},c.shuffle=function(S){return s.shuffle(this.engine,S)},s.sample=function(S,I,P){if(P<0||P>I.length||!isFinite(P))throw new RangeError("Expected sampleSize to be within 0 and the length of the population");if(P===0)return[];var $=L.call(I),D=$.length;if(D===P)return s.shuffle(S,$,0);var G=D-P;return s.shuffle(S,$,G-1).slice(G)},c.sample=function(S,I){return s.sample(this.engine,S,I)},s.die=function(S){return s.integer(1,S)},c.die=function(S){return s.die(S)(this.engine)},s.dice=function(S,I){var P=s.die(S);return function($){var D=[];D.length=I;for(var G=0;G>>0,$=I()|0,D=I()|0,G=I()>>>0;return S(P.toString(16),8)+"-"+S(($&65535).toString(16),4)+"-"+S(($>>4&4095|16384).toString(16),4)+"-"+S((D&16383|32768).toString(16),4)+"-"+S((D>>4&65535).toString(16),4)+S(G.toString(16),8)}})(),c.uuid4=function(){return s.uuid4(this.engine)},s.string=(function(){var S="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-";return function(I){I==null&&(I=S);var P=I.length;if(!P)throw new Error("Expected pool not to be an empty string");var $=s.integer(0,P-1);return function(D,G){for(var Z="",j=0;j{u();var Mx=Re(gD()),SK=function(){let e=new Mx.default(Mx.default.engines.mt19937().seed(1)),t=[],n=[],a=1,s=1,c=1,d={},m={},w=5,_=2*3.1415,O=0,L=0,S=10,I=1,P=2,$=12,D=8,G=!1,Z=!1,j,U,Q=function(he){let ee=5,ce=t[he],Fe=n[he],ze=t.length,Oe=0,oe=ce.x-Fe.x,ae=ce.x-4-ce.width/2-Fe.x,me=ce.x+4+ce.width/2-Fe.x,xe=ce.y-(Fe.y-5),_e=ce.y-(ce.height+ee)-Fe.y,Ve=ce.y-ce.height/2-Fe.y,lt=Math.sqrt(oe*oe+xe*xe),xt=Math.sqrt(oe*oe+_e*_e),qt=Math.sqrt(ae*ae+Ve*Ve),Mt=Math.sqrt(me*me+Ve*Ve),Ht=Math.sqrt(ae*ae+_e*_e),Wt=Math.sqrt(me*me+xe*xe),ye=Math.sqrt(me*me+_e*_e),Ne=Math.sqrt(ae*ae+xe*xe),ke=!0,ge=Math.min(lt,xt,qt,Mt,Ht,Wt,ye,Ne),ct=1.5,et=8,St=15;switch(ge){case lt:Oe+=lt*S;break;case xt:Oe+=xt*S*ct;break;case qt:Oe+=qt*S*et;break;case Mt:Oe+=Mt*S*et;break;case Ht:Oe+=Ht*S*St;break;case Wt:Oe+=Wt*S*St;break;case ye:Oe+=ye*S*St;break;case Ne:Oe+=Ne*S*St;break}let ht=ce.x-ce.width/2,Ot=ce.y-(ce.height+ee),ti=ce.x+ce.width/2,kn=ce.y,Yt,Ft,cr,Jr,Te,Dt,Qr;for(let $e=0;$ea+c*Math.cos(Oe)||he[ce].x+he[ce].width/2>a+c*Math.cos(oe))&&(he[ce].ys+c&&(t[ee].y=s+c-Oe),h(t,n,ee,ce,Fe);let oe;G?oe=j(ee,t,n):oe=Q(ee);let ae=oe-ze;e.real(0,1)s+c&&(t[ee].y=s+c-_e),h(t,n,ee,ce,Fe);let Ve;G?Ve=j(ee,t,n):Ve=Q(ee);let lt=Ve-ze;e.real(0,1)1||xe<0||xe>1)},Ee=function(he,ee,ce){return he-ee/ce};return d.start=function(he){for(let ze=0;ze{u();var nu=Re(tr()),TK=0;function CK(){return TK++}function EK(e){return e*(Math.PI/180)}function xD({parentContainer:e,text:t,fontSize:n,fontFamily:a,fontWeight:s,rotation:c=0}){let d=`tempLabel-${CK()}`,w=e.append("g").attr("class","tempLabel").attr("id",d).append("text").attr("x",0).attr("y",0).attr("dy",0).attr("transform",`rotate(${c})`);w.append("tspan").attr("x",0).attr("y",0).style("font-size",`${n}px`).style("font-family",a).style("font-weight",s).style("dominant-baseline","text-before-edge").text(t);let{x:_,y:O,width:L,height:S}=w.node().getBBox(),I=L+_,P=S+O;e.selectAll(`#${d}`).remove();let $=EK(Math.abs(c)),D=Math.sin($)*I+Math.cos($)*P,G=Math.cos($)*I+Math.sin($)*P,Z=P*Math.sin($),j=-1*(P-P*Math.cos($));return{width:G,height:D,xOffset:Z,yOffset:j}}function OK(e){return e.replace(/
/g,"
").split(" ").map(nu.default.trim).filter(n=>!nu.default.isEmpty(n))}function AK({parentContainer:e,text:t,fontSize:n=12,fontFamily:a="sans-serif",fontWeight:s="normal",maxWidth:c,maxHeight:d,maxLines:m=null,rotation:w=0}={}){let _=OK(t);return yD({parentContainer:e,text:t,fontSize:n,fontFamily:a,fontWeight:s,maxWidth:c,maxHeight:d,maxLines:m,tokens:_,joinCharacter:" ",rotation:w})}function IK({parentContainer:e,text:t,fontSize:n=12,fontFamily:a="sans-serif",fontWeight:s="normal",maxWidth:c,maxHeight:d,maxLines:m=null,rotation:w=0}={}){let _=t.split("");return yD({parentContainer:e,text:t,fontSize:n,fontFamily:a,fontWeight:s,maxWidth:c,maxHeight:d,maxLines:m,tokens:_,joinCharacter:"",rotation:w})}function yD({parentContainer:e,text:t,fontSize:n=12,fontFamily:a="sans-serif",fontWeight:s="normal",maxWidth:c=null,maxHeight:d=null,maxLines:m=null,tokens:w,joinCharacter:_,rotation:O}={}){if(t.length===0)return[t];let L=[],S=[],I=0,P="...",$=null,D=()=>O===0&&S.length===0,G=le=>!nu.default.isNull(c)&&le>c,Z=le=>!nu.default.isNull(d)&&le>d,j=le=>xD({parentContainer:e,text:le,fontSize:n,fontFamily:a,fontWeight:s,rotation:O}),U=le=>j(le.join(_)),Q=le=>nu.default.isArray(le)?U(le):j(le);function h(){let le=S[S.length-1],Ie=P.length;le=`${le}${P}`;let Ee=!0;for(;Ee&&le.length>0&&le!==P;){let{width:he}=Q(le);if(Ee=G(he),!Ee)break;le=le.slice(0,le.length-(Ie+1))+P}S[S.length-1]=le}for(;$=w.shift();){if($==="
"){let{height:Ee}=Q(L);S.push(`${L.join(_)}`),I+=Ee,L=[];continue}L.push($);let{width:le,height:Ie}=Q(L);if(Z(I+Ie)&&!D())if(S.length===0){S.push(`${L.join(_)}`),h(),L=[];break}else{h(),L=[];break}if(G(le)&&L.length>1)if(m&&S.length===m-1){L.pop(),S.push(`${L.join(_)}`),h(),L=[];break}else w.unshift(L.pop()),S.push(`${L.join(_)}`),I+=Ie,L=[]}return L.length>0&&S.push(`${L.join(_)}`),S.length===0?["..."]:S}wD.exports={getLabelDimensionsUsingSvgApproximation:xD,splitIntoLinesByWord:AK,splitIntoLinesByCharacter:IK}});var Rx=T((gbe,AD)=>{u();var CD=Re(mD()),ED=Re(Jh()),xo=Re(tr()),MK="NONE",bD="BOTTOM_LEFT",Lx="BOTTOM_CENTER",Qh="BOTTOM_RIGHT",ep="TOP_LEFT",_D="TOP_CENTER",qD="TOP_RIGHT",SD="MIDDLE_LEFT",TD="MIDDLE_RIGHT",LK=({svg:e,coreLabels:t,minLabelDistance:n,fontFamily:a,fontSize:s,fontColor:c,radius:d,center:m})=>{let w=(0,xo.default)(t).cloneDeep().map(O=>{let L=O.x*d+m.x,S=-O.y*d+m.y,{width:I,height:P}=(0,ED.getLabelDimensionsUsingSvgApproximation)({parentContainer:e,text:O.name,fontSize:s,fontFamily:a});return{id:O.id,name:O.name,truncatedName:O.name,anchor:{x:L,y:S,r:2},label:{x:L,y:S,width:I,height:P},width:I,height:P}});(0,xo.default)(w).map("label").each(O=>{O.width+=n,O.height+=n}),(0,CD.default)().svg(e).cx(m.x).cy(m.y).radius(d).anchor((0,xo.default)(w).map("anchor").value()).label((0,xo.default)(w).map("label").value()).start(500),(0,xo.default)(w).map("label").each(O=>{O.width-=n,O.height-=n});let _=(0,xo.default)(w).map("anchor").value();return(0,xo.default)(w).each(O=>{O.labelLineConnector=OD(O.label,O.anchor,O.name,_)}),w},OD=(e,t,n,a)=>{let s=e.x-e.width/2,c=e.x+e.width/2,d=e.y-e.height,m=e.y,w={NONE:null,BOTTOM_LEFT:{x:s,y:e.y},BOTTOM_CENTER:{x:e.x,y:e.y},BOTTOM_RIGHT:{x:c,y:e.y},TOP_LEFT:{x:s,y:d},TOP_CENTER:{x:e.x,y:d},TOP_RIGHT:{x:c,y:d},MIDDLE_LEFT:{x:s,y:e.y-e.height/2},MIDDLE_RIGHT:{x:c,y:e.y-e.height/2}},_=10,O=t.x>s&&t.xm+_,P=t.y>m,$=t.xc,Z=t.x>c+_,j=null;if(O&&L)j=_D;else if(O&&I)j=Lx;else if(S&&$)j=ep;else if(S&&G)j=qD;else if(P&&$)j=bD;else if(P&&G)j=Qh;else if(D)j=SD;else if(Z)j=TD;else{let Q=w[ep].x-10,h=w[Qh].x+10,de=w[ep].y-10,le=w[Qh].y+10,Ie=0;for(t of Array.from(a))t.x>Q&&t.xde&&t.y1?!$&&!G&&!S&&!P?j=Lx:O&&S?j=_D:O&&P?j=Lx:$&&S?j=ep:$&&P?j=bD:G&&S?j=qD:G&&P?j=Qh:$?j=SD:G&&(j=TD):j=MK}return w[j]};AD.exports={positionLabels:LK,getLabelAnchorPoint:OD}});var Px=T((mbe,LD)=>{u();var ID=e=>({r:Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2)),a:Math.atan2(e.y,e.x),h:e.h,id:e.id}),RK=e=>{let t=[];for(let n of Array.from(e))t.push(ID(n));return t},MD=e=>({x:e.r*Math.cos(e.a),y:e.r*Math.sin(e.a),h:e.h,id:e.id}),PK=e=>e*(180/Math.PI),FK=e=>e*(Math.PI/180),DK=e=>{let t=[];for(let n of Array.from(e))t.push(MD(n));return t};LD.exports={toDegrees:PK,toRadians:FK,polarsFromCartesians:RK,polarFromCartesian:ID,cartesiansFromPolars:DK,cartesianFromPolar:MD}});var PD=T((ybe,RD)=>{u();RD.exports=(e,t)=>(e+Math.PI)/(2*Math.PI)*t});var kD=T((bbe,ND)=>{u();var tp=Re(Px()),Fx=Re(PD()),DD=Re(Jh()),aa=Re(tr()),NK=({svg:e,surfaceLabels:t,minLabelDistance:n,radialPadding:a,fontFamily:s,fontSize:c,radius:d,center:m})=>{let w=(0,aa.default)(t).cloneDeep().map(L=>{let S=L.x*d+m.x,I=-L.y*d+m.y,{width:P,height:$}=(0,DD.getLabelDimensionsUsingSvgApproximation)({parentContainer:e,text:L.name,fontSize:L.size*c,fontFamily:s});return{id:L.id,name:L.name,size:L.size,truncatedName:L.name,anchor:{x:S,y:I},label:{x:S,y:I},polarLabel:(0,tp.polarFromCartesian)({x:L.x,y:L.y,h:$+n}),width:P,height:$}}),_=(0,aa.default)(w).map("polarLabel").value();kK(_,d+a);let O=(0,tp.cartesiansFromPolars)(_);return(0,aa.default)(w).map((L,S)=>aa.default.merge(L,{label:{x:O[S].x+m.x,y:-O[S].y+m.y}})).map(L=>aa.default.omit(L,["polarLabel"])).value()};function kK(e,t){let n=t*2*Math.PI;for(let _ of Array.from(e))_.r=t;e=aa.default.sortBy(e,_=>_.a);let a=.2/360*2*Math.PI,s=FD(e,n),c=.1*n/360,d=t+.3*n/360,m="FIXED",w=500;for(;s.length>0&&w>0;){w--;for(let _ of Array.from(e))(_.collision_l||_.collision_r)&&(m==="INCREMENTAL"&&(_.r+=c),m==="FIXED"&&(_.r=d)),_.collision_l?((_.a>.5*Math.PI||_.a<-.5*Math.PI||_.a>-.5*Math.PI&&_.a<0||_.a>0&&_.a<.5*Math.PI)&&(_.a+=a),_.collision_l=!1):_.collision_r&&((_.a>.5*Math.PI||_.a<-.5*Math.PI||_.a>-.5*Math.PI&&_.a<0||_.a>0&&_.a<.5*Math.PI)&&(_.a-=a),_.collision_r=!1),s=FD(e,n)}}function FD(e,t){let a=[],s=0;for(;sO&&ww&&O<_&&(c.collision_l=!0,m.collision_r=!0,a.push([c,m]))}}}return a}ND.exports={positionLabels:NK}});var Nx=T((qbe,BD)=>{u();var Dx=class{computePreferredDimensions(){return{width:0,height:0}}buildTransform({left:t,top:n}){return`translate(${t},${n})`}draw(t){throw new Error("must be defined by subclass")}};BD.exports=Dx});var rp=T((Tbe,WD)=>{u();WD.exports=function(e,t){let n=t.e+e.x*t.a+e.y*t.c,a=t.f+e.x*t.b+e.y*t.d;return{x:n,y:a}}});var kx=T((Ebe,HD)=>{u();var UD=Re(rp());HD.exports=({label:e,plotWidth:t,plotHeight:n,plotOffsetX:a=0,plotOffsetY:s=0})=>{if(e.textContent==="")return!1;let c=e.getBBox(),d=e.getCTM(),m=(0,UD.default)(c,d);c.right=m.x+c.width,c.left=m.x,c.top=m.y,c.bottom=m.y+c.height;let w=c.leftt+a,O=c.topn+s;return w||_||O||L}});var XD=T((Ibe,GD)=>{u();var Oi=Re(tr());mf();af();var $D=Re(Rx()),zD=Re(rp()),jD=Re(kx()),Bx=class{constructor({parentContainer:t,fontFamily:n,fontSize:a,fontColor:s,fontSelectedColor:c,linkWidth:d,linkColor:m,getLabels:w,moveLabel:_,center:O,radius:L,plotWidth:S,plotHeight:I,plotOffsetX:P,plotOffsetY:$}){Oi.default.assign(this,{parentContainer:t,fontFamily:n,fontSize:a,fontColor:s,fontSelectedColor:c,linkWidth:d,linkColor:m,getLabels:w,moveLabel:_,center:O,radius:L,plotWidth:S,plotHeight:I,plotOffsetX:P,plotOffsetY:$})}draw(){this.parentContainer.selectAll(".core-anchor").data(this.getLabels()).enter().append("circle").attr("stroke-width",3).attr("class","core-anchor").attr("fill","black").attr("data-id",t=>t.id).attr("data-label",t=>t.name).attr("cx",t=>t.anchor.x).attr("cy",t=>t.anchor.y).attr("r",t=>t.anchor.r),this.parentContainer.selectAll(".core-link").data(this.getLabels()).enter().append("line").attr("x1",t=>t.anchor.x).attr("y1",t=>t.anchor.y).attr("x2",t=>Oi.default.get(t,"labelLineConnector.x",t.anchor.x)).attr("y2",t=>Oi.default.get(t,"labelLineConnector.y",t.anchor.y)).attr("data-id",t=>t.id).attr("data-label",t=>t.name).attr("class","core-link").attr("stroke-width",this.linkWidth).attr("stroke",this.linkColor).attr("opacity",t=>Oi.default.isNull(t.labelLineConnector)?0:1),this.parentContainer.selectAll(".core-label").data(this.getLabels()).enter().append("text").style("fill",this.fontColor).attr("class","core-label").attr("x",t=>t.label.x).attr("y",t=>t.label.y).attr("data-id",t=>t.id).attr("data-label",t=>t.name).attr("cursor","all-scroll").attr("text-anchor","middle").style("font-family",this.fontFamily).style("font-size",this.fontSize+"px").text(t=>t.name).call(this.setupDrag()),this.getLabels().forEach(({id:t})=>this.adjustLabelLength(t))}adjustLabelLength(t){let n=this.parentContainer.select(`.core-label[data-id='${t}']`).node();st(n).text(st(n).data()[0].name);let a=st(n).node().textContent,s=!1,{plotWidth:c,plotHeight:d,plotOffsetX:m,plotOffsetY:w}=this;for(;(0,jD.default)({label:n,plotWidth:c,plotHeight:d,plotOffsetX:m,plotOffsetY:w})&&a.length>0;)s=!0,a=st(n).node().textContent,st(n).text(a.slice(0,-1));s&&(a=st(n).node().textContent,st(n).text(a.slice(0,-3)+"...").append("title").text(_=>_.name))}setupDrag(){let{fontColor:t,fontSelectedColor:n,getLabels:a,moveLabel:s,parentContainer:c,plotWidth:d,plotHeight:m,plotOffsetX:w,plotOffsetY:_}=this,O=this.adjustLabelLength.bind(this),L={x:0,y:0},S={right:0,left:0,top:0,bottom:0},I=G=>{let Z=G.x-S.left,j=d-(G.x+S.right),U=G.y-S.top,Q=m-(G.y+S.bottom),h={x:G.x-L.x,y:G.y-L.y};return Z<0&&(h.x+=Math.abs(Z)),j<0&&(h.x-=Math.abs(j)),U<0&&(h.y+=Math.abs(U)),Q<0&&(h.y-=Math.abs(Q)),h},P=function(G,Z){c.selectAll(`.core-link[data-id='${Z.id}']`).attr("opacity",0),st(this).style("fill",n);let U=st(this).node(),Q=U.getBBox(),h=U.getCTM(),de=(0,zD.default)(Q,h);S.left=w+G.x-de.x,S.right=Q.width-S.left,S.top=_+G.y-de.y,S.bottom=Q.height-S.top,L.x=w+G.x-(de.x+Q.width/2),L.y=_+G.y-(de.y+Q.height/2)},$=function(G,Z){let j=I({x:G.x,y:G.y});st(this).attr("x",j.x).attr("y",j.y).attr("cursor","all-scroll"),Z.label.x=j.x,Z.label.y=j.y},D=function(G,Z){st(this).style("fill",t);let j=(0,Oi.default)(a()).map("anchor").value(),U=(0,$D.getLabelAnchorPoint)(Z.label,Z.anchor,Z.name,j);Z.labelLineConnector=U,c.selectAll(`.core-link[data-id='${Z.id}']`).attr("x2",Oi.default.get(Z,"labelLineConnector.x",Z.anchor.x)).attr("y2",Oi.default.get(Z,"labelLineConnector.y",Z.anchor.y)).attr("opacity",Oi.default.isNull(Z.labelLineConnector)?0:1),O(Z.id),s(Z.id,Z.label)};return Jo().on("start",P).on("drag",$).on("end",D)}};GD.exports=Bx});var eN=T((Lbe,QD)=>{u();mf();var VD=Re(Px()),KD=Re(tr()),ZD=Re(rp()),JD=Re(kx()),Wx=class{constructor({parentContainer:t,fontFamily:n,fontSize:a,fontColor:s,fontSelectedColor:c,linkWidth:d,linkColor:m,center:w,plotWidth:_,plotHeight:O,getLabels:L,moveLabel:S,plotOffsetX:I,plotOffsetY:P}){KD.default.assign(this,{parentContainer:t,fontFamily:n,fontSize:a,fontColor:s,fontSelectedColor:c,linkWidth:d,linkColor:m,center:w,plotWidth:_,plotHeight:O,getLabels:L,moveLabel:S,plotOffsetX:I,plotOffsetY:P})}draw(){this.parentContainer.selectAll(".surface-link").data(this.getLabels()).enter().append("line").attr("x1",t=>t.anchor.x).attr("y1",t=>t.anchor.y).attr("x2",t=>t.label.x).attr("y2",t=>t.label.y).attr("data-id",t=>t.id).attr("data-label",t=>t.name).attr("class","surface-link").attr("stroke-width",this.linkWidth).attr("stroke",this.linkColor),this.parentContainer.selectAll(".surface-label").data(this.getLabels()).enter().append("text").style("fill",this.fontColor).attr("class","surface-label").attr("data-id",t=>t.id).attr("data-label",t=>t.name).attr("x",t=>t.label.x).attr("y",t=>t.label.y).attr("transform",t=>YD({circleCenter:this.center,rotationCenter:t.label})).attr("font-size",t=>(t.size*this.fontSize).toString()+"px").style("font-family",this.fontFamily).attr("text-anchor",t=>t.label.xt.name).call(this.setupDrag()),this.getLabels().forEach(({id:t})=>this.adjustLabelLength(t))}adjustLabelLength(t){let n=this.parentContainer.select(`.surface-label[data-id='${t}']`).node();st(n).text(st(n).data()[0].name);let a=st(n).node().textContent,s=!1,{plotWidth:c,plotHeight:d,plotOffsetX:m,plotOffsetY:w}=this;for(;(0,JD.default)({label:n,plotWidth:c,plotHeight:d,plotOffsetX:m,plotOffsetY:w})&&a.length>0;)s=!0,a=st(n).node().textContent,st(n).text(a.slice(0,-1));s&&(a=st(n).node().textContent,st(n).text(a.slice(0,-3)+"...").append("title").text(_=>_.name))}setupDrag(){let{fontColor:t,fontSelectedColor:n,moveLabel:a,parentContainer:s,plotWidth:c,plotHeight:d,plotOffsetX:m,plotOffsetY:w,center:_}=this,O={left:m,top:w,right:m+c,bottom:w+d},L=this.adjustLabelLength.bind(this),S=function($,D){s.selectAll(`.surface-link[data-id='${D.id}']`).attr("opacity",0),st(this).style("fill",n)},I=function($,D){let G=$.x>=O.left&&$.x<=O.right,Z=$.y>=O.top&&$.y<=O.bottom,j=st(this),U=j.node(),Q=U.getBBox(),h=U.getCTM(),de=(0,ZD.default)(Q,h),le=D.label.x<_.x?{x:de.x,y:de.y}:{x:de.x+Q.width*1.1*h.a+Q.height*1.1*h.c,y:de.y+Q.width*1.1*h.b+Q.height*1.1*h.d},Ie=le.x-O.left,Ee=O.right-le.x,he=le.y-O.top,ee=O.bottom-le.y;G&&Ie>0&&Ee>0&&(D.label.x=$.x),Z&&he>0&&ee>0&&(D.label.y=$.y),Ee<=0&&(D.label.x=Math.min(D.label.x,$.x)),Ie<=0&&(D.label.x=Math.max(D.label.x,$.x)),he<=0&&(D.label.y=Math.max(D.label.y,$.y)),ee<=0&&(D.label.y=Math.min(D.label.y,$.y)),j.attr("x",D.label.x).attr("y",D.label.y).attr("transform",ce=>YD({circleCenter:_,rotationCenter:ce.label})).attr("text-anchor",ce=>ce.label.x<_.x?"end":"start").attr("cursor","all-scroll")},P=function($,D){st(this).style("fill",t),s.selectAll(`.surface-link[data-id='${D.id}']`).attr("x2",G=>G.label.x).attr("y2",G=>G.label.y).attr("opacity",1),L(D.id),a(D.id,D.label)};return Jo().on("start",S).on("drag",I).on("end",P)}};QD.exports=Wx;var YD=({circleCenter:e,rotationCenter:t})=>{let n=m=>m>=0,a=t.x-e.x,s=t.y-e.y,c=a!==0?(0,VD.toDegrees)(Math.atan(Math.abs(s)/Math.abs(a))):90,d=null;return n(s)&&n(a)&&(d=c),!n(s)&&n(a)&&(d=-c),n(s)&&!n(a)&&(d=-c),!n(s)&&!n(a)&&(d=c),`rotate(${d} ${t.x} ${t.y})`}});var rN=T((Pbe,tN)=>{u();tN.exports=(e,t,n)=>Math.max(e,Math.min(n,t))});var aN=T((Dbe,oN)=>{u();var nN=Re(tr());mf();var Ux=Re(Ex()),iN=Re(rN()),Hx=class{constructor({parentContainer:t,circleColor:n,crossColor:a,circleStrokeWidth:s,circleDragAreaWidth:c,center:d,radius:m,plotWidth:w,plotHeight:_,circleRadiusChanged:O}){nN.default.assign(this,{parentContainer:t,circleColor:n,crossColor:a,circleStrokeWidth:s,circleDragAreaWidth:c,center:d,radius:m,plotWidth:w,plotHeight:_,circleRadiusChanged:O}),this.applyRadiusConstraints=this.applyRadiusConstraints.bind(this)}draw(){let{center:a,radius:s,crossColor:c,circleColor:d,circleDragAreaWidth:m,circleStrokeWidth:w}=this,_=this.parentContainer.append("g");_.append("line").attr("class","core-cross").attr("x1",a.x-6).attr("y1",a.y).attr("x2",a.x+6).attr("y2",a.y).attr("stroke-width",1).attr("stroke",c),_.append("line").attr("class","core-cross").attr("x1",a.x).attr("y1",a.y-6).attr("x2",a.x).attr("y2",a.y+6).attr("stroke-width",1).attr("stroke",c),this.parentContainer.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",s).attr("class","moon-circle").attr("stroke-width",w).style("fill","none").style("stroke",d),this.parentContainer.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",s).attr("stroke-width",m).attr("class","drag-circle").attr("cursor","all-scroll").style("fill","none").style("stroke","transparent").call(this.setupDrag())}applyRadiusConstraints(t){let n=Math.min(this.plotWidth,this.plotHeight),a=n/20,s=n/2-this.circleStrokeWidth;return(0,iN.default)(a,t,s)}setupDrag(){let{parentContainer:t,center:n,applyRadiusConstraints:a,circleRadiusChanged:s}=this,c=function(w){let[_,O]=Ko(w,this),L=a((0,Ux.default)(n.x-_,n.y-O));t.select(".drag-circle").attr("r",L),t.select(".moon-circle").attr("r",L)},d=function(){t.selectAll(".core-link").remove(),t.selectAll(".core-label").remove(),t.selectAll(".core-anchor").remove(),t.selectAll(".surface-link").remove(),t.selectAll(".surface-label").remove()},m=function(w){let[_,O]=Ko(w,this),L=a((0,Ux.default)(n.x-_,n.y-O));s(L)};return Jo().on("start",d).on("drag",c).on("end",m)}};oN.exports=Hx});var pN=T((kbe,hN)=>{u();var uN=Re(tr()),sN=Re(Nx()),fN=Re(XD()),lN=Re(eN()),cN=Re(aN()),BK=!1,$x=class extends sN.default{constructor({plotState:t,config:n,parentContainer:a}){super(),uN.default.assign(this,{plotState:t,config:n,parentContainer:a})}draw(t){this.element=this.parentContainer.append("g").attr("class","plot").attr("transform",this.buildTransform(t)),BK&&this.element.append("rect").style("stroke","black").style("fill","none").attr("x",0).attr("y",0).attr("width",t.width).attr("height",t.height);let n={x:t.width/2,y:t.height/2},a=this.plotState.getCircleRadius(),{plotState:s,config:c,element:d}=this;this.coreLabels=new fN.default({parentContainer:d,fontFamily:c.coreLabelFontFamily,fontSize:c.coreLabelFontSize,fontColor:c.coreLabelFontColor,fontSelectedColor:c.coreLabelFontSelectedColor,linkWidth:c.linkWidth,linkColor:c.linkColor,center:n,radius:a,plotWidth:t.width,plotHeight:t.height,plotOffsetX:t.left,plotOffsetY:t.top,getLabels:s.getCoreLabels,moveLabel:s.moveCoreLabel}),this.surfaceLabels=new lN.default({parentContainer:d,fontFamily:c.surfaceLabelFontFamily,fontSize:c.surfaceLabelFontBaseSize,fontColor:c.surfaceLabelFontColor,fontSelectedColor:c.surfaceLabelFontSelectedColor,linkWidth:c.linkWidth,linkColor:c.linkColor,center:n,plotWidth:t.width,plotHeight:t.height,plotOffsetX:t.left,plotOffsetY:t.top,getLabels:s.getSurfaceLabels,moveLabel:s.moveSurfaceLabel}),this.circle=new cN.default({parentContainer:d,circleColor:c.circleColor,crossColor:c.crossColor,circleStrokeWidth:c.circleStrokeWidth,circleDragAreaWidth:c.circleDragAreaWidth,center:n,radius:a,plotWidth:t.width,plotHeight:t.height,circleRadiusChanged:s.circleRadiusChanged}),this.circle.draw(),this.coreLabels.draw(),this.surfaceLabels.draw()}};hN.exports=$x});var vN=T((Wbe,gN)=>{u();var dN=Re(Nx()),np=Re(tr()),wf=Re(Jh()),zx=class extends dN.default{constructor({parentContainer:t,text:n,fontSize:a,fontFamily:s,fontColor:c,bold:d=!1,maxWidth:m,maxHeight:w,maxLines:_,innerPadding:O}){super(),np.default.assign(this,{parentContainer:t,text:n,fontSize:a,fontFamily:s,fontColor:c,bold:d,maxWidth:m,maxHeight:w,maxLines:_,innerPadding:O})}computePreferredDimensions(){let t=(0,wf.splitIntoLinesByWord)({parentContainer:this.parentContainer,text:this.text,maxWidth:this.maxWidth,maxHeight:this.maxHeight,maxLines:this.maxLines,fontSize:this.fontSize,fontFamily:this.fontFamily,fontWeight:this.bold?"bold":"normal"}),n=t.map(a=>(0,wf.getLabelDimensionsUsingSvgApproximation)({text:a,parentContainer:this.parentContainer,fontSize:this.fontSize,fontFamily:this.fontFamily,fontWeight:this.bold?"bold":"normal"}));return{width:0,height:(0,np.default)(n).map("height").sum()+(t.length-1)*this.innerPadding}}draw(t){let n=this.parentContainer.append("g").classed("title",!0).attr("transform",this.buildTransform(t)),a=(0,wf.splitIntoLinesByWord)({parentContainer:this.parentContainer,text:this.text,maxWidth:t.width,maxHeight:t.height,maxLines:this.maxLines,fontSize:this.fontSize,fontFamily:this.fontFamily,fontWeight:this.bold?"bold":"normal"}),s=n.append("text").attr("transform",`translate(${t.width/2}, 0)`).attr("x",0).attr("y",0).attr("dy",0).style("text-anchor","middle").style("font-weight",this.bold?"bold":"normal").style("font-size",this.fontSize+"px").style("fill",this.fontColor).style("font-family",this.fontFamily);(0,np.default)(a).each((c,d)=>{s.append("tspan").style("dominant-baseline","text-before-edge").attr("x",0).attr("y",d*(this.fontSize+this.innerPadding)).text(c)})}};gN.exports=zx});var yN=T((Hbe,xN)=>{u();var mN=Re(tr()),jx=class{constructor({parentContainer:t,fontFamily:n,plotWidth:a,plotHeight:s,onReset:c}){mN.default.assign(this,{parentContainer:t,fontFamily:n,plotWidth:a,plotHeight:s,onReset:c})}draw(){let t=this.parentContainer.append("text").attr("class","plot-reset-button").attr("font-family",this.fontFamily).attr("fill","#5B9BD5").attr("font-size",10).attr("font-weight","normal").style("opacity",0).style("cursor","pointer").text("Reset").on("click",()=>this.onReset());this.parentContainer.on("mouseover",()=>{t.style("opacity",1)}).on("mouseout",()=>t.style("opacity",0));let n=t.node().getBBox();t.attr("x",this.plotWidth-n.width-5).attr("y",this.plotHeight-n.height)}};xN.exports=jx});var AN=T((zbe,ON)=>{u();var lr=Re(tr());mf();var _N=Re(rD()),qN=Re(oD()),Gx=Re(sD()),at=Re(pD()),SN=Re(Rx()),TN=Re(kD()),CN=Re(pN()),ip=Re(vN()),EN=Re(yN()),wN=["coreLabelFontSize","surfaceLabelFontSize","surfaceLabelMinimumLabelDistance","surfaceLabelRadialPadding","surfaceLabelFontBaseSize","surfaceLabelRadialPadding"],bN=["coreNodes","surfaceNodes","coreLabels","surfaceLabels"],op=class e{static initClass(){this.widgetIndex=0,this.widgetName="moonPlot"}constructor(t){this.rootElement=t,this.registeredStateListeners=[],this.id=`${e.widgetName}-${e.widgetIndex++}`;let{width:n,height:a}=this.containerDimensions();this.svg=st(this.rootElement).append("svg").attr("id",this.id).attr("class","svgContent").attr("width",n).attr("height",a),this.init()}containerDimensions(){let t=lr.default.has(this.rootElement,"length")?this.rootElement[0]:this.rootElement;try{return t.getBoundingClientRect()}catch(n){throw n.message=`fail in this.containerDimensions: ${n.message}`,n}}init(){this.plotState=new _N.default,this.plotState.setPlotReference(this),this.config=null,this.inputData=null}reset(){this.registeredStateListeners.forEach(t=>t()),this.init()}clearPlot(){this.svg.selectAll("*").remove()}setConfig(t){this.config=(0,qN.default)(lr.default.omit(t,bN)),this.inputData=lr.default.pick(t,bN),this.initialiseComponents()}static defaultState(){return lr.default.cloneDeep({version:1,sourceData:{coreLabels:[],surfaceLabels:[]},plot:{coreLabels:[],surfaceLabels:[]},plotSize:{width:null,height:null},circleRadius:null})}addStateListener(t){this.registeredStateListeners.push(this.plotState.addListener(t))}setState(t){this.checkState(t)?this.plotState.initialiseState(t):this.resetState()}checkState(t){let n=(0,lr.default)(wN).every(O=>lr.default.get(t,`configInvariants.${O}`)===this.config[O]),{width:a,height:s}=this.containerDimensions(),c=this.layout.getCellBounds(at.CellNames.PLOT),d={x:c.left+c.width/2,y:c.top+c.height/2},{coreLabels:m,surfaceLabels:w}=(0,Gx.default)(this.inputData);return!lr.default.isEmpty(t)&&t.version===1&&Math.abs(t.plotSize.width-a)<2&&Math.abs(t.plotSize.height-s)<2&&lr.default.isEqual(t.sourceData,{coreLabels:m,surfaceLabels:w})&&lr.default.isEqual(t.center,d)&&lr.default.has(t,"circleRadius")&&n}resetState(t){let n=this.layout.getCellBounds(at.CellNames.PLOT),a=this.containerDimensions(),s=t||Math.min(n.width,n.height)/3,c={x:n.left+n.width/2,y:n.top+n.height/2},d={x:n.width/2,y:n.height/2},m=(0,Gx.default)(this.inputData),w=SN.default.positionLabels({svg:this.svg,coreLabels:m.coreLabels,minLabelDistance:this.config.coreLabelMinimumLabelDistance,fontFamily:this.config.coreLabelFontFamily,fontSize:this.config.coreLabelFontSize,radius:s,center:d}),_=TN.default.positionLabels({svg:this.svg,surfaceLabels:m.surfaceLabels,minLabelDistance:this.config.surfaceLabelMinimumLabelDistance,radialPadding:this.config.surfaceLabelRadialPadding,fontFamily:this.config.surfaceLabelFontFamily,fontSize:this.config.surfaceLabelFontBaseSize,radius:s,center:d});this.plotState.setState(lr.default.merge({},e.defaultState(),{version:1,sourceData:m,plot:{coreLabels:w,surfaceLabels:_},plotSize:{width:a.width,height:a.height},circleRadius:s,center:c,configInvariants:lr.default.pick(this.config,wN)}))}draw(){this.rootElement.setAttribute("rhtmlwidget-status","loading"),this.clearPlot();let{width:t,height:n}=this.containerDimensions();this.svg.attr("width",t).attr("height",n),this.layout.enabled(at.CellNames.TITLE)&&this.components[at.CellNames.TITLE].draw(this.layout.getCellBounds(at.CellNames.TITLE)),this.layout.enabled(at.CellNames.SUBTITLE)&&this.components[at.CellNames.SUBTITLE].draw(this.layout.getCellBounds(at.CellNames.SUBTITLE)),this.layout.enabled(at.CellNames.FOOTER)&&this.components[at.CellNames.FOOTER].draw(this.layout.getCellBounds(at.CellNames.FOOTER)),this.components[at.CellNames.PLOT].draw(this.layout.getCellBounds(at.CellNames.PLOT)),this.components[at.CellNames.RESET].draw(),this.rootElement.setAttribute("rhtmlwidget-status","ready")}initialiseComponents(){this.components={};let t=5,n=0,{width:a,height:s}=this.containerDimensions();if(this.layout=new at.Layout(a,s,t,n),this.components[at.CellNames.PLOT]=new CN.default({parentContainer:this.svg,config:this.config,plotState:this.plotState}),this.layout.enable(at.CellNames.PLOT),this.layout.setFillCell(at.CellNames.PLOT),!lr.default.isEmpty(this.config.title)){this.components[at.CellNames.TITLE]=new ip.default({parentContainer:this.svg,text:this.config.title,fontColor:this.config.titleFontColor,fontSize:this.config.titleFontSize,fontFamily:this.config.titleFontFamily,maxWidth:a,maxHeight:s/4,bold:!1,innerPadding:2});let c=this.components[at.CellNames.TITLE].computePreferredDimensions();this.layout.enable(at.CellNames.TITLE),this.layout.setPreferredDimensions(at.CellNames.TITLE,c)}if(!lr.default.isEmpty(this.config.subtitle)){this.components[at.CellNames.SUBTITLE]=new ip.default({parentContainer:this.svg,text:this.config.subtitle,fontColor:this.config.subtitleFontColor,fontSize:this.config.subtitleFontSize,fontFamily:this.config.subtitleFontFamily,maxWidth:a,maxHeight:s/4,bold:!1,innerPadding:2});let c=this.components[at.CellNames.SUBTITLE].computePreferredDimensions();this.layout.enable(at.CellNames.SUBTITLE),this.layout.setPreferredDimensions(at.CellNames.SUBTITLE,c)}if(!lr.default.isEmpty(this.config.footer)){this.components[at.CellNames.FOOTER]=new ip.default({parentContainer:this.svg,text:this.config.footer,fontColor:this.config.footerFontColor,fontSize:this.config.footerFontSize,fontFamily:this.config.footerFontFamily,maxWidth:a,maxHeight:s/4,bold:!1,innerPadding:2});let c=this.components[at.CellNames.FOOTER].computePreferredDimensions();this.layout.enable(at.CellNames.FOOTER),this.layout.setPreferredDimensions(at.CellNames.FOOTER,c)}this.components[at.CellNames.RESET]=new EN.default({parentContainer:this.svg,fontFamily:this.config.titleFontFamily,plotWidth:a,plotHeight:s,onReset:()=>{this.resetState(),this.draw()}}),this.layout.allComponentsRegistered()}};op.initClass();ON.exports=op});var MN=T((IN,ap)=>{u();(function(e,t){"use strict";typeof ap=="object"&&typeof ap.exports=="object"?ap.exports=e.document?t(e,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(e)})(typeof window!="undefined"?window:IN,function(e,t){"use strict";var n=[],a=Object.getPrototypeOf,s=n.slice,c=n.flat?function(o){return n.flat.call(o)}:function(o){return n.concat.apply([],o)},d=n.push,m=n.indexOf,w={},_=w.toString,O=w.hasOwnProperty,L=O.toString,S=L.call(Object),I={},P=function(l){return typeof l=="function"&&typeof l.nodeType!="number"&&typeof l.item!="function"},$=function(l){return l!=null&&l===l.window},D=e.document,G={type:!0,src:!0,nonce:!0,noModule:!0};function Z(o,l,p){p=p||D;var v,x,y=p.createElement("script");if(y.text=o,l)for(v in G)x=l[v]||l.getAttribute&&l.getAttribute(v),x&&y.setAttribute(v,x);p.head.appendChild(y).parentNode.removeChild(y)}function j(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?w[_.call(o)]||"object":typeof o}var U="3.7.1",Q=/HTML$/i,h=function(o,l){return new h.fn.init(o,l)};h.fn=h.prototype={jquery:U,constructor:h,length:0,toArray:function(){return s.call(this)},get:function(o){return o==null?s.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var l=h.merge(this.constructor(),o);return l.prevObject=this,l},each:function(o){return h.each(this,o)},map:function(o){return this.pushStack(h.map(this,function(l,p){return o.call(l,p,l)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(o,l){return(l+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(o,l){return l%2}))},eq:function(o){var l=this.length,p=+o+(o<0?l:0);return this.pushStack(p>=0&&p0&&l-1 in o}function le(o,l){return o.nodeName&&o.nodeName.toLowerCase()===l.toLowerCase()}var Ie=n.pop,Ee=n.sort,he=n.splice,ee="[\\x20\\t\\r\\n\\f]",ce=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g");h.contains=function(o,l){var p=l&&l.parentNode;return o===p||!!(p&&p.nodeType===1&&(o.contains?o.contains(p):o.compareDocumentPosition&&o.compareDocumentPosition(p)&16))};var Fe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ze(o,l){return l?o==="\0"?"\uFFFD":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}h.escapeSelector=function(o){return(o+"").replace(Fe,ze)};var Oe=D,oe=d;(function(){var o,l,p,v,x,y=oe,q,N,R,z,te,ne=h.expando,V=0,ve=0,qe=Co(),Ue=Co(),We=Co(),$t=Co(),At=function(M,H){return M===H&&(x=!0),0},en="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",tn="(?:\\\\[\\da-fA-F]{1,6}"+ee+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Je="\\["+ee+"*("+tn+")(?:"+ee+"*([*^$|!~]?=)"+ee+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+tn+"))|)"+ee+"*\\]",$n=":("+tn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Je+")*)|.*)\\)|)",Qe=new RegExp(ee+"+","g"),vt=new RegExp("^"+ee+"*,"+ee+"*"),qo=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),va=new RegExp(ee+"|>"),Nr=new RegExp($n),ai=new RegExp("^"+tn+"$"),_r={ID:new RegExp("^#("+tn+")"),CLASS:new RegExp("^\\.("+tn+")"),TAG:new RegExp("^("+tn+"|[*])"),ATTR:new RegExp("^"+Je),PSEUDO:new RegExp("^"+$n),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+en+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},bn=/^(?:input|select|textarea|button)$/i,zn=/^h\d$/i,ir=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,So=/[+~]/,_n=new RegExp("\\\\[\\da-fA-F]{1,6}"+ee+"?|\\\\([^\\r\\n\\f])","g"),rn=function(M,H){var Y="0x"+M.slice(1)-65536;return H||(Y<0?String.fromCharCode(Y+65536):String.fromCharCode(Y>>10|55296,Y&1023|56320))},hr=function(){jn()},qu=ui(function(M){return M.disabled===!0&&le(M,"fieldset")},{dir:"parentNode",next:"legend"});function To(){try{return q.activeElement}catch(M){}}try{y.apply(n=s.call(Oe.childNodes),Oe.childNodes),n[Oe.childNodes.length].nodeType}catch(M){y={apply:function(H,Y){oe.apply(H,s.call(Y))},call:function(H){oe.apply(H,s.call(arguments,1))}}}function ut(M,H,Y,J){var A,B,k,ie,ue,Se,Ce,be=H&&H.ownerDocument,je=H?H.nodeType:9;if(Y=Y||[],typeof M!="string"||!M||je!==1&&je!==9&&je!==11)return Y;if(!J&&(jn(H),H=H||q,R)){if(je!==11&&(ue=ir.exec(M)))if(A=ue[1]){if(je===9)if(k=H.getElementById(A)){if(k.id===A)return y.call(Y,k),Y}else return Y;else if(be&&(k=be.getElementById(A))&&ut.contains(H,k)&&k.id===A)return y.call(Y,k),Y}else{if(ue[2])return y.apply(Y,H.getElementsByTagName(M)),Y;if((A=ue[3])&&H.getElementsByClassName)return y.apply(Y,H.getElementsByClassName(A)),Y}if(!$t[M+" "]&&(!z||!z.test(M))){if(Ce=M,be=H,je===1&&(va.test(M)||qo.test(M))){for(be=So.test(M)&&Su(H.parentNode)||H,(be!=H||!I.scope)&&((ie=H.getAttribute("id"))?ie=h.escapeSelector(ie):H.setAttribute("id",ie=ne)),Se=Bi(M),B=Se.length;B--;)Se[B]=(ie?"#"+ie:":scope")+" "+Br(Se[B]);Ce=Se.join(",")}try{return y.apply(Y,be.querySelectorAll(Ce)),Y}catch(Me){$t(M,!0)}finally{ie===ne&&H.removeAttribute("id")}}}return Jf(M.replace(ce,"$1"),H,Y,J)}function Co(){var M=[];function H(Y,J){return M.push(Y+" ")>l.cacheLength&&delete H[M.shift()],H[Y+" "]=J}return H}function kr(M){return M[ne]=!0,M}function ki(M){var H=q.createElement("fieldset");try{return!!M(H)}catch(Y){return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function Cp(M){return function(H){return le(H,"input")&&H.type===M}}function Ep(M){return function(H){return(le(H,"input")||le(H,"button"))&&H.type===M}}function Kf(M){return function(H){return"form"in H?H.parentNode&&H.disabled===!1?"label"in H?"label"in H.parentNode?H.parentNode.disabled===M:H.disabled===M:H.isDisabled===M||H.isDisabled!==!M&&qu(H)===M:H.disabled===M:"label"in H?H.disabled===M:!1}}function qr(M){return kr(function(H){return H=+H,kr(function(Y,J){for(var A,B=M([],Y.length,H),k=B.length;k--;)Y[A=B[k]]&&(Y[A]=!(J[A]=Y[A]))})})}function Su(M){return M&&typeof M.getElementsByTagName!="undefined"&&M}function jn(M){var H,Y=M?M.ownerDocument||M:Oe;return Y==q||Y.nodeType!==9||!Y.documentElement||(q=Y,N=q.documentElement,R=!h.isXMLDoc(q),te=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&Oe!=q&&(H=q.defaultView)&&H.top!==H&&H.addEventListener("unload",hr),I.getById=ki(function(J){return N.appendChild(J).id=h.expando,!q.getElementsByName||!q.getElementsByName(h.expando).length}),I.disconnectedMatch=ki(function(J){return te.call(J,"*")}),I.scope=ki(function(){return q.querySelectorAll(":scope")}),I.cssHas=ki(function(){try{return q.querySelector(":has(*,:jqfake)"),!1}catch(J){return!0}}),I.getById?(l.filter.ID=function(J){var A=J.replace(_n,rn);return function(B){return B.getAttribute("id")===A}},l.find.ID=function(J,A){if(typeof A.getElementById!="undefined"&&R){var B=A.getElementById(J);return B?[B]:[]}}):(l.filter.ID=function(J){var A=J.replace(_n,rn);return function(B){var k=typeof B.getAttributeNode!="undefined"&&B.getAttributeNode("id");return k&&k.value===A}},l.find.ID=function(J,A){if(typeof A.getElementById!="undefined"&&R){var B,k,ie,ue=A.getElementById(J);if(ue){if(B=ue.getAttributeNode("id"),B&&B.value===J)return[ue];for(ie=A.getElementsByName(J),k=0;ue=ie[k++];)if(B=ue.getAttributeNode("id"),B&&B.value===J)return[ue]}return[]}}),l.find.TAG=function(J,A){return typeof A.getElementsByTagName!="undefined"?A.getElementsByTagName(J):A.querySelectorAll(J)},l.find.CLASS=function(J,A){if(typeof A.getElementsByClassName!="undefined"&&R)return A.getElementsByClassName(J)},z=[],ki(function(J){var A;N.appendChild(J).innerHTML="
",J.querySelectorAll("[selected]").length||z.push("\\["+ee+"*(?:value|"+en+")"),J.querySelectorAll("[id~="+ne+"-]").length||z.push("~="),J.querySelectorAll("a#"+ne+"+*").length||z.push(".#.+[+~]"),J.querySelectorAll(":checked").length||z.push(":checked"),A=q.createElement("input"),A.setAttribute("type","hidden"),J.appendChild(A).setAttribute("name","D"),N.appendChild(J).disabled=!0,J.querySelectorAll(":disabled").length!==2&&z.push(":enabled",":disabled"),A=q.createElement("input"),A.setAttribute("name",""),J.appendChild(A),J.querySelectorAll("[name='']").length||z.push("\\["+ee+"*name"+ee+"*="+ee+`*(?:''|"")`)}),I.cssHas||z.push(":has"),z=z.length&&new RegExp(z.join("|")),At=function(J,A){if(J===A)return x=!0,0;var B=!J.compareDocumentPosition-!A.compareDocumentPosition;return B||(B=(J.ownerDocument||J)==(A.ownerDocument||A)?J.compareDocumentPosition(A):1,B&1||!I.sortDetached&&A.compareDocumentPosition(J)===B?J===q||J.ownerDocument==Oe&&ut.contains(Oe,J)?-1:A===q||A.ownerDocument==Oe&&ut.contains(Oe,A)?1:v?m.call(v,J)-m.call(v,A):0:B&4?-1:1)}),q}ut.matches=function(M,H){return ut(M,null,null,H)},ut.matchesSelector=function(M,H){if(jn(M),R&&!$t[H+" "]&&(!z||!z.test(H)))try{var Y=te.call(M,H);if(Y||I.disconnectedMatch||M.document&&M.document.nodeType!==11)return Y}catch(J){$t(H,!0)}return ut(H,q,null,[M]).length>0},ut.contains=function(M,H){return(M.ownerDocument||M)!=q&&jn(M),h.contains(M,H)},ut.attr=function(M,H){(M.ownerDocument||M)!=q&&jn(M);var Y=l.attrHandle[H.toLowerCase()],J=Y&&O.call(l.attrHandle,H.toLowerCase())?Y(M,H,!R):void 0;return J!==void 0?J:M.getAttribute(H)},ut.error=function(M){throw new Error("Syntax error, unrecognized expression: "+M)},h.uniqueSort=function(M){var H,Y=[],J=0,A=0;if(x=!I.sortStable,v=!I.sortStable&&s.call(M,0),Ee.call(M,At),x){for(;H=M[A++];)H===M[A]&&(J=Y.push(A));for(;J--;)he.call(M,Y[J],1)}return v=null,M},h.fn.uniqueSort=function(){return this.pushStack(h.uniqueSort(s.apply(this)))},l=h.expr={cacheLength:50,createPseudo:kr,match:_r,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(M){return M[1]=M[1].replace(_n,rn),M[3]=(M[3]||M[4]||M[5]||"").replace(_n,rn),M[2]==="~="&&(M[3]=" "+M[3]+" "),M.slice(0,4)},CHILD:function(M){return M[1]=M[1].toLowerCase(),M[1].slice(0,3)==="nth"?(M[3]||ut.error(M[0]),M[4]=+(M[4]?M[5]+(M[6]||1):2*(M[3]==="even"||M[3]==="odd")),M[5]=+(M[7]+M[8]||M[3]==="odd")):M[3]&&ut.error(M[0]),M},PSEUDO:function(M){var H,Y=!M[6]&&M[2];return _r.CHILD.test(M[0])?null:(M[3]?M[2]=M[4]||M[5]||"":Y&&Nr.test(Y)&&(H=Bi(Y,!0))&&(H=Y.indexOf(")",Y.length-H)-Y.length)&&(M[0]=M[0].slice(0,H),M[2]=Y.slice(0,H)),M.slice(0,3))}},filter:{TAG:function(M){var H=M.replace(_n,rn).toLowerCase();return M==="*"?function(){return!0}:function(Y){return le(Y,H)}},CLASS:function(M){var H=qe[M+" "];return H||(H=new RegExp("(^|"+ee+")"+M+"("+ee+"|$)"))&&qe(M,function(Y){return H.test(typeof Y.className=="string"&&Y.className||typeof Y.getAttribute!="undefined"&&Y.getAttribute("class")||"")})},ATTR:function(M,H,Y){return function(J){var A=ut.attr(J,M);return A==null?H==="!=":H?(A+="",H==="="?A===Y:H==="!="?A!==Y:H==="^="?Y&&A.indexOf(Y)===0:H==="*="?Y&&A.indexOf(Y)>-1:H==="$="?Y&&A.slice(-Y.length)===Y:H==="~="?(" "+A.replace(Qe," ")+" ").indexOf(Y)>-1:H==="|="?A===Y||A.slice(0,Y.length+1)===Y+"-":!1):!0}},CHILD:function(M,H,Y,J,A){var B=M.slice(0,3)!=="nth",k=M.slice(-4)!=="last",ie=H==="of-type";return J===1&&A===0?function(ue){return!!ue.parentNode}:function(ue,Se,Ce){var be,je,Me,Ke,zt,Vt=B!==k?"nextSibling":"previousSibling",jt=ue.parentNode,dr=ie&&ue.nodeName.toLowerCase(),qn=!Ce&&!ie,Be=!1;if(jt){if(B){for(;Vt;){for(Me=ue;Me=Me[Vt];)if(ie?le(Me,dr):Me.nodeType===1)return!1;zt=Vt=M==="only"&&!zt&&"nextSibling"}return!0}if(zt=[k?jt.firstChild:jt.lastChild],k&&qn){for(je=jt[ne]||(jt[ne]={}),be=je[M]||[],Ke=be[0]===V&&be[1],Be=Ke&&be[2],Me=Ke&&jt.childNodes[Ke];Me=++Ke&&Me&&Me[Vt]||(Be=Ke=0)||zt.pop();)if(Me.nodeType===1&&++Be&&Me===ue){je[M]=[V,Ke,Be];break}}else if(qn&&(je=ue[ne]||(ue[ne]={}),be=je[M]||[],Ke=be[0]===V&&be[1],Be=Ke),Be===!1)for(;(Me=++Ke&&Me&&Me[Vt]||(Be=Ke=0)||zt.pop())&&!((ie?le(Me,dr):Me.nodeType===1)&&++Be&&(qn&&(je=Me[ne]||(Me[ne]={}),je[M]=[V,Be]),Me===ue)););return Be-=A,Be===J||Be%J===0&&Be/J>=0}}},PSEUDO:function(M,H){var Y,J=l.pseudos[M]||l.setFilters[M.toLowerCase()]||ut.error("unsupported pseudo: "+M);return J[ne]?J(H):J.length>1?(Y=[M,M,"",H],l.setFilters.hasOwnProperty(M.toLowerCase())?kr(function(A,B){for(var k,ie=J(A,H),ue=ie.length;ue--;)k=m.call(A,ie[ue]),A[k]=!(B[k]=ie[ue])}):function(A){return J(A,0,Y)}):J}},pseudos:{not:kr(function(M){var H=[],Y=[],J=Cu(M.replace(ce,"$1"));return J[ne]?kr(function(A,B,k,ie){for(var ue,Se=J(A,null,ie,[]),Ce=A.length;Ce--;)(ue=Se[Ce])&&(A[Ce]=!(B[Ce]=ue))}):function(A,B,k){return H[0]=A,J(H,null,k,Y),H[0]=null,!Y.pop()}}),has:kr(function(M){return function(H){return ut(M,H).length>0}}),contains:kr(function(M){return M=M.replace(_n,rn),function(H){return(H.textContent||h.text(H)).indexOf(M)>-1}}),lang:kr(function(M){return ai.test(M||"")||ut.error("unsupported lang: "+M),M=M.replace(_n,rn).toLowerCase(),function(H){var Y;do if(Y=R?H.lang:H.getAttribute("xml:lang")||H.getAttribute("lang"))return Y=Y.toLowerCase(),Y===M||Y.indexOf(M+"-")===0;while((H=H.parentNode)&&H.nodeType===1);return!1}}),target:function(M){var H=e.location&&e.location.hash;return H&&H.slice(1)===M.id},root:function(M){return M===N},focus:function(M){return M===To()&&q.hasFocus()&&!!(M.type||M.href||~M.tabIndex)},enabled:Kf(!1),disabled:Kf(!0),checked:function(M){return le(M,"input")&&!!M.checked||le(M,"option")&&!!M.selected},selected:function(M){return M.parentNode&&M.parentNode.selectedIndex,M.selected===!0},empty:function(M){for(M=M.firstChild;M;M=M.nextSibling)if(M.nodeType<6)return!1;return!0},parent:function(M){return!l.pseudos.empty(M)},header:function(M){return zn.test(M.nodeName)},input:function(M){return bn.test(M.nodeName)},button:function(M){return le(M,"input")&&M.type==="button"||le(M,"button")},text:function(M){var H;return le(M,"input")&&M.type==="text"&&((H=M.getAttribute("type"))==null||H.toLowerCase()==="text")},first:qr(function(){return[0]}),last:qr(function(M,H){return[H-1]}),eq:qr(function(M,H,Y){return[Y<0?Y+H:Y]}),even:qr(function(M,H){for(var Y=0;YH?J=H:J=Y;--J>=0;)M.push(J);return M}),gt:qr(function(M,H,Y){for(var J=Y<0?Y+H:Y;++J1?function(H,Y,J){for(var A=M.length;A--;)if(!M[A](H,Y,J))return!1;return!0}:M[0]}function Op(M,H,Y){for(var J=0,A=H.length;J-1&&(k[Ce]=!(ie[Ce]=je))}}else Me=xa(Me===ie?Me.splice(Vt,Me.length):Me),A?A(null,ie,Me,Se):y.apply(ie,Me)})}function pr(M){for(var H,Y,J,A=M.length,B=l.relative[M[0].type],k=B||l.relative[" "],ie=B?1:0,ue=ui(function(be){return be===H},k,!0),Se=ui(function(be){return m.call(H,be)>-1},k,!0),Ce=[function(be,je,Me){var Ke=!B&&(Me||je!=p)||((H=je).nodeType?ue(be,je,Me):Se(be,je,Me));return H=null,Ke}];ie1&&Tu(Ce),ie>1&&Br(M.slice(0,ie-1).concat({value:M[ie-2].type===" "?"*":""})).replace(ce,"$1"),Y,ie0,J=M.length>0,A=function(B,k,ie,ue,Se){var Ce,be,je,Me=0,Ke="0",zt=B&&[],Vt=[],jt=p,dr=B||J&&l.find.TAG("*",Se),qn=V+=jt==null?1:Math.random()||.1,Be=dr.length;for(Se&&(p=k==q||k||Se);Ke!==Be&&(Ce=dr[Ke])!=null;Ke++){if(J&&Ce){for(be=0,!k&&Ce.ownerDocument!=q&&(jn(Ce),ie=!R);je=M[be++];)if(je(Ce,k||q,ie)){y.call(ue,Ce);break}Se&&(V=qn)}Y&&((Ce=!je&&Ce)&&Me--,B&&zt.push(Ce))}if(Me+=Ke,Y&&Ke!==Me){for(be=0;je=H[be++];)je(zt,Vt,k,ie);if(B){if(Me>0)for(;Ke--;)zt[Ke]||Vt[Ke]||(Vt[Ke]=Ie.call(ue));Vt=xa(Vt)}y.apply(ue,Vt),Se&&!B&&Vt.length>0&&Me+H.length>1&&h.uniqueSort(ue)}return Se&&(V=qn,p=jt),zt};return Y?kr(A):A}function Cu(M,H){var Y,J=[],A=[],B=We[M+" "];if(!B){for(H||(H=Bi(M)),Y=H.length;Y--;)B=pr(H[Y]),B[ne]?J.push(B):A.push(B);B=We(M,Zf(A,J)),B.selector=M}return B}function Jf(M,H,Y,J){var A,B,k,ie,ue,Se=typeof M=="function"&&M,Ce=!J&&Bi(M=Se.selector||M);if(Y=Y||[],Ce.length===1){if(B=Ce[0]=Ce[0].slice(0),B.length>2&&(k=B[0]).type==="ID"&&H.nodeType===9&&R&&l.relative[B[1].type]){if(H=(l.find.ID(k.matches[0].replace(_n,rn),H)||[])[0],H)Se&&(H=H.parentNode);else return Y;M=M.slice(B.shift().value.length)}for(A=_r.needsContext.test(M)?0:B.length;A--&&(k=B[A],!l.relative[ie=k.type]);)if((ue=l.find[ie])&&(J=ue(k.matches[0].replace(_n,rn),So.test(B[0].type)&&Su(H.parentNode)||H))){if(B.splice(A,1),M=J.length&&Br(B),!M)return y.apply(Y,J),Y;break}}return(Se||Cu(M,Ce))(J,H,!R,Y,!H||So.test(M)&&Su(H.parentNode)||H),Y}I.sortStable=ne.split("").sort(At).join("")===ne,jn(),I.sortDetached=ki(function(M){return M.compareDocumentPosition(q.createElement("fieldset"))&1}),h.find=ut,h.expr[":"]=h.expr.pseudos,h.unique=h.uniqueSort,ut.compile=Cu,ut.select=Jf,ut.setDocument=jn,ut.tokenize=Bi,ut.escape=h.escapeSelector,ut.getText=h.text,ut.isXML=h.isXMLDoc,ut.selectors=h.expr,ut.support=h.support,ut.uniqueSort=h.uniqueSort})();var ae=function(o,l,p){for(var v=[],x=p!==void 0;(o=o[l])&&o.nodeType!==9;)if(o.nodeType===1){if(x&&h(o).is(p))break;v.push(o)}return v},me=function(o,l){for(var p=[];o;o=o.nextSibling)o.nodeType===1&&o!==l&&p.push(o);return p},xe=h.expr.match.needsContext,_e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ve(o,l,p){return P(l)?h.grep(o,function(v,x){return!!l.call(v,x,v)!==p}):l.nodeType?h.grep(o,function(v){return v===l!==p}):typeof l!="string"?h.grep(o,function(v){return m.call(l,v)>-1!==p}):h.filter(l,o,p)}h.filter=function(o,l,p){var v=l[0];return p&&(o=":not("+o+")"),l.length===1&&v.nodeType===1?h.find.matchesSelector(v,o)?[v]:[]:h.find.matches(o,h.grep(l,function(x){return x.nodeType===1}))},h.fn.extend({find:function(o){var l,p,v=this.length,x=this;if(typeof o!="string")return this.pushStack(h(o).filter(function(){for(l=0;l1?h.uniqueSort(p):p},filter:function(o){return this.pushStack(Ve(this,o||[],!1))},not:function(o){return this.pushStack(Ve(this,o||[],!0))},is:function(o){return!!Ve(this,typeof o=="string"&&xe.test(o)?h(o):o||[],!1).length}});var lt,xt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,qt=h.fn.init=function(o,l,p){var v,x;if(!o)return this;if(p=p||lt,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?v=[null,o,null]:v=xt.exec(o),v&&(v[1]||!l))if(v[1]){if(l=l instanceof h?l[0]:l,h.merge(this,h.parseHTML(v[1],l&&l.nodeType?l.ownerDocument||l:D,!0)),_e.test(v[1])&&h.isPlainObject(l))for(v in l)P(this[v])?this[v](l[v]):this.attr(v,l[v]);return this}else return x=D.getElementById(v[2]),x&&(this[0]=x,this.length=1),this;else return!l||l.jquery?(l||p).find(o):this.constructor(l).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if(P(o))return p.ready!==void 0?p.ready(o):o(h)}return h.makeArray(o,this)};qt.prototype=h.fn,lt=h(D);var Mt=/^(?:parents|prev(?:Until|All))/,Ht={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(o){var l=h(o,this),p=l.length;return this.filter(function(){for(var v=0;v-1:p.nodeType===1&&h.find.matchesSelector(p,o))){y.push(p);break}}return this.pushStack(y.length>1?h.uniqueSort(y):y)},index:function(o){return o?typeof o=="string"?m.call(h(o),this[0]):m.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,l){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(o,l))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function Wt(o,l){for(;(o=o[l])&&o.nodeType!==1;);return o}h.each({parent:function(o){var l=o.parentNode;return l&&l.nodeType!==11?l:null},parents:function(o){return ae(o,"parentNode")},parentsUntil:function(o,l,p){return ae(o,"parentNode",p)},next:function(o){return Wt(o,"nextSibling")},prev:function(o){return Wt(o,"previousSibling")},nextAll:function(o){return ae(o,"nextSibling")},prevAll:function(o){return ae(o,"previousSibling")},nextUntil:function(o,l,p){return ae(o,"nextSibling",p)},prevUntil:function(o,l,p){return ae(o,"previousSibling",p)},siblings:function(o){return me((o.parentNode||{}).firstChild,o)},children:function(o){return me(o.firstChild)},contents:function(o){return o.contentDocument!=null&&a(o.contentDocument)?o.contentDocument:(le(o,"template")&&(o=o.content||o),h.merge([],o.childNodes))}},function(o,l){h.fn[o]=function(p,v){var x=h.map(this,l,p);return o.slice(-5)!=="Until"&&(v=p),v&&typeof v=="string"&&(x=h.filter(v,x)),this.length>1&&(Ht[o]||h.uniqueSort(x),Mt.test(o)&&x.reverse()),this.pushStack(x)}});var ye=/[^\x20\t\r\n\f]+/g;function Ne(o){var l={};return h.each(o.match(ye)||[],function(p,v){l[v]=!0}),l}h.Callbacks=function(o){o=typeof o=="string"?Ne(o):h.extend({},o);var l,p,v,x,y=[],q=[],N=-1,R=function(){for(x=x||o.once,v=l=!0;q.length;N=-1)for(p=q.shift();++N-1;)y.splice(V,1),V<=N&&N--}),this},has:function(te){return te?h.inArray(te,y)>-1:y.length>0},empty:function(){return y&&(y=[]),this},disable:function(){return x=q=[],y=p="",this},disabled:function(){return!y},lock:function(){return x=q=[],!p&&!l&&(y=p=""),this},locked:function(){return!!x},fireWith:function(te,ne){return x||(ne=ne||[],ne=[te,ne.slice?ne.slice():ne],q.push(ne),l||R()),this},fire:function(){return z.fireWith(this,arguments),this},fired:function(){return!!v}};return z};function ke(o){return o}function ge(o){throw o}function ct(o,l,p,v){var x;try{o&&P(x=o.promise)?x.call(o).done(l).fail(p):o&&P(x=o.then)?x.call(o,l,p):l.apply(void 0,[o].slice(v))}catch(y){p.apply(void 0,[y])}}h.extend({Deferred:function(o){var l=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],p="pending",v={state:function(){return p},always:function(){return x.done(arguments).fail(arguments),this},catch:function(y){return v.then(null,y)},pipe:function(){var y=arguments;return h.Deferred(function(q){h.each(l,function(N,R){var z=P(y[R[4]])&&y[R[4]];x[R[1]](function(){var te=z&&z.apply(this,arguments);te&&P(te.promise)?te.promise().progress(q.notify).done(q.resolve).fail(q.reject):q[R[0]+"With"](this,z?[te]:arguments)})}),y=null}).promise()},then:function(y,q,N){var R=0;function z(te,ne,V,ve){return function(){var qe=this,Ue=arguments,We=function(){var At,en;if(!(te=R&&(V!==ge&&(qe=void 0,Ue=[At]),ne.rejectWith(qe,Ue))}};te?$t():(h.Deferred.getErrorHook?$t.error=h.Deferred.getErrorHook():h.Deferred.getStackHook&&($t.error=h.Deferred.getStackHook()),e.setTimeout($t))}}return h.Deferred(function(te){l[0][3].add(z(0,te,P(N)?N:ke,te.notifyWith)),l[1][3].add(z(0,te,P(y)?y:ke)),l[2][3].add(z(0,te,P(q)?q:ge))}).promise()},promise:function(y){return y!=null?h.extend(y,v):v}},x={};return h.each(l,function(y,q){var N=q[2],R=q[5];v[q[1]]=N.add,R&&N.add(function(){p=R},l[3-y][2].disable,l[3-y][3].disable,l[0][2].lock,l[0][3].lock),N.add(q[3].fire),x[q[0]]=function(){return x[q[0]+"With"](this===x?void 0:this,arguments),this},x[q[0]+"With"]=N.fireWith}),v.promise(x),o&&o.call(x,x),x},when:function(o){var l=arguments.length,p=l,v=Array(p),x=s.call(arguments),y=h.Deferred(),q=function(N){return function(R){v[N]=this,x[N]=arguments.length>1?s.call(arguments):R,--l||y.resolveWith(v,x)}};if(l<=1&&(ct(o,y.done(q(p)).resolve,y.reject,!l),y.state()==="pending"||P(x[p]&&x[p].then)))return y.then();for(;p--;)ct(x[p],q(p),y.reject);return y.promise()}});var et=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(o,l){e.console&&e.console.warn&&o&&et.test(o.name)&&e.console.warn("jQuery.Deferred exception: "+o.message,o.stack,l)},h.readyException=function(o){e.setTimeout(function(){throw o})};var St=h.Deferred();h.fn.ready=function(o){return St.then(o).catch(function(l){h.readyException(l)}),this},h.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(o!==!0&&--h.readyWait>0)&&St.resolveWith(D,[h]))}}),h.ready.then=St.then;function ht(){D.removeEventListener("DOMContentLoaded",ht),e.removeEventListener("load",ht),h.ready()}D.readyState==="complete"||D.readyState!=="loading"&&!D.documentElement.doScroll?e.setTimeout(h.ready):(D.addEventListener("DOMContentLoaded",ht),e.addEventListener("load",ht));var Ot=function(o,l,p,v,x,y,q){var N=0,R=o.length,z=p==null;if(j(p)==="object"){x=!0;for(N in p)Ot(o,l,N,p[N],!0,y,q)}else if(v!==void 0&&(x=!0,P(v)||(q=!0),z&&(q?(l.call(o,v),l=null):(z=l,l=function(te,ne,V){return z.call(h(te),V)})),l))for(;N1,null,!0)},removeData:function(o){return this.each(function(){Dt.remove(this,o)})}}),h.extend({queue:function(o,l,p){var v;if(o)return l=(l||"fx")+"queue",v=Te.get(o,l),p&&(!v||Array.isArray(p)?v=Te.access(o,l,h.makeArray(p)):v.push(p)),v||[]},dequeue:function(o,l){l=l||"fx";var p=h.queue(o,l),v=p.length,x=p.shift(),y=h._queueHooks(o,l),q=function(){h.dequeue(o,l)};x==="inprogress"&&(x=p.shift(),v--),x&&(l==="fx"&&p.unshift("inprogress"),delete y.stop,x.call(o,q,y)),!v&&y&&y.empty.fire()},_queueHooks:function(o,l){var p=l+"queueHooks";return Te.get(o,p)||Te.access(o,p,{empty:h.Callbacks("once memory").add(function(){Te.remove(o,[l+"queue",p])})})}}),h.fn.extend({queue:function(o,l){var p=2;return typeof o!="string"&&(l=o,o="fx",p--),arguments.length\x20\t\r\n\f]*)/i,Sf=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=D.createDocumentFragment(),l=o.appendChild(D.createElement("div")),p=D.createElement("input");p.setAttribute("type","radio"),p.setAttribute("checked","checked"),p.setAttribute("name","t"),l.appendChild(p),I.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,l.innerHTML="",I.noCloneChecked=!!l.cloneNode(!0).lastChild.defaultValue,l.innerHTML="",I.option=!!l.lastChild})();var wr={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};wr.tbody=wr.tfoot=wr.colgroup=wr.caption=wr.thead,wr.th=wr.td,I.option||(wr.optgroup=wr.option=[1,""]);function nr(o,l){var p;return typeof o.getElementsByTagName!="undefined"?p=o.getElementsByTagName(l||"*"):typeof o.querySelectorAll!="undefined"?p=o.querySelectorAll(l||"*"):p=[],l===void 0||l&&le(o,l)?h.merge([o],p):p}function sa(o,l){for(var p=0,v=o.length;p-1){x&&x.push(y);continue}if(z=Bn(y),q=nr(ne.appendChild(y),"script"),z&&sa(q),p)for(te=0;y=q[te++];)Sf.test(y.type||"")&&p.push(y)}return ne}var Cf=/^([^.]*)(?:\.(.+)|)/;function Wn(){return!0}function Li(){return!1}function wo(o,l,p,v,x,y){var q,N;if(typeof l=="object"){typeof p!="string"&&(v=v||p,p=void 0);for(N in l)wo(o,N,p,v,l[N],y);return o}if(v==null&&x==null?(x=p,v=p=void 0):x==null&&(typeof p=="string"?(x=v,v=void 0):(x=v,v=p,p=void 0)),x===!1)x=Li;else if(!x)return o;return y===1&&(q=x,x=function(R){return h().off(R),q.apply(this,arguments)},x.guid=q.guid||(q.guid=h.guid++)),o.each(function(){h.event.add(this,l,x,v,p)})}h.event={global:{},add:function(o,l,p,v,x){var y,q,N,R,z,te,ne,V,ve,qe,Ue,We=Te.get(o);if(cr(o))for(p.handler&&(y=p,p=y.handler,x=y.selector),x&&h.find.matchesSelector(yn,x),p.guid||(p.guid=h.guid++),(R=We.events)||(R=We.events=Object.create(null)),(q=We.handle)||(q=We.handle=function($t){return typeof h!="undefined"&&h.event.triggered!==$t.type?h.event.dispatch.apply(o,arguments):void 0}),l=(l||"").match(ye)||[""],z=l.length;z--;)N=Cf.exec(l[z])||[],ve=Ue=N[1],qe=(N[2]||"").split(".").sort(),ve&&(ne=h.event.special[ve]||{},ve=(x?ne.delegateType:ne.bindType)||ve,ne=h.event.special[ve]||{},te=h.extend({type:ve,origType:Ue,data:v,handler:p,guid:p.guid,selector:x,needsContext:x&&h.expr.match.needsContext.test(x),namespace:qe.join(".")},y),(V=R[ve])||(V=R[ve]=[],V.delegateCount=0,(!ne.setup||ne.setup.call(o,v,qe,q)===!1)&&o.addEventListener&&o.addEventListener(ve,q)),ne.add&&(ne.add.call(o,te),te.handler.guid||(te.handler.guid=p.guid)),x?V.splice(V.delegateCount++,0,te):V.push(te),h.event.global[ve]=!0)},remove:function(o,l,p,v,x){var y,q,N,R,z,te,ne,V,ve,qe,Ue,We=Te.hasData(o)&&Te.get(o);if(!(!We||!(R=We.events))){for(l=(l||"").match(ye)||[""],z=l.length;z--;){if(N=Cf.exec(l[z])||[],ve=Ue=N[1],qe=(N[2]||"").split(".").sort(),!ve){for(ve in R)h.event.remove(o,ve+l[z],p,v,!0);continue}for(ne=h.event.special[ve]||{},ve=(v?ne.delegateType:ne.bindType)||ve,V=R[ve]||[],N=N[2]&&new RegExp("(^|\\.)"+qe.join("\\.(?:.*\\.|)")+"(\\.|$)"),q=y=V.length;y--;)te=V[y],(x||Ue===te.origType)&&(!p||p.guid===te.guid)&&(!N||N.test(te.namespace))&&(!v||v===te.selector||v==="**"&&te.selector)&&(V.splice(y,1),te.selector&&V.delegateCount--,ne.remove&&ne.remove.call(o,te));q&&!V.length&&((!ne.teardown||ne.teardown.call(o,qe,We.handle)===!1)&&h.removeEvent(o,ve,We.handle),delete R[ve])}h.isEmptyObject(R)&&Te.remove(o,"handle events")}},dispatch:function(o){var l,p,v,x,y,q,N=new Array(arguments.length),R=h.event.fix(o),z=(Te.get(this,"events")||Object.create(null))[R.type]||[],te=h.event.special[R.type]||{};for(N[0]=R,l=1;l=1)){for(;z!==this;z=z.parentNode||this)if(z.nodeType===1&&!(o.type==="click"&&z.disabled===!0)){for(y=[],q={},p=0;p-1:h.find(x,this,null,[z]).length),q[x]&&y.push(v);y.length&&N.push({elem:z,handlers:y})}}return z=this,R\s*$/g;function Ef(o,l){return le(o,"table")&&le(l.nodeType!==11?l:l.firstChild,"tr")&&h(o).children("tbody")[0]||o}function Of(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function hp(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function Af(o,l){var p,v,x,y,q,N,R;if(l.nodeType===1){if(Te.hasData(o)&&(y=Te.get(o),R=y.events,R)){Te.remove(l,"handle events");for(x in R)for(p=0,v=R[x].length;p1&&typeof ve=="string"&&!I.checkClone&&lp.test(ve))return o.each(function(Ue){var We=o.eq(Ue);qe&&(l[0]=ve.call(this,Ue,We.html())),Ri(We,l,p,v)});if(ne&&(x=Tf(l,o[0].ownerDocument,!1,o,v),y=x.firstChild,x.childNodes.length===1&&(x=y),y||v)){for(q=h.map(nr(x,"script"),Of),N=q.length;te0&&sa(q,!R&&nr(o,"script")),N},cleanData:function(o){for(var l,p,v,x=h.event.special,y=0;(p=o[y])!==void 0;y++)if(cr(p)){if(l=p[Te.expando]){if(l.events)for(v in l.events)x[v]?h.event.remove(p,v):h.removeEvent(p,v,l.handle);p[Te.expando]=void 0}p[Dt.expando]&&(p[Dt.expando]=void 0)}}}),h.fn.extend({detach:function(o){return Mf(this,o,!0)},remove:function(o){return Mf(this,o)},text:function(o){return Ot(this,function(l){return l===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=l)})},null,o,arguments.length)},append:function(){return Ri(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=Ef(this,o);l.appendChild(o)}})},prepend:function(){return Ri(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=Ef(this,o);l.insertBefore(o,l.firstChild)}})},before:function(){return Ri(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return Ri(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,l=0;(o=this[l])!=null;l++)o.nodeType===1&&(h.cleanData(nr(o,!1)),o.textContent="");return this},clone:function(o,l){return o=o==null?!1:o,l=l==null?o:l,this.map(function(){return h.clone(this,o,l)})},html:function(o){return Ot(this,function(l){var p=this[0]||{},v=0,x=this.length;if(l===void 0&&p.nodeType===1)return p.innerHTML;if(typeof l=="string"&&!fp.test(l)&&!wr[(qf.exec(l)||["",""])[1].toLowerCase()]){l=h.htmlPrefilter(l);try{for(;v=0&&(R+=Math.max(0,Math.ceil(o["offset"+l[0].toUpperCase()+l.slice(1)]-y-R-N-.5))||0),R+z}function fu(o,l,p){var v=la(o),x=!I.boxSizingReliable()||p,y=x&&h.css(o,"boxSizing",!1,v)==="border-box",q=y,N=bo(o,l,v),R="offset"+l[0].toUpperCase()+l.slice(1);if(au.test(N)){if(!p)return N;N="auto"}return(!I.boxSizingReliable()&&y||!I.reliableTrDimensions()&&le(o,"tr")||N==="auto"||!parseFloat(N)&&h.css(o,"display",!1,v)==="inline")&&o.getClientRects().length&&(y=h.css(o,"boxSizing",!1,v)==="border-box",q=R in o,q&&(N=o[R])),N=parseFloat(N)||0,N+su(o,l,p||(y?"border":"content"),q,v,N)+"px"}h.extend({cssHooks:{opacity:{get:function(o,l){if(l){var p=bo(o,"opacity");return p===""?"1":p}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(o,l,p,v){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var x,y,q,N=Ft(l),R=uu.test(l),z=o.style;if(R||(l=ha(N)),q=h.cssHooks[l]||h.cssHooks[N],p!==void 0){if(y=typeof p,y==="string"&&(x=ri.exec(p))&&x[1]&&(p=bf(o,l,x),y="number"),p==null||p!==p)return;y==="number"&&!R&&(p+=x&&x[3]||(h.cssNumber[N]?"":"px")),!I.clearCloneStyle&&p===""&&l.indexOf("background")===0&&(z[l]="inherit"),(!q||!("set"in q)||(p=q.set(o,p,v))!==void 0)&&(R?z.setProperty(l,p):z[l]=p)}else return q&&"get"in q&&(x=q.get(o,!1,v))!==void 0?x:z[l]}},css:function(o,l,p,v){var x,y,q,N=Ft(l),R=uu.test(l);return R||(l=ha(N)),q=h.cssHooks[l]||h.cssHooks[N],q&&"get"in q&&(x=q.get(o,!0,p)),x===void 0&&(x=bo(o,l,v)),x==="normal"&&l in kf&&(x=kf[l]),p===""||p?(y=parseFloat(x),p===!0||isFinite(y)?y||0:x):x}}),h.each(["height","width"],function(o,l){h.cssHooks[l]={get:function(p,v,x){if(v)return Nf.test(h.css(p,"display"))&&(!p.getClientRects().length||!p.getBoundingClientRect().width)?Lf(p,pp,function(){return fu(p,l,x)}):fu(p,l,x)},set:function(p,v,x){var y,q=la(p),N=!I.scrollboxSize()&&q.position==="absolute",R=N||x,z=R&&h.css(p,"boxSizing",!1,q)==="border-box",te=x?su(p,l,x,z,q):0;return z&&N&&(te-=Math.ceil(p["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(q[l])-su(p,l,"border",!1,q)-.5)),te&&(y=ri.exec(v))&&(y[3]||"px")!=="px"&&(p.style[l]=v,v=h.css(p,l)),Bf(p,v,te)}}}),h.cssHooks.marginLeft=_o(I.reliableMarginLeft,function(o,l){if(l)return(parseFloat(bo(o,"marginLeft"))||o.getBoundingClientRect().left-Lf(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(o,l){h.cssHooks[o+l]={expand:function(p){for(var v=0,x={},y=typeof p=="string"?p.split(" "):[p];v<4;v++)x[o+Fr[v]+l]=y[v]||y[v-2]||y[0];return x}},o!=="margin"&&(h.cssHooks[o+l].set=Bf)}),h.fn.extend({css:function(o,l){return Ot(this,function(p,v,x){var y,q,N={},R=0;if(Array.isArray(v)){for(y=la(p),q=v.length;R1)}});function Qt(o,l,p,v,x){return new Qt.prototype.init(o,l,p,v,x)}h.Tween=Qt,Qt.prototype={constructor:Qt,init:function(o,l,p,v,x,y){this.elem=o,this.prop=p,this.easing=x||h.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=v,this.unit=y||(h.cssNumber[p]?"":"px")},cur:function(){var o=Qt.propHooks[this.prop];return o&&o.get?o.get(this):Qt.propHooks._default.get(this)},run:function(o){var l,p=Qt.propHooks[this.prop];return this.options.duration?this.pos=l=h.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=l=o,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),p&&p.set?p.set(this):Qt.propHooks._default.set(this),this}},Qt.prototype.init.prototype=Qt.prototype,Qt.propHooks={_default:{get:function(o){var l;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(l=h.css(o.elem,o.prop,""),!l||l==="auto"?0:l)},set:function(o){h.fx.step[o.prop]?h.fx.step[o.prop](o):o.elem.nodeType===1&&(h.cssHooks[o.prop]||o.elem.style[ha(o.prop)]!=null)?h.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},Qt.propHooks.scrollTop=Qt.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},h.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},h.fx=Qt.prototype.init,h.fx.step={};var ii,Pi,dp=/^(?:toggle|show|hide)$/,Wf=/queueHooks$/;function Fi(){Pi&&(D.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Fi):e.setTimeout(Fi,h.fx.interval),h.fx.tick())}function lu(){return e.setTimeout(function(){ii=void 0}),ii=Date.now()}function pa(o,l){var p,v=0,x={height:o};for(l=l?1:0;v<4;v+=2-l)p=Fr[v],x["margin"+p]=x["padding"+p]=o;return l&&(x.opacity=x.width=o),x}function cu(o,l,p){for(var v,x=(Dr.tweeners[l]||[]).concat(Dr.tweeners["*"]),y=0,q=x.length;y1)},removeAttr:function(o){return this.each(function(){h.removeAttr(this,o)})}}),h.extend({attr:function(o,l,p){var v,x,y=o.nodeType;if(!(y===3||y===8||y===2)){if(typeof o.getAttribute=="undefined")return h.prop(o,l,p);if((y!==1||!h.isXMLDoc(o))&&(x=h.attrHooks[l.toLowerCase()]||(h.expr.match.bool.test(l)?pu:void 0)),p!==void 0){if(p===null){h.removeAttr(o,l);return}return x&&"set"in x&&(v=x.set(o,p,l))!==void 0?v:(o.setAttribute(l,p+""),p)}return x&&"get"in x&&(v=x.get(o,l))!==null?v:(v=h.find.attr(o,l),v==null?void 0:v)}},attrHooks:{type:{set:function(o,l){if(!I.radioValue&&l==="radio"&&le(o,"input")){var p=o.value;return o.setAttribute("type",l),p&&(o.value=p),l}}}},removeAttr:function(o,l){var p,v=0,x=l&&l.match(ye);if(x&&o.nodeType===1)for(;p=x[v++];)o.removeAttribute(p)}}),pu={set:function(o,l,p){return l===!1?h.removeAttr(o,p):o.setAttribute(p,p),p}},h.each(h.expr.match.bool.source.match(/\w+/g),function(o,l){var p=oi[l]||h.find.attr;oi[l]=function(v,x,y){var q,N,R=x.toLowerCase();return y||(N=oi[R],oi[R]=q,q=p(v,x,y)!=null?R:null,oi[R]=N),q}});var du=/^(?:input|select|textarea|button)$/i,Di=/^(?:a|area)$/i;h.fn.extend({prop:function(o,l){return Ot(this,h.prop,o,l,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[h.propFix[o]||o]})}}),h.extend({prop:function(o,l,p){var v,x,y=o.nodeType;if(!(y===3||y===8||y===2))return(y!==1||!h.isXMLDoc(o))&&(l=h.propFix[l]||l,x=h.propHooks[l]),p!==void 0?x&&"set"in x&&(v=x.set(o,p,l))!==void 0?v:o[l]=p:x&&"get"in x&&(v=x.get(o,l))!==null?v:o[l]},propHooks:{tabIndex:{get:function(o){var l=h.find.attr(o,"tabindex");return l?parseInt(l,10):du.test(o.nodeName)||Di.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),I.optSelected||(h.propHooks.selected={get:function(o){var l=o.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(o){var l=o.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function Un(o){var l=o.match(ye)||[];return l.join(" ")}function Hn(o){return o.getAttribute&&o.getAttribute("class")||""}function gu(o){return Array.isArray(o)?o:typeof o=="string"?o.match(ye)||[]:[]}h.fn.extend({addClass:function(o){var l,p,v,x,y,q;return P(o)?this.each(function(N){h(this).addClass(o.call(this,N,Hn(this)))}):(l=gu(o),l.length?this.each(function(){if(v=Hn(this),p=this.nodeType===1&&" "+Un(v)+" ",p){for(y=0;y-1;)p=p.replace(" "+x+" "," ");q=Un(p),v!==q&&this.setAttribute("class",q)}}):this):this.attr("class","")},toggleClass:function(o,l){var p,v,x,y,q=typeof o,N=q==="string"||Array.isArray(o);return P(o)?this.each(function(R){h(this).toggleClass(o.call(this,R,Hn(this),l),l)}):typeof l=="boolean"&&N?l?this.addClass(o):this.removeClass(o):(p=gu(o),this.each(function(){if(N)for(y=h(this),x=0;x-1)return!0;return!1}});var Hf=/\r/g;h.fn.extend({val:function(o){var l,p,v,x=this[0];return arguments.length?(v=P(o),this.each(function(y){var q;this.nodeType===1&&(v?q=o.call(this,y,h(this).val()):q=o,q==null?q="":typeof q=="number"?q+="":Array.isArray(q)&&(q=h.map(q,function(N){return N==null?"":N+""})),l=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!l||!("set"in l)||l.set(this,q,"value")===void 0)&&(this.value=q))})):x?(l=h.valHooks[x.type]||h.valHooks[x.nodeName.toLowerCase()],l&&"get"in l&&(p=l.get(x,"value"))!==void 0?p:(p=x.value,typeof p=="string"?p.replace(Hf,""):p==null?"":p)):void 0}}),h.extend({valHooks:{option:{get:function(o){var l=h.find.attr(o,"value");return l!=null?l:Un(h.text(o))}},select:{get:function(o){var l,p,v,x=o.options,y=o.selectedIndex,q=o.type==="select-one",N=q?null:[],R=q?y+1:x.length;for(y<0?v=R:v=q?y:0;v-1)&&(p=!0);return p||(o.selectedIndex=-1),y}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(o,l){if(Array.isArray(l))return o.checked=h.inArray(h(o).val(),l)>-1}},I.checkOn||(h.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var Ni=e.location,vu={guid:Date.now()},da=/\?/;h.parseXML=function(o){var l,p;if(!o||typeof o!="string")return null;try{l=new e.DOMParser().parseFromString(o,"text/xml")}catch(v){}return p=l&&l.getElementsByTagName("parsererror")[0],(!l||p)&&h.error("Invalid XML: "+(p?h.map(p.childNodes,function(v){return v.textContent}).join(` +`):o)),l};var $f=/^(?:focusinfocus|focusoutblur)$/,zf=function(o){o.stopPropagation()};h.extend(h.event,{trigger:function(o,l,p,v){var x,y,q,N,R,z,te,ne,V=[p||D],ve=O.call(o,"type")?o.type:o,qe=O.call(o,"namespace")?o.namespace.split("."):[];if(y=ne=q=p=p||D,!(p.nodeType===3||p.nodeType===8)&&!$f.test(ve+h.event.triggered)&&(ve.indexOf(".")>-1&&(qe=ve.split("."),ve=qe.shift(),qe.sort()),R=ve.indexOf(":")<0&&"on"+ve,o=o[h.expando]?o:new h.Event(ve,typeof o=="object"&&o),o.isTrigger=v?2:3,o.namespace=qe.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+qe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=p),l=l==null?[o]:h.makeArray(l,[o]),te=h.event.special[ve]||{},!(!v&&te.trigger&&te.trigger.apply(p,l)===!1))){if(!v&&!te.noBubble&&!$(p)){for(N=te.delegateType||ve,$f.test(N+ve)||(y=y.parentNode);y;y=y.parentNode)V.push(y),q=y;q===(p.ownerDocument||D)&&V.push(q.defaultView||q.parentWindow||e)}for(x=0;(y=V[x++])&&!o.isPropagationStopped();)ne=y,o.type=x>1?N:te.bindType||ve,z=(Te.get(y,"events")||Object.create(null))[o.type]&&Te.get(y,"handle"),z&&z.apply(y,l),z=R&&y[R],z&&z.apply&&cr(y)&&(o.result=z.apply(y,l),o.result===!1&&o.preventDefault());return o.type=ve,!v&&!o.isDefaultPrevented()&&(!te._default||te._default.apply(V.pop(),l)===!1)&&cr(p)&&R&&P(p[ve])&&!$(p)&&(q=p[R],q&&(p[R]=null),h.event.triggered=ve,o.isPropagationStopped()&&ne.addEventListener(ve,zf),p[ve](),o.isPropagationStopped()&&ne.removeEventListener(ve,zf),h.event.triggered=void 0,q&&(p[R]=q)),o.result}},simulate:function(o,l,p){var v=h.extend(new h.Event,p,{type:o,isSimulated:!0});h.event.trigger(v,null,l)}}),h.fn.extend({trigger:function(o,l){return this.each(function(){h.event.trigger(o,l,this)})},triggerHandler:function(o,l){var p=this[0];if(p)return h.event.trigger(o,l,p,!0)}});var gp=/\[\]$/,mu=/\r?\n/g,vp=/^(?:submit|button|image|reset|file)$/i,mp=/^(?:input|select|textarea|keygen)/i;function xu(o,l,p,v){var x;if(Array.isArray(l))h.each(l,function(y,q){p||gp.test(o)?v(o,q):xu(o+"["+(typeof q=="object"&&q!=null?y:"")+"]",q,p,v)});else if(!p&&j(l)==="object")for(x in l)xu(o+"["+x+"]",l[x],p,v);else v(o,l)}h.param=function(o,l){var p,v=[],x=function(y,q){var N=P(q)?q():q;v[v.length]=encodeURIComponent(y)+"="+encodeURIComponent(N==null?"":N)};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!h.isPlainObject(o))h.each(o,function(){x(this.name,this.value)});else for(p in o)xu(p,o[p],l,x);return v.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=h.prop(this,"elements");return o?h.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!h(this).is(":disabled")&&mp.test(this.nodeName)&&!vp.test(o)&&(this.checked||!Mi.test(o))}).map(function(o,l){var p=h(this).val();return p==null?null:Array.isArray(p)?h.map(p,function(v){return{name:l.name,value:v.replace(mu,`\r +`)}}):{name:l.name,value:p.replace(mu,`\r +`)}}).get()}});var xp=/%20/g,yu=/#.*$/,yp=/([?&])_=[^&]*/,wp=/^(.*?):[ \t]*([^\r\n]*)$/mg,bp=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,_p=/^(?:GET|HEAD)$/,qp=/^\/\//,mt={},dt={},jf="*/".concat("*"),wu=D.createElement("a");wu.href=Ni.href;function Gf(o){return function(l,p){typeof l!="string"&&(p=l,l="*");var v,x=0,y=l.toLowerCase().match(ye)||[];if(P(p))for(;v=y[x++];)v[0]==="+"?(v=v.slice(1)||"*",(o[v]=o[v]||[]).unshift(p)):(o[v]=o[v]||[]).push(p)}}function Xf(o,l,p,v){var x={},y=o===dt;function q(N){var R;return x[N]=!0,h.each(o[N]||[],function(z,te){var ne=te(l,p,v);if(typeof ne=="string"&&!y&&!x[ne])return l.dataTypes.unshift(ne),q(ne),!1;if(y)return!(R=ne)}),R}return q(l.dataTypes[0])||!x["*"]&&q("*")}function bu(o,l){var p,v,x=h.ajaxSettings.flatOptions||{};for(p in l)l[p]!==void 0&&((x[p]?o:v||(v={}))[p]=l[p]);return v&&h.extend(!0,o,v),o}function Sp(o,l,p){for(var v,x,y,q,N=o.contents,R=o.dataTypes;R[0]==="*";)R.shift(),v===void 0&&(v=o.mimeType||l.getResponseHeader("Content-Type"));if(v){for(x in N)if(N[x]&&N[x].test(v)){R.unshift(x);break}}if(R[0]in p)y=R[0];else{for(x in p){if(!R[0]||o.converters[x+" "+R[0]]){y=x;break}q||(q=x)}y=y||q}if(y)return y!==R[0]&&R.unshift(y),p[y]}function Yf(o,l,p,v){var x,y,q,N,R,z={},te=o.dataTypes.slice();if(te[1])for(q in o.converters)z[q.toLowerCase()]=o.converters[q];for(y=te.shift();y;)if(o.responseFields[y]&&(p[o.responseFields[y]]=l),!R&&v&&o.dataFilter&&(l=o.dataFilter(l,o.dataType)),R=y,y=te.shift(),y){if(y==="*")y=R;else if(R!=="*"&&R!==y){if(q=z[R+" "+y]||z["* "+y],!q){for(x in z)if(N=x.split(" "),N[1]===y&&(q=z[R+" "+N[0]]||z["* "+N[0]],q)){q===!0?q=z[x]:z[x]!==!0&&(y=N[0],te.unshift(N[1]));break}}if(q!==!0)if(q&&o.throws)l=q(l);else try{l=q(l)}catch(ne){return{state:"parsererror",error:q?ne:"No conversion from "+R+" to "+y}}}}return{state:"success",data:l}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ni.href,type:"GET",isLocal:bp.test(Ni.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,l){return l?bu(bu(o,h.ajaxSettings),l):bu(h.ajaxSettings,o)},ajaxPrefilter:Gf(mt),ajaxTransport:Gf(dt),ajax:function(o,l){typeof o=="object"&&(l=o,o=void 0),l=l||{};var p,v,x,y,q,N,R,z,te,ne,V=h.ajaxSetup({},l),ve=V.context||V,qe=V.context&&(ve.nodeType||ve.jquery)?h(ve):h.event,Ue=h.Deferred(),We=h.Callbacks("once memory"),$t=V.statusCode||{},At={},en={},tn="canceled",Je={readyState:0,getResponseHeader:function(Qe){var vt;if(R){if(!y)for(y={};vt=wp.exec(x);)y[vt[1].toLowerCase()+" "]=(y[vt[1].toLowerCase()+" "]||[]).concat(vt[2]);vt=y[Qe.toLowerCase()+" "]}return vt==null?null:vt.join(", ")},getAllResponseHeaders:function(){return R?x:null},setRequestHeader:function(Qe,vt){return R==null&&(Qe=en[Qe.toLowerCase()]=en[Qe.toLowerCase()]||Qe,At[Qe]=vt),this},overrideMimeType:function(Qe){return R==null&&(V.mimeType=Qe),this},statusCode:function(Qe){var vt;if(Qe)if(R)Je.always(Qe[Je.status]);else for(vt in Qe)$t[vt]=[$t[vt],Qe[vt]];return this},abort:function(Qe){var vt=Qe||tn;return p&&p.abort(vt),$n(0,vt),this}};if(Ue.promise(Je),V.url=((o||V.url||Ni.href)+"").replace(qp,Ni.protocol+"//"),V.type=l.method||l.type||V.method||V.type,V.dataTypes=(V.dataType||"*").toLowerCase().match(ye)||[""],V.crossDomain==null){N=D.createElement("a");try{N.href=V.url,N.href=N.href,V.crossDomain=wu.protocol+"//"+wu.host!=N.protocol+"//"+N.host}catch(Qe){V.crossDomain=!0}}if(V.data&&V.processData&&typeof V.data!="string"&&(V.data=h.param(V.data,V.traditional)),Xf(mt,V,l,Je),R)return Je;z=h.event&&V.global,z&&h.active++===0&&h.event.trigger("ajaxStart"),V.type=V.type.toUpperCase(),V.hasContent=!_p.test(V.type),v=V.url.replace(yu,""),V.hasContent?V.data&&V.processData&&(V.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(V.data=V.data.replace(xp,"+")):(ne=V.url.slice(v.length),V.data&&(V.processData||typeof V.data=="string")&&(v+=(da.test(v)?"&":"?")+V.data,delete V.data),V.cache===!1&&(v=v.replace(yp,"$1"),ne=(da.test(v)?"&":"?")+"_="+vu.guid+++ne),V.url=v+ne),V.ifModified&&(h.lastModified[v]&&Je.setRequestHeader("If-Modified-Since",h.lastModified[v]),h.etag[v]&&Je.setRequestHeader("If-None-Match",h.etag[v])),(V.data&&V.hasContent&&V.contentType!==!1||l.contentType)&&Je.setRequestHeader("Content-Type",V.contentType),Je.setRequestHeader("Accept",V.dataTypes[0]&&V.accepts[V.dataTypes[0]]?V.accepts[V.dataTypes[0]]+(V.dataTypes[0]!=="*"?", "+jf+"; q=0.01":""):V.accepts["*"]);for(te in V.headers)Je.setRequestHeader(te,V.headers[te]);if(V.beforeSend&&(V.beforeSend.call(ve,Je,V)===!1||R))return Je.abort();if(tn="abort",We.add(V.complete),Je.done(V.success),Je.fail(V.error),p=Xf(dt,V,l,Je),!p)$n(-1,"No Transport");else{if(Je.readyState=1,z&&qe.trigger("ajaxSend",[Je,V]),R)return Je;V.async&&V.timeout>0&&(q=e.setTimeout(function(){Je.abort("timeout")},V.timeout));try{R=!1,p.send(At,$n)}catch(Qe){if(R)throw Qe;$n(-1,Qe)}}function $n(Qe,vt,qo,va){var Nr,ai,_r,bn,zn,ir=vt;R||(R=!0,q&&e.clearTimeout(q),p=void 0,x=va||"",Je.readyState=Qe>0?4:0,Nr=Qe>=200&&Qe<300||Qe===304,qo&&(bn=Sp(V,Je,qo)),!Nr&&h.inArray("script",V.dataTypes)>-1&&h.inArray("json",V.dataTypes)<0&&(V.converters["text script"]=function(){}),bn=Yf(V,bn,Je,Nr),Nr?(V.ifModified&&(zn=Je.getResponseHeader("Last-Modified"),zn&&(h.lastModified[v]=zn),zn=Je.getResponseHeader("etag"),zn&&(h.etag[v]=zn)),Qe===204||V.type==="HEAD"?ir="nocontent":Qe===304?ir="notmodified":(ir=bn.state,ai=bn.data,_r=bn.error,Nr=!_r)):(_r=ir,(Qe||!ir)&&(ir="error",Qe<0&&(Qe=0))),Je.status=Qe,Je.statusText=(vt||ir)+"",Nr?Ue.resolveWith(ve,[ai,ir,Je]):Ue.rejectWith(ve,[Je,ir,_r]),Je.statusCode($t),$t=void 0,z&&qe.trigger(Nr?"ajaxSuccess":"ajaxError",[Je,V,Nr?ai:_r]),We.fireWith(ve,[Je,ir]),z&&(qe.trigger("ajaxComplete",[Je,V]),--h.active||h.event.trigger("ajaxStop")))}return Je},getJSON:function(o,l,p){return h.get(o,l,p,"json")},getScript:function(o,l){return h.get(o,void 0,l,"script")}}),h.each(["get","post"],function(o,l){h[l]=function(p,v,x,y){return P(v)&&(y=y||x,x=v,v=void 0),h.ajax(h.extend({url:p,type:l,dataType:y,data:v,success:x},h.isPlainObject(p)&&p))}}),h.ajaxPrefilter(function(o){var l;for(l in o.headers)l.toLowerCase()==="content-type"&&(o.contentType=o.headers[l]||"")}),h._evalUrl=function(o,l,p){return h.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(v){h.globalEval(v,l,p)}})},h.fn.extend({wrapAll:function(o){var l;return this[0]&&(P(o)&&(o=o.call(this[0])),l=h(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.map(function(){for(var p=this;p.firstElementChild;)p=p.firstElementChild;return p}).append(this)),this},wrapInner:function(o){return P(o)?this.each(function(l){h(this).wrapInner(o.call(this,l))}):this.each(function(){var l=h(this),p=l.contents();p.length?p.wrapAll(o):l.append(o)})},wrap:function(o){var l=P(o);return this.each(function(p){h(this).wrapAll(l?o.call(this,p):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(o){return!h.expr.pseudos.visible(o)},h.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(o){}};var Tp={0:200,1223:204},Tt=h.ajaxSettings.xhr();I.cors=!!Tt&&"withCredentials"in Tt,I.ajax=Tt=!!Tt,h.ajaxTransport(function(o){var l,p;if(I.cors||Tt&&!o.crossDomain)return{send:function(v,x){var y,q=o.xhr();if(q.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(y in o.xhrFields)q[y]=o.xhrFields[y];o.mimeType&&q.overrideMimeType&&q.overrideMimeType(o.mimeType),!o.crossDomain&&!v["X-Requested-With"]&&(v["X-Requested-With"]="XMLHttpRequest");for(y in v)q.setRequestHeader(y,v[y]);l=function(N){return function(){l&&(l=p=q.onload=q.onerror=q.onabort=q.ontimeout=q.onreadystatechange=null,N==="abort"?q.abort():N==="error"?typeof q.status!="number"?x(0,"error"):x(q.status,q.statusText):x(Tp[q.status]||q.status,q.statusText,(q.responseType||"text")!=="text"||typeof q.responseText!="string"?{binary:q.response}:{text:q.responseText},q.getAllResponseHeaders()))}},q.onload=l(),p=q.onerror=q.ontimeout=l("error"),q.onabort!==void 0?q.onabort=p:q.onreadystatechange=function(){q.readyState===4&&e.setTimeout(function(){l&&p()})},l=l("abort");try{q.send(o.hasContent&&o.data||null)}catch(N){if(l)throw N}},abort:function(){l&&l()}}}),h.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return h.globalEval(o),o}}}),h.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}),h.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var l,p;return{send:function(v,x){l=h("