diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index 62ade45..0000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Deploy docs to GitHub Pages - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Install mdBook - run: cargo install mdbook - - name: Build mdBook - run: mdbook build docs - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/book - publish_branch: gh-pages - keep_files: false - diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index bff1271..0000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Go - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.21.x' - - - name: Build - working-directory: ./go - run: go build -v ./... - - - name: Test - working-directory: ./go - run: go test -v ./... - - golangci: - name: lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: '1.21' - cache: false - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 - with: - version: v1.54 - working-directory: ./go diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml deleted file mode 100644 index 67e5403..0000000 --- a/.github/workflows/python-tests.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Python Tests - -on: [push, pull_request] - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.9' - - - name: Install dependencies - run: | - pip install -e ./python - pip install pytest pytest-xdist - - - name: Run Python tests - run: | - cd tests - pytest --adapters adapters/python - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 26f1aa7..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,57 +0,0 @@ - -name: Release - -on: - workflow_dispatch: - -jobs: - build: - name: Build on ${{ matrix.os }} for ${{ matrix.arch }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - arch: [amd64, arm64] - include: - - os: ubuntu-latest - arch: arm64 - target: aarch64-unknown-linux-gnu - - os: macos-latest - arch: arm64 - target: aarch64-apple-darwin - exclude: - - os: windows-latest - arch: arm64 - - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Install Dependencies (Ubuntu) - if: matrix.os == 'ubuntu-latest' - run: | - sudo apt-get update - sudo apt-get install pkg-config libssl-dev - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true - target: ${{ matrix.target }} - - - name: Build Binary - run: | - cd rust - cargo build --release --target ${{ matrix.target }} --path crates/mesc_cli - - - name: Publish Release - if: startsWith(github.ref, 'refs/tags/') - uses: softprops/action-gh-release@v1 - with: - files: | - rust/target/${{ matrix.target }}/release/mesc_cli* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml deleted file mode 100644 index d058692..0000000 --- a/.github/workflows/rust-tests.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Rust Tests - -on: [push, pull_request] - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Install Rust - uses: dtolnay/rust-toolchain@stable - - - name: Cache Rust artifacts - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true - workspaces: rust - - - name: Build and Install Rust Project - run: cargo install --path rust/crates/mesc_cli --profile dev - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.9' # Specify your required Python version - - - name: Install Python dependencies for testing - run: | - pip install pytest pytest-xdist - - - name: Run Rust tests - run: | - cd tests - pytest --adapters adapters/cli diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml deleted file mode 100644 index 7630e50..0000000 --- a/.github/workflows/typescript.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: TypeScript - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -defaults: - run: - working-directory: typescript - -env: - # enable debug logging - ACTIONS_RUNNER_DEBUG: true - -jobs: - build-lint-test: - runs-on: ubuntu-latest - defaults: - run: - working-directory: typescript - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Bun - uses: oven-sh/setup-bun@v1 - with: - bun-version: latest - - - name: Install dependencies - run: bun install - - - name: Lint, Format, & Typecheck - working-directory: typescript - run: | - bun run lint - bun run format - bun run typecheck - - - name: Build - run: bun run build - - - name: Test - run: bun run test diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9b55d9e..0000000 --- a/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -target -/target -TODO.md -INTEGRATION.md -PITCH.md -*.json -!biome.json -__pycache__ -python/dist -docs/book -*.gif -node_modules -dist -.env -!.env.example -_ \ No newline at end of file diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..f173110 --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +This file makes sure that Github Pages doesn't process mdBook's output. diff --git a/404.html b/404.html new file mode 100644 index 0000000..a714592 --- /dev/null +++ b/404.html @@ -0,0 +1,221 @@ + + + + + + Page not found - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Document not found (404)

+

This URL is invalid, sorry. Please use the navigation bar or search to continue.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/FontAwesome/css/font-awesome.css b/FontAwesome/css/font-awesome.css new file mode 100644 index 0000000..540440c --- /dev/null +++ b/FontAwesome/css/font-awesome.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/FontAwesome/fonts/FontAwesome.ttf b/FontAwesome/fonts/FontAwesome.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/FontAwesome/fonts/FontAwesome.ttf differ diff --git a/FontAwesome/fonts/fontawesome-webfont.eot b/FontAwesome/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000..e9f60ca Binary files /dev/null and b/FontAwesome/fonts/fontawesome-webfont.eot differ diff --git a/FontAwesome/fonts/fontawesome-webfont.svg b/FontAwesome/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000..855c845 --- /dev/null +++ b/FontAwesome/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FontAwesome/fonts/fontawesome-webfont.ttf b/FontAwesome/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000..35acda2 Binary files /dev/null and b/FontAwesome/fonts/fontawesome-webfont.ttf differ diff --git a/FontAwesome/fonts/fontawesome-webfont.woff b/FontAwesome/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/FontAwesome/fonts/fontawesome-webfont.woff differ diff --git a/FontAwesome/fonts/fontawesome-webfont.woff2 b/FontAwesome/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/FontAwesome/fonts/fontawesome-webfont.woff2 differ diff --git a/LICENSE-APACHE b/LICENSE-APACHE deleted file mode 100644 index 16fe87b..0000000 --- a/LICENSE-APACHE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - -Copyright [yyyy] [name of copyright owner] - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/LICENSE-MIT b/LICENSE-MIT deleted file mode 100644 index 3a2f826..0000000 --- a/LICENSE-MIT +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2023 MESC Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 5e85ada..0000000 --- a/README.md +++ /dev/null @@ -1,165 +0,0 @@ - -# Multiple Endpoint Shared Configuration (MESC) Standard - -[![Specification](https://img.shields.io/badge/Spec-blueviolet)](https://github.com/paradigmxyz/mesc/blob/main/SPECIFICATION.md) -[![issues - badge-generator](https://img.shields.io/badge/Docs-blueviolet)](https://paradigmxyz.github.io/mesc) -[![Rust Tests](https://github.com/paradigmxyz/mesc/workflows/Rust%20Tests/badge.svg)](https://github.com/paradigmxyz/mesc/tree/main/tests) -[![Python Tests](https://github.com/paradigmxyz/mesc/workflows/Python%20Tests/badge.svg)](https://github.com/paradigmxyz/mesc/tree/main/tests) - - -MESC is a standard for how crypto tools configure their RPC endpoints. By following this specification, a user creates a single RPC configuration that can be shared by all crypto tools on their system. - -MESC has two main design goals: -1. make it easy to share RPC configuration data across tools, languages, and environments -2. make it easy to manage the configuration of a large number of RPC endpoints - -MESC is formally defined in [SPECIFICATION.md](./SPECIFICATION.md). - -Additional information can be found in the [MESC Documentation](https://paradigmxyz.github.io/mesc/). - - -### Contents -- [Reference Implementations](#reference-implementations) -- [Quickstart](#quickstart) -- [Tutorial](#tutorial) - - [Tracked Information](#tracked-information) - - [Common Interface](#common-interface) - - [Typical Usage](#typical-usage) - -## Reference Implementations - -Reference implementations are provided for each of the following: -- [cli](/cli) -- [go](/go) [WIP] -- [python](/python) -- [rust](/rust) -- [typescript](/typescript) [WIP] - -These implementations provide a consistent language-agnostic interface while still obeying the best practices of each language. - -## Quickstart - -The quickest way to use MESC is: -1. create a `mesc.json` config file -2. set the `MESC_PATH` environment variable to the path of this file - -These steps can be performed automatically using the interactive [`mesc`](./cli) CLI tool: -1. Install: `cargo install mesc_cli` -2. Perform interactive setup: `mesc setup` - -Installing the `mesc` cli on some linux distributions may require installing ssl libraries (e.g. `sudo apt-get install pkg-config libssl-dev` on ubunutu) - -## Tutorial - -Below is a brief tutorial on MESC. For more detail, see the MESC [Specification](./SPECIFICATION.md) and [Documentation](https://paradigmxyz.github.io/mesc). - -Topics: -- [Tracked Information](#tracked-information) -- [Common Interface](#common-interface) -- [Typical Usage](#typical-usage) - -### Tracked Information - -MESC tracks the following information: -1. a list of RPC endpoints, including their `name`, `chain_id`, and `url` -2. the default RPC endpoint to use -3. the default RPC endpoint to use for each network - -MESC can also track other information like metadata and tool-specific defaults. Configuration data is stored in a JSON file. To create this file, follow the [Quickstart](#quickstart) instructions above. - -### Common Interface - -All reference MESC implementations use the same common interface. - -Here is a comparison between the python interface and the rust interface: - -###### python -```python -import mesc - -# check whether mesc is enabled -enabled: bool = mesc.is_mesc_enabled() - -# get the default endpoint -endpoint: Endpoint | None = mesc.get_default_endpoint() - -# get the default endpoint of a network -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5) - -# get the default endpoint for a particular tool -endpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool') - -# get the default endpoint of a network for a particular tool -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool') - -# get an endpoint by name -endpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli') - -# parse a user-provided string into a matching endpoint -# (first try 1. endpoint name, then 2. chain id, then 3. network name) -endpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool') - -# find all endpoints matching given criteria -endpoints: list[Endpoint] = mesc.find_endpoints(chain_id=5) -``` - -###### rust -```rust -use mesc::{MescError, Endpoint}; -use std::collections::HashMap; - -type OptionalResult = Result, MescError>; -type MultiResult = Result, MescError>; -type MetadataResult = Result, MescError>; - -// check whether mesc is enabled -let enabled: bool = mesc::is_mesc_enabled(); - -// get the default endpoint -let endpoint: OptionalResult = mesc::get_default_endpoint(None); - -// get the default endpoint of a network -let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", None); - -// get the default network for a particular tool -let chain_id: OptionalResult = mesc::get_default_endpoint(Some("xyz_tool")); - -// get the default endpoint of a network for a particular tool -let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", Some("xyz_tool")); - -// get an endpoint by name -let endpoint: OptionalResult = mesc::get_endpoint_by_name("local_goerli"); - -// parse a user-provided string into a matching endpoint -// (first try 1. endpoint name, then 2. chain id, then 3. network name) -let user_str = "local_goerli"; -let endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some("xyz_tool")); - -// find all endpoints matching given criteria -let query = mesc::MultiEndpointQuery::new().chain_id("5").unwrap(); -let endpoints: MultiResult = mesc::find_endpoints(query); -``` - -### Typical Usage - -Imagine a crypto cli tool `xyz`. This tool has an argument `-r ` that specifies which RPC endpoint to use. - -If `xyz` uses MESC, then `-r` can become a much more versatile argument. Instead of just accepting a plain URL, `-r` can accept 1. an endpoint name, 2. chain id, or 3. a network name. Each of the following might resolve to the same RPC url: -- `xyz -r localhost:8545` (url) -- `xyz -r local_goerli` (endpoint name) -- `xyz -r 5` (chain id) -- `xyz -r goerli` (network name) - -This url resolution can implemented within `xyz` using: - -```python -# python code used by xyz tool -endpoint = mesc.get_endpoint_by_query(user_input, profile='xyz') -url = endpoint['url'] -``` - -```rust -// rust code used by xyz tool -let endpoint = mesc::get_endpoint_by_query(user_input, Some("xyz"))?; -let url = endpoint.url; -``` diff --git a/SPECIFICATION.md b/SPECIFICATION.md deleted file mode 100644 index 41a1336..0000000 --- a/SPECIFICATION.md +++ /dev/null @@ -1,383 +0,0 @@ ---- -title: Multiple Endpoint Single Config (MESC) -description: By following this specification, a user creates a single RPC configuration that can be used by all compliant tools. -author: Storm Slivkoff (@sslivkoff) -discussions-to: https://github.com/paradigmxyz/mesc -status: Draft -type: Standards -category: Interface -created: 2023-12-24 ---- - - - -## Abstract - - - -MESC is a standard for how crypto tools configure their RPC endpoints. - -By following this specification, a user creates a single RPC configuration that can be shared by all crypto tools on their system. - -MESC has two main design goals: -1. make it easy to share RPC configuration data across tools, languages, and environments -2. make it easy to manage the configuration of a large number of RPC endpoints - -## Motivation - - - -Between mainnet, testnets, chainforks, rollups, and alternative L1's, modern crypto tools must manage the configuration of multiple RPC endpoints. This configuration process is not standardized across tools. - -The most common approach for configuring RPC endpoint information is the `ETH_RPC_URL` environment variable (dapptools, forge, heimdall, checkthechain). However, this is not a formal standard and many tools use other approaches. Furthermore, using `ETH_RPC_URL` can only specify a single provider for a single chain, and it cannot specify any provider metadata beyond the url. - -Instead it would be desirable to have a solution that: -- allows specifying multiple providers for multiple chains -- allows selection of a default endpoint for each chain -- allows using either environment variables or config files -- is a single source of truth across multiple tools -- is OS-agnostic, using no OS-specific features -- is language-agnostic, using no language-specific features -- is backwards compatible with previous solutions - -## Specification - - - -The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 and RFC 8174. - -We specify an approach that provides all of the desirable properties listed above. - -#### Schema - -MESC is built using three key-value data schemas: - -##### `RpcConfig` schema: - -| key | value type | description | -| --- | --- | --- | -| `mesc_version` | `str` | must equal the value `"MESC 1.0"` -| `default_endpoint` | `str \| None` | name of default endpoint -| `network_defaults` | `Mapping[ChainId, str]` | map of chain_id's to endpoint names -| `network_names` | `Mapping[str, ChainId]` | map of network names to chain_id's -| `endpoints` | `Mapping[str, Endpoint]` | map of endpoint names to endpoints -| `profiles` | `Mapping[str, Profile]` | map of profile names to profiles -| `global_metadata` | `Mapping[str, Any]` | global metadata entries - -##### `Endpoint` schema: - -| key | value type | description | -| --- | --- | --- | -| `name` | `str` | name of endpoint -| `url` | `str` | url of endpoint, including transport -| `chain_id` | `ChainId \| None` | chain id of network -| `endpoint_metadata` | `Mapping[str, Any]` | endpoint metadata entries - -##### `Profile` schema: - -| key | value type | description | -| --- | --- | --- | -| `name` | `str` | name of profile -| `default_endpoint` | `str \| None` | chain_id of default network -| `network_defaults` | `Mapping[ChainId, str]` | map of chain_id's to endpoint names -| `profile_metadata` | `Mapping[str, Any]` | profile metadata entries -| `use_mesc` | `bool` | whether to disable MESC when this profile is selected - -Requirements: -- All keys of `RpcConfig` and `Endpoint` are required. No additional keys must be present, except within `global_metadata`, `profile_metadata`, and `endpoint_metadata`. -- Every endpoint name specified in `RpcConfig.default_endpoint` and in `RpcConfig.network_defaults` must exist in `RpcConfig.endpoints`. -- These key-value structures can be easily represented in JSON and in most common programming languages. -- EVM `chain_id`'s must be represented using either a decimal string or a `0x`-prefixed hex string. Strings are used because chain id's can be 256 bits and most programming languages do not have native 256 bit integer types. For readability, decimal should be used for small chain id values and hex should be used for values that use the entire 256 bits. -- Names of endpoints, networks, and profiles should be composed of characters that are either alphanumeric, dashes, underscores, or periods. Names should be at least 1 character long. - -##### Metadata - -The `global_metadata`, `profile_metadata`, and `endpoint_metadata` fields allow for optional or idiosyncratic RPC metadata to be stored alongside the core RPC data. Tools using MESC can choose to ignore these fields. Examples of common metadata: - -**Endpoint metadata** -| key | value type | description | examples | -| --- | --- | --- | --- | -| `rate_limit_rps` | `int \| float` | ratelimit in requests per second | `250` | -| `rate_limit_cups` | `int \| float` | ratelimit in CUPS | `1000` | -| `rate_limit_per_method` | `Mapping[str, int \| float]` | ratelimit in RPS for each method | `{"trace_block": 200}` | -| `api_key` | `str` | api key | `a2798f237a2398rf7` | -| `jwt_secret` | `str` | jwt secret | | -| `host` | `str` | name of provider host | `"llamanodes"`, `"alchemy"`, `"quicknode"`, `"localhost"` -| `ecosystem` | `str` | ecosystem of chain, (e.g. relates mainnets to testnets) | `"ethereum"`, `"polygon"` | -| `node_client` | `str` | versioned node client | `erigon/2.48.1/linux-amd64/go1.20.5` `reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu` | -| `namespaces` | `Sequence[str]` | RPC name spaces enabled for endpoint | `["eth", "trace", "debug"]` -| `explorer` | `str` | block explorer url | `https://etherscan.io` -| `location` | `str` | geographic region | `Paris, France` | -| `cloud_region` | `str` | cloud provider region | `aws-us-east-1a` | -| `labels` | `Sequence[str]` | tags | `private_mempool`, `cache`, `archive`, `consensus_layer`, `execution_layer`, `validator`, `ephemeral` | - -**Global Metadata** and **Profile Metadata** -| key | value type | description | examples | -| --- | --- | --- | --- | -| `last_modified_by` | `str` | versioned tool used to create configuration | `mesc__1.0` | -| `last_modified_time` | `int` | timestamp of config modification | `1700200462` | -| `creation_time` | `int` | timestamp of config creation | `1700200462` | -| `api_keys` | `Mapping[str, str]` | API keys to RPC-related services | `{"etherscan": "abc123"}` | -| `groups` | `Mapping[str, Sequence[str]]` | groupings of endpoints, mapping of group name to list of endpoint names | `{"load_balancer": ["alchemy_optimism", "quicknode_optimism"]}` | -| `conceal` | `bool` | whether tool should avoid casually revealing private RPC url's unprompted | `true` | - -#### Environment - -##### Environment Setup - -`RpcConfig` data is stored as JSON either in a file or in an environmental variable. - -This configuration data is located using 3 environment variables: -- `MESC_MODE` -- `MESC_PATH` -- `MESC_ENV` - -Configuration data is loaded using the following resolution order: -1. check `MESC_MODE` - - if set to `PATH`, interpret file at `MESC_PATH` as JSON `RpcConfig` data - - if set to `ENV`, interpret the contents of `MESC_ENV` as JSON `RpcConfig` data - - if set to `DISABLED` or other value, raise error - - if unset or empty, continue to (2) -2. check `MESC_PATH` - - if set to an existing file, interpret as JSON `RpcConfig` data - - if set to a nonexistent file, raise error - - if unset or empty, continue to (3) -3. check `MESC_ENV` - - if set to valid JSON, interpret as JSON `RpcConfig` data - - if unset or empty, MESC is not being used, continue to (4) -4. check values of MESC environment overrides (see below) - - if any overrides are set to non-empty values, build config from them - - if none are set, continue to (5) -5. MESC is not enabled, raise error - -MESC is considered to be enabled on a system if 1) at least one MESC environment variable is set to a non-empty value and 2) the `MESC_MODE` environment variable is not set to `DISABLED`. - -##### Environment Overrides - -MESC also introduces environment variables that can override each configuration key. These overrides allow quick, ad-hoc configuration changes without needing to edit the underlying configuration files. - -These overrides use a simple syntax that is intended to be easily written by humans: - -| override variable | value syntax | example | -| --- | --- | --- | -| `MESC_DEFAULT_ENDPOINT` | url, endpoint name, or network name | `localhost:9999` | -| `MESC_NETWORK_DEFAULTS` | space-separated pairs of `=` | `5=alchemy_optimism 1=local_mainnet` | -| `MESC_NETWORK_NAMES` | space-separated pairs of `=` | `zora=7777777` | -| `MESC_ENDPOINTS` | space-separated items of `[[:]=]` | `alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545` | -| `MESC_PROFILES` | space-separated pairs of `.[.` | `foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism` | -| `MESC_GLOBAL_METADATA` | JSON formatted global metadata | `{}` | -| `MESC_ENDPOINT_METADATA` | JSON mapping of `{"endpoint_name": {}}` | `{}` | - -- Overrides can be placed within a shell script or inlined to a shell command. For example, to quickly change the default endpoint used by cli tool `xyz`, could use the command `MESC_DEFAULT_ENDPOINT=goerli xyz`. Overrides can also be used with CI/CD environments or containers. -- If URL's are given to `MESC_DEFAULT_ENDPOINT`, `MESC_NETWORK_DEFAULTS`, or `MESC_ENDPOINTS`, `Endpoint` entries will be created as needed in `RpcConfig.endpoints`. If a name is not provided, a random name should be assigned. -- Setting an override variable to an empty value will disable that override from being used. -- Setting an override variable to an invalid value should result in an error upon loading the config. -- Metadata overrides (`MESC_GLOBAL_METADATA` and `MESC_ENDPOINT_METADATA`) merge into the underlying config values instead of replacing them. -- Using `MESC_MODE=DISABLED` is a simple way to completely disable MESC. Using `MESC_PROFILES=profile.use_mesc=false` will disable MESC for a particular profile. - -#### Querying Data - -When a user specifies an endpoint, as in `-r `, a MESC library must resolve this input into an endpoint URL. It is generally preferable to allow this user query to be a URL, an endpoint name, a network name, or a chain_id. - -MESC data must be searched in the following order: -1. endpoint names -2. chain_id -3. network name - -#### Examples - -This is a basic configuration of 5 endpoints across 3 networks. It also contains a profile for a tool called `xyz` that defaults to 3rd party endpoints instead of local endpoints. - -```json -{ - "mesc_version": "MESC 1.0", - "default_endpoint": "local_ethereum", - "network_defaults": { - "1": "local_ethereum", - "5": "local_goerli", - "137": "llamanodes_polygon" - }, - "network_names": {}, - "endpoints": { - "local_ethereum": { - "name": "local_ethereum", - "url": "http://localhost:8545", - "chain_id": "1", - "endpoint_metadata": {} - }, - "local_goerli": { - "name": "local_goerli", - "url": "http://localhost:8546", - "chain_id": "5", - "endpoint_metadata": {} - }, - "llamanodes_ethereum": { - "name": "llamanodes_ethereum", - "url": "https://eth.llamarpc.com", - "chain_id": "1", - "endpoint_metadata": {} - }, - "llamanodes_polygon": { - "name": "llamanodes_polygon", - "url": "https://polygon.llamarpc.com", - "chain_id": "137", - "endpoint_metadata": {} - } - }, - "profiles": { - "xyz": { - "name": "xyz", - "default_endpoint": "llamanodes_polygon", - "network_defaults": { - "1": "llamanodes_ethereum", - "137": "llamanodes_polygon" - }, - "profile_metadata": {}, - "use_mesc": true - } - }, - "global_metadata": {} -} -``` - -## Rationale - - - -Want to satisfy all of these constraints: -- has an interface that can be expressed naturally in most common programming languages -- able to manage large numbers of endpoints, including multiple endpoints per network and a default endpoint for each network -- able to label each endpoint with metadata -- able to express groupings of endpoints -- able to store the config in either a JSON file or an environment variable -- able to override individual settings with human-writable environment variables -- minimize complexity - -Other notes: -- `global_metadata`, `profile_metadata`, and `endpoint_metadata` allow extra information to be stored in the config without breaking the standard. This includes api keys, rate limits, and organizational labels. This information might be specific to each application. -- `Profile`s allow different defaults to be assigned to each tool or each mode of operation. -- Allowing RPC information to be configured using either a file or an environment variable allows optimal deployment patterns across a wide range of computing environments. Each also has their own advantages, e.g. file can be used with version control whereas environment variables can be changed more dynamically. - - -## Backwards Compatibility - - - -No backward compatibility issues found. - -MESC is an opt-in specification that only becomes activated when a user explicitly sets one or more of the environment variables listed above (`MESC_MODE`, `MESC_PATH`, or `MESC_ENV`). These variables are not currently used by any common crypto tools. Tools that use `ETH_RPC_URL` or other configuration approaches will continue working as before. - - - - - -## Reference Implementation - - - -A library that reads raw MESC data should provide the following core functions: - -```python -# check whether mesc is enabled -enabled = mesc.is_mesc_enabled() - -# get the default endpoint -endpoint: Endpoint | None = mesc.get_default_endpoint() - -# get the default endpoint of a network -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5) - -# get the default endpoint for a particular tool -endpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool') - -# get the default endpoint of a network for a particular tool -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool') - -# get an endpoint by name -endpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli') - -# parse a user-provided string into a matching endpoint -# (first try 1. endpoint name, then 2. chain id, then 3. network name) -endpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool') - -# find all endpoints matching given criteria -endpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5) - -# get non-endpoint metadata -metadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool') -``` - -A reference implementation is provided in the supplemental files of this repository. - -## Security Considerations - - - -A malicious RPC endpoint can serve false or misleading information to a user. It is therefore critical that MESC-related tooling comes from a trustworthy source. - -## Copyright - -Copyright and related rights waived via [CC0](../LICENSE.md). diff --git a/ayu-highlight.css b/ayu-highlight.css new file mode 100644 index 0000000..32c9432 --- /dev/null +++ b/ayu-highlight.css @@ -0,0 +1,78 @@ +/* +Based off of the Ayu theme +Original by Dempfi (https://github.com/dempfi/ayu) +*/ + +.hljs { + display: block; + overflow-x: auto; + background: #191f26; + color: #e6e1cf; +} + +.hljs-comment, +.hljs-quote { + color: #5c6773; + font-style: italic; +} + +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-attr, +.hljs-regexp, +.hljs-link, +.hljs-selector-id, +.hljs-selector-class { + color: #ff7733; +} + +.hljs-number, +.hljs-meta, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #ffee99; +} + +.hljs-string, +.hljs-bullet { + color: #b8cc52; +} + +.hljs-title, +.hljs-built_in, +.hljs-section { + color: #ffb454; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-symbol { + color: #ff7733; +} + +.hljs-name { + color: #36a3d9; +} + +.hljs-tag { + color: #00568d; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-addition { + color: #91b362; +} + +.hljs-deletion { + color: #d96c75; +} diff --git a/book.js b/book.js new file mode 100644 index 0000000..aa12e7e --- /dev/null +++ b/book.js @@ -0,0 +1,697 @@ +"use strict"; + +// Fix back button cache problem +window.onunload = function () { }; + +// Global variable, shared between modules +function playground_text(playground, hidden = true) { + let code_block = playground.querySelector("code"); + + if (window.ace && code_block.classList.contains("editable")) { + let editor = window.ace.edit(code_block); + return editor.getValue(); + } else if (hidden) { + return code_block.textContent; + } else { + return code_block.innerText; + } +} + +(function codeSnippets() { + function fetch_with_timeout(url, options, timeout = 6000) { + return Promise.race([ + fetch(url, options), + new Promise((_, reject) => setTimeout(() => reject(new Error('timeout')), timeout)) + ]); + } + + var playgrounds = Array.from(document.querySelectorAll(".playground")); + if (playgrounds.length > 0) { + fetch_with_timeout("https://play.rust-lang.org/meta/crates", { + headers: { + 'Content-Type': "application/json", + }, + method: 'POST', + mode: 'cors', + }) + .then(response => response.json()) + .then(response => { + // get list of crates available in the rust playground + let playground_crates = response.crates.map(item => item["id"]); + playgrounds.forEach(block => handle_crate_list_update(block, playground_crates)); + }); + } + + function handle_crate_list_update(playground_block, playground_crates) { + // update the play buttons after receiving the response + update_play_button(playground_block, playground_crates); + + // and install on change listener to dynamically update ACE editors + if (window.ace) { + let code_block = playground_block.querySelector("code"); + if (code_block.classList.contains("editable")) { + let editor = window.ace.edit(code_block); + editor.addEventListener("change", function (e) { + update_play_button(playground_block, playground_crates); + }); + // add Ctrl-Enter command to execute rust code + editor.commands.addCommand({ + name: "run", + bindKey: { + win: "Ctrl-Enter", + mac: "Ctrl-Enter" + }, + exec: _editor => run_rust_code(playground_block) + }); + } + } + } + + // updates the visibility of play button based on `no_run` class and + // used crates vs ones available on https://play.rust-lang.org + function update_play_button(pre_block, playground_crates) { + var play_button = pre_block.querySelector(".play-button"); + + // skip if code is `no_run` + if (pre_block.querySelector('code').classList.contains("no_run")) { + play_button.classList.add("hidden"); + return; + } + + // get list of `extern crate`'s from snippet + var txt = playground_text(pre_block); + var re = /extern\s+crate\s+([a-zA-Z_0-9]+)\s*;/g; + var snippet_crates = []; + var item; + while (item = re.exec(txt)) { + snippet_crates.push(item[1]); + } + + // check if all used crates are available on play.rust-lang.org + var all_available = snippet_crates.every(function (elem) { + return playground_crates.indexOf(elem) > -1; + }); + + if (all_available) { + play_button.classList.remove("hidden"); + } else { + play_button.classList.add("hidden"); + } + } + + function run_rust_code(code_block) { + var result_block = code_block.querySelector(".result"); + if (!result_block) { + result_block = document.createElement('code'); + result_block.className = 'result hljs language-bash'; + + code_block.append(result_block); + } + + let text = playground_text(code_block); + let classes = code_block.querySelector('code').classList; + let edition = "2015"; + if(classes.contains("edition2018")) { + edition = "2018"; + } else if(classes.contains("edition2021")) { + edition = "2021"; + } + var params = { + version: "stable", + optimize: "0", + code: text, + edition: edition + }; + + if (text.indexOf("#![feature") !== -1) { + params.version = "nightly"; + } + + result_block.innerText = "Running..."; + + fetch_with_timeout("https://play.rust-lang.org/evaluate.json", { + headers: { + 'Content-Type': "application/json", + }, + method: 'POST', + mode: 'cors', + body: JSON.stringify(params) + }) + .then(response => response.json()) + .then(response => { + if (response.result.trim() === '') { + result_block.innerText = "No output"; + result_block.classList.add("result-no-output"); + } else { + result_block.innerText = response.result; + result_block.classList.remove("result-no-output"); + } + }) + .catch(error => result_block.innerText = "Playground Communication: " + error.message); + } + + // Syntax highlighting Configuration + hljs.configure({ + tabReplace: ' ', // 4 spaces + languages: [], // Languages used for auto-detection + }); + + let code_nodes = Array + .from(document.querySelectorAll('code')) + // Don't highlight `inline code` blocks in headers. + .filter(function (node) {return !node.parentElement.classList.contains("header"); }); + + if (window.ace) { + // language-rust class needs to be removed for editable + // blocks or highlightjs will capture events + code_nodes + .filter(function (node) {return node.classList.contains("editable"); }) + .forEach(function (block) { block.classList.remove('language-rust'); }); + + code_nodes + .filter(function (node) {return !node.classList.contains("editable"); }) + .forEach(function (block) { hljs.highlightBlock(block); }); + } else { + code_nodes.forEach(function (block) { hljs.highlightBlock(block); }); + } + + // Adding the hljs class gives code blocks the color css + // even if highlighting doesn't apply + code_nodes.forEach(function (block) { block.classList.add('hljs'); }); + + Array.from(document.querySelectorAll("code.hljs")).forEach(function (block) { + + var lines = Array.from(block.querySelectorAll('.boring')); + // If no lines were hidden, return + if (!lines.length) { return; } + block.classList.add("hide-boring"); + + var buttons = document.createElement('div'); + buttons.className = 'buttons'; + buttons.innerHTML = ""; + + // add expand button + var pre_block = block.parentNode; + pre_block.insertBefore(buttons, pre_block.firstChild); + + pre_block.querySelector('.buttons').addEventListener('click', function (e) { + if (e.target.classList.contains('fa-eye')) { + e.target.classList.remove('fa-eye'); + e.target.classList.add('fa-eye-slash'); + e.target.title = 'Hide lines'; + e.target.setAttribute('aria-label', e.target.title); + + block.classList.remove('hide-boring'); + } else if (e.target.classList.contains('fa-eye-slash')) { + e.target.classList.remove('fa-eye-slash'); + e.target.classList.add('fa-eye'); + e.target.title = 'Show hidden lines'; + e.target.setAttribute('aria-label', e.target.title); + + block.classList.add('hide-boring'); + } + }); + }); + + if (window.playground_copyable) { + Array.from(document.querySelectorAll('pre code')).forEach(function (block) { + var pre_block = block.parentNode; + if (!pre_block.classList.contains('playground')) { + var buttons = pre_block.querySelector(".buttons"); + if (!buttons) { + buttons = document.createElement('div'); + buttons.className = 'buttons'; + pre_block.insertBefore(buttons, pre_block.firstChild); + } + + var clipButton = document.createElement('button'); + clipButton.className = 'fa fa-copy clip-button'; + clipButton.title = 'Copy to clipboard'; + clipButton.setAttribute('aria-label', clipButton.title); + clipButton.innerHTML = ''; + + buttons.insertBefore(clipButton, buttons.firstChild); + } + }); + } + + // Process playground code blocks + Array.from(document.querySelectorAll(".playground")).forEach(function (pre_block) { + // Add play button + var buttons = pre_block.querySelector(".buttons"); + if (!buttons) { + buttons = document.createElement('div'); + buttons.className = 'buttons'; + pre_block.insertBefore(buttons, pre_block.firstChild); + } + + var runCodeButton = document.createElement('button'); + runCodeButton.className = 'fa fa-play play-button'; + runCodeButton.hidden = true; + runCodeButton.title = 'Run this code'; + runCodeButton.setAttribute('aria-label', runCodeButton.title); + + buttons.insertBefore(runCodeButton, buttons.firstChild); + runCodeButton.addEventListener('click', function (e) { + run_rust_code(pre_block); + }); + + if (window.playground_copyable) { + var copyCodeClipboardButton = document.createElement('button'); + copyCodeClipboardButton.className = 'fa fa-copy clip-button'; + copyCodeClipboardButton.innerHTML = ''; + copyCodeClipboardButton.title = 'Copy to clipboard'; + copyCodeClipboardButton.setAttribute('aria-label', copyCodeClipboardButton.title); + + buttons.insertBefore(copyCodeClipboardButton, buttons.firstChild); + } + + let code_block = pre_block.querySelector("code"); + if (window.ace && code_block.classList.contains("editable")) { + var undoChangesButton = document.createElement('button'); + undoChangesButton.className = 'fa fa-history reset-button'; + undoChangesButton.title = 'Undo changes'; + undoChangesButton.setAttribute('aria-label', undoChangesButton.title); + + buttons.insertBefore(undoChangesButton, buttons.firstChild); + + undoChangesButton.addEventListener('click', function () { + let editor = window.ace.edit(code_block); + editor.setValue(editor.originalCode); + editor.clearSelection(); + }); + } + }); +})(); + +(function themes() { + var html = document.querySelector('html'); + var themeToggleButton = document.getElementById('theme-toggle'); + var themePopup = document.getElementById('theme-list'); + var themeColorMetaTag = document.querySelector('meta[name="theme-color"]'); + var stylesheets = { + ayuHighlight: document.querySelector("[href$='ayu-highlight.css']"), + tomorrowNight: document.querySelector("[href$='tomorrow-night.css']"), + highlight: document.querySelector("[href$='highlight.css']"), + }; + + function showThemes() { + themePopup.style.display = 'block'; + themeToggleButton.setAttribute('aria-expanded', true); + themePopup.querySelector("button#" + get_theme()).focus(); + } + + function updateThemeSelected() { + themePopup.querySelectorAll('.theme-selected').forEach(function (el) { + el.classList.remove('theme-selected'); + }); + themePopup.querySelector("button#" + get_theme()).classList.add('theme-selected'); + } + + function hideThemes() { + themePopup.style.display = 'none'; + themeToggleButton.setAttribute('aria-expanded', false); + themeToggleButton.focus(); + } + + function get_theme() { + var theme; + try { theme = localStorage.getItem('mdbook-theme'); } catch (e) { } + if (theme === null || theme === undefined) { + return default_theme; + } else { + return theme; + } + } + + function set_theme(theme, store = true) { + let ace_theme; + + if (theme == 'coal' || theme == 'navy') { + stylesheets.ayuHighlight.disabled = true; + stylesheets.tomorrowNight.disabled = false; + stylesheets.highlight.disabled = true; + + ace_theme = "ace/theme/tomorrow_night"; + } else if (theme == 'ayu') { + stylesheets.ayuHighlight.disabled = false; + stylesheets.tomorrowNight.disabled = true; + stylesheets.highlight.disabled = true; + ace_theme = "ace/theme/tomorrow_night"; + } else { + stylesheets.ayuHighlight.disabled = true; + stylesheets.tomorrowNight.disabled = true; + stylesheets.highlight.disabled = false; + ace_theme = "ace/theme/dawn"; + } + + setTimeout(function () { + themeColorMetaTag.content = getComputedStyle(document.documentElement).backgroundColor; + }, 1); + + if (window.ace && window.editors) { + window.editors.forEach(function (editor) { + editor.setTheme(ace_theme); + }); + } + + var previousTheme = get_theme(); + + if (store) { + try { localStorage.setItem('mdbook-theme', theme); } catch (e) { } + } + + html.classList.remove(previousTheme); + html.classList.add(theme); + updateThemeSelected(); + } + + // Set theme + var theme = get_theme(); + + set_theme(theme, false); + + themeToggleButton.addEventListener('click', function () { + if (themePopup.style.display === 'block') { + hideThemes(); + } else { + showThemes(); + } + }); + + themePopup.addEventListener('click', function (e) { + var theme; + if (e.target.className === "theme") { + theme = e.target.id; + } else if (e.target.parentElement.className === "theme") { + theme = e.target.parentElement.id; + } else { + return; + } + set_theme(theme); + }); + + themePopup.addEventListener('focusout', function(e) { + // e.relatedTarget is null in Safari and Firefox on macOS (see workaround below) + if (!!e.relatedTarget && !themeToggleButton.contains(e.relatedTarget) && !themePopup.contains(e.relatedTarget)) { + hideThemes(); + } + }); + + // Should not be needed, but it works around an issue on macOS & iOS: https://github.com/rust-lang/mdBook/issues/628 + document.addEventListener('click', function(e) { + if (themePopup.style.display === 'block' && !themeToggleButton.contains(e.target) && !themePopup.contains(e.target)) { + hideThemes(); + } + }); + + document.addEventListener('keydown', function (e) { + if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { return; } + if (!themePopup.contains(e.target)) { return; } + + switch (e.key) { + case 'Escape': + e.preventDefault(); + hideThemes(); + break; + case 'ArrowUp': + e.preventDefault(); + var li = document.activeElement.parentElement; + if (li && li.previousElementSibling) { + li.previousElementSibling.querySelector('button').focus(); + } + break; + case 'ArrowDown': + e.preventDefault(); + var li = document.activeElement.parentElement; + if (li && li.nextElementSibling) { + li.nextElementSibling.querySelector('button').focus(); + } + break; + case 'Home': + e.preventDefault(); + themePopup.querySelector('li:first-child button').focus(); + break; + case 'End': + e.preventDefault(); + themePopup.querySelector('li:last-child button').focus(); + break; + } + }); +})(); + +(function sidebar() { + var body = document.querySelector("body"); + var sidebar = document.getElementById("sidebar"); + var sidebarLinks = document.querySelectorAll('#sidebar a'); + var sidebarToggleButton = document.getElementById("sidebar-toggle"); + var sidebarResizeHandle = document.getElementById("sidebar-resize-handle"); + var firstContact = null; + + function showSidebar() { + body.classList.remove('sidebar-hidden') + body.classList.add('sidebar-visible'); + Array.from(sidebarLinks).forEach(function (link) { + link.setAttribute('tabIndex', 0); + }); + sidebarToggleButton.setAttribute('aria-expanded', true); + sidebar.setAttribute('aria-hidden', false); + try { localStorage.setItem('mdbook-sidebar', 'visible'); } catch (e) { } + } + + + var sidebarAnchorToggles = document.querySelectorAll('#sidebar a.toggle'); + + function toggleSection(ev) { + ev.currentTarget.parentElement.classList.toggle('expanded'); + } + + Array.from(sidebarAnchorToggles).forEach(function (el) { + el.addEventListener('click', toggleSection); + }); + + function hideSidebar() { + body.classList.remove('sidebar-visible') + body.classList.add('sidebar-hidden'); + Array.from(sidebarLinks).forEach(function (link) { + link.setAttribute('tabIndex', -1); + }); + sidebarToggleButton.setAttribute('aria-expanded', false); + sidebar.setAttribute('aria-hidden', true); + try { localStorage.setItem('mdbook-sidebar', 'hidden'); } catch (e) { } + } + + // Toggle sidebar + sidebarToggleButton.addEventListener('click', function sidebarToggle() { + if (body.classList.contains("sidebar-hidden")) { + var current_width = parseInt( + document.documentElement.style.getPropertyValue('--sidebar-width'), 10); + if (current_width < 150) { + document.documentElement.style.setProperty('--sidebar-width', '150px'); + } + showSidebar(); + } else if (body.classList.contains("sidebar-visible")) { + hideSidebar(); + } else { + if (getComputedStyle(sidebar)['transform'] === 'none') { + hideSidebar(); + } else { + showSidebar(); + } + } + }); + + sidebarResizeHandle.addEventListener('mousedown', initResize, false); + + function initResize(e) { + window.addEventListener('mousemove', resize, false); + window.addEventListener('mouseup', stopResize, false); + body.classList.add('sidebar-resizing'); + } + function resize(e) { + var pos = (e.clientX - sidebar.offsetLeft); + if (pos < 20) { + hideSidebar(); + } else { + if (body.classList.contains("sidebar-hidden")) { + showSidebar(); + } + pos = Math.min(pos, window.innerWidth - 100); + document.documentElement.style.setProperty('--sidebar-width', pos + 'px'); + } + } + //on mouseup remove windows functions mousemove & mouseup + function stopResize(e) { + body.classList.remove('sidebar-resizing'); + window.removeEventListener('mousemove', resize, false); + window.removeEventListener('mouseup', stopResize, false); + } + + document.addEventListener('touchstart', function (e) { + firstContact = { + x: e.touches[0].clientX, + time: Date.now() + }; + }, { passive: true }); + + document.addEventListener('touchmove', function (e) { + if (!firstContact) + return; + + var curX = e.touches[0].clientX; + var xDiff = curX - firstContact.x, + tDiff = Date.now() - firstContact.time; + + if (tDiff < 250 && Math.abs(xDiff) >= 150) { + if (xDiff >= 0 && firstContact.x < Math.min(document.body.clientWidth * 0.25, 300)) + showSidebar(); + else if (xDiff < 0 && curX < 300) + hideSidebar(); + + firstContact = null; + } + }, { passive: true }); +})(); + +(function chapterNavigation() { + document.addEventListener('keydown', function (e) { + if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { return; } + if (window.search && window.search.hasFocus()) { return; } + var html = document.querySelector('html'); + + function next() { + var nextButton = document.querySelector('.nav-chapters.next'); + if (nextButton) { + window.location.href = nextButton.href; + } + } + function prev() { + var previousButton = document.querySelector('.nav-chapters.previous'); + if (previousButton) { + window.location.href = previousButton.href; + } + } + switch (e.key) { + case 'ArrowRight': + e.preventDefault(); + if (html.dir == 'rtl') { + prev(); + } else { + next(); + } + break; + case 'ArrowLeft': + e.preventDefault(); + if (html.dir == 'rtl') { + next(); + } else { + prev(); + } + break; + } + }); +})(); + +(function clipboard() { + var clipButtons = document.querySelectorAll('.clip-button'); + + function hideTooltip(elem) { + elem.firstChild.innerText = ""; + elem.className = 'fa fa-copy clip-button'; + } + + function showTooltip(elem, msg) { + elem.firstChild.innerText = msg; + elem.className = 'fa fa-copy tooltipped'; + } + + var clipboardSnippets = new ClipboardJS('.clip-button', { + text: function (trigger) { + hideTooltip(trigger); + let playground = trigger.closest("pre"); + return playground_text(playground, false); + } + }); + + Array.from(clipButtons).forEach(function (clipButton) { + clipButton.addEventListener('mouseout', function (e) { + hideTooltip(e.currentTarget); + }); + }); + + clipboardSnippets.on('success', function (e) { + e.clearSelection(); + showTooltip(e.trigger, "Copied!"); + }); + + clipboardSnippets.on('error', function (e) { + showTooltip(e.trigger, "Clipboard error!"); + }); +})(); + +(function scrollToTop () { + var menuTitle = document.querySelector('.menu-title'); + + menuTitle.addEventListener('click', function () { + document.scrollingElement.scrollTo({ top: 0, behavior: 'smooth' }); + }); +})(); + +(function controllMenu() { + var menu = document.getElementById('menu-bar'); + + (function controllPosition() { + var scrollTop = document.scrollingElement.scrollTop; + var prevScrollTop = scrollTop; + var minMenuY = -menu.clientHeight - 50; + // When the script loads, the page can be at any scroll (e.g. if you reforesh it). + menu.style.top = scrollTop + 'px'; + // Same as parseInt(menu.style.top.slice(0, -2), but faster + var topCache = menu.style.top.slice(0, -2); + menu.classList.remove('sticky'); + var stickyCache = false; // Same as menu.classList.contains('sticky'), but faster + document.addEventListener('scroll', function () { + scrollTop = Math.max(document.scrollingElement.scrollTop, 0); + // `null` means that it doesn't need to be updated + var nextSticky = null; + var nextTop = null; + var scrollDown = scrollTop > prevScrollTop; + var menuPosAbsoluteY = topCache - scrollTop; + if (scrollDown) { + nextSticky = false; + if (menuPosAbsoluteY > 0) { + nextTop = prevScrollTop; + } + } else { + if (menuPosAbsoluteY > 0) { + nextSticky = true; + } else if (menuPosAbsoluteY < minMenuY) { + nextTop = prevScrollTop + minMenuY; + } + } + if (nextSticky === true && stickyCache === false) { + menu.classList.add('sticky'); + stickyCache = true; + } else if (nextSticky === false && stickyCache === true) { + menu.classList.remove('sticky'); + stickyCache = false; + } + if (nextTop !== null) { + menu.style.top = nextTop + 'px'; + topCache = nextTop; + } + prevScrollTop = scrollTop; + }, { passive: true }); + })(); + (function controllBorder() { + function updateBorder() { + if (menu.offsetTop === 0) { + menu.classList.remove('bordered'); + } else { + menu.classList.add('bordered'); + } + } + updateBorder(); + document.addEventListener('scroll', updateBorder, { passive: true }); + })(); +})(); diff --git a/cli.html b/cli.html new file mode 100644 index 0000000..39c1a3b --- /dev/null +++ b/cli.html @@ -0,0 +1,324 @@ + + + + + + CLI - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

MESC CLI

+

This is a utility for creating and managing MESC RPC configurations.

+

Under the hood, this cli is implemented using the rust crate here.

+

The most important cli subcommands:

+
    +
  1. mesc setup: create and modify MESC configs
  2. +
  3. mesc ls: list endpoints
  4. +
  5. mesc ping: ping endpoints
  6. +
  7. mesc url: print endpoint url
  8. +
+

View help for each subcommand by typing mesc [SUBCOMMAND] --help

+

basics

+

Contents

+ +

Installation

+

Use one of the 3 options below. Check that mesc is properly installed and on your PATH by running mesc -h.

+

Install from crates.io

+

cargo install mesc_cli

+

Ensure that your cargo install path is on your cli path

+

Install from source

+
# install rust and cargo
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
+# install mesc
+git clone https://github.com/paradigmxyz/mesc
+cd mesc
+cargo install --path rust/crates/cli
+
+

Example Usage

+

Quickly obtain RPC url's:

+
# curl the default network rpc url
+curl $(mesc url) ...
+
+# curl the default goerli url
+curl $(mesc url goerli) ...
+
+# curl an endpoint by name
+curl $(mesc url local_goerli) ...
+
+

Print configuration data

+
# print all endpoints in table
+mesc ls
+
+# ping endpoints and collect metadata
+mesc ping
+
+# print default goerli endpoint data, human readable
+mesc endpoint goerli
+
+# print default goerli endpoint data, as json
+mesc endpoint goerli --json
+
+

Reference

+

Show in terminal by typing mesc --help:

+
command line interface for creating, loading, and modifying MESC configuration data
+
+Usage: mesc <COMMAND>
+
+Commands:
+  setup     Create or modify config interactively
+  import    Modify config by importing from file or other source
+  set       Modify config by setting specific values
+  ping      Ping endpoints and fetch metadata
+  defaults  Print list of defaults
+  endpoint  Print endpoint
+  help      Print help
+  ls        Print list of endpoints
+  metadata  Print metadata
+  status    Print status of configuration
+  url       Print endpoint URL
+
+Options:
+  -h, --help     Print help
+  -V, --version  Print version
+
+Help topics: (print these with mesc help <TOPIC>)
+  env       Environmental variables
+  python    Python interface
+  rust      Rust interface
+  schema    Schemas of configs, endpoints, and profiles
+  setup     How to set up MESC
+
+
    +
  • If an endpoint is omitted, use the default endpoint
  • +
  • If a chain_id or network name is provided, use the default endpoint of network
  • +
  • Can use --profile PROFILENAME to use defaults of a particular profile
  • +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/cli/CLI_IMPLEMENTED_IN_RUST_DIR.fyi b/cli/CLI_IMPLEMENTED_IN_RUST_DIR.fyi deleted file mode 100644 index c3c07bb..0000000 --- a/cli/CLI_IMPLEMENTED_IN_RUST_DIR.fyi +++ /dev/null @@ -1 +0,0 @@ -look in `../rust/crates/mesc_cli` diff --git a/cli/README.md b/cli/README.md deleted file mode 100644 index 0ce1e2a..0000000 --- a/cli/README.md +++ /dev/null @@ -1,110 +0,0 @@ - -# MESC CLI - -This is a utility for creating and managing MESC RPC configurations. - -Under the hood, this cli is implemented using the rust crate [here](../rust/crates/mesc_cli). - -The most important cli subcommands: -1. `mesc setup`: create and modify MESC configs -2. `mesc ls`: list endpoints -3. `mesc ping`: ping endpoints -4. `mesc url`: print endpoint url - -View help for each subcommand by typing `mesc [SUBCOMMAND] --help` - -![basics](https://github.com/paradigmxyz/mesc/assets/7907648/2f84d90b-9cfd-42fd-89f1-bd35949e1c14) - -## Contents -- [Installation](#installation) -- [Example Usage](#example-usage) -- [Reference](#reference) - -## Installation - -Use one of the 3 options below. Check that `mesc` is properly installed and on your `PATH` by running `mesc -h`. - -### Install from crates.io - -`cargo install mesc_cli` - -Ensure that your cargo install path is on your cli path - -### Install from source - -```console -# install rust and cargo -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - -# install mesc -git clone https://github.com/paradigmxyz/mesc -cd mesc -cargo install --path rust/crates/cli -``` - -## Example Usage - -Quickly obtain RPC url's: -```console -# curl the default network rpc url -curl $(mesc url) ... - -# curl the default goerli url -curl $(mesc url goerli) ... - -# curl an endpoint by name -curl $(mesc url local_goerli) ... -``` - -Print configuration data -```console -# print all endpoints in table -mesc ls - -# ping endpoints and collect metadata -mesc ping - -# print default goerli endpoint data, human readable -mesc endpoint goerli - -# print default goerli endpoint data, as json -mesc endpoint goerli --json -``` - -## Reference - -Show in terminal by typing `mesc --help`: - -``` -command line interface for creating, loading, and modifying MESC configuration data - -Usage: mesc - -Commands: - setup Create or modify config interactively - import Modify config by importing from file or other source - set Modify config by setting specific values - ping Ping endpoints and fetch metadata - defaults Print list of defaults - endpoint Print endpoint - help Print help - ls Print list of endpoints - metadata Print metadata - status Print status of configuration - url Print endpoint URL - -Options: - -h, --help Print help - -V, --version Print version - -Help topics: (print these with mesc help ) - env Environmental variables - python Python interface - rust Rust interface - schema Schemas of configs, endpoints, and profiles - setup How to set up MESC -``` - -- If an endpoint is omitted, use the default endpoint -- If a chain_id or network name is provided, use the default endpoint of network -- Can use `--profile PROFILENAME` to use defaults of a particular profile diff --git a/clipboard.min.js b/clipboard.min.js new file mode 100644 index 0000000..02c549e --- /dev/null +++ b/clipboard.min.js @@ -0,0 +1,7 @@ +/*! + * clipboard.js v2.0.4 + * https://zenorocha.github.io/clipboard.js + * + * Licensed MIT © Zeno Rocha + */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(n){var o={};function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=n,r.c=o,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function o(t,e){for(var n=0;n .hljs { + color: var(--links); +} + +/* + body-container is necessary because mobile browsers don't seem to like + overflow-x on the body tag when there is a tag. +*/ +#body-container { + /* + This is used when the sidebar pushes the body content off the side of + the screen on small screens. Without it, dragging on mobile Safari + will want to reposition the viewport in a weird way. + */ + overflow-x: clip; +} + +/* Menu Bar */ + +#menu-bar, +#menu-bar-hover-placeholder { + z-index: 101; + margin: auto calc(0px - var(--page-padding)); +} +#menu-bar { + position: relative; + display: flex; + flex-wrap: wrap; + background-color: var(--bg); + border-block-end-color: var(--bg); + border-block-end-width: 1px; + border-block-end-style: solid; +} +#menu-bar.sticky, +.js #menu-bar-hover-placeholder:hover + #menu-bar, +.js #menu-bar:hover, +.js.sidebar-visible #menu-bar { + position: -webkit-sticky; + position: sticky; + top: 0 !important; +} +#menu-bar-hover-placeholder { + position: sticky; + position: -webkit-sticky; + top: 0; + height: var(--menu-bar-height); +} +#menu-bar.bordered { + border-block-end-color: var(--table-border-color); +} +#menu-bar i, #menu-bar .icon-button { + position: relative; + padding: 0 8px; + z-index: 10; + line-height: var(--menu-bar-height); + cursor: pointer; + transition: color 0.5s; +} +@media only screen and (max-width: 420px) { + #menu-bar i, #menu-bar .icon-button { + padding: 0 5px; + } +} + +.icon-button { + border: none; + background: none; + padding: 0; + color: inherit; +} +.icon-button i { + margin: 0; +} + +.right-buttons { + margin: 0 15px; +} +.right-buttons a { + text-decoration: none; +} + +.left-buttons { + display: flex; + margin: 0 5px; +} +.no-js .left-buttons button { + display: none; +} + +.menu-title { + display: inline-block; + font-weight: 200; + font-size: 2.4rem; + line-height: var(--menu-bar-height); + text-align: center; + margin: 0; + flex: 1; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.js .menu-title { + cursor: pointer; +} + +.menu-bar, +.menu-bar:visited, +.nav-chapters, +.nav-chapters:visited, +.mobile-nav-chapters, +.mobile-nav-chapters:visited, +.menu-bar .icon-button, +.menu-bar a i { + color: var(--icons); +} + +.menu-bar i:hover, +.menu-bar .icon-button:hover, +.nav-chapters:hover, +.mobile-nav-chapters i:hover { + color: var(--icons-hover); +} + +/* Nav Icons */ + +.nav-chapters { + font-size: 2.5em; + text-align: center; + text-decoration: none; + + position: fixed; + top: 0; + bottom: 0; + margin: 0; + max-width: 150px; + min-width: 90px; + + display: flex; + justify-content: center; + align-content: center; + flex-direction: column; + + transition: color 0.5s, background-color 0.5s; +} + +.nav-chapters:hover { + text-decoration: none; + background-color: var(--theme-hover); + transition: background-color 0.15s, color 0.15s; +} + +.nav-wrapper { + margin-block-start: 50px; + display: none; +} + +.mobile-nav-chapters { + font-size: 2.5em; + text-align: center; + text-decoration: none; + width: 90px; + border-radius: 5px; + background-color: var(--sidebar-bg); +} + +/* Only Firefox supports flow-relative values */ +.previous { float: left; } +[dir=rtl] .previous { float: right; } + +/* Only Firefox supports flow-relative values */ +.next { + float: right; + right: var(--page-padding); +} +[dir=rtl] .next { + float: left; + right: unset; + left: var(--page-padding); +} + +/* Use the correct buttons for RTL layouts*/ +[dir=rtl] .previous i.fa-angle-left:before {content:"\f105";} +[dir=rtl] .next i.fa-angle-right:before { content:"\f104"; } + +@media only screen and (max-width: 1080px) { + .nav-wide-wrapper { display: none; } + .nav-wrapper { display: block; } +} + +/* sidebar-visible */ +@media only screen and (max-width: 1380px) { + #sidebar-toggle-anchor:checked ~ .page-wrapper .nav-wide-wrapper { display: none; } + #sidebar-toggle-anchor:checked ~ .page-wrapper .nav-wrapper { display: block; } +} + +/* Inline code */ + +:not(pre) > .hljs { + display: inline; + padding: 0.1em 0.3em; + border-radius: 3px; +} + +:not(pre):not(a) > .hljs { + color: var(--inline-code-color); + overflow-x: initial; +} + +a:hover > .hljs { + text-decoration: underline; +} + +pre { + position: relative; +} +pre > .buttons { + position: absolute; + z-index: 100; + right: 0px; + top: 2px; + margin: 0px; + padding: 2px 0px; + + color: var(--sidebar-fg); + cursor: pointer; + visibility: hidden; + opacity: 0; + transition: visibility 0.1s linear, opacity 0.1s linear; +} +pre:hover > .buttons { + visibility: visible; + opacity: 1 +} +pre > .buttons :hover { + color: var(--sidebar-active); + border-color: var(--icons-hover); + background-color: var(--theme-hover); +} +pre > .buttons i { + margin-inline-start: 8px; +} +pre > .buttons button { + cursor: inherit; + margin: 0px 5px; + padding: 3px 5px; + font-size: 14px; + + border-style: solid; + border-width: 1px; + border-radius: 4px; + border-color: var(--icons); + background-color: var(--theme-popup-bg); + transition: 100ms; + transition-property: color,border-color,background-color; + color: var(--icons); +} +@media (pointer: coarse) { + pre > .buttons button { + /* On mobile, make it easier to tap buttons. */ + padding: 0.3rem 1rem; + } + + .sidebar-resize-indicator { + /* Hide resize indicator on devices with limited accuracy */ + display: none; + } +} +pre > code { + display: block; + padding: 1rem; +} + +/* FIXME: ACE editors overlap their buttons because ACE does absolute + positioning within the code block which breaks padding. The only solution I + can think of is to move the padding to the outer pre tag (or insert a div + wrapper), but that would require fixing a whole bunch of CSS rules. +*/ +.hljs.ace_editor { + padding: 0rem 0rem; +} + +pre > .result { + margin-block-start: 10px; +} + +/* Search */ + +#searchresults a { + text-decoration: none; +} + +mark { + border-radius: 2px; + padding-block-start: 0; + padding-block-end: 1px; + padding-inline-start: 3px; + padding-inline-end: 3px; + margin-block-start: 0; + margin-block-end: -1px; + margin-inline-start: -3px; + margin-inline-end: -3px; + background-color: var(--search-mark-bg); + transition: background-color 300ms linear; + cursor: pointer; +} + +mark.fade-out { + background-color: rgba(0,0,0,0) !important; + cursor: auto; +} + +.searchbar-outer { + margin-inline-start: auto; + margin-inline-end: auto; + max-width: var(--content-max-width); +} + +#searchbar { + width: 100%; + margin-block-start: 5px; + margin-block-end: 0; + margin-inline-start: auto; + margin-inline-end: auto; + padding: 10px 16px; + transition: box-shadow 300ms ease-in-out; + border: 1px solid var(--searchbar-border-color); + border-radius: 3px; + background-color: var(--searchbar-bg); + color: var(--searchbar-fg); +} +#searchbar:focus, +#searchbar.active { + box-shadow: 0 0 3px var(--searchbar-shadow-color); +} + +.searchresults-header { + font-weight: bold; + font-size: 1em; + padding-block-start: 18px; + padding-block-end: 0; + padding-inline-start: 5px; + padding-inline-end: 0; + color: var(--searchresults-header-fg); +} + +.searchresults-outer { + margin-inline-start: auto; + margin-inline-end: auto; + max-width: var(--content-max-width); + border-block-end: 1px dashed var(--searchresults-border-color); +} + +ul#searchresults { + list-style: none; + padding-inline-start: 20px; +} +ul#searchresults li { + margin: 10px 0px; + padding: 2px; + border-radius: 2px; +} +ul#searchresults li.focus { + background-color: var(--searchresults-li-bg); +} +ul#searchresults span.teaser { + display: block; + clear: both; + margin-block-start: 5px; + margin-block-end: 0; + margin-inline-start: 20px; + margin-inline-end: 0; + font-size: 0.8em; +} +ul#searchresults span.teaser em { + font-weight: bold; + font-style: normal; +} + +/* Sidebar */ + +.sidebar { + position: fixed; + left: 0; + top: 0; + bottom: 0; + width: var(--sidebar-width); + font-size: 0.875em; + box-sizing: border-box; + -webkit-overflow-scrolling: touch; + overscroll-behavior-y: contain; + background-color: var(--sidebar-bg); + color: var(--sidebar-fg); +} +[dir=rtl] .sidebar { left: unset; right: 0; } +.sidebar-resizing { + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; +} +.no-js .sidebar, +.js:not(.sidebar-resizing) .sidebar { + transition: transform 0.3s; /* Animation: slide away */ +} +.sidebar code { + line-height: 2em; +} +.sidebar .sidebar-scrollbox { + overflow-y: auto; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + padding: 10px 10px; +} +.sidebar .sidebar-resize-handle { + position: absolute; + cursor: col-resize; + width: 0; + right: calc(var(--sidebar-resize-indicator-width) * -1); + top: 0; + bottom: 0; + display: flex; + align-items: center; +} + +.sidebar-resize-handle .sidebar-resize-indicator { + width: 100%; + height: 12px; + background-color: var(--icons); + margin-inline-start: var(--sidebar-resize-indicator-space); +} + +[dir=rtl] .sidebar .sidebar-resize-handle { + left: calc(var(--sidebar-resize-indicator-width) * -1); + right: unset; +} +.js .sidebar .sidebar-resize-handle { + cursor: col-resize; + width: calc(var(--sidebar-resize-indicator-width) - var(--sidebar-resize-indicator-space)); +} +/* sidebar-hidden */ +#sidebar-toggle-anchor:not(:checked) ~ .sidebar { + transform: translateX(calc(0px - var(--sidebar-width) - var(--sidebar-resize-indicator-width))); + z-index: -1; +} +[dir=rtl] #sidebar-toggle-anchor:not(:checked) ~ .sidebar { + transform: translateX(calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width))); +} +.sidebar::-webkit-scrollbar { + background: var(--sidebar-bg); +} +.sidebar::-webkit-scrollbar-thumb { + background: var(--scrollbar); +} + +/* sidebar-visible */ +#sidebar-toggle-anchor:checked ~ .page-wrapper { + transform: translateX(calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width))); +} +[dir=rtl] #sidebar-toggle-anchor:checked ~ .page-wrapper { + transform: translateX(calc(0px - var(--sidebar-width) - var(--sidebar-resize-indicator-width))); +} +@media only screen and (min-width: 620px) { + #sidebar-toggle-anchor:checked ~ .page-wrapper { + transform: none; + margin-inline-start: calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width)); + } + [dir=rtl] #sidebar-toggle-anchor:checked ~ .page-wrapper { + transform: none; + } +} + +.chapter { + list-style: none outside none; + padding-inline-start: 0; + line-height: 2.2em; +} + +.chapter ol { + width: 100%; +} + +.chapter li { + display: flex; + color: var(--sidebar-non-existant); +} +.chapter li a { + display: block; + padding: 0; + text-decoration: none; + color: var(--sidebar-fg); +} + +.chapter li a:hover { + color: var(--sidebar-active); +} + +.chapter li a.active { + color: var(--sidebar-active); +} + +.chapter li > a.toggle { + cursor: pointer; + display: block; + margin-inline-start: auto; + padding: 0 10px; + user-select: none; + opacity: 0.68; +} + +.chapter li > a.toggle div { + transition: transform 0.5s; +} + +/* collapse the section */ +.chapter li:not(.expanded) + li > ol { + display: none; +} + +.chapter li.chapter-item { + line-height: 1.5em; + margin-block-start: 0.6em; +} + +.chapter li.expanded > a.toggle div { + transform: rotate(90deg); +} + +.spacer { + width: 100%; + height: 3px; + margin: 5px 0px; +} +.chapter .spacer { + background-color: var(--sidebar-spacer); +} + +@media (-moz-touch-enabled: 1), (pointer: coarse) { + .chapter li a { padding: 5px 0; } + .spacer { margin: 10px 0; } +} + +.section { + list-style: none outside none; + padding-inline-start: 20px; + line-height: 1.9em; +} + +/* Theme Menu Popup */ + +.theme-popup { + position: absolute; + left: 10px; + top: var(--menu-bar-height); + z-index: 1000; + border-radius: 4px; + font-size: 0.7em; + color: var(--fg); + background: var(--theme-popup-bg); + border: 1px solid var(--theme-popup-border); + margin: 0; + padding: 0; + list-style: none; + display: none; + /* Don't let the children's background extend past the rounded corners. */ + overflow: hidden; +} +[dir=rtl] .theme-popup { left: unset; right: 10px; } +.theme-popup .default { + color: var(--icons); +} +.theme-popup .theme { + width: 100%; + border: 0; + margin: 0; + padding: 2px 20px; + line-height: 25px; + white-space: nowrap; + text-align: start; + cursor: pointer; + color: inherit; + background: inherit; + font-size: inherit; +} +.theme-popup .theme:hover { + background-color: var(--theme-hover); +} + +.theme-selected::before { + display: inline-block; + content: "✓"; + margin-inline-start: -14px; + width: 14px; +} diff --git a/css/general.css b/css/general.css new file mode 100644 index 0000000..7670b08 --- /dev/null +++ b/css/general.css @@ -0,0 +1,232 @@ +/* Base styles and content styles */ + +:root { + /* Browser default font-size is 16px, this way 1 rem = 10px */ + font-size: 62.5%; + color-scheme: var(--color-scheme); +} + +html { + font-family: "Open Sans", sans-serif; + color: var(--fg); + background-color: var(--bg); + text-size-adjust: none; + -webkit-text-size-adjust: none; +} + +body { + margin: 0; + font-size: 1.6rem; + overflow-x: hidden; +} + +code { + font-family: var(--mono-font) !important; + font-size: var(--code-font-size); + direction: ltr !important; +} + +/* make long words/inline code not x overflow */ +main { + overflow-wrap: break-word; +} + +/* make wide tables scroll if they overflow */ +.table-wrapper { + overflow-x: auto; +} + +/* Don't change font size in headers. */ +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + font-size: unset; +} + +.left { float: left; } +.right { float: right; } +.boring { opacity: 0.6; } +.hide-boring .boring { display: none; } +.hidden { display: none !important; } + +h2, h3 { margin-block-start: 2.5em; } +h4, h5 { margin-block-start: 2em; } + +.header + .header h3, +.header + .header h4, +.header + .header h5 { + margin-block-start: 1em; +} + +h1:target::before, +h2:target::before, +h3:target::before, +h4:target::before, +h5:target::before, +h6:target::before { + display: inline-block; + content: "»"; + margin-inline-start: -30px; + width: 30px; +} + +/* This is broken on Safari as of version 14, but is fixed + in Safari Technology Preview 117 which I think will be Safari 14.2. + https://bugs.webkit.org/show_bug.cgi?id=218076 +*/ +:target { + /* Safari does not support logical properties */ + scroll-margin-top: calc(var(--menu-bar-height) + 0.5em); +} + +.page { + outline: 0; + padding: 0 var(--page-padding); + margin-block-start: calc(0px - var(--menu-bar-height)); /* Compensate for the #menu-bar-hover-placeholder */ +} +.page-wrapper { + box-sizing: border-box; + background-color: var(--bg); +} +.no-js .page-wrapper, +.js:not(.sidebar-resizing) .page-wrapper { + transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */ +} +[dir=rtl] .js:not(.sidebar-resizing) .page-wrapper { + transition: margin-right 0.3s ease, transform 0.3s ease; /* Animation: slide away */ +} + +.content { + overflow-y: auto; + padding: 0 5px 50px 5px; +} +.content main { + margin-inline-start: auto; + margin-inline-end: auto; + max-width: var(--content-max-width); +} +.content p { line-height: 1.45em; } +.content ol { line-height: 1.45em; } +.content ul { line-height: 1.45em; } +.content a { text-decoration: none; } +.content a:hover { text-decoration: underline; } +.content img, .content video { max-width: 100%; } +.content .header:link, +.content .header:visited { + color: var(--fg); +} +.content .header:link, +.content .header:visited:hover { + text-decoration: none; +} + +table { + margin: 0 auto; + border-collapse: collapse; +} +table td { + padding: 3px 20px; + border: 1px var(--table-border-color) solid; +} +table thead { + background: var(--table-header-bg); +} +table thead td { + font-weight: 700; + border: none; +} +table thead th { + padding: 3px 20px; +} +table thead tr { + border: 1px var(--table-header-bg) solid; +} +/* Alternate background colors for rows */ +table tbody tr:nth-child(2n) { + background: var(--table-alternate-bg); +} + + +blockquote { + margin: 20px 0; + padding: 0 20px; + color: var(--fg); + background-color: var(--quote-bg); + border-block-start: .1em solid var(--quote-border); + border-block-end: .1em solid var(--quote-border); +} + +.warning { + margin: 20px; + padding: 0 20px; + border-inline-start: 2px solid var(--warning-border); +} + +.warning:before { + position: absolute; + width: 3rem; + height: 3rem; + margin-inline-start: calc(-1.5rem - 21px); + content: "ⓘ"; + text-align: center; + background-color: var(--bg); + color: var(--warning-border); + font-weight: bold; + font-size: 2rem; +} + +blockquote .warning:before { + background-color: var(--quote-bg); +} + +kbd { + background-color: var(--table-border-color); + border-radius: 4px; + border: solid 1px var(--theme-popup-border); + box-shadow: inset 0 -1px 0 var(--theme-hover); + display: inline-block; + font-size: var(--code-font-size); + font-family: var(--mono-font); + line-height: 10px; + padding: 4px 5px; + vertical-align: middle; +} + +:not(.footnote-definition) + .footnote-definition, +.footnote-definition + :not(.footnote-definition) { + margin-block-start: 2em; +} +.footnote-definition { + font-size: 0.9em; + margin: 0.5em 0; +} +.footnote-definition p { + display: inline; +} + +.tooltiptext { + position: absolute; + visibility: hidden; + color: #fff; + background-color: #333; + transform: translateX(-50%); /* Center by moving tooltip 50% of its width left */ + left: -8px; /* Half of the width of the icon */ + top: -35px; + font-size: 0.8em; + text-align: center; + border-radius: 6px; + padding: 5px 8px; + margin: 5px; + z-index: 1000; +} +.tooltipped .tooltiptext { + visibility: visible; +} + +.chapter li.part-title { + color: var(--sidebar-fg); + margin: 5px 0px; + font-weight: bold; +} + +.result-no-output { + font-style: italic; +} diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..80ec3a5 --- /dev/null +++ b/css/print.css @@ -0,0 +1,50 @@ + +#sidebar, +#menu-bar, +.nav-chapters, +.mobile-nav-chapters { + display: none; +} + +#page-wrapper.page-wrapper { + transform: none !important; + margin-inline-start: 0px; + overflow-y: initial; +} + +#content { + max-width: none; + margin: 0; + padding: 0; +} + +.page { + overflow-y: initial; +} + +code { + direction: ltr !important; +} + +pre > .buttons { + z-index: 2; +} + +a, a:visited, a:active, a:hover { + color: #4183c4; + text-decoration: none; +} + +h1, h2, h3, h4, h5, h6 { + page-break-inside: avoid; + page-break-after: avoid; +} + +pre, code { + page-break-inside: avoid; + white-space: pre-wrap; +} + +.fa { + display: none !important; +} diff --git a/css/variables.css b/css/variables.css new file mode 100644 index 0000000..0da55e8 --- /dev/null +++ b/css/variables.css @@ -0,0 +1,279 @@ + +/* Globals */ + +:root { + --sidebar-width: 300px; + --sidebar-resize-indicator-width: 8px; + --sidebar-resize-indicator-space: 2px; + --page-padding: 15px; + --content-max-width: 750px; + --menu-bar-height: 50px; + --mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace; + --code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */ +} + +/* Themes */ + +.ayu { + --bg: hsl(210, 25%, 8%); + --fg: #c5c5c5; + + --sidebar-bg: #14191f; + --sidebar-fg: #c8c9db; + --sidebar-non-existant: #5c6773; + --sidebar-active: #ffb454; + --sidebar-spacer: #2d334f; + + --scrollbar: var(--sidebar-fg); + + --icons: #737480; + --icons-hover: #b7b9cc; + + --links: #0096cf; + + --inline-code-color: #ffb454; + + --theme-popup-bg: #14191f; + --theme-popup-border: #5c6773; + --theme-hover: #191f26; + + --quote-bg: hsl(226, 15%, 17%); + --quote-border: hsl(226, 15%, 22%); + + --warning-border: #ff8e00; + + --table-border-color: hsl(210, 25%, 13%); + --table-header-bg: hsl(210, 25%, 28%); + --table-alternate-bg: hsl(210, 25%, 11%); + + --searchbar-border-color: #848484; + --searchbar-bg: #424242; + --searchbar-fg: #fff; + --searchbar-shadow-color: #d4c89f; + --searchresults-header-fg: #666; + --searchresults-border-color: #888; + --searchresults-li-bg: #252932; + --search-mark-bg: #e3b171; + + --color-scheme: dark; +} + +.coal { + --bg: hsl(200, 7%, 8%); + --fg: #98a3ad; + + --sidebar-bg: #292c2f; + --sidebar-fg: #a1adb8; + --sidebar-non-existant: #505254; + --sidebar-active: #3473ad; + --sidebar-spacer: #393939; + + --scrollbar: var(--sidebar-fg); + + --icons: #43484d; + --icons-hover: #b3c0cc; + + --links: #2b79a2; + + --inline-code-color: #c5c8c6; + + --theme-popup-bg: #141617; + --theme-popup-border: #43484d; + --theme-hover: #1f2124; + + --quote-bg: hsl(234, 21%, 18%); + --quote-border: hsl(234, 21%, 23%); + + --warning-border: #ff8e00; + + --table-border-color: hsl(200, 7%, 13%); + --table-header-bg: hsl(200, 7%, 28%); + --table-alternate-bg: hsl(200, 7%, 11%); + + --searchbar-border-color: #aaa; + --searchbar-bg: #b7b7b7; + --searchbar-fg: #000; + --searchbar-shadow-color: #aaa; + --searchresults-header-fg: #666; + --searchresults-border-color: #98a3ad; + --searchresults-li-bg: #2b2b2f; + --search-mark-bg: #355c7d; + + --color-scheme: dark; +} + +.light { + --bg: hsl(0, 0%, 100%); + --fg: hsl(0, 0%, 0%); + + --sidebar-bg: #fafafa; + --sidebar-fg: hsl(0, 0%, 0%); + --sidebar-non-existant: #aaaaaa; + --sidebar-active: #1f1fff; + --sidebar-spacer: #f4f4f4; + + --scrollbar: #8F8F8F; + + --icons: #747474; + --icons-hover: #000000; + + --links: #20609f; + + --inline-code-color: #301900; + + --theme-popup-bg: #fafafa; + --theme-popup-border: #cccccc; + --theme-hover: #e6e6e6; + + --quote-bg: hsl(197, 37%, 96%); + --quote-border: hsl(197, 37%, 91%); + + --warning-border: #ff8e00; + + --table-border-color: hsl(0, 0%, 95%); + --table-header-bg: hsl(0, 0%, 80%); + --table-alternate-bg: hsl(0, 0%, 97%); + + --searchbar-border-color: #aaa; + --searchbar-bg: #fafafa; + --searchbar-fg: #000; + --searchbar-shadow-color: #aaa; + --searchresults-header-fg: #666; + --searchresults-border-color: #888; + --searchresults-li-bg: #e4f2fe; + --search-mark-bg: #a2cff5; + + --color-scheme: light; +} + +.navy { + --bg: hsl(226, 23%, 11%); + --fg: #bcbdd0; + + --sidebar-bg: #282d3f; + --sidebar-fg: #c8c9db; + --sidebar-non-existant: #505274; + --sidebar-active: #2b79a2; + --sidebar-spacer: #2d334f; + + --scrollbar: var(--sidebar-fg); + + --icons: #737480; + --icons-hover: #b7b9cc; + + --links: #2b79a2; + + --inline-code-color: #c5c8c6; + + --theme-popup-bg: #161923; + --theme-popup-border: #737480; + --theme-hover: #282e40; + + --quote-bg: hsl(226, 15%, 17%); + --quote-border: hsl(226, 15%, 22%); + + --warning-border: #ff8e00; + + --table-border-color: hsl(226, 23%, 16%); + --table-header-bg: hsl(226, 23%, 31%); + --table-alternate-bg: hsl(226, 23%, 14%); + + --searchbar-border-color: #aaa; + --searchbar-bg: #aeaec6; + --searchbar-fg: #000; + --searchbar-shadow-color: #aaa; + --searchresults-header-fg: #5f5f71; + --searchresults-border-color: #5c5c68; + --searchresults-li-bg: #242430; + --search-mark-bg: #a2cff5; + + --color-scheme: dark; +} + +.rust { + --bg: hsl(60, 9%, 87%); + --fg: #262625; + + --sidebar-bg: #3b2e2a; + --sidebar-fg: #c8c9db; + --sidebar-non-existant: #505254; + --sidebar-active: #e69f67; + --sidebar-spacer: #45373a; + + --scrollbar: var(--sidebar-fg); + + --icons: #737480; + --icons-hover: #262625; + + --links: #2b79a2; + + --inline-code-color: #6e6b5e; + + --theme-popup-bg: #e1e1db; + --theme-popup-border: #b38f6b; + --theme-hover: #99908a; + + --quote-bg: hsl(60, 5%, 75%); + --quote-border: hsl(60, 5%, 70%); + + --warning-border: #ff8e00; + + --table-border-color: hsl(60, 9%, 82%); + --table-header-bg: #b3a497; + --table-alternate-bg: hsl(60, 9%, 84%); + + --searchbar-border-color: #aaa; + --searchbar-bg: #fafafa; + --searchbar-fg: #000; + --searchbar-shadow-color: #aaa; + --searchresults-header-fg: #666; + --searchresults-border-color: #888; + --searchresults-li-bg: #dec2a2; + --search-mark-bg: #e69f67; + + --color-scheme: light; +} + +@media (prefers-color-scheme: dark) { + .light.no-js { + --bg: hsl(200, 7%, 8%); + --fg: #98a3ad; + + --sidebar-bg: #292c2f; + --sidebar-fg: #a1adb8; + --sidebar-non-existant: #505254; + --sidebar-active: #3473ad; + --sidebar-spacer: #393939; + + --scrollbar: var(--sidebar-fg); + + --icons: #43484d; + --icons-hover: #b3c0cc; + + --links: #2b79a2; + + --inline-code-color: #c5c8c6; + + --theme-popup-bg: #141617; + --theme-popup-border: #43484d; + --theme-hover: #1f2124; + + --quote-bg: hsl(234, 21%, 18%); + --quote-border: hsl(234, 21%, 23%); + + --warning-border: #ff8e00; + + --table-border-color: hsl(200, 7%, 13%); + --table-header-bg: hsl(200, 7%, 28%); + --table-alternate-bg: hsl(200, 7%, 11%); + + --searchbar-border-color: #aaa; + --searchbar-bg: #b7b7b7; + --searchbar-fg: #000; + --searchbar-shadow-color: #aaa; + --searchresults-header-fg: #666; + --searchresults-border-color: #98a3ad; + --searchresults-li-bg: #2b2b2f; + --search-mark-bg: #355c7d; + } +} diff --git a/developer_resources.html b/developer_resources.html new file mode 100644 index 0000000..f9bd335 --- /dev/null +++ b/developer_resources.html @@ -0,0 +1,241 @@ + + + + + + Developer Resources - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Developer Resources

+

The MESC specification and its reference implementations are developed in the github repository.

+
    +
  • For information about integrating MESC into an existing tool, see Integrating MESC.
  • +
  • For information about implementing a new MESC client, see Implementing MESC.
  • +
  • For information about running MESC tests, see MESC Test README.
  • +
  • For information about building these docs, see here.
  • +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index d0ff07f..0000000 --- a/docs/README.md +++ /dev/null @@ -1,22 +0,0 @@ - -# MESC User Guide - -This is the user guide for MESC. See table of contents in [Summary](src/SUMMARY.md). - -## Usage - -To build: - -```sh -cargo install mdbook -mdbook build -``` - -To serve a live local copy of this guide in brower: - -```sh -mdbook serve -``` - -And open browser to `localhost:3000` - diff --git a/docs/book.toml b/docs/book.toml deleted file mode 100644 index b2c8396..0000000 --- a/docs/book.toml +++ /dev/null @@ -1,11 +0,0 @@ -[book] -authors = ["sslivkoff"] -language = "en" -multilingual = false -src = "src" -title = "MESC User Guide" -description = "A specification for how crypto tools configure their RPC endpoints" - -[output.html] -git-repository-url = "https://github.com/paradigmxyz/mesc" -edit-url-template = "https://github.com/paradigmxyz/mesc/edit/main/docs/{path}" diff --git a/docs/demos/autocomplete.tape b/docs/demos/autocomplete.tape deleted file mode 100644 index b5c808b..0000000 --- a/docs/demos/autocomplete.tape +++ /dev/null @@ -1,29 +0,0 @@ -Output autocomplete.gif -Set FontSize 26 -Set Width 900 -Set Height 450 - -# setup -Hide -Type "mesc setup" -Enter -Sleep 500ms -Enter -Type "f" -Enter -Sleep 1 -Enter -Show - -Sleep 1.5s -Type@250ms "arbi" -Sleep 3s -Backspace 4 -Sleep 1s -Type@250ms "opti" -Sleep 3s -Backspace 4 -Sleep 1s -Type@250ms "zora" -Sleep 3s -Enter diff --git a/docs/demos/basics.tape b/docs/demos/basics.tape deleted file mode 100644 index 0c93223..0000000 --- a/docs/demos/basics.tape +++ /dev/null @@ -1,50 +0,0 @@ -Output basics.gif -Set FontSize 26 -Set Width 1200 -Set Height 800 - -# start mesc setup -Type "mesc setup" -Sleep 400ms -Enter -Sleep 2000ms - -# scroll through the options -Down -Sleep 250ms -Down -Sleep 250ms -Down -Sleep 1000ms -Up -Sleep 250ms -Up -Sleep 250ms -Up -Sleep 500ms - -# start the endpoint add process -Enter -Sleep 2000ms -Type "https://eth.llamarpc.com" -Enter -Sleep 3500ms - -# go through the add options -Enter -Sleep 2000ms - - -# save and exit -Up -Sleep 1500ms -Up -Sleep 1500ms -Enter -Sleep 2500ms - -# perform ping -Type "mesc ping" -Enter -Sleep 6000ms - diff --git a/docs/demos/tests.tape b/docs/demos/tests.tape deleted file mode 100644 index 6c4042e..0000000 --- a/docs/demos/tests.tape +++ /dev/null @@ -1,15 +0,0 @@ -Output tests.gif -Set FontSize 19 -Set Width 1200 -Set Height 800 - - -Hide -Type "cd ~/repos/mesc/tests" -Enter -Type "clear" -Enter -Show -Type "pytest -n 8" -Enter -Sleep 25s diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md deleted file mode 100644 index 199505f..0000000 --- a/docs/src/SUMMARY.md +++ /dev/null @@ -1,23 +0,0 @@ -# MESC User Guide - -- [MESC Overview](./mesc_overview.md) - - [Quickstart](./quickstart.md) - - [What is MESC?](./what_is_mesc.md) - - [Why MESC?](./why_mesc.md) - - [Roadmap](./roadmap.md) -- [Using MESC](./using_mesc.md) - - [Setting up MESC](./setup.md) - - [Profiles](./profiles.md) - - [Metadata](./metadata.md) - - [Overrides](./overrides.md) - - [Queries](./queries.md) -- [Developer Resources](./developer_resources.md) - - [Integrating MESC](./integrating_mesc.md) - - [Implementing MESC](./implementing_mesc.md) - - [MESC Tests](./mesc_tests.md) -- [MESC Libraries](./libraries.md) - - [CLI](./cli.md) - - [Go](./go.md) - - [Python](./python.md) - - [Rust](./rust.md) - - [TypeScript](./typescript.md) diff --git a/docs/src/cli.md b/docs/src/cli.md deleted file mode 100644 index f7a9c1c..0000000 --- a/docs/src/cli.md +++ /dev/null @@ -1 +0,0 @@ -{{#include ../../cli/README.md}} diff --git a/docs/src/developer_resources.md b/docs/src/developer_resources.md deleted file mode 100644 index a6ce921..0000000 --- a/docs/src/developer_resources.md +++ /dev/null @@ -1,8 +0,0 @@ -# Developer Resources - -The MESC specification and its reference implementations are developed in the [github repository](https://github.com/paradigmxyz/mesc). -- For information about integrating MESC into an existing tool, see [Integrating MESC](./integrating_mesc.md). -- For information about implementing a new MESC client, see [Implementing MESC](./implementing_mesc.md). -- For information about running MESC tests, see [MESC Test README](https://github.com/paradigmxyz/mesc/tree/main/tests). -- For information about building these docs, see [here](https://github.com/paradigmxyz/mesc/tree/main/book). - diff --git a/docs/src/go.md b/docs/src/go.md deleted file mode 100644 index 18dfaa7..0000000 --- a/docs/src/go.md +++ /dev/null @@ -1 +0,0 @@ -{{#include ../../go/README.md}} diff --git a/docs/src/implementing_mesc.md b/docs/src/implementing_mesc.md deleted file mode 100644 index 97bc6c7..0000000 --- a/docs/src/implementing_mesc.md +++ /dev/null @@ -1,23 +0,0 @@ -# Implementing MESC - -One of MESC's goals is to have an implementation for every programming language in the cryptocurrency ecosystem. - -If you are creating a new MESC implementation, you may find the following useful: - -1. The main functionality that a MESC implementation provides is the [core MESC interface](https://github.com/paradigmxyz/mesc/blob/main/SPECIFICATION.md#reference-implementation). This is a set of functions for reading whatever MESC data a user has configured on their system. - -2. The ability to **write** MESC configurations is useful, but should be considered a secondary goal. Users already have the ability to create MESC configurations either by 1) editing JSON by hand, 2) editing JSON programmatically, or 3) using the interactive [MESC cli tool](https://github.com/paradigmxyz/mesc/tree/main/cli). - -3. A MESC implementation's compliance to the specification can be checked using the language-agnostic MESC test suite. Passing the test suite means that an implementation is complete. More details on the test suite can be found [here](https://github.com/paradigmxyz/mesc/tree/main/tests). - -4. It is desirable to use the same names, types, and behaviors across each MESC implementation. This increases interoperability and makes MESC easier to learn and use. However it is also desirable to obey the common conventions of each programming language. Each MESC implementation must find a balance between language-agnostic conventions vs language-specific conventions. - -5. If parts of the MESC specification are confusing or difficult to implement, it may be helpful to look at existing implementations. These currently exist for [python](https://github.com/paradigmxyz/mesc/tree/main/python) and [rust](https://github.com/paradigmxyz/mesc/tree/main/rust). - - -## Implementation Checklist - -1. Implement the [core MESC interface](https://paradigmxyz.github.io/mesc/queries.html) functions. These functions should have the same behavior in each implementation. -2. Create an adapter to run the [MESC test suite](https://github.com/paradigmxyz/mesc/tree/main/tests). Passing these tests means the implementation is fully compliant with the MESC specification. -3. Add an entry to the [generate_network_names.py](https://github.com/paradigmxyz/mesc/blob/main/python/generate_network_names.py) script. This script creates a native language code file for mapping between network names and chain id's using the standard [ethereum-lists/chains](https://github.com/ethereum-lists/chains) repository. - diff --git a/docs/src/integrating_mesc.md b/docs/src/integrating_mesc.md deleted file mode 100644 index c448103..0000000 --- a/docs/src/integrating_mesc.md +++ /dev/null @@ -1,60 +0,0 @@ -# Integrating MESC - -MESC is designed to be easy to integrate into any existing tool in a backward-compatible manner. - -MESC integration patterns can be designed so that they only affect users that have opted-in to MESC, while leaving other users unaffected. - -Examples below are shown in python but work nearly identically for each language. - -## Workflow for getting the default RPC endpoint - -Let's say that an existing tool named `xyz` currently gets its default RPC endpoint from an environment variable `ETH_RPC_URL` like so: - -```python -def get_default_rpc_url() -> str | None: - return os.environ.get('ETH_RPC_URL') -``` - -MESC can be integrated using a few lines of code: - -```python -import mesc - -def get_default_rpc_url() -> str | None: - if mesc.is_mesc_enabled(): - endpoint = mesc.get_default_endpoint(profile='xyz') - if endpoint is not None: - return endpoint['url'] - return os.environ.get('ETH_RPC_URL') -``` - -This new function loads the MESC default endpoint for users that have opted-in to MESC. But it falls back to using `ETH_RPC_URL` if MESC is not enabled or MESC does not have a default endpoint set. - -Using `profile='xyz'` is optional, but it allows users to set custom settings for the `xyz` tool instead of using the global settings. - -## Workflow for letting users select an RPC endpoint - -Let's say that an existing tool named `xyz` currently lets users choose an RPC endpoint using an `-r` input argument. Users might use the tool in a similar manner to `xyz -r https://eth.llamarpc.com` or `xyz -r localhost:8545`. - -If we add an extra parsing step for the user input, we can allow the user to select from any endpoint inside the MESC configuration by name, by network name, or by chain id. Using a pattern like this: - -```python -def get_endpoint_url(user_input: str) -> str: - if mesc.is_mesc_enabled(): - endpoint = mesc.get_endpoint_by_query(user_input) - if endpoint is not None: - return endpoint['url'] - return user_input - -# ... - -url = get_endpoint_url(user_input) -``` - -Then users will be able to do any of the following - -- `xyz -r localhost:8545` (use a url) -- `xyz -r llamanodes_goerli` (use the endpoint named `llamanodes_goerli`) -- `xyz -r 5` (use the default endpoint for network with chain id `5`) -- `xyz -r goerli` (use the default endpoint for the network named `goerli`) - diff --git a/docs/src/libraries.md b/docs/src/libraries.md deleted file mode 100644 index f40a501..0000000 --- a/docs/src/libraries.md +++ /dev/null @@ -1,13 +0,0 @@ -# MESC Libraries - -MESC aims to have an implementation for every common language in the cryptocurrency ecosystem. - -Implementations currently exist for: -- [CLI](./cli.md) -- [Go](./go.md) -- [Python](./python.md) -- [Rust](./rust.md) -- [TypeScript](./typescript.md) - - -If you want to create a MESC implementation for a new language, see [implementing MESC](./implementing_mesc.md). diff --git a/docs/src/mesc_overview.md b/docs/src/mesc_overview.md deleted file mode 100644 index dfb3f51..0000000 --- a/docs/src/mesc_overview.md +++ /dev/null @@ -1,18 +0,0 @@ -# MESC Overview - -To **get started quickly**, see [Quickstart](./quickstart.md). - -To learn **what MESC is**, see [What is MESC?](./what_is_mesc.md). - -To learn the **motivation** behind MESC, see [Why MESC?](./why_mesc.md). - -To **integrate** MESC into an existing tool, see [Integrating MESC](./integrating_mesc.md). - -To **implement** MESC in a new programming language, see [Implementing MESC](./implementing_mesc.md). - -For information about existing MESC implementations, see: -- [CLI](./cli.md) -- [Go](./go.md) -- [Python](./python.md) -- [Rust](./rust.md) -- [TypeScript](./typescript.md) diff --git a/docs/src/mesc_tests.md b/docs/src/mesc_tests.md deleted file mode 100644 index ed1ae05..0000000 --- a/docs/src/mesc_tests.md +++ /dev/null @@ -1,2 +0,0 @@ - -{{#include ../../tests/README.md}} diff --git a/docs/src/metadata.md b/docs/src/metadata.md deleted file mode 100644 index 095816f..0000000 --- a/docs/src/metadata.md +++ /dev/null @@ -1,43 +0,0 @@ -# Metadata - -In a MESC configuration, the `global_metadata`, `profile_metadata`, and `endpoint_metadata` fields allow for optional or idiosyncratic metadata to be stored alongside the core RPC data. - -Tools using MESC can choose to ignore these fields. - - -## Metadata fields - -Contents of MESC metadata is only loosely specified. This is intentional to allow for some degree of future-proofing. It enables MESC to handle use-cases that are either unanticipated or highly-specific to a given tool. - - -## Examples - -**Endpoint metadata** - -| key | value type | description | examples | -| --- | --- | --- | --- | -| `rate_limit_rps` | `int` or `float` | ratelimit in requests per second | `250` | -| `rate_limit_cups` | `int` or `float` | ratelimit in CUPS | `1000` | -| `rate_limit_per_method` | `Mapping[str, int or float]` | ratelimit in RPS for each method | `{"trace_block": 200}` | -| `api_key` | `str` | api key | `a2798f237a2398rf7` | -| `jwt_secret` | `str` | jwt secret | | -| `host` | `str` | name of provider host | `"llamanodes"`, `"alchemy"`, `"quicknode"`, `"localhost"` -| `ecosystem` | `str` | ecosystem of chain, (e.g. relates mainnets to testnets) | `"ethereum"`, `"polygon"` | -| `node_client` | `str` | versioned node client | `erigon/2.48.1/linux-amd64/go1.20.5` `reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu` | -| `namespaces` | `Sequence[str]` | RPC name spaces enabled for endpoint | `["eth", "trace, "debug"]` -| `explorer` | `str` | block explorer url | `https://etherscan.io` -| `location` | `str` | geographic region | `Paris, France` | -| `cloud_region` | `str` | cloud provider region | `aws-us-east-1a` | -| `labels` | `Sequence[str]` | tags | `private_mempool`, `cache`, `archive`, `consensus_layer`, `execution_layer`, `validator`, `ephemeral` | - -**Global Metadata** and **Profile Metadata** - -| key | value type | description | examples | -| --- | --- | --- | --- | -| `last_modified_by` | `str` | versioned tool used to create configuration | `mesc__1.0` | -| `last_modified_time` | `int` | timestamp of config modification | `1700200462` | -| `creation_time` | `int` | timestamp of config creation | `1700200462` | -| `api_keys` | `Mapping[str, str]` | API keys to RPC-related services | `{"etherscan": "abc123"}` | -| `groups` | `Mapping[str, Sequence[str]]` | groupings of endpoints, mapping of group name to list of endpoint names | `{"load_balancer": ["alchemy_optimism", "quicknode_optimism"]}` | -| `conceal` | `bool` | whether tool should avoid casually revealing private RPC url's unprompted | `true` | - diff --git a/docs/src/overrides.md b/docs/src/overrides.md deleted file mode 100644 index 3f33383..0000000 --- a/docs/src/overrides.md +++ /dev/null @@ -1,58 +0,0 @@ -# Overrides - -Overrides are a way to quickly modify a MESC configuration without needing to modify any files. - -Each override is an environment variable that overrides a specific MESC configuration key. - -Each override uses a syntax that is quick and easy to write by hand. - -## Example usage - -The `MESC_DEFAULT_ENDPOINT` override changes the default endpoint. - -#### Use in a script - -Sometimes it might be useful tweak a MESC config for a shell script. This can be achieved by inserting the MESC overrides into the script: - -```bash -#!/usr/bin/env bash - -export MESC_DEFAULT_ENDPOINT=local_goerli - -# ...rest of script that does RPC things -``` - -#### Prepending syntax - -Adding `VAR_NAME=VAR_VALUE` before a cli command will set an environment variable for just that command. - -So if before the default url is this: - -```bash -mesc url -> https://eth.llamarpc.com -``` - -Adding the override before the command will change the default url: - -```bash -MESC_DEFAULT_ENDPOINT=local_goerli mesc url -> localhost:8545 -``` - -This syntax works for any cli program, not just the `mesc` cli tool. - -## List of overrides - -Every type of information within a MESC configuration can be modified using overrides: - -| override variable | value syntax | example | -| --- | --- | --- | -| `MESC_DEFAULT_ENDPOINT` | url, endpoint name, or network name | `localhost:9999` | -| `MESC_NETWORK_DEFAULTS` | space-separated pairs of `=` | `5=alchemy_optimism 1=local_mainnet` | -| `MESC_NETWORK_NAMES` | space-separated pairs of `=` | `zora=7777777` | -| `MESC_ENDPOINTS` | space-separated items of `[[:]=]` | `alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545` | -| `MESC_PROFILES` | space-separated pairs of `.[.` | `foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism` | -| `MESC_GLOBAL_METADATA` | JSON formatted global metadata | `{}` | -| `MESC_ENDPOINT_METADATA` | JSON mapping of `{"endpoint_name": {}}` | `{}` | - diff --git a/docs/src/profiles.md b/docs/src/profiles.md deleted file mode 100644 index d942943..0000000 --- a/docs/src/profiles.md +++ /dev/null @@ -1,32 +0,0 @@ -# Profiles - -Profiles are a way for each tool to customize its own MESC settings. - -Profiles allow each tool to: -- set its own default endpoint -- set its own default endpoints for each network -- override global metadata with its own metadata -- avoid using MESC for that tool without disabling MESC globally - -## Profiles are an optional feature - -If a MESC query does not specify a profile, the global configuration values are used. - -If a MESC query specifies a profile, but that profile does not exist or does not specify the relevant information, MESC will fallback to using global configuration values. - -## Setting up a profile - -The easiest way to create a profile is by using the interactive `mesc` cli tool, using the `mesc setup` subcommand. - -Alternatively, you can manually add a new `Profile` to the `profiles` key inside your `mesc.json`. The following is a template `Profile`: - -```json -{ - "name": "PROFILE_NAME", - "default_endpoint": null, - "network_defaults": {}, - "profile_metadata": {}, - "use_mesc": true -} -``` - diff --git a/docs/src/python.md b/docs/src/python.md deleted file mode 100644 index 6bb05a2..0000000 --- a/docs/src/python.md +++ /dev/null @@ -1 +0,0 @@ -{{#include ../../python/README.md}} diff --git a/docs/src/queries.md b/docs/src/queries.md deleted file mode 100644 index e909e03..0000000 --- a/docs/src/queries.md +++ /dev/null @@ -1,18 +0,0 @@ -# Querying MESC data - -Each MESC implementation provides the same set of 7 functions for querying MESC data. - -The behavior of these functions is the same across languages. - -| function | output type | description | example call | -| --- | --- | --- | --- | -| `is_mesc_enabled()` | `bool` | return whether MESC is enabled | `is_mesc_enabled()` | -| `get_default_endpoint()` | `Endpoint` or `None` | get default MESC endpoint | `get_default_endpoint(profile='xyz')` | -| `get_endpoint_by_network()` | `Endpoint` or `None` | get default endpoint for network | `get_endpoint_by_network(5, profile='xyz')` | -| `get_endpoint_by_name()` | `Endpoint` or `None` | get endpoint by name | `get_endpoint_by_name('local_goerli')` | -| `get_endpoint_by_query()` | `Endpoint` or `None` | get endpoint for user input query | `get_endpoint_by_query(user_str, profile='xyz')` | -| `find_endpoints()` | `Sequence[Endpoint]` | find endpoint that match input criteria | `find_endpoints(chain_id=5)` | -| `get_global_metadata()` | `Mapping[str, Any]` | get non-endpoint metadata | `get_global_metadata(profile='xyz')` | - -The `profile` argument is optional for each function (it allows users to customize the settings for each tool, see [Profiles](./profiles.md) for details). - diff --git a/docs/src/quickstart.md b/docs/src/quickstart.md deleted file mode 100644 index cbe0e65..0000000 --- a/docs/src/quickstart.md +++ /dev/null @@ -1,57 +0,0 @@ -# Quickstart - -The quickest way to use MESC is -1) create a `mesc.json` config file -2) set the `MESC_PATH` environment variable to the path of this file - -## Creating a config file - -You can create a `mesc.json` by one of two ways: -1) use the interactive [MESC cli tool](https://github.com/paradigmxyz/mesc/tree/main/cli) (install using `cargo install mesc_cli` and run `mesc setup`) -2) modify the template below: - -```json -{ - "mesc_version": "MESC 1.0", - "default_endpoint": "local_ethereum", - "network_defaults": { - "1": "local_ethereum" - }, - "network_names": {}, - "endpoints": { - "local_ethereum": { - "name": "local_ethereum", - "url": "http://localhost:8545", - "chain_id": "1", - "endpoint_metadata": {} - } - }, - "profiles": { - "xyz": { - "name": "xyz", - "default_endpoint": "local_ethereum", - "network_defaults": { - "1": "local_ethereum" - }, - "profile_metadata": {}, - "use_mesc": true - } - }, - "global_metadata": {} -} -``` - -The structure of the config must follow the MESC [specification](https://github.com/paradigmxyz/mesc/blob/main/SPECIFICATION.md). - -Installing the `mesc` cli on some linux distributions may require installing ssl libraries (e.g. `sudo apt-get install pkg-config libssl-dev` on ubunutu) - -## Setting environment variables - -The typical way to set environment variables is in your shell configuration files: `~/.bashrc`, `~.profile`, and/or `~/.bash_profile`. Including this line in those files will enable MESC: - -```bash -export MESC_PATH=/path/to/your/mesc.json -``` - -You can avoid editing these files yourself by running the MESC setup tool (`mesc setup`) as specified above. It will give you the option to automatically edit your shell files. - diff --git a/docs/src/roadmap.md b/docs/src/roadmap.md deleted file mode 100644 index e2b7a37..0000000 --- a/docs/src/roadmap.md +++ /dev/null @@ -1,6 +0,0 @@ -# Roadmap - -Once the MESC specification reaches version 1.0, it will become ossified forever. This will maximize forward- and backward-compatibility between MESC integrations. Client libraries for reading or writing MESC configurations might continue development, but the underlying MESC specification will not change. - -MESC currently has implementations for CLI, python, and rust. Implementations for go and typescript are coming soon. If there is another language you have interest in bringing MESC to an additional programming language or environment, feel free to share on the [issue tracker](https://github.com/paradigmxyz/mesc). - diff --git a/docs/src/rust.md b/docs/src/rust.md deleted file mode 100644 index f3b12a4..0000000 --- a/docs/src/rust.md +++ /dev/null @@ -1 +0,0 @@ -{{#include ../../rust/README.md}} diff --git a/docs/src/setup.md b/docs/src/setup.md deleted file mode 100644 index eabb06b..0000000 --- a/docs/src/setup.md +++ /dev/null @@ -1,29 +0,0 @@ - -# Setting up MESC - -## Basic setup - -MESC becomes enabled by setting one or more environment variables. - -In the simplest case, only one variable necessary: `MESC_PATH` is set to the path of a `mesc.json` config file. - -As described in the [quickstart](./quickstart.md), the `mesc.json` file is usually created using either 1) the interactive `mesc setup` command, or 2) copying from a starter template. The quickstart guide also describes how to set environment variables in your terminal shell. - -## Alternative setup without a `mesc.json` - -Sometimes it is convenient to configure a system without editing any files (e.g. inside a container, or when creating lots of unit tests, or in a low-privilege environment). - -This can be accomplished with MESC by setting the `MESC_ENV` variable instead of the `MESC_PATH` variable. `MESC_ENV` should simply contain the JSON content of a MESC configuration. - -If both `MESC_PATH` and `MESC_ENV` are set, you can select which one to use by setting `MESC_MODE` to either `PATH` or `ENV`. `MESC_PATH` takes precedence over `MESC_ENV` if `MESC_MODE` is not set. - -## Disabling MESC - -MESC can be disabled by either 1) unsetting all `MESC_*` variables, or 2) setting `MESC_MODE=DISABLED`. - -If MESC is disabled, the `is_mesc_disabled()` function will return `false` and all MESC querying functions will return an error (depending on language). - -## Overrides - -MESC also uses environment variables for overrides. See the [overrides](overrides.md) section for details. - diff --git a/docs/src/typescript.md b/docs/src/typescript.md deleted file mode 100644 index 3a765c6..0000000 --- a/docs/src/typescript.md +++ /dev/null @@ -1 +0,0 @@ -{{#include ../../typescript/README.md}} diff --git a/docs/src/using_mesc.md b/docs/src/using_mesc.md deleted file mode 100644 index cd9223a..0000000 --- a/docs/src/using_mesc.md +++ /dev/null @@ -1,7 +0,0 @@ -# Using MESC - -- To set MESC up, see [Setup up MESC](./setting_up_mesc.md) -- To use different MESC settings for different tools, see [Profiles](./profiles.md) -- To use MESC for tracking miscellaneous metadata, see [Metadata](./metadata.md) -- To quickly override MESC settings without editing files, see [Overrides](./overrides.md) - diff --git a/docs/src/what_is_mesc.md b/docs/src/what_is_mesc.md deleted file mode 100644 index 7859f80..0000000 --- a/docs/src/what_is_mesc.md +++ /dev/null @@ -1,24 +0,0 @@ -# What is MESC? - -MESC (Multiple Endpoint Shared Configuration) is a standardized approach for configuring RPC endpoints. Using MESC, a user creates a single RPC config that is shared by all RPC tools on their system. - -## Design Goals - -MESC has two main design goals: - -1. make it easy to share RPC configuration data across tools, languages, and environments -2. make it easy to manage the configuration of a large number of RPC endpoints - -MESC also has many secondary goals. It aims to be a solution that: -- allows specifying multiple providers for multiple chains -- allows selection of a default endpoint for each chain -- allows using either environment variables or config files -- is a single source of truth across multiple tools -- is OS-agnostic, using no OS-specific features -- is language-agnostic, using no language-specific features -- is backwards compatible with previous solutions - -## MESC is opt-in - -MESC is an **opt-in** standard: MESC is only enabled if a user has set a MESC-specific environment variable in their environment. This maximizes backward-compatiblity for existing tools that want to integrate MESC: If a user has not opted-in to MESC then simply fall back to the existing configuration method. - diff --git a/docs/src/why_mesc.md b/docs/src/why_mesc.md deleted file mode 100644 index 822a786..0000000 --- a/docs/src/why_mesc.md +++ /dev/null @@ -1,26 +0,0 @@ -# Why MESC? - -Between mainnet, testnets, chainforks, rollups, and alternative L1's, modern crypto tools must manage the configuration of multiple RPC endpoints. This configuration process is not standardized across tools. - -The most common approach for configuring RPC endpoint information is the `ETH_RPC_URL` environment variable (dapptools, forge, heimdall, checkthechain). However, this is not a formal standard and many tools use other approaches. Furthermore, using `ETH_RPC_URL` can only specify a single provider for a single chain, and it cannot specify any provider metadata beyond the url. - -Instead it would be desirable to have a solution that: -- allows specifying multiple providers for multiple chains -- allows selection of a default endpoint for each chain -- allows using either environment variables or config files -- is a single source of truth across multiple tools -- is OS-agnostic, using no OS-specific features -- is language-agnostic, using no language-specific features -- is backwards compatible with previous solutions - -MESC aims to satisfy all of these constraints. - - -## As a developer, why should I integrate MESC into my tools? - -- **Easier Onboarding**. As soon as a user installs your tool, they will be able to use your tool with all of their configured networks. This eliminates one of the major setup steps for most RPC consuming tools. -- **Interoperability**. If you maintain multiple tools, or your tool has components in multiple languages, MESC will create a single, shared source of truth across all of these tool components. -- **Safety and Robustness**. MESC is thoroughly tested against a large number of config-related edge cases. In many cases it will be safer to user MESC than to create a configuration system from scratch. -- **Minimize maintenance burden**. Leaning on MESC to handle configuration means there is one less thing you need to maintain. You can spend your time on other things. -- **Developer Features**. If you need to develop or test your tool with multiple endpoints, the `mesc` CLI tools contains many useful developer features for managing endpoints. -- **Go config-free**. In some cases, adopting MESC means that your tool no longer needs its own config. You can store your tool's config data in MESC's metadata and then just use MESC for all config IO. diff --git a/elasticlunr.min.js b/elasticlunr.min.js new file mode 100644 index 0000000..94b20dd --- /dev/null +++ b/elasticlunr.min.js @@ -0,0 +1,10 @@ +/** + * elasticlunr - http://weixsong.github.io + * Lightweight full-text search engine in Javascript for browser search and offline search. - 0.9.5 + * + * Copyright (C) 2017 Oliver Nightingale + * Copyright (C) 2017 Wei Song + * MIT Licensed + * @license + */ +!function(){function e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),t.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},t.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},t.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},t.EventEmitter.prototype.hasHandler=function(e){return e in this.events},t.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var n=e.filter(function(e){return null===e||void 0===e?!1:!0});n=n.map(function(e){return t.utils.toString(e).toLowerCase()});var i=[];return n.forEach(function(e){var n=e.split(t.tokenizer.seperator);i=i.concat(n)},this),i}return e.toString().trim().toLowerCase().split(t.tokenizer.seperator)},t.tokenizer.defaultSeperator=/[\s\-]+/,t.tokenizer.seperator=t.tokenizer.defaultSeperator,t.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(t.tokenizer.seperator=e)},t.tokenizer.resetSeperator=function(){t.tokenizer.seperator=t.tokenizer.defaultSeperator},t.tokenizer.getSeperator=function(){return t.tokenizer.seperator},t.Pipeline=function(){this._queue=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in t.Pipeline.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[n]=e},t.Pipeline.getRegisteredFunction=function(e){return e in t.Pipeline.registeredFunctions!=!0?null:t.Pipeline.registeredFunctions[e]},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.getRegisteredFunction(e);if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i+1,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i,0,n)},t.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},t.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._queue.length,o=0;n>o;o++){for(var r=e[o],s=0;i>s&&(r=this._queue[s](r,o,e),void 0!==r&&null!==r);s++);void 0!==r&&null!==r&&t.push(r)}return t},t.Pipeline.prototype.reset=function(){this._queue=[]},t.Pipeline.prototype.get=function(){return this._queue},t.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.DocumentStore,this.index={},this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},t.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;n._fields=e.fields,n._ref=e.ref,n.documentStore=t.DocumentStore.load(e.documentStore),n.pipeline=t.Pipeline.load(e.pipeline),n.index={};for(var i in e.index)n.index[i]=t.InvertedIndex.load(e.index[i]);return n},t.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new t.InvertedIndex,this},t.Index.prototype.setRef=function(e){return this._ref=e,this},t.Index.prototype.saveDocument=function(e){return this.documentStore=new t.DocumentStore(e),this},t.Index.prototype.addDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.addDoc(i,e),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));this.documentStore.addFieldLength(i,n,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var s in r){var u=r[s];u=Math.sqrt(u),this.index[n].addToken(s,{ref:i,tf:u})}},this),n&&this.eventEmitter.emit("add",e,this)}},t.Index.prototype.removeDocByRef=function(e){if(e&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(e)){var t=this.documentStore.getDoc(e);this.removeDoc(t,!1)}},t.Index.prototype.removeDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.hasDoc(i)&&(this.documentStore.removeDoc(i),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));o.forEach(function(e){this.index[n].removeToken(e,i)},this)},this),n&&this.eventEmitter.emit("remove",e,this))}},t.Index.prototype.updateDoc=function(e,t){var t=void 0===t?!0:t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},t.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var i=this.index[t].getDocFreq(e),o=1+Math.log(this.documentStore.length/(i+1));return this._idfCache[n]=o,o},t.Index.prototype.getFields=function(){return this._fields.slice()},t.Index.prototype.search=function(e,n){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var i=null;null!=n&&(i=JSON.stringify(n));for(var o=new t.Configuration(i,this.getFields()).get(),r={},s=Object.keys(e),u=0;u0&&t.push(e);for(var i in n)"docs"!==i&&"df"!==i&&this.expandToken(e+i,t,n[i]);return t},t.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},t.Configuration=function(e,n){var e=e||"";if(void 0==n||null==n)throw new Error("fields should not be null");this.config={};var i;try{i=JSON.parse(e),this.buildUserConfig(i,n)}catch(o){t.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(n)}},t.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},t.Configuration.prototype.buildUserConfig=function(e,n){var i="OR",o=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(n.indexOf(r)>-1){var s=e.fields[r],u=o;void 0!=s.expand&&(u=s.expand),this.config[r]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||i,expand:u}}else t.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,o,n)},t.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},t.Configuration.prototype.get=function(){return this.config},t.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return o;e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o]}return r===e?o:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;)e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o];return r>e?o:e>r?o+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,i=0,o=this.length,r=e.length,s=this.elements,u=e.elements;;){if(n>o-1||i>r-1)break;s[n]!==u[i]?s[n]u[i]&&i++:(t.add(s[n]),n++,i++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();o + + + + diff --git a/fonts/OPEN-SANS-LICENSE.txt b/fonts/OPEN-SANS-LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/fonts/OPEN-SANS-LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/fonts/SOURCE-CODE-PRO-LICENSE.txt b/fonts/SOURCE-CODE-PRO-LICENSE.txt new file mode 100644 index 0000000..366206f --- /dev/null +++ b/fonts/SOURCE-CODE-PRO-LICENSE.txt @@ -0,0 +1,93 @@ +Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/fonts/fonts.css b/fonts/fonts.css new file mode 100644 index 0000000..858efa5 --- /dev/null +++ b/fonts/fonts.css @@ -0,0 +1,100 @@ +/* Open Sans is licensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0 */ +/* Source Code Pro is under the Open Font License. See https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL */ + +/* open-sans-300 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + src: local('Open Sans Light'), local('OpenSans-Light'), + url('open-sans-v17-all-charsets-300.woff2') format('woff2'); +} + +/* open-sans-300italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'), + url('open-sans-v17-all-charsets-300italic.woff2') format('woff2'); +} + +/* open-sans-regular - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: local('Open Sans Regular'), local('OpenSans-Regular'), + url('open-sans-v17-all-charsets-regular.woff2') format('woff2'); +} + +/* open-sans-italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + src: local('Open Sans Italic'), local('OpenSans-Italic'), + url('open-sans-v17-all-charsets-italic.woff2') format('woff2'); +} + +/* open-sans-600 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), + url('open-sans-v17-all-charsets-600.woff2') format('woff2'); +} + +/* open-sans-600italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'), + url('open-sans-v17-all-charsets-600italic.woff2') format('woff2'); +} + +/* open-sans-700 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 700; + src: local('Open Sans Bold'), local('OpenSans-Bold'), + url('open-sans-v17-all-charsets-700.woff2') format('woff2'); +} + +/* open-sans-700italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 700; + src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), + url('open-sans-v17-all-charsets-700italic.woff2') format('woff2'); +} + +/* open-sans-800 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 800; + src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'), + url('open-sans-v17-all-charsets-800.woff2') format('woff2'); +} + +/* open-sans-800italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 800; + src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'), + url('open-sans-v17-all-charsets-800italic.woff2') format('woff2'); +} + +/* source-code-pro-500 - latin_vietnamese_latin-ext_greek_cyrillic-ext_cyrillic */ +@font-face { + font-family: 'Source Code Pro'; + font-style: normal; + font-weight: 500; + src: url('source-code-pro-v11-all-charsets-500.woff2') format('woff2'); +} diff --git a/fonts/open-sans-v17-all-charsets-300.woff2 b/fonts/open-sans-v17-all-charsets-300.woff2 new file mode 100644 index 0000000..9f51be3 Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-300.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-300italic.woff2 b/fonts/open-sans-v17-all-charsets-300italic.woff2 new file mode 100644 index 0000000..2f54544 Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-300italic.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-600.woff2 b/fonts/open-sans-v17-all-charsets-600.woff2 new file mode 100644 index 0000000..f503d55 Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-600.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-600italic.woff2 b/fonts/open-sans-v17-all-charsets-600italic.woff2 new file mode 100644 index 0000000..c99aabe Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-600italic.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-700.woff2 b/fonts/open-sans-v17-all-charsets-700.woff2 new file mode 100644 index 0000000..421a1ab Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-700.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-700italic.woff2 b/fonts/open-sans-v17-all-charsets-700italic.woff2 new file mode 100644 index 0000000..12ce3d2 Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-700italic.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-800.woff2 b/fonts/open-sans-v17-all-charsets-800.woff2 new file mode 100644 index 0000000..c94a223 Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-800.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-800italic.woff2 b/fonts/open-sans-v17-all-charsets-800italic.woff2 new file mode 100644 index 0000000..eed7d3c Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-800italic.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-italic.woff2 b/fonts/open-sans-v17-all-charsets-italic.woff2 new file mode 100644 index 0000000..398b68a Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-italic.woff2 differ diff --git a/fonts/open-sans-v17-all-charsets-regular.woff2 b/fonts/open-sans-v17-all-charsets-regular.woff2 new file mode 100644 index 0000000..8383e94 Binary files /dev/null and b/fonts/open-sans-v17-all-charsets-regular.woff2 differ diff --git a/fonts/source-code-pro-v11-all-charsets-500.woff2 b/fonts/source-code-pro-v11-all-charsets-500.woff2 new file mode 100644 index 0000000..7222456 Binary files /dev/null and b/fonts/source-code-pro-v11-all-charsets-500.woff2 differ diff --git a/go.html b/go.html new file mode 100644 index 0000000..0802313 --- /dev/null +++ b/go.html @@ -0,0 +1,244 @@ + + + + + + Go - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Go MESC Implementation

+

This is a reference implementation of the Go MESC standard.

+

Installation

+

To use this project within your Golang project, execute the following within your project:

+
go get github.com/paradigmxyz/mesc/go
+
+

Example Usage

+

// TODO: pending doc

+

Reference

+

Refer to the function signatures defined in endpoints.go for the list of available functions.

+

Models are available in the model package.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/go/README.md b/go/README.md deleted file mode 100644 index 1e8d807..0000000 --- a/go/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Go MESC Implementation - -This is a reference implementation of the Go MESC standard. - -## Installation - -To use this project within your Golang project, execute the following within your project: - -``` -go get github.com/paradigmxyz/mesc/go -``` - -## Example Usage - -// TODO: pending doc - -## Reference - -Refer to the function signatures defined in [endpoints.go](pkg/mesc/endpoints.go) for the list of available functions. - -Models are available in the [model](pkg/mesc/model) package. \ No newline at end of file diff --git a/go/go.mod b/go/go.mod deleted file mode 100644 index d3617f1..0000000 --- a/go/go.mod +++ /dev/null @@ -1,17 +0,0 @@ -module github.com/paradigmxyz/mesc/go - -go 1.20 - -require ( - github.com/go-logr/logr v1.3.0 // indirect - github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect - github.com/google/go-cmp v0.6.0 // indirect - github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect - github.com/onsi/ginkgo/v2 v2.15.0 // indirect - github.com/onsi/gomega v1.31.0 // indirect - golang.org/x/net v0.19.0 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/tools v0.16.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) diff --git a/go/go.sum b/go/go.sum deleted file mode 100644 index 71b2f92..0000000 --- a/go/go.sum +++ /dev/null @@ -1,34 +0,0 @@ -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= -github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY= -github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM= -github.com/onsi/gomega v1.31.0 h1:54UJxxj6cPInHS3a35wm6BK/F9nHYueZ1NVujHDrnXE= -github.com/onsi/gomega v1.31.0/go.mod h1:DW9aCi7U6Yi40wNVAvT6kzFnEVEI5n3DloYBiKiT6zk= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= -golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= -golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/go/pkg/mesc/endpoint/criteria/config.go b/go/pkg/mesc/endpoint/criteria/config.go deleted file mode 100644 index cc72bac..0000000 --- a/go/pkg/mesc/endpoint/criteria/config.go +++ /dev/null @@ -1,34 +0,0 @@ -package mesc - -import "github.com/paradigmxyz/mesc/go/pkg/mesc/model" - -// EndpointFindCriteriaConfig describes the criteria to be used with FindEndpoints -type EndpointFindCriteriaConfig struct { - chainID *model.ChainID - nameContains *string - urlContains *string -} - -// FindEndpointsCriteria provides a means of customizing the finding criteria for endpoints in FindEndpoints. -type FindEndpointsCriteria func(*EndpointFindCriteriaConfig) - -// HasChainID will find endpoints that contain endpoint metadata for the given chain ID. -func HasChainID(chainID model.ChainID) FindEndpointsCriteria { - return func(e *EndpointFindCriteriaConfig) { - e.chainID = &chainID - } -} - -// NameContains describes a criteria to find endpoints whose name contains the given substring. -func NameContains(name string) FindEndpointsCriteria { - return func(e *EndpointFindCriteriaConfig) { - e.nameContains = &name - } -} - -// URLContains describes a criteria to find endpoints whose URLs contain the given substring. -func URLContains(url string) FindEndpointsCriteria { - return func(e *EndpointFindCriteriaConfig) { - e.urlContains = &url - } -} diff --git a/go/pkg/mesc/endpoint/io/serialization/example.test_json b/go/pkg/mesc/endpoint/io/serialization/example.test_json deleted file mode 100644 index 80505ab..0000000 --- a/go/pkg/mesc/endpoint/io/serialization/example.test_json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "mesc_version": "MESC 1.0", - "default_endpoint": "local_ethereum", - "network_defaults": { - "1": "local_ethereum" - }, - "network_names": { - "local_ethereum": "1" - }, - "endpoints": { - "local_ethereum": { - "name": "local_ethereum", - "url": "http://localhost:8545", - "chain_id": "1", - "endpoint_metadata": { - "rate_limit_rps": 250, - "rate_limit_cups": 1000, - "rate_limit_per_method": { - "trace_block": 200 - }, - "api_key": "a2798f237a2398rf7", - "jwt_secret": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.dyt0CoTl4WoVjAHI9Q_CwSKhl6d_9rhM3NrXuJttkao", - "host": "local", - "ecosystem": "ethereum", - "node_client": "reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu", - "namespaces": ["eth", "trace", "debug"], - "explorer": "https://etherscan.io", - "location": "Paris, France", - "cloud_region": "aws-us-east-1a", - "labels": ["private_mempool", "cache", "archive"] - } - } - }, - "profiles": { - "xyz": { - "name": "xyz", - "default_endpoint": "local_ethereum", - "network_defaults": { - "1": "local_ethereum" - }, - "profile_metadata": { - "last_modified_by": "mesc__1.0", - "last_modified_time": 1705870535, - "creation_time": 1700200462, - "api_keys": { - "etherscan": "abc123" - }, - "groups": { - "load_balancer": [ - "alchemy_optimism", - "quicknode_optimism" - ] - }, - "conceal": true - }, - "use_mesc": true - } - }, - "global_metadata": { - "example_global_metadatum": "example-global-value" - } -} \ No newline at end of file diff --git a/go/pkg/mesc/endpoint/io/serialization/json.go b/go/pkg/mesc/endpoint/io/serialization/json.go deleted file mode 100644 index 9e1f0fb..0000000 --- a/go/pkg/mesc/endpoint/io/serialization/json.go +++ /dev/null @@ -1,145 +0,0 @@ -package serialization - -import ( - "encoding/json" - "fmt" - "io" - - "github.com/paradigmxyz/mesc/go/pkg/mesc/model" -) - -// DeserializeJSON deserializes the JSON contained within the given io.Reader into a model.RPCConfig object. -// This does not apply any validations prescribed by the MESC specification. -func DeserializeJSON(reader io.Reader) (*model.RPCConfig, error) { - var jsonConfig *jsonRPCConfig - if decodeErr := json.NewDecoder(reader).Decode(&jsonConfig); decodeErr != nil { - return nil, fmt.Errorf("failed to decode MESC JSON: %w", decodeErr) - } - - return jsonConfig.toModel(), nil -} - -// DeserializeEndpointMetadataJSON deserializes the given representation of endpoint metadata mapped by endpoint name. -func DeserializeEndpointMetadataJSON(reader io.Reader) (map[string]model.EndpointMetadata, error) { - var endpointJSONMetadata map[string]*jsonEndpoint - if decodeErr := json.NewDecoder(reader).Decode(&endpointJSONMetadata); decodeErr != nil { - return nil, fmt.Errorf("failed to decode endpoint metadata JSON: %w", decodeErr) - } - - endpoints := make(map[string]model.EndpointMetadata, len(endpointJSONMetadata)) - for endpointName, endpointJSON := range endpointJSONMetadata { - endpoints[endpointName] = endpointJSON.toModel() - } - - return endpoints, nil -} - -func toOptionalChainID(v *string) *model.ChainID { - if v == nil { - return nil - } - - asModel := model.ChainID(*v) - return &asModel -} - -func toChainIDMap[V any](source map[string]V) map[model.ChainID]V { - if source == nil { - return nil - } - - copy := make(map[model.ChainID]V, len(source)) - for chainID, value := range source { - copy[model.ChainID(chainID)] = value - } - - return copy -} - -func toMappedChainID[K comparable](source map[K]string) map[K]model.ChainID { - if source == nil { - return nil - } - - copy := make(map[K]model.ChainID, len(source)) - for key, chainID := range source { - copy[key] = model.ChainID(chainID) - } - - return copy -} - -type jsonRPCConfig struct { - MESCVersion string `json:"mesc_version"` - DefaultEndpoint *string `json:"default_endpoint"` - NetworkDefaults map[string]string `json:"network_defaults"` - NetworkNames map[string]string `json:"network_names"` - Endpoints map[string]*jsonEndpoint - Profiles map[string]*jsonProfile - GlobalMetadata map[string]any `json:"global_metadata"` -} - -func (j *jsonRPCConfig) toModel() *model.RPCConfig { - networkDefaults := toChainIDMap(j.NetworkDefaults) - networkNames := toMappedChainID(j.NetworkNames) - - rpcConfig := &model.RPCConfig{ - MESCVersion: j.MESCVersion, - DefaultEndpoint: j.DefaultEndpoint, - NetworkDefaults: networkDefaults, - NetworkNames: networkNames, - GlobalMetadata: j.GlobalMetadata, - } - - if jsonEndpoints := j.Endpoints; jsonEndpoints != nil { - modelEndpoints := make(map[string]model.EndpointMetadata, len(jsonEndpoints)) - for endpointName, jsonEndpoint := range jsonEndpoints { - modelEndpoints[endpointName] = jsonEndpoint.toModel() - } - rpcConfig.Endpoints = modelEndpoints - } - - if jsonProfiles := j.Profiles; jsonProfiles != nil { - modelProfiles := make(map[string]model.Profile, len(jsonProfiles)) - for profileName, jsonProfile := range jsonProfiles { - modelProfiles[profileName] = jsonProfile.toModel() - } - rpcConfig.Profiles = modelProfiles - } - - return rpcConfig -} - -type jsonEndpoint struct { - Name string - URL string - ChainID *string `json:"chain_id"` - EndpointMetadata map[string]any `json:"endpoint_metadata"` -} - -func (j *jsonEndpoint) toModel() model.EndpointMetadata { - return model.EndpointMetadata{ - Name: j.Name, - URL: j.URL, - ChainID: toOptionalChainID(j.ChainID), - EndpointMetadata: j.EndpointMetadata, - } -} - -type jsonProfile struct { - Name string - DefaultEndpoint *string `json:"default_endpoint"` - NetworkDefaults map[string]string `json:"network_defaults"` - ProfileMetadata map[string]any `json:"profile_metadata"` - UseMESC bool `json:"use_mesc"` -} - -func (j *jsonProfile) toModel() model.Profile { - return model.Profile{ - Name: j.Name, - DefaultEndpoint: j.DefaultEndpoint, - NetworkDefaults: toChainIDMap(j.NetworkDefaults), - ProfileMetadata: j.ProfileMetadata, - UseMESC: j.UseMESC, - } -} diff --git a/go/pkg/mesc/endpoint/io/serialization/json_test.go b/go/pkg/mesc/endpoint/io/serialization/json_test.go deleted file mode 100644 index 5ec32db..0000000 --- a/go/pkg/mesc/endpoint/io/serialization/json_test.go +++ /dev/null @@ -1,82 +0,0 @@ -package serialization_test - -import ( - "bytes" - _ "embed" - "time" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "github.com/onsi/gomega/types" - - "github.com/paradigmxyz/mesc/go/pkg/mesc/endpoint/io/serialization" - "github.com/paradigmxyz/mesc/go/pkg/mesc/model" -) - -//go:embed example.test_json -var exampleJSON string - -var _ = Describe("JSON Deserialization", func() { - It("successfully deserializes the example JSON", func() { - jsonReader := bytes.NewBufferString(exampleJSON) - rpcConfig, err := serialization.DeserializeJSON(jsonReader) - Expect(err).ToNot(HaveOccurred(), "deserializing the JSON should not fail") - - Expect(rpcConfig.MESCVersion).To(Equal("MESC 1.0"), "the MESC version should be deserialized correctly") - Expect(rpcConfig.DefaultEndpoint).ToNot(BeNil(), "there should be a default endpoint") - Expect(*rpcConfig.DefaultEndpoint).To(Equal("local_ethereum"), "the default endpoint should be correct") - Expect(rpcConfig.NetworkDefaults).To(HaveKeyWithValue(model.ChainID("1"), "local_ethereum"), "the network defaults should be deserialized") - Expect(rpcConfig.NetworkNames).To(HaveKeyWithValue("local_ethereum", model.ChainID("1")), "the network names should be deserialized") - Expect(rpcConfig.GlobalMetadata).To(And(HaveLen(1), HaveKeyWithValue("example_global_metadatum", "example-global-value")), "the global metadata should have been read in") - - // verify endpoints - Expect(rpcConfig.Endpoints).To(And(HaveLen(1), HaveKey("local_ethereum")), "the local_ethereum endpoint should be deserialized") - ethereumEndpoint := rpcConfig.Endpoints["local_ethereum"] - Expect(ethereumEndpoint.Name).To(Equal("local_ethereum"), "the endpoint name should be deserialized") - Expect(ethereumEndpoint.URL).To(Equal("http://localhost:8545"), "the endpoint URL should be deserialized") - Expect(ethereumEndpoint.ChainID).ToNot(BeNil(), "the chain ID should be present on the endpoint metadata") - Expect(*ethereumEndpoint.ChainID).To(Equal(model.ChainID("1")), "the chain ID should be deserialized") - // The actual verification of the metadata contents follows this by exercising helper methods - Expect(ethereumEndpoint.EndpointMetadata).To(HaveLen(13), "there should be 13 endpoint metadata elements") - - expectMatches("rate limit RPS", ethereumEndpoint.GetRateLimitRPS, BeNumerically("==", 250)) - expectMatches("rate limit CUPS", ethereumEndpoint.GetRateLimitCUPS, BeNumerically("==", 1000)) - expectMatches("method rate limit", func() (float64, bool) { - return ethereumEndpoint.GetMethodRateLimit("trace_block") - }, BeNumerically("==", 200)) - expectMatches("API key", ethereumEndpoint.GetAPIKey, Equal("a2798f237a2398rf7")) - expectMatches("JWT secret", ethereumEndpoint.GetJWTSecret, ContainSubstring("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9")) - expectMatches("host", ethereumEndpoint.GetHost, Equal("local")) - expectMatches("ecosystem", ethereumEndpoint.GetEcosystem, Equal("ethereum")) - expectMatches("node client", ethereumEndpoint.GetNodeClient, Equal("reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu")) - expectMatches("namespaces", ethereumEndpoint.GetNamespaces, ConsistOf([]string{"debug", "eth", "trace"})) - expectMatches("explorer", ethereumEndpoint.GetExplorer, Equal("https://etherscan.io")) - expectMatches("location", ethereumEndpoint.GetLocation, Equal("Paris, France")) - expectMatches("cloud region", ethereumEndpoint.GetCloudRegion, Equal("aws-us-east-1a")) - expectMatches("labels", ethereumEndpoint.GetLabels, ConsistOf([]string{"archive", "cache", "private_mempool"})) - - // verify profiles - Expect(rpcConfig.Profiles).To(And(HaveLen(1), HaveKey("xyz")), "the xyz profile should be read in") - xyzProfile := rpcConfig.Profiles["xyz"] - Expect(xyzProfile.Name).To(Equal("xyz"), "the profile name should be correct") - Expect(xyzProfile.DefaultEndpoint).ToNot(BeNil(), "the profile should have a default endpoint") - Expect(*xyzProfile.DefaultEndpoint).To(Equal("local_ethereum"), "the profile should have the correct default endpoint") - Expect(xyzProfile.NetworkDefaults).To(And(HaveLen(1), HaveKeyWithValue(model.ChainID("1"), "local_ethereum")), "the profile should have the correct network defaults") - Expect(xyzProfile.UseMESC).To(BeTrue(), "the profile should have MESC enabled") - expectMatches("last modified by", xyzProfile.GetLastModifiedBy, Equal("mesc__1.0")) - expectMatches("last modified time", xyzProfile.GetLastModifiedTime, BeTemporally("==", time.Unix(1705870535, 0))) - expectMatches("creation time", xyzProfile.GetCreationTime, BeTemporally("==", time.Unix(1700200462, 0))) - expectMatches("API keys", xyzProfile.GetAPIKeys, And(HaveLen(1), HaveKeyWithValue("etherscan", "abc123"))) - expectMatches("load balancer groups", func() ([]string, bool) { - loadBalancerGroups, hasGroup := xyzProfile.GetEndpointNamesForGrouping("load_balancer") - return loadBalancerGroups, hasGroup - }, ConsistOf([]string{"alchemy_optimism", "quicknode_optimism"})) - expectMatches("conceal", xyzProfile.Conceal, BeTrue()) - }) -}) - -func expectMatches[V any](valueDescriptor string, getter func() (V, bool), valueMatcher types.GomegaMatcher) { - actualValue, hasValue := getter() - Expect(hasValue).To(BeTrue(), "%s should be present", valueDescriptor) - Expect(actualValue).To(valueMatcher, "%s should match", valueDescriptor) -} diff --git a/go/pkg/mesc/endpoint/io/serialization/serialization_suite_test.go b/go/pkg/mesc/endpoint/io/serialization/serialization_suite_test.go deleted file mode 100644 index b933e64..0000000 --- a/go/pkg/mesc/endpoint/io/serialization/serialization_suite_test.go +++ /dev/null @@ -1,13 +0,0 @@ -package serialization_test - -import ( - "testing" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" -) - -func TestSerialization(t *testing.T) { - RegisterFailHandler(Fail) - RunSpecs(t, "Serialization Suite") -} diff --git a/go/pkg/mesc/endpoint/resolution/config.go b/go/pkg/mesc/endpoint/resolution/config.go deleted file mode 100644 index ccd1e60..0000000 --- a/go/pkg/mesc/endpoint/resolution/config.go +++ /dev/null @@ -1,26 +0,0 @@ -package mesc - -import "github.com/paradigmxyz/mesc/go/pkg/mesc/model" - -// EndpointResolutionConfig describes configuration and context to be applied during endpoint resolution. -type EndpointResolutionConfig struct { - profile *string - rpcConfig *model.RPCConfig -} - -// EndpointResolutionOption describes a way of configuring the resolution of an endpoint -type EndpointResolutionOption func(*EndpointResolutionConfig) - -// WithProfile will configure endpoint resolution to resolve with the given profile enabled. -func WithProfile(profile string) EndpointResolutionOption { - return func(cfg *EndpointResolutionConfig) { - cfg.profile = &profile - } -} - -// WithRPCConfig will configure endpoint resolution to resolve from the given RPCConfig. -func WithRPCConfig(rpcConfig model.RPCConfig) EndpointResolutionOption { - return func(cfg *EndpointResolutionConfig) { - cfg.rpcConfig = &rpcConfig - } -} diff --git a/go/pkg/mesc/endpoints.go b/go/pkg/mesc/endpoints.go deleted file mode 100644 index 2277a98..0000000 --- a/go/pkg/mesc/endpoints.go +++ /dev/null @@ -1,54 +0,0 @@ -package mesc - -import ( - "context" - "errors" - - criteria "github.com/paradigmxyz/mesc/go/pkg/mesc/endpoint/criteria" - resolution "github.com/paradigmxyz/mesc/go/pkg/mesc/endpoint/resolution" - model "github.com/paradigmxyz/mesc/go/pkg/mesc/model" -) - -// FindEndpoints will find all endpoint metadata matching the given criteria. -// If no criteria is provided, then all endpoints will be returned. -// If no endpoints are found, then an empty slice of EndpointMetadata will be returned. -func FindEndpoints(ctx context.Context, findCriteria []criteria.FindEndpointsCriteria, options ...resolution.EndpointResolutionOption) ([]*model.EndpointMetadata, error) { - // TODO: implement - return nil, errors.New("not implemented") -} - -// GetDefaultEndpoint resolves the endpoint metadata, if available, for the default endpoint. -// This will return nil if no endpoint metadata can be resolved. -func GetDefaultEndpoint(ctx context.Context, options ...resolution.EndpointResolutionOption) (*model.EndpointMetadata, error) { - // TODO: implement - return nil, errors.New("not yet implemented") -} - -// GetEndpointByNetwork resolves the endpoint metadata, if available, for the given chain ID. -// This will return nil if no endpoint metadata can be resolved. -func GetEndpointByNetwork(ctx context.Context, chainID model.ChainID, options ...resolution.EndpointResolutionOption) (*model.EndpointMetadata, error) { - // TODO: implement - return nil, errors.New("not yet implemented") -} - -// GetEndpointByName resolves the endpoint metadata, if available, for the network for the given name. -// This will return nil if no endpoint metadata can be resolved. -// If the given RPC config is non-nil, it will be used to determine the endpoint. -// If the given RPC config is nil, then the RPC config will be resolved according to the MESC specification. -func GetEndpointByName(ctx context.Context, name string, rpcConfig *model.RPCConfig) (*model.EndpointMetadata, error) { - // TODO: implement - return nil, errors.New("not yet implemented") -} - -// GetEndpointsByQuery resolves the endpoint metadata, if found, for the given query. -// This will return nil if no endpoint metadata can be resolved. -func GetEndpointsByQuery(ctx context.Context, query string, options ...resolution.EndpointResolutionOption) (*model.EndpointMetadata, error) { - // TODO: implement - return nil, errors.New("not yet implemented") -} - -// IsMESCEnabled determines if MESC is enabled. -func IsMESCEnabled(ctx context.Context) (bool, error) { - // TODO: implement - return false, errors.New("not yet implemented") -} diff --git a/go/pkg/mesc/env.go b/go/pkg/mesc/env.go deleted file mode 100644 index 07a8938..0000000 --- a/go/pkg/mesc/env.go +++ /dev/null @@ -1,348 +0,0 @@ -package mesc - -import ( - "bytes" - "context" - "encoding/json" - "fmt" - "net/url" - "os" - "strconv" - "strings" - - "github.com/paradigmxyz/mesc/go/pkg/mesc/endpoint/io/serialization" - model "github.com/paradigmxyz/mesc/go/pkg/mesc/model" -) - -// ResolveRPCConfig resolves an RPC configuration per the MESC specification rules. -func ResolveRPCConfig(ctx context.Context) (*model.RPCConfig, error) { - byMode, hasByMode, err := resolveFromMode() - if err != nil { - return nil, fmt.Errorf("failed to resolve RPC configuration by mode: %w", err) - } else if hasByMode { - return applyOverrides(byMode) - } - - byPath, hasByPath, err := readRPCConfigFile() - if err != nil { - return nil, fmt.Errorf("failed to read RPC configuration from file: %w", err) - } else if hasByPath { - return applyOverrides(byPath) - } - - byEnv, hasByEnv, err := readRPCConfigEnv() - if err != nil { - return nil, fmt.Errorf("failed to read RPC configuration from env: %w", err) - } else if hasByEnv { - return applyOverrides(byEnv) - } - - return nil, fmt.Errorf("unable to resolve MESC configuration") -} - -func applyEndpointMetadataOverrides(rpcConfig *model.RPCConfig) error { - endpointMetadataOverrideJSON := os.Getenv("MESC_ENDPOINT_METADATA") - if endpointMetadataOverrideJSON == "" { - return nil - } - - endpointMetadataOverrides, err := serialization.DeserializeEndpointMetadataJSON(bytes.NewBufferString(endpointMetadataOverrideJSON)) - if err != nil { - return fmt.Errorf("failed to deserialize endpoint metadata overrides: %w", err) - } - - if rpcConfig.Endpoints == nil { - rpcConfig.Endpoints = make(map[string]model.EndpointMetadata) - } - - for endpointName, endpointMetadata := range endpointMetadataOverrides { - rpcConfig.Endpoints[endpointName] = endpointMetadata - } - - return nil -} - -func applyEndpointOverrides(rpcConfig *model.RPCConfig) error { - endpointOverrides := os.Getenv("MESC_ENDPOINTS") - if endpointOverrides == "" { - return nil - } - - endpoints := make(map[string]model.EndpointMetadata) - for _, endpoint := range strings.Split(endpointOverrides, " ") { - splitEndpoint := strings.Split(endpoint, "=") - if len(splitEndpoint) != 2 { - return fmt.Errorf("invalid endpoint override: '%s'", endpoint) - } - - endpoint := model.EndpointMetadata{} - endpointKey := splitEndpoint[0] - if strings.Contains(endpointKey, ":") { - splitKey := strings.Split(endpointKey, ":") - endpoint.Name = splitKey[0] - endpointKey = splitKey[0] - chainID := model.ChainID(splitKey[1]) - endpoint.ChainID = &chainID - } else { - endpoint.Name = splitEndpoint[0] - } - - endpoint.URL = splitEndpoint[1] - - endpoints[endpointKey] = endpoint - } - rpcConfig.Endpoints = endpoints - - return nil -} - -func applyGlobalMetadataOverride(rpcConfig *model.RPCConfig) error { - globalMetadataOverride := os.Getenv("MESC_GLOBAL_METADATA") - if globalMetadataOverride == "" { - return nil - } - - var globalMetadataOverrides map[string]any - if unmarshalErr := json.Unmarshal([]byte(globalMetadataOverride), &globalMetadataOverrides); unmarshalErr != nil { - return fmt.Errorf("failed to unmarshal global metadata override: %w", unmarshalErr) - } - - if rpcConfig.GlobalMetadata == nil { - rpcConfig.GlobalMetadata = make(map[string]any) - } - - for overrideName, overrideValue := range globalMetadataOverrides { - rpcConfig.GlobalMetadata[overrideName] = overrideValue - } - - return nil -} - -func applyNetworkDefaultsOverride(rpcConfig *model.RPCConfig) error { - networkDefaultsOverride := os.Getenv("MESC_NETWORK_DEFAULTS") - if networkDefaultsOverride == "" { - return nil - } - - networkDefaults := make(map[model.ChainID]string) - for _, networkDefault := range strings.Split(networkDefaultsOverride, " ") { - splitNetworkDefault := strings.Split(networkDefault, "=") - if len(splitNetworkDefault) != 2 { - return fmt.Errorf("invalid network default override: '%s'", networkDefault) - } - - networkDefaults[model.ChainID(splitNetworkDefault[0])] = splitNetworkDefault[1] - } - rpcConfig.NetworkDefaults = networkDefaults - - return nil -} - -func applyNetworkNamesOverride(rpcConfig *model.RPCConfig) error { - networkNameOverride := os.Getenv("MESC_NETWORK_NAMES") - if networkNameOverride == "" { - return nil - } - - networkNames := make(map[string]model.ChainID) - for _, networkName := range strings.Split(networkNameOverride, " ") { - splitNetworkName := strings.Split(networkName, "=") - if len(splitNetworkName) != 2 { - return fmt.Errorf("invalid network name overide: '%s'", networkName) - } - - networkNames[splitNetworkName[0]] = model.ChainID(splitNetworkName[1]) - } - rpcConfig.NetworkNames = networkNames - - return nil -} - -func applyOverrides(rpcConfig *model.RPCConfig) (*model.RPCConfig, error) { - if err := applyNetworkDefaultsOverride(rpcConfig); err != nil { - return nil, fmt.Errorf("failed to apply network defaults overrides: %w", err) - } - - if err := applyNetworkNamesOverride(rpcConfig); err != nil { - return nil, fmt.Errorf("failed to apply network names overrides: %w", err) - } - - if err := applyEndpointOverrides(rpcConfig); err != nil { - return nil, fmt.Errorf("failed apply endpoint overrides: %w", err) - } - - if err := applyProfileOverrides(rpcConfig); err != nil { - return nil, fmt.Errorf("failed to apply profile overrides: %w", err) - } - - if err := applyGlobalMetadataOverride(rpcConfig); err != nil { - return nil, fmt.Errorf("failed to apply global metadata overrides: %w", err) - } - - if err := applyEndpointMetadataOverrides(rpcConfig); err != nil { - return nil, fmt.Errorf("failed to apply endpoint metadata overrides: %w", err) - } - - if defaultEndpointOverride := os.Getenv("MESC_DEFAULT_ENDPOINT"); defaultEndpointOverride != "" { - rpcConfig.DefaultEndpoint = &defaultEndpointOverride - synthesizeEndpoint(rpcConfig, defaultEndpointOverride) - } - - return rpcConfig, nil -} - -func applyProfileOverrides(rpcConfig *model.RPCConfig) error { - profileOverrides := os.Getenv("MESC_PROFILES") - if profileOverrides == "" { - return nil - } - - profiles := make(map[string]*model.Profile) - for _, profileOverride := range strings.Split(profileOverrides, " ") { - keyValue := strings.Split(profileOverride, "=") - if len(keyValue) != 2 { - return fmt.Errorf("invalid profile override: '%s'", profileOverride) - } - - keyParts := strings.Split(keyValue[0], ".") - if len(keyParts) < 2 { - return fmt.Errorf("invalid key in profile override key/value pair: '%s'", profileOverride) - } - - profile, hasProfile := profiles[keyParts[0]] - if !hasProfile { - profile = &model.Profile{ - Name: keyParts[0], - } - profiles[keyParts[0]] = profile - } - - switch keyParts[1] { - case "default_endpoint": - profile.DefaultEndpoint = &keyValue[1] - case "network_defaults": - if len(keyParts) < 3 { - return fmt.Errorf("invalid network default setting in profile override: '%s'", profileOverride) - } - - networkDefaults := profile.NetworkDefaults - if networkDefaults == nil { - networkDefaults = make(map[model.ChainID]string) - profile.NetworkDefaults = networkDefaults - } - networkDefaults[model.ChainID(keyParts[2])] = keyValue[1] - case "profile_metadata": - if len(keyParts) < 3 { - return fmt.Errorf("invalid profile metadata setting in profile override: '%s'", profileOverride) - } - - profileMetadata := profile.ProfileMetadata - if profileMetadata == nil { - profileMetadata = make(map[string]any) - profile.ProfileMetadata = profileMetadata - } - profileMetadata[keyParts[2]] = keyValue[1] - case "use_mesc": - parsedBool, parseErr := strconv.ParseBool(keyValue[1]) - if parseErr != nil { - return fmt.Errorf("invalid use_mesc setting in profile override: '%s'", profileOverride) - } - - profile.UseMESC = parsedBool - default: - return fmt.Errorf("unrecognized profile override setting: '%s'", profileOverride) - } - } - - dereffedProfiles := make(map[string]model.Profile, len(profiles)) - for profileName, profile := range profiles { - dereffedProfiles[profileName] = *profile - } - rpcConfig.Profiles = dereffedProfiles - - return nil -} - -func readRPCConfigBytes(jsonBytes []byte) (*model.RPCConfig, error) { - rpcConfig, serializationErr := serialization.DeserializeJSON(bytes.NewBuffer(jsonBytes)) - if serializationErr != nil { - return nil, fmt.Errorf("failed to deserialize JSON: %w", serializationErr) - } - - return rpcConfig, nil -} - -func readRPCConfigEnv() (*model.RPCConfig, bool, error) { - mescJSON := os.Getenv("MESC_ENV") - if mescJSON == "" { - return nil, false, nil - } - - rpcConfig, err := readRPCConfigBytes([]byte(mescJSON)) - if err != nil { - return nil, false, fmt.Errorf("failed to unmarshal RPC config JSON from env var: %w", err) - } - - return rpcConfig, true, nil -} - -func readRPCConfigFile() (*model.RPCConfig, bool, error) { - filePath := os.Getenv("MESC_PATH") - if filePath == "" { - return nil, false, nil - } - - jsonBytes, err := os.ReadFile(filePath) - if err != nil { - return nil, false, fmt.Errorf("failed to read RPC configuration from file '%s': %w", filePath, err) - } - - rpcConfig, err := readRPCConfigBytes(jsonBytes) - if err != nil { - return nil, false, fmt.Errorf("failed to unmarshal RPC config JSON from file '%s': %w", filePath, err) - } - - return rpcConfig, true, nil -} - -func resolveFromMode() (*model.RPCConfig, bool, error) { - mescMode := os.Getenv("MESC_MODE") - switch strings.TrimSpace(mescMode) { - case "PATH": - return readRPCConfigFile() - case "ENV": - return readRPCConfigEnv() - default: - if mescMode != "" { - return nil, false, fmt.Errorf("invalid MESC_MODE value: '%s'", mescMode) - } - } - - return nil, false, nil -} - -func synthesizeEndpoint(rpcConfig *model.RPCConfig, endpointName string) { - endpoints := rpcConfig.Endpoints - if endpoints == nil { - endpoints = make(map[string]model.EndpointMetadata) - rpcConfig.Endpoints = endpoints - } - - syntheticEndpointName := endpointName - if url, parseErr := url.Parse(endpointName); parseErr == nil { - if host := url.Host; host != "" { - syntheticEndpointName = host - } else if scheme := url.Scheme; scheme != "" { - syntheticEndpointName = scheme - } - } - - if _, hasEndpoint := endpoints[syntheticEndpointName]; hasEndpoint { - return - } - - endpoints[syntheticEndpointName] = model.EndpointMetadata{ - Name: syntheticEndpointName, - URL: endpointName, - } -} diff --git a/go/pkg/mesc/env_test.go b/go/pkg/mesc/env_test.go deleted file mode 100644 index 56a8a0f..0000000 --- a/go/pkg/mesc/env_test.go +++ /dev/null @@ -1,292 +0,0 @@ -package mesc_test - -import ( - "context" - "os" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "github.com/paradigmxyz/mesc/go/pkg/mesc" - "github.com/paradigmxyz/mesc/go/pkg/mesc/model" -) - -var _ = Describe("Env", func() { - var ctx context.Context - - BeforeEach(func() { - ctx = context.Background() - }) - - Context("reading from environmental variables", func() { - When("the mode is set to ENV", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_MODE", "ENV")).To(Succeed(), "setting the mode should succeed") - }) - - It("reads the configuration from the environment", func() { - Expect(setAndResetEnv("MESC_ENV", `{ "mesc_version": "MESC 1.0", "default_endpoint": "ethereum_env" }`)) - - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configuration should not fail") - Expect(rpcConfig).ToNot(BeNil(), "the resolved RPC configuration should not be nil") - Expect(rpcConfig.DefaultEndpoint).ToNot(BeNil(), "the RPC configuration should have a default endpoint set") - Expect(*rpcConfig.DefaultEndpoint).To(Equal("ethereum_env"), "the RPC config should be read from the environmental variable") - }) - }) - - When("there is no mode set", func() { - When("there is JSON in MESC_ENV", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_ENV", `{ "mesc_version": "MESC 1.0", "default_endpoint": "ethereum_env_nomode" }`)) - }) - - It("resolves the JSON from the environmental variable", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configuration should not fail") - Expect(rpcConfig).ToNot(BeNil(), "the resolved RPC configuration should not be nil") - Expect(rpcConfig.DefaultEndpoint).ToNot(BeNil(), "the RPC configuration should have a default endpoint set") - Expect(*rpcConfig.DefaultEndpoint).To(Equal("ethereum_env_nomode"), "the RPC config should be read from the environmental variable") - }) - }) - }) - }) - - Context("applying overrides", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_MODE", "ENV")).To(Succeed(), "setting the mode should not fail") - Expect(setAndResetEnv("MESC_ENV", `{ "mesc_version": "MESC 1.0" }`)).To(Succeed(), "setting the JSON env should not fail") - }) - - When("there is a default endpoint override", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_DEFAULT_ENDPOINT", "localhost.default:9999")).To(Succeed(), "setting the default endpoint override should succeed") - }) - - It("overrides the default endpoint", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configuration should not fail") - Expect(rpcConfig.DefaultEndpoint).ToNot(BeNil(), "the default endpoint should be set") - Expect(*rpcConfig.DefaultEndpoint).To(Equal("localhost.default:9999"), "the default endpoint override should be applied") - - // A synthesized endpoint should also be created - Expect(rpcConfig.Endpoints).To(And( - HaveLen(1), - HaveKey("localhost.default"), - ), "a synthesized endpoint with the host name should be created") - - endpoint := rpcConfig.Endpoints["localhost.default"] - Expect(endpoint.Name).To(Equal("localhost.default"), "the endpoint name should match its key") - Expect(endpoint.URL).To(Equal("localhost.default:9999"), "the endpoint should inherit the specified URL") - Expect(endpoint.ChainID).To(BeNil(), "no chain ID should be inferred") - }) - - When("the override is a URL with a scheme", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_DEFAULT_ENDPOINT", "http://localhost.schemed:9999")).To(Succeed(), "setting the default endpoint override should succeed") - }) - - It("extracts the host out as the endpoint name", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configuration should not fail") - - Expect(rpcConfig.Endpoints).To(And( - HaveLen(1), - HaveKey("localhost.schemed:9999"), - ), "a synthesized endpoint with the host name should be created") - }) - }) - - When("there is another endpoint configured with the name of the override", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_DEFAULT_ENDPOINT", "localhost.default")).To(Succeed(), "setting the default endpoint override should succeed") - Expect(setAndResetEnv("MESC_ENDPOINTS", "localhost.default=https://alchemy.com/default")).To(Succeed(), "setting the endpoint overrides should succeed") - }) - - It("does not synthesize a new endpoint", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configuration should not fail") - - Expect(rpcConfig.DefaultEndpoint).ToNot(BeNil(), "the default endpoint should be present") - Expect(*rpcConfig.DefaultEndpoint).To(Equal("localhost.default"), "the default endpoint should be correct") - - Expect(rpcConfig.Endpoints).To(And( - HaveLen(1), - HaveKey("localhost.default"), - ), "the existing endpoint should be re-used") - - endpoint := rpcConfig.Endpoints["localhost.default"] - Expect(endpoint.URL).To(Equal("https://alchemy.com/default"), "the URL of the endpoint should be correct") - }) - }) - }) - - When("there are network defaults set", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_NETWORK_DEFAULTS", "5=alchemy_optimism 1=local_mainnet")).To(Succeed(), "setting the network defaults override should succeed") - }) - - It("applies the network default overrides", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.NetworkDefaults).To(And( - HaveLen(2), - HaveKeyWithValue(model.ChainID("1"), "local_mainnet"), - HaveKeyWithValue(model.ChainID("5"), "alchemy_optimism"), - ), "the network default override should have been applied") - }) - }) - - When("there are network names set", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_NETWORK_NAMES", "zora=7777777 scroll=534352")).To(Succeed(), "setting the network names override should work") - }) - - It("applies the network names override", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.NetworkNames).To(And( - HaveLen(2), - HaveKeyWithValue("zora", model.ChainID("7777777")), - HaveKeyWithValue("scroll", model.ChainID("534352")), - ), "the network names override should be applied") - }) - }) - - When("there are endpoint overrides set", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_ENDPOINTS", "alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545")).To(Succeed(), "setting the endpoint overrides should succeed") - }) - - It("applies the endpoint overrides", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.Endpoints).To(And( - HaveLen(2), - HaveKey("alchemy_optimism"), - HaveKey("local_goerli"), - ), "the endpoints should be loaded into the RPC configuration") - - optimismEndpoint := rpcConfig.Endpoints["alchemy_optimism"] - Expect(optimismEndpoint.Name).To(Equal("alchemy_optimism"), "the Optimism endpoint should inherit its key as its name") - Expect(optimismEndpoint.URL).To(Equal("https://alchemy.com/fjsj"), "the Optimism URL should be set") - Expect(optimismEndpoint.ChainID).To(BeNil(), "no chain ID should be set for the Optimism endpoint") - - goerliEndpoint := rpcConfig.Endpoints["local_goerli"] - Expect(goerliEndpoint.Name).To(Equal("local_goerli"), "the Goerli endpoint should inherit its key as its name") - Expect(goerliEndpoint.URL).To(Equal("localhost:8545"), "the Goerli endpoint should have the right URL") - Expect(goerliEndpoint.ChainID).ToNot(BeNil(), "the Goerli endpoint should have a chain ID set") - Expect(*goerliEndpoint.ChainID).To(Equal(model.ChainID("5")), "the Goerli endpoint should have the correct chain ID") - }) - }) - - When("there are profile overrides set", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_PROFILES", "foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism foundry.profile_metadata.metadatum_key=metadatum_value foundry.use_mesc=true")).To(Succeed(), "setting the profiles override should not fail") - }) - - It("applies the profile overrides", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.Profiles).To(And( - HaveLen(1), - HaveKey("foundry"), - ), "the profile should be loaded") - - profile := rpcConfig.Profiles["foundry"] - Expect(profile.Name).To(Equal("foundry"), "the profile should inherit the key as the name") - Expect(profile.DefaultEndpoint).ToNot(BeNil(), "the profile should have a default endpoint") - Expect(*profile.DefaultEndpoint).To(Equal("local_goerli"), "the profile should have the correct default endpoint") - Expect(profile.NetworkDefaults).To(And( - HaveLen(1), - HaveKeyWithValue(model.ChainID("5"), "alchemy_optimism"), - ), "the profile should have the correct network defaults loaded") - Expect(profile.ProfileMetadata).To(And( - HaveLen(1), - HaveKeyWithValue("metadatum_key", "metadatum_value"), - ), "the profile should have the correct metadata") - Expect(profile.UseMESC).To(BeTrue(), "the profile should have MESC enabled") - }) - }) - - When("there is a global metadata override", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_GLOBAL_METADATA", `{ "bool_field": true, "string_field": "str_value" }`)) - }) - - It("assigns the configured metadata as global metadata", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.GlobalMetadata).To(And( - HaveLen(2), - HaveKeyWithValue("bool_field", true), - HaveKeyWithValue("string_field", "str_value"), - ), "the global metadata should be overridden") - }) - - When("the configuration already has global metadata set", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_ENV", `{ "mesc_version": "MESC 1.0", "global_metadata": { "keep_val": "do not lose" } }`)).To(Succeed(), "setting the JSON env should not fail") - }) - - It("overlays the override on top of the data", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.GlobalMetadata).To(And( - HaveLen(3), - HaveKeyWithValue("bool_field", true), - HaveKeyWithValue("string_field", "str_value"), - HaveKeyWithValue("keep_val", "do not lose"), - ), "the global metadata should be overlayed by what's set as an override") - }) - }) - }) - - When("there is an endpoint metadata override", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_ENDPOINT_METADATA", `{ "local_ethereum": { "url": "http://localhost:8545" } }`)) - }) - - It("overrides it with the set JSON", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.Endpoints).To(And( - HaveLen(1), - HaveKey("local_ethereum"), - ), "the RPC configuration should have the endpoint metadata loaded") - Expect(rpcConfig.Endpoints["local_ethereum"].URL).To(Equal("http://localhost:8545"), "the data for the endpoint should have been deserialized") - }) - - When("the RPC configuration already has endpoint metadata", func() { - BeforeEach(func() { - Expect(setAndResetEnv("MESC_ENV", `{ "mesc_version": "MESC 1.0", "endpoints": { "base_mainnet": { "url": "https://base.coinbase.com/rpc" }} }`)).To(Succeed(), "setting the JSON env should not fail") - }) - - It("overlays the existing configuration with the configured override", func() { - rpcConfig, err := mesc.ResolveRPCConfig(ctx) - Expect(err).ToNot(HaveOccurred(), "resolving the RPC configurations should not fail") - Expect(rpcConfig.Endpoints).To(And( - HaveLen(2), - HaveKey("base_mainnet"), - HaveKey("local_ethereum"), - ), "the RPC configuration should have the override endpoint metadata overlayed onto the pre-existing data") - }) - }) - }) - }) - - When("there is no resolvable RPC configuration", func() { - It("fails to resolve an RPC configuration", func() { - _, err := mesc.ResolveRPCConfig(ctx) - Expect(err).To(HaveOccurred(), "resolving the RPC configuration should fail") - Expect(err.Error()).To(Equal("unable to resolve MESC configuration"), "it should fail for the correct reason") - }) - }) -}) - -func setAndResetEnv(name string, value string) error { - originalValue := os.Getenv(name) - DeferCleanup(func() { - _ = os.Setenv(name, originalValue) - }) - return os.Setenv(name, value) -} diff --git a/go/pkg/mesc/mesc_suite_test.go b/go/pkg/mesc/mesc_suite_test.go deleted file mode 100644 index 5f0f30f..0000000 --- a/go/pkg/mesc/mesc_suite_test.go +++ /dev/null @@ -1,13 +0,0 @@ -package mesc_test - -import ( - "testing" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" -) - -func TestMesc(t *testing.T) { - RegisterFailHandler(Fail) - RunSpecs(t, "Mesc Suite") -} diff --git a/go/pkg/mesc/model/chain_id.go b/go/pkg/mesc/model/chain_id.go deleted file mode 100644 index ff7499a..0000000 --- a/go/pkg/mesc/model/chain_id.go +++ /dev/null @@ -1,32 +0,0 @@ -package model - -import ( - "fmt" - "strconv" - "strings" -) - -// ChainID is the definition of a representation of a chain ID, -// conforming to the format as described in the MESC specification. -type ChainID string - -// ToInt will parse an integer representation of the chain ID. -func (c ChainID) ToInt() (int64, error) { - asString := string(c) - if strings.HasPrefix(asString, "0x") { - parsedInt, parseErr := strconv.ParseInt(asString[2:], 16, 64) - if parseErr != nil { - return 0, fmt.Errorf("failed to parse chain ID '%s' as a hex value: %w", asString, parseErr) - } - - return parsedInt, nil - } - - // Try to just parse it as a ten-base digit - parsedInt, parseErr := strconv.ParseInt(asString, 10, 64) - if parseErr != nil { - return 0, fmt.Errorf("failed to parse chain ID '%s' as a ten-base value: %w", asString, parseErr) - } - - return parsedInt, nil -} diff --git a/go/pkg/mesc/model/chain_id_test.go b/go/pkg/mesc/model/chain_id_test.go deleted file mode 100644 index eab44fd..0000000 --- a/go/pkg/mesc/model/chain_id_test.go +++ /dev/null @@ -1,30 +0,0 @@ -package model_test - -import ( - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - - model "github.com/paradigmxyz/mesc/go/pkg/mesc/model" -) - -var _ = Describe("ChainID", func() { - Context("ToInt", func() { - When("the chain ID is expressed as a ten-base number", func() { - It("successfully parses the integer", func() { - chainID := model.ChainID("512") - asInt, err := chainID.ToInt() - Expect(err).ToNot(HaveOccurred(), "parsing the integer should not fail") - Expect(asInt).To(BeNumerically("==", 512), "the parsed integer should be correct") - }) - }) - - When("the chain ID is expressed as a hexadecimal number", func() { - It("successfully parses the integer", func() { - chainID := model.ChainID("0xddb99ac060e2") - asInt, err := chainID.ToInt() - Expect(err).ToNot(HaveOccurred(), "parsing the integer should not fail") - Expect(asInt).To(BeNumerically("==", 243789234987234), "the parsed integer should be correct") - }) - }) - }) -}) diff --git a/go/pkg/mesc/model/endpoint_metadata.go b/go/pkg/mesc/model/endpoint_metadata.go deleted file mode 100644 index 0428a9b..0000000 --- a/go/pkg/mesc/model/endpoint_metadata.go +++ /dev/null @@ -1,94 +0,0 @@ -package model - -// EndpointMetadata describes metadata for an RPC endpoint. -type EndpointMetadata struct { - Name string // Name is the name of the endpoint - URL string // URL is the location of the endpoint - ChainID *ChainID // ChainID is the chain ID of the string - EndpointMetadata map[string]any // EndpointMetadata is a map of both well-defined endpoint metadata and custom metadata -} - -// GetAPIKey gets the API key in the endpoint metadata, if present. -func (e EndpointMetadata) GetAPIKey() (string, bool) { - return getMetadataString(apiKeyKey, e.EndpointMetadata) -} - -// GetCloudRegion gets the cloud region from the endpoint metadata, if present. -func (e EndpointMetadata) GetCloudRegion() (string, bool) { - return getMetadataString(cloudRegionKey, e.EndpointMetadata) -} - -// GetEcosystem gets the ecosystem in the endpoint metadata, if present. -func (e EndpointMetadata) GetEcosystem() (string, bool) { - return getMetadataString(ecosystemKey, e.EndpointMetadata) -} - -// GetExplorer gets the URL of the explorer from the endpoint metadata, if present. -func (e EndpointMetadata) GetExplorer() (string, bool) { - return getMetadataString(explorerKey, e.EndpointMetadata) -} - -// GetHost gets the host from the endpoint metadata, if present. -func (e EndpointMetadata) GetHost() (string, bool) { - return getMetadataString(hostKey, e.EndpointMetadata) -} - -// GetJWTSecret gets the JWT secret from the endpoint metadata, if present. -func (e EndpointMetadata) GetJWTSecret() (string, bool) { - return getMetadataString(jwtSecretkey, e.EndpointMetadata) -} - -// GetLabels gets the labels from the endpoint metadata, if present. -func (e EndpointMetadata) GetLabels() ([]string, bool) { - return getMetadataStringSlice(labelsKey, e.EndpointMetadata) -} - -// GetLocation gets the location from the endpoint metadata, if present. -func (e EndpointMetadata) GetLocation() (string, bool) { - return getMetadataString(locationKey, e.EndpointMetadata) -} - -// GetMethodRateLimit gets the rate limit, if present, of requests per second for the given RPC method name. -func (e EndpointMetadata) GetMethodRateLimit(methodName string) (float64, bool) { - rateLimitPerMethodAny, hasRateLimits := getMetadataAny(rateLimitPerMethodKey, e.EndpointMetadata) - if !hasRateLimits { - return 0.0, false - } - - rateLimitPerMethodMap, isMap := rateLimitPerMethodAny.(map[string]any) - if !isMap { - return 0.0, false - } - - rateLimitAny, hasRateLimit := rateLimitPerMethodMap[methodName] - if !hasRateLimit { - return 0.0, false - } - - rateLimitFloat, isFloat := rateLimitAny.(float64) - if !isFloat { - return 0.0, false - } - - return rateLimitFloat, true -} - -// GetNamespaces gets the method namespaces defined in the endpoint metadata, if present. -func (e EndpointMetadata) GetNamespaces() ([]string, bool) { - return getMetadataStringSlice(namespacesKey, e.EndpointMetadata) -} - -// GetNodeClient gets the node client information in the metadata, if present. -func (e EndpointMetadata) GetNodeClient() (string, bool) { - return getMetadataString(nodeClientKey, e.EndpointMetadata) -} - -// GetRateLimitCUPS gets the rate limit in compute units per second that the endpoint will allow. -func (e EndpointMetadata) GetRateLimitCUPS() (float64, bool) { - return getMetadataFloat64(rateLimitComputeUnitsPerSecondKey, e.EndpointMetadata) -} - -// GetRateLimitRPS gets the rate limit of requests per second that the endpoint will allow. -func (e EndpointMetadata) GetRateLimitRPS() (float64, bool) { - return getMetadataFloat64(rateLimitRequestsPerSecondKey, e.EndpointMetadata) -} diff --git a/go/pkg/mesc/model/metadata.go b/go/pkg/mesc/model/metadata.go deleted file mode 100644 index 63ff447..0000000 --- a/go/pkg/mesc/model/metadata.go +++ /dev/null @@ -1,82 +0,0 @@ -package model - -const ( - apiKeyKey = "api_key" - apiKeysKey = "api_keys" - cloudRegionKey = "cloud_region" - concealKey = "conceal" - creationTimeKey = "creation_time" - ecosystemKey = "ecosystem" - explorerKey = "explorer" - groupsKey = "groups" - hostKey = "host" - jwtSecretkey = "jwt_secret" - labelsKey = "labels" - lastModifiedByKey = "last_modified_by" - lastModifiedTimeKey = "last_modified_time" - locationKey = "location" - namespacesKey = "namespaces" - nodeClientKey = "node_client" - rateLimitComputeUnitsPerSecondKey = "rate_limit_cups" - rateLimitPerMethodKey = "rate_limit_per_method" - rateLimitRequestsPerSecondKey = "rate_limit_rps" -) - -func getMetadataAny(parameterName string, metadata map[string]any) (any, bool) { - if metadata == nil { - return nil, false - } - - metadatumAny, hasMetadatum := metadata[parameterName] - return metadatumAny, hasMetadatum -} - -func getMetadataFloat64(parameterName string, metadata map[string]any) (float64, bool) { - metadatumAny, hasMetadatum := getMetadataAny(parameterName, metadata) - if !hasMetadatum { - return 0.0, false - } - - metadatumFloat, isFloat := metadatumAny.(float64) - if !isFloat { - return 0.0, false - } - - return metadatumFloat, true -} - -func getMetadataString(parameterName string, metadata map[string]any) (string, bool) { - metadatumAny, hasMetadatum := getMetadataAny(parameterName, metadata) - if !hasMetadatum { - return "", false - } - - metadatumString, isString := metadatumAny.(string) - if !isString { - return "", false - } - - return metadatumString, true -} - -func getMetadataStringSlice(parameterName string, metadata map[string]any) ([]string, bool) { - metadatumAny, hasMetadatum := getMetadataAny(parameterName, metadata) - if !hasMetadatum { - return nil, false - } - - metadatumAnySlice, isAnySlice := metadatumAny.([]any) - if !isAnySlice { - return nil, false - } - - stringSlice := make([]string, len(metadatumAnySlice)) - for metadatumIndex, metadatumAny := range metadatumAnySlice { - metadatumString, isString := metadatumAny.(string) - if !isString { - return nil, false - } - stringSlice[metadatumIndex] = metadatumString - } - return stringSlice, true -} diff --git a/go/pkg/mesc/model/model_suite_test.go b/go/pkg/mesc/model/model_suite_test.go deleted file mode 100644 index 64ce08a..0000000 --- a/go/pkg/mesc/model/model_suite_test.go +++ /dev/null @@ -1,13 +0,0 @@ -package model_test - -import ( - "testing" - - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" -) - -func TestModel(t *testing.T) { - RegisterFailHandler(Fail) - RunSpecs(t, "Model Suite") -} diff --git a/go/pkg/mesc/model/profile.go b/go/pkg/mesc/model/profile.go deleted file mode 100644 index f5a38f1..0000000 --- a/go/pkg/mesc/model/profile.go +++ /dev/null @@ -1,114 +0,0 @@ -package model - -import ( - "fmt" - "time" -) - -// Profile describes a profile to contextualize resolved endpoint metadata -type Profile struct { - Name string // Name is the name of the profile - DefaultEndpoint *string // DefaultEndpoint contains the ChainID of the default network under this profile, if available - NetworkDefaults map[ChainID]string // NetworkDefaults maps ChainID values identifying networks to the name of the default endpoint of that network - ProfileMetadata map[string]any // ProfileMetadata is a combination of both well-defined and custom-defined metadata for this profile - UseMESC bool // UseMESC, if false, indicates that MESC resolution should not be used when this profile is enabled -} - -// Conceal gets, from the profile metadata, whether tools should avoid casually revealing the RPC URLs without prompting. -func (p Profile) Conceal() (bool, bool) { - concealAny, hasConceal := getMetadataAny(concealKey, p.ProfileMetadata) - if !hasConceal { - return false, false - } - - concealBool, isBool := concealAny.(bool) - if !isBool { - return false, false - } - - return concealBool, true -} - -// GetAPIKeys gets from the profile metadata the provided API keys, if present. -func (p Profile) GetAPIKeys() (map[string]string, bool) { - apiKeysAny, hasAPIKeys := getMetadataAny(apiKeysKey, p.ProfileMetadata) - if !hasAPIKeys { - return nil, false - } - - apiKeysMapToAny, isMap := apiKeysAny.(map[string]any) - if !isMap { - return nil, false - } - - apiKeys := make(map[string]string, len(apiKeysMapToAny)) - for serviceName, apiKeyAny := range apiKeysMapToAny { - apiKeyString, isString := apiKeyAny.(string) - if !isString { - return nil, false - } - apiKeys[serviceName] = apiKeyString - } - - return apiKeys, true -} - -// GetEndpointNamesForGrouping gets from the profile metadata the endpoint names that are found in the given grouping, if present. -func (p Profile) GetEndpointNamesForGrouping(grouping string) ([]string, bool) { - groupsAny, hasGroupsAny := getMetadataAny(groupsKey, p.ProfileMetadata) - if !hasGroupsAny { - return nil, false - } - - groupsMap, isMap := groupsAny.(map[string]any) - if !isMap { - return nil, false - } - - groupedEndpointsAny, hasGroup := groupsMap[grouping] - if !hasGroup { - fmt.Println("does not have grouping") - return nil, false - } - - groupedEndpointsAnySlice, isSlice := groupedEndpointsAny.([]any) - if !isSlice { - return nil, false - } - - stringSlice := make([]string, len(groupedEndpointsAnySlice)) - for anyIndex, anyEndpoint := range groupedEndpointsAnySlice { - endpointString, isString := anyEndpoint.(string) - if !isString { - return nil, false - } - stringSlice[anyIndex] = endpointString - } - - return stringSlice, true -} - -// GetCreationTime gets from the metadata the date and time at which the profile was created, present. -func (p Profile) GetCreationTime() (time.Time, bool) { - floatTime, hasFloat := getMetadataFloat64(creationTimeKey, p.ProfileMetadata) - if !hasFloat { - return time.Time{}, false - } - - return time.Unix(int64(floatTime), 0), true -} - -// GetLastModifiedBy gets from the metadata the versioned identifier of the tool used to create the configuration, if present. -func (p Profile) GetLastModifiedBy() (string, bool) { - return getMetadataString(lastModifiedByKey, p.ProfileMetadata) -} - -// GetLastModifiedTime gets from the metadata the date and time when this profile was last modified, if present. -func (p Profile) GetLastModifiedTime() (time.Time, bool) { - floatTime, hasFloat := getMetadataFloat64(lastModifiedTimeKey, p.ProfileMetadata) - if !hasFloat { - return time.Time{}, false - } - - return time.Unix(int64(floatTime), 0), true -} diff --git a/go/pkg/mesc/model/rpc_config.go b/go/pkg/mesc/model/rpc_config.go deleted file mode 100644 index c773443..0000000 --- a/go/pkg/mesc/model/rpc_config.go +++ /dev/null @@ -1,12 +0,0 @@ -package model - -// RPCConfig describes a collection of RPC configurations -type RPCConfig struct { - MESCVersion string // MESCVersion describes the version of the MESC specification to which this adheres - DefaultEndpoint *string // DefaultEndpoint is the name of the default endpoint to be used; if nil, then there is no named default endpoint - NetworkDefaults map[ChainID]string // NetworkDefaults maps chain IDs to the names of the default network for each chain - NetworkNames map[string]ChainID // NetworkNames maps network names to chain ID values - Endpoints map[string]EndpointMetadata // Endpoints maps endpoint metadata by endpoint name - Profiles map[string]Profile // Profiles maps profiles by their profile names - GlobalMetadata map[string]any // GlobalMetadata contains metadata relevant across all profiles -} diff --git a/highlight.css b/highlight.css new file mode 100644 index 0000000..ba57b82 --- /dev/null +++ b/highlight.css @@ -0,0 +1,82 @@ +/* + * An increased contrast highlighting scheme loosely based on the + * "Base16 Atelier Dune Light" theme by Bram de Haan + * (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) + * Original Base16 color scheme by Chris Kempson + * (https://github.com/chriskempson/base16) + */ + +/* Comment */ +.hljs-comment, +.hljs-quote { + color: #575757; +} + +/* Red */ +.hljs-variable, +.hljs-template-variable, +.hljs-attribute, +.hljs-tag, +.hljs-name, +.hljs-regexp, +.hljs-link, +.hljs-name, +.hljs-selector-id, +.hljs-selector-class { + color: #d70025; +} + +/* Orange */ +.hljs-number, +.hljs-meta, +.hljs-built_in, +.hljs-builtin-name, +.hljs-literal, +.hljs-type, +.hljs-params { + color: #b21e00; +} + +/* Green */ +.hljs-string, +.hljs-symbol, +.hljs-bullet { + color: #008200; +} + +/* Blue */ +.hljs-title, +.hljs-section { + color: #0030f2; +} + +/* Purple */ +.hljs-keyword, +.hljs-selector-tag { + color: #9d00ec; +} + +.hljs { + display: block; + overflow-x: auto; + background: #f6f7f6; + color: #000; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-addition { + color: #22863a; + background-color: #f0fff4; +} + +.hljs-deletion { + color: #b31d28; + background-color: #ffeef0; +} diff --git a/highlight.js b/highlight.js new file mode 100644 index 0000000..18d2434 --- /dev/null +++ b/highlight.js @@ -0,0 +1,54 @@ +/* + Highlight.js 10.1.1 (93fd0d73) + License: BSD-3-Clause + Copyright (c) 2006-2020, Ivan Sagalaev +*/ +var hljs=function(){"use strict";function e(n){Object.freeze(n);var t="function"==typeof n;return Object.getOwnPropertyNames(n).forEach((function(r){!Object.hasOwnProperty.call(n,r)||null===n[r]||"object"!=typeof n[r]&&"function"!=typeof n[r]||t&&("caller"===r||"callee"===r||"arguments"===r)||Object.isFrozen(n[r])||e(n[r])})),n}class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}ignoreMatch(){this.ignore=!0}}function t(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function r(e,...n){var t={};for(const n in e)t[n]=e[n];return n.forEach((function(e){for(const n in e)t[n]=e[n]})),t}function a(e){return e.nodeName.toLowerCase()}var i=Object.freeze({__proto__:null,escapeHTML:t,inherit:r,nodeStream:function(e){var n=[];return function e(t,r){for(var i=t.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:r,node:i}),r=e(i,r),a(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:r,node:i}));return r}(e,0),n},mergeStreams:function(e,n,r){var i=0,s="",o=[];function l(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset"}function u(e){s+=""}function d(e){("start"===e.event?c:u)(e.node)}for(;e.length||n.length;){var g=l();if(s+=t(r.substring(i,g[0].offset)),i=g[0].offset,g===e){o.reverse().forEach(u);do{d(g.splice(0,1)[0]),g=l()}while(g===e&&g.length&&g[0].offset===i);o.reverse().forEach(c)}else"start"===g[0].event?o.push(g[0].node):o.pop(),d(g.splice(0,1)[0])}return s+t(r.substr(i))}});const s="",o=e=>!!e.kind;class l{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=t(e)}openNode(e){if(!o(e))return;let n=e.kind;e.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(e){o(e)&&(this.buffer+=s)}value(){return this.buffer}span(e){this.buffer+=``}}class c{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n={kind:e,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(n=>this._walk(e,n)),e.closeNode(n)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{c._collapse(e)}))}}class u extends c{constructor(e){super(),this.options=e}addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,n){const t=e.root;t.kind=n,t.sublanguage=!0,this.add(t)}toHTML(){return new l(this,this.options).value()}finalize(){return!0}}function d(e){return e?"string"==typeof e?e:e.source:null}const g="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",h={begin:"\\\\[\\s\\S]",relevance:0},f={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[h]},p={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[h]},b={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},m=function(e,n,t={}){var a=r({className:"comment",begin:e,end:n,contains:[]},t);return a.contains.push(b),a.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),a},v=m("//","$"),x=m("/\\*","\\*/"),E=m("#","$");var _=Object.freeze({__proto__:null,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:g,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>d(e)).join("")}(n,/.*\b/,e.binary,/\b.*/)),r({className:"meta",begin:n,end:/$/,relevance:0,"on:begin":(e,n)=>{0!==e.index&&n.ignoreMatch()}},e)},BACKSLASH_ESCAPE:h,APOS_STRING_MODE:f,QUOTE_STRING_MODE:p,PHRASAL_WORDS_MODE:b,COMMENT:m,C_LINE_COMMENT_MODE:v,C_BLOCK_COMMENT_MODE:x,HASH_COMMENT_MODE:E,NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},C_NUMBER_MODE:{className:"number",begin:g,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:"\\b(0b[01]+)",relevance:0},CSS_NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[h,{begin:/\[/,end:/\]/,relevance:0,contains:[h]}]}]},TITLE_MODE:{className:"title",begin:"[a-zA-Z]\\w*",relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})}}),N="of and for in not or if then".split(" ");function w(e,n){return n?+n:function(e){return N.includes(e.toLowerCase())}(e)?0:1}const R=t,y=r,{nodeStream:k,mergeStreams:O}=i,M=Symbol("nomatch");return function(t){var a=[],i={},s={},o=[],l=!0,c=/(^(<[^>]+>|\t|)+|\n)/gm,g="Could not find the language '{}', did you forget to load/include a language module?";const h={disableAutodetect:!0,name:"Plain text",contains:[]};var f={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:u};function p(e){return f.noHighlightRe.test(e)}function b(e,n,t,r){var a={code:n,language:e};S("before:highlight",a);var i=a.result?a.result:m(a.language,a.code,t,r);return i.code=a.code,S("after:highlight",i),i}function m(e,t,a,s){var o=t;function c(e,n){var t=E.case_insensitive?n[0].toLowerCase():n[0];return Object.prototype.hasOwnProperty.call(e.keywords,t)&&e.keywords[t]}function u(){null!=y.subLanguage?function(){if(""!==A){var e=null;if("string"==typeof y.subLanguage){if(!i[y.subLanguage])return void O.addText(A);e=m(y.subLanguage,A,!0,k[y.subLanguage]),k[y.subLanguage]=e.top}else e=v(A,y.subLanguage.length?y.subLanguage:null);y.relevance>0&&(I+=e.relevance),O.addSublanguage(e.emitter,e.language)}}():function(){if(!y.keywords)return void O.addText(A);let e=0;y.keywordPatternRe.lastIndex=0;let n=y.keywordPatternRe.exec(A),t="";for(;n;){t+=A.substring(e,n.index);const r=c(y,n);if(r){const[e,a]=r;O.addText(t),t="",I+=a,O.addKeyword(n[0],e)}else t+=n[0];e=y.keywordPatternRe.lastIndex,n=y.keywordPatternRe.exec(A)}t+=A.substr(e),O.addText(t)}(),A=""}function h(e){return e.className&&O.openNode(e.className),y=Object.create(e,{parent:{value:y}})}function p(e){return 0===y.matcher.regexIndex?(A+=e[0],1):(L=!0,0)}var b={};function x(t,r){var i=r&&r[0];if(A+=t,null==i)return u(),0;if("begin"===b.type&&"end"===r.type&&b.index===r.index&&""===i){if(A+=o.slice(r.index,r.index+1),!l){const n=Error("0 width match regex");throw n.languageName=e,n.badRule=b.rule,n}return 1}if(b=r,"begin"===r.type)return function(e){var t=e[0],r=e.rule;const a=new n(r),i=[r.__beforeBegin,r["on:begin"]];for(const n of i)if(n&&(n(e,a),a.ignore))return p(t);return r&&r.endSameAsBegin&&(r.endRe=RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),r.skip?A+=t:(r.excludeBegin&&(A+=t),u(),r.returnBegin||r.excludeBegin||(A=t)),h(r),r.returnBegin?0:t.length}(r);if("illegal"===r.type&&!a){const e=Error('Illegal lexeme "'+i+'" for mode "'+(y.className||"")+'"');throw e.mode=y,e}if("end"===r.type){var s=function(e){var t=e[0],r=o.substr(e.index),a=function e(t,r,a){let i=function(e,n){var t=e&&e.exec(n);return t&&0===t.index}(t.endRe,a);if(i){if(t["on:end"]){const e=new n(t);t["on:end"](r,e),e.ignore&&(i=!1)}if(i){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,a)}(y,e,r);if(!a)return M;var i=y;i.skip?A+=t:(i.returnEnd||i.excludeEnd||(A+=t),u(),i.excludeEnd&&(A=t));do{y.className&&O.closeNode(),y.skip||y.subLanguage||(I+=y.relevance),y=y.parent}while(y!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),h(a.starts)),i.returnEnd?0:t.length}(r);if(s!==M)return s}if("illegal"===r.type&&""===i)return 1;if(B>1e5&&B>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return A+=i,i.length}var E=T(e);if(!E)throw console.error(g.replace("{}",e)),Error('Unknown language: "'+e+'"');var _=function(e){function n(n,t){return RegExp(d(n),"m"+(e.case_insensitive?"i":"")+(t?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,n){n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),this.matchAt+=function(e){return RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=n(function(e,n="|"){for(var t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",i=0;i0&&(a+=n),a+="(";o.length>0;){var l=t.exec(o);if(null==l){a+=o;break}a+=o.substring(0,l.index),o=o.substring(l.index+l[0].length),"\\"===l[0][0]&&l[1]?a+="\\"+(+l[1]+s):(a+=l[0],"("===l[0]&&r++)}a+=")"}return a}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const n=this.matcherRe.exec(e);if(!n)return null;const t=n.findIndex((e,n)=>n>0&&void 0!==e),r=this.matchIndexes[t];return n.splice(0,t),Object.assign(n,r)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const n=new t;return this.rules.slice(e).forEach(([e,t])=>n.addRule(e,t)),n.compile(),this.multiRegexes[e]=n,n}considerAll(){this.regexIndex=0}addRule(e,n){this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){const n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;const t=n.exec(e);return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&(this.regexIndex=0)),t}}function i(e,n){const t=e.input[e.index-1],r=e.input[e.index+e[0].length];"."!==t&&"."!==r||n.ignoreMatch()}if(e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return function t(s,o){const l=s;if(s.compiled)return l;s.compiled=!0,s.__beforeBegin=null,s.keywords=s.keywords||s.beginKeywords;let c=null;if("object"==typeof s.keywords&&(c=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=function(e,n){var t={};return"string"==typeof e?r("keyword",e):Object.keys(e).forEach((function(n){r(n,e[n])})),t;function r(e,r){n&&(r=r.toLowerCase()),r.split(" ").forEach((function(n){var r=n.split("|");t[r[0]]=[e,w(r[0],r[1])]}))}}(s.keywords,e.case_insensitive)),s.lexemes&&c)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return l.keywordPatternRe=n(s.lexemes||c||/\w+/,!0),o&&(s.beginKeywords&&(s.begin="\\b("+s.beginKeywords.split(" ").join("|")+")(?=\\b|\\s)",s.__beforeBegin=i),s.begin||(s.begin=/\B|\b/),l.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(l.endRe=n(s.end)),l.terminator_end=d(s.end)||"",s.endsWithParent&&o.terminator_end&&(l.terminator_end+=(s.end?"|":"")+o.terminator_end)),s.illegal&&(l.illegalRe=n(s.illegal)),void 0===s.relevance&&(s.relevance=1),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(e){return function(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map((function(n){return r(e,{variants:null},n)}))),e.cached_variants?e.cached_variants:function e(n){return!!n&&(n.endsWithParent||e(n.starts))}(e)?r(e,{starts:e.starts?r(e.starts):null}):Object.isFrozen(e)?r(e):e}("self"===e?s:e)}))),s.contains.forEach((function(e){t(e,l)})),s.starts&&t(s.starts,o),l.matcher=function(e){const n=new a;return e.contains.forEach(e=>n.addRule(e.begin,{rule:e,type:"begin"})),e.terminator_end&&n.addRule(e.terminator_end,{type:"end"}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(l),l}(e)}(E),N="",y=s||_,k={},O=new f.__emitter(f);!function(){for(var e=[],n=y;n!==E;n=n.parent)n.className&&e.unshift(n.className);e.forEach(e=>O.openNode(e))}();var A="",I=0,S=0,B=0,L=!1;try{for(y.matcher.considerAll();;){B++,L?L=!1:(y.matcher.lastIndex=S,y.matcher.considerAll());const e=y.matcher.exec(o);if(!e)break;const n=x(o.substring(S,e.index),e);S=e.index+n}return x(o.substr(S)),O.closeAllNodes(),O.finalize(),N=O.toHTML(),{relevance:I,value:N,language:e,illegal:!1,emitter:O,top:y}}catch(n){if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:n.message,context:o.slice(S-100,S+100),mode:n.mode},sofar:N,relevance:0,value:R(o),emitter:O};if(l)return{illegal:!1,relevance:0,value:R(o),emitter:O,language:e,top:y,errorRaised:n};throw n}}function v(e,n){n=n||f.languages||Object.keys(i);var t=function(e){const n={relevance:0,emitter:new f.__emitter(f),value:R(e),illegal:!1,top:h};return n.emitter.addText(e),n}(e),r=t;return n.filter(T).filter(I).forEach((function(n){var a=m(n,e,!1);a.language=n,a.relevance>r.relevance&&(r=a),a.relevance>t.relevance&&(r=t,t=a)})),r.language&&(t.second_best=r),t}function x(e){return f.tabReplace||f.useBR?e.replace(c,e=>"\n"===e?f.useBR?"
":e:f.tabReplace?e.replace(/\t/g,f.tabReplace):e):e}function E(e){let n=null;const t=function(e){var n=e.className+" ";n+=e.parentNode?e.parentNode.className:"";const t=f.languageDetectRe.exec(n);if(t){var r=T(t[1]);return r||(console.warn(g.replace("{}",t[1])),console.warn("Falling back to no-highlight mode for this block.",e)),r?t[1]:"no-highlight"}return n.split(/\s+/).find(e=>p(e)||T(e))}(e);if(p(t))return;S("before:highlightBlock",{block:e,language:t}),f.useBR?(n=document.createElement("div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(//g,"\n"):n=e;const r=n.textContent,a=t?b(t,r,!0):v(r),i=k(n);if(i.length){const e=document.createElement("div");e.innerHTML=a.value,a.value=O(i,k(e),r)}a.value=x(a.value),S("after:highlightBlock",{block:e,result:a}),e.innerHTML=a.value,e.className=function(e,n,t){var r=n?s[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),e.includes(r)||a.push(r),a.join(" ").trim()}(e.className,t,a.language),e.result={language:a.language,re:a.relevance,relavance:a.relevance},a.second_best&&(e.second_best={language:a.second_best.language,re:a.second_best.relevance,relavance:a.second_best.relevance})}const N=()=>{if(!N.called){N.called=!0;var e=document.querySelectorAll("pre code");a.forEach.call(e,E)}};function T(e){return e=(e||"").toLowerCase(),i[e]||i[s[e]]}function A(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach(e=>{s[e]=n})}function I(e){var n=T(e);return n&&!n.disableAutodetect}function S(e,n){var t=e;o.forEach((function(e){e[t]&&e[t](n)}))}Object.assign(t,{highlight:b,highlightAuto:v,fixMarkup:x,highlightBlock:E,configure:function(e){f=y(f,e)},initHighlighting:N,initHighlightingOnLoad:function(){window.addEventListener("DOMContentLoaded",N,!1)},registerLanguage:function(e,n){var r=null;try{r=n(t)}catch(n){if(console.error("Language definition for '{}' could not be registered.".replace("{}",e)),!l)throw n;console.error(n),r=h}r.name||(r.name=e),i[e]=r,r.rawDefinition=n.bind(null,t),r.aliases&&A(r.aliases,{languageName:e})},listLanguages:function(){return Object.keys(i)},getLanguage:T,registerAliases:A,requireLanguage:function(e){var n=T(e);if(n)return n;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:I,inherit:y,addPlugin:function(e){o.push(e)}}),t.debugMode=function(){l=!1},t.safeMode=function(){l=!0},t.versionString="10.1.1";for(const n in _)"object"==typeof _[n]&&e(_[n]);return Object.assign(t,_),t}({})}();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs); +hljs.registerLanguage("apache",function(){"use strict";return function(e){var n={className:"number",begin:"\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?"};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:"",contains:[n,{className:"number",begin:":\\d{1,5}"},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:"\\s\\[",end:"\\]$"},{className:"variable",begin:"[\\$%]\\{",end:"\\}",contains:["self",{className:"number",begin:"[\\$%]\\d+"}]},n,{className:"number",begin:"\\d+"},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}}()); +hljs.registerLanguage("bash",function(){"use strict";return function(e){const s={};Object.assign(s,{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{/,end:/\}/,contains:[{begin:/:-/,contains:[s]}]}]});const t={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,t]};t.contains.push(n);const a={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},i=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b-?[a-z\._]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[i,e.SHEBANG(),c,a,e.HASH_COMMENT_MODE,n,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}}()); +hljs.registerLanguage("c-like",function(){"use strict";return function(e){function t(e){return"(?:"+e+")?"}var n="(decltype\\(auto\\)|"+t("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+t("<.*?>")+")",r={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},i={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o={className:"title",begin:t("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=t("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",l={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:l,contains:d.concat([{begin:/\(/,end:/\)/,keywords:l,contains:d.concat(["self"]),relevance:0}]),relevance:0},u={className:"function",begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,illegal:/[^\w\s\*&:<>]/,contains:[{begin:"decltype\\(auto\\)",keywords:l,relevance:0},{begin:c,returnBegin:!0,contains:[o],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,r,{begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,r]}]},r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:l,disableAutodetect:!0,illegal:"",keywords:l,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:l},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin://,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:s,strings:a,keywords:l}}}}()); +hljs.registerLanguage("c",function(){"use strict";return function(e){var n=e.getLanguage("c-like").rawDefinition();return n.name="C",n.aliases=["c","h"],n}}()); +hljs.registerLanguage("coffeescript",function(){"use strict";const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return function(r){var t={keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((e=>n=>!e.includes(n))(["var","const","let","function","static"])).join(" "),literal:n.concat(["yes","no","on","off"]).join(" "),built_in:a.concat(["npm","print"]).join(" ")},i="[A-Za-z$_][0-9A-Za-z$_]*",s={className:"subst",begin:/#\{/,end:/}/,keywords:t},o=[r.BINARY_NUMBER_MODE,r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,s]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,s]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[s,r.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+i},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];s.contains=o;var c=r.inherit(r.TITLE_MODE,{begin:i}),l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:o.concat([r.COMMENT("###","###"),r.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+i+"\\s*=\\s*(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[c,l]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[c]},c]},{begin:i+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}()); +hljs.registerLanguage("cpp",function(){"use strict";return function(e){var t=e.getLanguage("c-like").rawDefinition();return t.disableAutodetect=!1,t.name="C++",t.aliases=["cc","c++","h++","hpp","hh","hxx","cxx"],t}}()); +hljs.registerLanguage("csharp",function(){"use strict";return function(e){var n={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield",literal:"null false true"},i=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},t=e.inherit(s,{illegal:/\n/}),l={className:"subst",begin:"{",end:"}",keywords:n},r=e.inherit(l,{illegal:/\n/}),c={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},e.BACKSLASH_ESCAPE,r]},o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},l]},g=e.inherit(o,{illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},r]});l.contains=[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],r.contains=[g,c,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var d={variants:[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},i]},_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",b={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},d,a,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},i,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+_+"\\s+)+"+e.IDENT_RE+"\\s*(\\<.+\\>)?\\s*\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.IDENT_RE+"\\s*(\\<.+\\>)?\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE,E],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,contains:[d,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},b]}}}()); +hljs.registerLanguage("css",function(){"use strict";return function(e){var n={begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}}]};return{name:"CSS",case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",illegal:/:/,returnBegin:!0,contains:[{className:"keyword",begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,n]}]}}}()); +hljs.registerLanguage("diff",function(){"use strict";return function(e){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",end:"$"}]}}}()); +hljs.registerLanguage("go",function(){"use strict";return function(e){var n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:n,illegal:"e(n)).join("")}return function(a){var s={className:"number",relevance:0,variants:[{begin:/([\+\-]+)?[\d]+_[\d_]+/},{begin:a.NUMBER_RE}]},i=a.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var t={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]},r={className:"literal",begin:/\bon|off|true|false|yes|no\b/},l={className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},c={begin:/\[/,end:/\]/,contains:[i,r,t,l,s,"self"],relevance:0},g="("+[/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/].map(n=>e(n)).join("|")+")";return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:n(g,"(\\s*\\.\\s*",g,")*",n("(?=",/\s*=\s*[^#\s]/,")")),className:"attr",starts:{end:/$/,contains:[i,c,r,t,l,s]}}]}}}()); +hljs.registerLanguage("java",function(){"use strict";function e(e){return e?"string"==typeof e?e:e.source:null}function n(e){return a("(",e,")?")}function a(...n){return n.map(n=>e(n)).join("")}function s(...n){return"("+n.map(n=>e(n)).join("|")+")"}return function(e){var t="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",i={className:"meta",begin:"@[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},r=e=>a("[",e,"]+([",e,"_]*[",e,"]+)?"),c={className:"number",variants:[{begin:`\\b(0[bB]${r("01")})[lL]?`},{begin:`\\b(0${r("0-7")})[dDfFlL]?`},{begin:a(/\b0[xX]/,s(a(r("a-fA-F0-9"),/\./,r("a-fA-F0-9")),a(r("a-fA-F0-9"),/\.?/),a(/\./,r("a-fA-F0-9"))),/([pP][+-]?(\d+))?/,/[fFdDlL]?/)},{begin:a(/\b/,s(a(/\d*\./,r("\\d")),r("\\d")),/[eE][+-]?[\d]+[dDfF]?/)},{begin:a(/\b/,r(/\d/),n(/\.?/),n(r(/\d/)),/[dDfFlL]?/)}],relevance:0};return{name:"Java",aliases:["jsp"],keywords:t,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},c,i]}}}()); +hljs.registerLanguage("javascript",function(){"use strict";const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function s(e){return r("(?=",e,")")}function r(...e){return e.map(e=>(function(e){return e?"string"==typeof e?e:e.source:null})(e)).join("")}return function(t){var i="[A-Za-z$_][0-9A-Za-z$_]*",c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/},o={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:e.join(" "),literal:n.join(" "),built_in:a.join(" ")},l={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:t.C_NUMBER_RE+"n?"}],relevance:0},E={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,E],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,E],subLanguage:"css"}},u={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,E]};E.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,g,u,l,t.REGEXP_MODE];var b=E.contains.concat([{begin:/\(/,end:/\)/,contains:["self"].concat(E.contains,[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE])},t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]),_={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:b};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,contains:[t.SHEBANG({binary:"node",relevance:5}),{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,g,u,t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,l,{begin:r(/[{,\n]\s*/,s(r(/(((\/\/.*)|(\/\*(.|\n)*\*\/))\s*)*/,i+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:i+s("\\s*:"),relevance:0}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\([^(]*(\\([^(]*(\\([^(]*\\))?\\))?\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:""},{begin:c.begin,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:i}),_],illegal:/\[|%/},{begin:/\$[(.]/},t.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0},{begin:"(get|set)\\s+(?="+i+"\\()",end:/{/,keywords:"get set",contains:[t.inherit(t.TITLE_MODE,{begin:i}),{begin:/\(\)/},_]}],illegal:/#(?!!)/}}}()); +hljs.registerLanguage("json",function(){"use strict";return function(n){var e={literal:"true false null"},i=[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],t=[n.QUOTE_STRING_MODE,n.C_NUMBER_MODE],a={end:",",endsWithParent:!0,excludeEnd:!0,contains:t,keywords:e},l={begin:"{",end:"}",contains:[{className:"attr",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE],illegal:"\\n"},n.inherit(a,{begin:/:/})].concat(i),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[n.inherit(a)],illegal:"\\S"};return t.push(l,s),i.forEach((function(n){t.push(n)})),{name:"JSON",contains:t,keywords:e,illegal:"\\S"}}}()); +hljs.registerLanguage("kotlin",function(){"use strict";return function(e){var n={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:"\\${",end:"}",contains:[e.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},t={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,s,i]}]};i.contains.push(t);var r={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(t,{className:"meta-string"})]}]},c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),o={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=o;return d.variants[1].contains=[o],o.variants[1].contains=[d],{name:"Kotlin",aliases:["kt"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a,r,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[o,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,r,l,t,e.C_NUMBER_MODE]},c]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},r,l]},t,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},{className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0}]}}}()); +hljs.registerLanguage("less",function(){"use strict";return function(e){var n="([\\w-]+|@{[\\w-]+})",a=[],s=[],t=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},r=function(e,n,a){return{className:e,begin:n,relevance:a}},i={begin:"\\(",end:"\\)",contains:s,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t("'"),t('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},r("number","#[0-9A-Fa-f]+\\b"),i,r("variable","@@?[\\w-]+",10),r("variable","@{[\\w-]+}"),r("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},{className:"meta",begin:"!important"});var c=s.concat({begin:"{",end:"}",contains:a}),l={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},o={begin:n+"\\s*:",returnBegin:!0,end:"[;}]",relevance:0,contains:[{className:"attribute",begin:n,end:":",excludeEnd:!0,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},g={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:s,relevance:0}},d={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:c}},b={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,r("keyword","all\\b"),r("variable","@{[\\w-]+}"),r("selector-tag",n+"%?",0),r("selector-id","#"+n),r("selector-class","\\."+n,0),r("selector-tag","&",0),{className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:c},{begin:"!important"}]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,d,o,b),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:a}}}()); +hljs.registerLanguage("lua",function(){"use strict";return function(e){var t={begin:"\\[=*\\[",end:"\\]=*\\]",contains:["self"]},a=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[","\\]=*\\]",{contains:[t],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\[=*\\[",end:"\\]=*\\]",contains:[t],relevance:5}])}}}()); +hljs.registerLanguage("makefile",function(){"use strict";return function(e){var i={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[a,i,t,s,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"",contains:[a,s,i,t]}]}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:")",end:">",keywords:{name:"style"},contains:[c],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:")",end:">",keywords:{name:"script"},contains:[c],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},c]}]}}}()); +hljs.registerLanguage("markdown",function(){"use strict";return function(n){const e={begin:"<",end:">",subLanguage:"xml",relevance:0},a={begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},i={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},s={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};i.contains.push(s),s.contains.push(i);var c=[e,a];return i.contains=i.contains.concat(c),s.contains=s.contains.concat(c),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:c=c.concat(i,s)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:c}]}]},e,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i,s,{className:"quote",begin:"^>\\s+",contains:c,end:"$"},{className:"code",variants:[{begin:"(`{3,})(.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})(.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},a,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}}()); +hljs.registerLanguage("nginx",function(){"use strict";return function(e){var n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/}/},{begin:"[\\$\\@]"+e.UNDERSCORE_IDENT_RE}]},a={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s+{",returnBegin:!0,end:"{",contains:[{className:"section",begin:e.UNDERSCORE_IDENT_RE}],relevance:0},{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|{",returnBegin:!0,contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:a}],relevance:0}],illegal:"[^\\s\\}]"}}}()); +hljs.registerLanguage("objectivec",function(){"use strict";return function(e){var n=/[a-zA-Z@][a-zA-Z0-9_]*/,_={$pattern:n,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c"],keywords:{$pattern:n,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+_.keyword.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:!0,keywords:_,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}}()); +hljs.registerLanguage("perl",function(){"use strict";return function(e){var n={$pattern:/[\w.]+/,keyword:"getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qq fileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmget sub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedir ioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when"},t={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},s={begin:"->{",end:"}"},r={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},i=[e.BACKSLASH_ESCAPE,t,r],a=[r,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),s,{className:"string",contains:i,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return t.contains=a,s.contains=a,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:a}}}()); +hljs.registerLanguage("php",function(){"use strict";return function(e){var r={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},t={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Throwable Traversable WeakReference Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:i,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[t]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},t,{className:"keyword",begin:/\$this\b/},r,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",r,e.C_BLOCK_COMMENT_MODE,a,n]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},a,n]}}}()); +hljs.registerLanguage("php-template",function(){"use strict";return function(n){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},n.inherit(n.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),n.inherit(n.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}}()); +hljs.registerLanguage("plaintext",function(){"use strict";return function(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}}()); +hljs.registerLanguage("properties",function(){"use strict";return function(e){var n="[ \\t\\f]*",t="("+n+"[:=]"+n+"|[ \\t\\f]+)",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:t,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+"+t,returnBegin:!0,contains:[{className:"attr",begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",endsParent:!0,relevance:0}],starts:s},{begin:a+t,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:a,endsParent:!0,relevance:0}],starts:s},{className:"attr",relevance:0,begin:a+n+"$"}]}}}()); +hljs.registerLanguage("python",function(){"use strict";return function(e){var n={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},a={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:n,illegal:/#/},s={begin:/\{\{/,relevance:0},r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,i]},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},t={className:"params",variants:[{begin:/\(\s*\)/,skip:!0,className:null},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:["self",a,l,r,e.HASH_COMMENT_MODE]}]};return i.contains=[r,l,a],{name:"Python",aliases:["py","gyp","ipython"],keywords:n,illegal:/(<\/|->|\?)|=>/,contains:[a,l,{beginKeywords:"if",relevance:0},r,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,t,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}}()); +hljs.registerLanguage("python-repl",function(){"use strict";return function(n){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}}()); +hljs.registerLanguage("ruby",function(){"use strict";return function(e){var n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},i={begin:"#<",end:">"},r=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^\\=begin","^\\=end",{contains:[s],relevance:10}),e.COMMENT("^__END__","\\n$")],c={className:"subst",begin:"#\\{",end:"}",keywords:a},t={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},b={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:a},d=[t,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(r)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:n}),b].concat(r)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[t,{begin:n}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(r),relevance:0}].concat(r);c.contains=d,b.contains=d;var g=[{begin:/^\s*=>/,starts:{end:"$",contains:d}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:d}}];return{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:r.concat(g).concat(d)}}}()); +hljs.registerLanguage("rust",function(){"use strict";return function(e){var n="([ui](8|16|32|64|128|size)|f(32|64))?",t="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",literal:"true false Some None Ok Err",built_in:t},illegal:""}]}}}()); +hljs.registerLanguage("scss",function(){"use strict";return function(e){var t={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"},i={className:"number",begin:"#[0-9A-Fa-f]+"};return e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{className:"selector-tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{className:"selector-pseudo",begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{className:"selector-pseudo",begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},t,{className:"attribute",begin:"\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[t,i,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"meta",begin:"!important"}]},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:"and or not only",contains:[{begin:"@[a-z-]+",className:"keyword"},t,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,e.CSS_NUMBER_MODE]}]}}}()); +hljs.registerLanguage("shell",function(){"use strict";return function(s){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}}]}}}()); +hljs.registerLanguage("sql",function(){"use strict";return function(e){var t=e.COMMENT("--","$");return{name:"SQL",case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]}}}()); +hljs.registerLanguage("swift",function(){"use strict";return function(e){var i={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c compactMap contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),t={className:"subst",begin:/\\\(/,end:"\\)",keywords:i,contains:[]},a={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}]},r={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return t.contains=[r],{name:"Swift",keywords:i,contains:[a,e.C_LINE_COMMENT_MODE,n,{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},r,{className:"function",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin://},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,contains:["self",r,a,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:i,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)\\b"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,n]}]}}}()); +hljs.registerLanguage("typescript",function(){"use strict";const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return function(r){var t={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:e.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]).join(" "),literal:n.join(" "),built_in:a.concat(["any","void","number","boolean","string","object","never","enum"]).join(" ")},s={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:r.C_NUMBER_RE+"n?"}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:t,contains:[]},c={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,o],subLanguage:"xml"}},l={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,o],subLanguage:"css"}},E={className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,o]};o.contains=[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,c,l,E,i,r.REGEXP_MODE];var d={begin:"\\(",end:/\)/,keywords:t,contains:["self",r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,r.NUMBER_MODE]},u={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,s,d]};return{name:"TypeScript",aliases:["ts"],keywords:t,contains:[r.SHEBANG(),{className:"meta",begin:/^\s*['"]use strict['"]/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,c,l,E,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,i,{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{className:"function",begin:"(\\([^(]*(\\([^(]*(\\([^(]*\\))?\\))?\\)|"+r.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:r.UNDERSCORE_IDENT_RE},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:d.contains}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[\{;]/,excludeEnd:!0,keywords:t,contains:["self",r.inherit(r.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),u],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/[\{;]/,excludeEnd:!0,contains:["self",u]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+r.IDENT_RE,relevance:0},s,d]}}}()); +hljs.registerLanguage("yaml",function(){"use strict";return function(e){var n="true false yes no null",a="[\\w#;/?:@&=+$,.~*\\'()[\\]]+",s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]},i=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={end:",",endsWithParent:!0,excludeEnd:!0,contains:[],keywords:n,relevance:0},t={begin:"{",end:"}",contains:[l],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},b=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b"},t,g,s],c=[...b];return c.pop(),c.push(i),l.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml","YAML"],contains:b}}}()); +hljs.registerLanguage("armasm",function(){"use strict";return function(s){const e={variants:[s.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),s.COMMENT("[;@]","$",{relevance:0}),s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+s.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},e,s.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}}()); +hljs.registerLanguage("d",function(){"use strict";return function(e){var a={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},d="((0|[1-9][\\d_]*)|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))",n="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",t={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},_={className:"number",begin:"\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},r={className:"string",begin:"'("+n+"|.)",end:"'",illegal:"."},i={className:"string",begin:'"',contains:[{begin:n,relevance:0}],end:'"[cwd]?'},s=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},i,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},_,t,r,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}}()); +hljs.registerLanguage("handlebars",function(){"use strict";function e(...e){return e.map(e=>(function(e){return e?"string"==typeof e?e:e.source:null})(e)).join("")}return function(n){const a={"builtin-name":"action bindattr collection component concat debugger each each-in get hash if in input link-to loc log lookup mut outlet partial query-params render template textarea unbound unless view with yield"},t=/\[.*?\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,i=e("(",/'.*?'/,"|",/".*?"/,"|",t,"|",s,"|",/\.|\//,")+"),r=e("(",t,"|",s,")(?==)"),l={begin:i,lexemes:/[\w.\/]+/},c=n.inherit(l,{keywords:{literal:"true false undefined null"}}),o={begin:/\(/,end:/\)/},m={className:"attr",begin:r,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[n.NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,c,o]}}},d={contains:[n.NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m,c,o],returnEnd:!0},g=n.inherit(l,{className:"name",keywords:a,starts:n.inherit(d,{end:/\)/})});o.contains=[g];const u=n.inherit(l,{keywords:a,className:"name",starts:n.inherit(d,{end:/}}/})}),b=n.inherit(l,{keywords:a,className:"name"}),h=n.inherit(l,{className:"name",keywords:a,starts:n.inherit(d,{end:/}}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},n.COMMENT(/\{\{!--/,/--\}\}/),n.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[u],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[b]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[u]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[b]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[h]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[h]}]}}}()); +hljs.registerLanguage("haskell",function(){"use strict";return function(e){var n={variants:[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})]},i={className:"meta",begin:"{-#",end:"#-}"},a={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[i,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),n]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,n],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,n]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,s,l,{begin:"{",end:"}",contains:l.contains},n]},{beginKeywords:"default",end:"$",contains:[s,l,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,n]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,a,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}]}}}()); +hljs.registerLanguage("julia",function(){"use strict";return function(e){var r="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",t={$pattern:r,keyword:"in isa where baremodule begin break catch ccall const continue do else elseif end export false finally for function global if import importall let local macro module quote return true try using while type immutable abstract bitstype typealias ",literal:"true false ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im nothing pi γ π φ ",built_in:"ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool "},a={keywords:t,illegal:/<\//},n={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},o={className:"variable",begin:"\\$"+r},i={className:"string",contains:[e.BACKSLASH_ESCAPE,n,o],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},l={className:"string",contains:[e.BACKSLASH_ESCAPE,n,o],begin:"`",end:"`"},s={className:"meta",begin:"@"+r};return a.name="Julia",a.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i,l,s,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],n.contains=a.contains,a}}()); +hljs.registerLanguage("nim",function(){"use strict";return function(e){return{name:"Nim",aliases:["nim"],keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/{\./,end:/\.}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}}()); +hljs.registerLanguage("nix",function(){"use strict";return function(e){var n={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},i={className:"subst",begin:/\$\{/,end:/}/,keywords:n},t={className:"string",contains:[i],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},s=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]}];return i.contains=s,{name:"Nix",aliases:["nixos"],keywords:n,contains:s}}}()); +hljs.registerLanguage("r",function(){"use strict";return function(e){var n="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{name:"R",contains:[e.HASH_COMMENT_MODE,{begin:n,keywords:{$pattern:n,keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}}()); +hljs.registerLanguage("scala",function(){"use strict";return function(e){var n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:"\\${",end:"}"}]},a={className:"string",variants:[{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'"""',end:'"""',relevance:10},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[n],relevance:10}]},s={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},t={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},i={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s]},t]},l={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[t]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},s,l,i,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}}()); +hljs.registerLanguage("x86asm",function(){"use strict";return function(s){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+s.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[s.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},s.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}}()); \ No newline at end of file diff --git a/implementing_mesc.html b/implementing_mesc.html new file mode 100644 index 0000000..903a3a1 --- /dev/null +++ b/implementing_mesc.html @@ -0,0 +1,259 @@ + + + + + + Implementing MESC - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Implementing MESC

+

One of MESC's goals is to have an implementation for every programming language in the cryptocurrency ecosystem.

+

If you are creating a new MESC implementation, you may find the following useful:

+
    +
  1. +

    The main functionality that a MESC implementation provides is the core MESC interface. This is a set of functions for reading whatever MESC data a user has configured on their system.

    +
  2. +
  3. +

    The ability to write MESC configurations is useful, but should be considered a secondary goal. Users already have the ability to create MESC configurations either by 1) editing JSON by hand, 2) editing JSON programmatically, or 3) using the interactive MESC cli tool.

    +
  4. +
  5. +

    A MESC implementation's compliance to the specification can be checked using the language-agnostic MESC test suite. Passing the test suite means that an implementation is complete. More details on the test suite can be found here.

    +
  6. +
  7. +

    It is desirable to use the same names, types, and behaviors across each MESC implementation. This increases interoperability and makes MESC easier to learn and use. However it is also desirable to obey the common conventions of each programming language. Each MESC implementation must find a balance between language-agnostic conventions vs language-specific conventions.

    +
  8. +
  9. +

    If parts of the MESC specification are confusing or difficult to implement, it may be helpful to look at existing implementations. These currently exist for python and rust.

    +
  10. +
+

Implementation Checklist

+
    +
  1. Implement the core MESC interface functions. These functions should have the same behavior in each implementation.
  2. +
  3. Create an adapter to run the MESC test suite. Passing these tests means the implementation is fully compliant with the MESC specification.
  4. +
  5. Add an entry to the generate_network_names.py script. This script creates a native language code file for mapping between network names and chain id's using the standard ethereum-lists/chains repository.
  6. +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/index.html b/index.html new file mode 100644 index 0000000..ca405a1 --- /dev/null +++ b/index.html @@ -0,0 +1,241 @@ + + + + + + MESC Overview - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

MESC Overview

+

To get started quickly, see Quickstart.

+

To learn what MESC is, see What is MESC?.

+

To learn the motivation behind MESC, see Why MESC?.

+

To integrate MESC into an existing tool, see Integrating MESC.

+

To implement MESC in a new programming language, see Implementing MESC.

+

For information about existing MESC implementations, see:

+ + +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/integrating_mesc.html b/integrating_mesc.html new file mode 100644 index 0000000..f410d2f --- /dev/null +++ b/integrating_mesc.html @@ -0,0 +1,275 @@ + + + + + + Integrating MESC - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Integrating MESC

+

MESC is designed to be easy to integrate into any existing tool in a backward-compatible manner.

+

MESC integration patterns can be designed so that they only affect users that have opted-in to MESC, while leaving other users unaffected.

+

Examples below are shown in python but work nearly identically for each language.

+

Workflow for getting the default RPC endpoint

+

Let's say that an existing tool named xyz currently gets its default RPC endpoint from an environment variable ETH_RPC_URL like so:

+
def get_default_rpc_url() -> str | None:
+    return os.environ.get('ETH_RPC_URL')
+
+

MESC can be integrated using a few lines of code:

+
import mesc
+
+def get_default_rpc_url() -> str | None:
+    if mesc.is_mesc_enabled():
+        endpoint = mesc.get_default_endpoint(profile='xyz')
+        if endpoint is not None:
+            return endpoint['url']
+    return os.environ.get('ETH_RPC_URL')
+
+

This new function loads the MESC default endpoint for users that have opted-in to MESC. But it falls back to using ETH_RPC_URL if MESC is not enabled or MESC does not have a default endpoint set.

+

Using profile='xyz' is optional, but it allows users to set custom settings for the xyz tool instead of using the global settings.

+

Workflow for letting users select an RPC endpoint

+

Let's say that an existing tool named xyz currently lets users choose an RPC endpoint using an -r input argument. Users might use the tool in a similar manner to xyz -r https://eth.llamarpc.com or xyz -r localhost:8545.

+

If we add an extra parsing step for the user input, we can allow the user to select from any endpoint inside the MESC configuration by name, by network name, or by chain id. Using a pattern like this:

+
def get_endpoint_url(user_input: str) -> str:
+    if mesc.is_mesc_enabled():
+        endpoint = mesc.get_endpoint_by_query(user_input)
+        if endpoint is not None:
+            return endpoint['url']
+    return user_input
+
+# ...
+
+url = get_endpoint_url(user_input)
+
+

Then users will be able to do any of the following

+
    +
  • xyz -r localhost:8545 (use a url)
  • +
  • xyz -r llamanodes_goerli (use the endpoint named llamanodes_goerli)
  • +
  • xyz -r 5 (use the default endpoint for network with chain id 5)
  • +
  • xyz -r goerli (use the default endpoint for the network named goerli)
  • +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/libraries.html b/libraries.html new file mode 100644 index 0000000..06054d8 --- /dev/null +++ b/libraries.html @@ -0,0 +1,244 @@ + + + + + + MESC Libraries - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

MESC Libraries

+

MESC aims to have an implementation for every common language in the cryptocurrency ecosystem.

+

Implementations currently exist for:

+ +

If you want to create a MESC implementation for a new language, see implementing MESC.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/mark.min.js b/mark.min.js new file mode 100644 index 0000000..1636231 --- /dev/null +++ b/mark.min.js @@ -0,0 +1,7 @@ +/*!*************************************************** +* mark.js v8.11.1 +* https://markjs.io/ +* Copyright (c) 2014–2018, Julian Kühnel +* Released under the MIT license https://git.io/vwTVl +*****************************************************/ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Mark=t()}(this,function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=i,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var n=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||n||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var i=e.contentWindow;if(r=i.document,!i||!r)throw new Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,i=!1,o=null,a=function a(){if(!i){i=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",a),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",a),o=setTimeout(a,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){--r||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);var u=function(){--s<=0&&o(c)};s||u(),a.forEach(function(t){e.matches(t,i.exclude)?u():i.onIframeReady(t,function(e){n(t)&&(c++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:null===t?e.nextNode():e.nextNode()&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var i=!1,o=!1;return r.forEach(function(e,t){e.val===n&&(i=t,o=e.handled)}),this.compareNodeIframe(e,t,n)?(!1!==i||o?!1===i||o||(r[i].handled=!0):r.push({val:n,handled:!0}),!0):(!1===i&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var i=this;e.forEach(function(e){e.handled||i.getIframeContents(e.val,function(e){i.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,i){for(var o,a=this,s=this.createIterator(t,e,r),c=[],u=[],l=void 0,h=void 0;void 0,o=a.getIteratorNode(s),h=o.prevNode,l=o.node;)this.iframes&&this.forEachIframe(t,function(e){return a.checkIframeFilter(l,h,e,c)},function(t){a.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(l);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(c,e,n,r),i()}},{key:"forEachNode",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),a=o.length;a||i(),o.forEach(function(o){var s=function(){r.iterateThroughNodes(e,o,t,n,function(){--a<=0&&i()})};r.iframes?r.waitForIframes(o,s):s()})}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var i=!1;return n.every(function(t){return!r.call(e,t)||(i=!0,!1)}),i}return!1}}]),e}(),o=function(){function e(n){t(this,e),this.opt=r({},{diacritics:!0,synonyms:{},accuracy:"partially",caseSensitive:!1,ignoreJoiners:!1,ignorePunctuation:[],wildcards:"disabled"},n)}return n(e,[{key:"create",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),new RegExp(e,"gm"+(this.opt.caseSensitive?"":"i"))}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var i in t)if(t.hasOwnProperty(i)){var o=t[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==a&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(a)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynonyms(a)+"|"+this.processSynonyms(s)+")"+r))}return e}},{key:"processSynonyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":""})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":""})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],r=[];return e.split("").forEach(function(i){n.every(function(n){if(-1!==n.indexOf(i)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,i="";switch(("string"==typeof n?[]:n.limiters).forEach(function(e){i+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}}]),e}(),a=function(){function a(e){t(this,a),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(a,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var i=t.callNoMatchOnInvalidRanges(e,r),o=i.start,a=i.end;i.valid&&(e.start=o,e.length=a-o,n.push(e),r=a)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,i=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?i=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:i}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,i=!0,o=n.length,a=t-o,s=parseInt(e.start,10)-a;return(r=(s=s>o?o:s)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),s<0||r-s<0||s>o||r>o?(i=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:i}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return i.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",i=e.splitText(t),o=i.splitText(n-t),a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,i){var o=this;e.nodes.every(function(a,s){var c=e.nodes[s+1];if(void 0===c||c.start>t){if(!r(a.node))return!1;var u=t-a.start,l=(n>a.end?a.end:n)-a.start,h=e.value.substr(0,a.start),f=e.value.substr(l+a.start);if(a.node=o.wrapRangeInTextNode(a.node,u,l),e.value=h+f,e.nodes.forEach(function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=l),e.nodes[n].end-=l)}),n-=l,i(a.node.previousSibling,a.start),!(n>a.end))return!1;t=a.end}return!0})}},{key:"wrapGroups",value:function(e,t,n,r){return r((e=this.wrapRangeInTextNode(e,t,t+n)).previousSibling),e}},{key:"separateGroups",value:function(e,t,n,r,i){for(var o=t.length,a=1;a-1&&r(t[a],e)&&(e=this.wrapGroups(e,s,t[a].length,i))}return e}},{key:"wrapMatches",value:function(e,t,n,r,i){var o=this,a=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var i=void 0;null!==(i=e.exec(t.textContent))&&""!==i[a];){if(o.opt.separateGroups)t=o.separateGroups(t,i,a,n,r);else{if(!n(i[a],t))continue;var s=i.index;if(0!==a)for(var c=1;c + + + + + MESC Overview - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

MESC Overview

+

To get started quickly, see Quickstart.

+

To learn what MESC is, see What is MESC?.

+

To learn the motivation behind MESC, see Why MESC?.

+

To integrate MESC into an existing tool, see Integrating MESC.

+

To implement MESC in a new programming language, see Implementing MESC.

+

For information about existing MESC implementations, see:

+ + +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/mesc_tests.html b/mesc_tests.html new file mode 100644 index 0000000..57884d5 --- /dev/null +++ b/mesc_tests.html @@ -0,0 +1,272 @@ + + + + + + MESC Tests - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

MESC Tests

+

A language-agnostic set of tests is used to check whether each MESC implementation is compliant with the MESC specification.

+

Usage

+
    +
  1. +

    Install pytest with pytest-xdist: pip install pytest pytest-xdist

    +
  2. +
  3. +

    Go to the tests directory: cd $MESC_REPO/mesc/tests

    +
  4. +
  5. +

    Run one of these commands:

    +
  6. +
+
+ + + + + +
descriptioncommand
run testspytest
run test in parallel mode (much faster)pytest -n auto
run tests in debug mode (helpful for debugging)pytest --pdb
run tests only tests that previously failedpytest --lf
run tests for specific adapters onlypytest --adapters adapters/python adapters/cli
+
+

By default, tests will run for all MESC implementations. If you do not have all of these implementations installed, you will need to use --adapters to select only the subset that that you have installed.

+

Adapters

+

Each MESC implementation has an adapter that receives a test as input and prints the result as output. Adapters are located in the adapters directory.

+

To make a custom adapter:

+
    +
  1. adapter should be a script that takes a JSON MescQuery as its single argument
  2. +
  3. the adapter should run the query, and then print the result as JSON
  4. +
  5. if the config loading or the query fails, simply print the word FAIL
  6. +
+

The adapter should never crash upon failure, just print the word FAIL

+

Files

+
    +
  • adapters/ contains a test adapter for each MESC implementation
  • +
  • conftest.py configuration file for pytest
  • +
  • generate.py generates all of the MESC test cases
  • +
  • test_mesc.py packages MESC tests into form usable by pypi
  • +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/metadata.html b/metadata.html new file mode 100644 index 0000000..86d4003 --- /dev/null +++ b/metadata.html @@ -0,0 +1,265 @@ + + + + + + Metadata - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Metadata

+

In a MESC configuration, the global_metadata, profile_metadata, and endpoint_metadata fields allow for optional or idiosyncratic metadata to be stored alongside the core RPC data.

+

Tools using MESC can choose to ignore these fields.

+

Metadata fields

+

Contents of MESC metadata is only loosely specified. This is intentional to allow for some degree of future-proofing. It enables MESC to handle use-cases that are either unanticipated or highly-specific to a given tool.

+

Examples

+

Endpoint metadata

+
+ + + + + + + + + + + + + +
keyvalue typedescriptionexamples
rate_limit_rpsint or floatratelimit in requests per second250
rate_limit_cupsint or floatratelimit in CUPS1000
rate_limit_per_methodMapping[str, int or float]ratelimit in RPS for each method{"trace_block": 200}
api_keystrapi keya2798f237a2398rf7
jwt_secretstrjwt secret
hoststrname of provider host"llamanodes", "alchemy", "quicknode", "localhost"
ecosystemstrecosystem of chain, (e.g. relates mainnets to testnets)"ethereum", "polygon"
node_clientstrversioned node clienterigon/2.48.1/linux-amd64/go1.20.5 reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu
namespacesSequence[str]RPC name spaces enabled for endpoint["eth", "trace, "debug"]
explorerstrblock explorer urlhttps://etherscan.io
locationstrgeographic regionParis, France
cloud_regionstrcloud provider regionaws-us-east-1a
labelsSequence[str]tagsprivate_mempool, cache, archive, consensus_layer, execution_layer, validator, ephemeral
+
+

Global Metadata and Profile Metadata

+
+ + + + + + +
keyvalue typedescriptionexamples
last_modified_bystrversioned tool used to create configurationmesc__1.0
last_modified_timeinttimestamp of config modification1700200462
creation_timeinttimestamp of config creation1700200462
api_keysMapping[str, str]API keys to RPC-related services{"etherscan": "abc123"}
groupsMapping[str, Sequence[str]]groupings of endpoints, mapping of group name to list of endpoint names{"load_balancer": ["alchemy_optimism", "quicknode_optimism"]}
concealboolwhether tool should avoid casually revealing private RPC url's unpromptedtrue
+
+
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/overrides.html b/overrides.html new file mode 100644 index 0000000..5473b11 --- /dev/null +++ b/overrides.html @@ -0,0 +1,269 @@ + + + + + + Overrides - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Overrides

+

Overrides are a way to quickly modify a MESC configuration without needing to modify any files.

+

Each override is an environment variable that overrides a specific MESC configuration key.

+

Each override uses a syntax that is quick and easy to write by hand.

+

Example usage

+

The MESC_DEFAULT_ENDPOINT override changes the default endpoint.

+

Use in a script

+

Sometimes it might be useful tweak a MESC config for a shell script. This can be achieved by inserting the MESC overrides into the script:

+
#!/usr/bin/env bash
+
+export MESC_DEFAULT_ENDPOINT=local_goerli
+
+# ...rest of script that does RPC things
+
+

Prepending syntax

+

Adding VAR_NAME=VAR_VALUE before a cli command will set an environment variable for just that command.

+

So if before the default url is this:

+
mesc url
+> https://eth.llamarpc.com
+
+

Adding the override before the command will change the default url:

+
MESC_DEFAULT_ENDPOINT=local_goerli mesc url
+> localhost:8545
+
+

This syntax works for any cli program, not just the mesc cli tool.

+

List of overrides

+

Every type of information within a MESC configuration can be modified using overrides:

+
+ + + + + + + +
override variablevalue syntaxexample
MESC_DEFAULT_ENDPOINTurl, endpoint name, or network namelocalhost:9999
MESC_NETWORK_DEFAULTSspace-separated pairs of <chain_id>=<endpoint>5=alchemy_optimism 1=local_mainnet
MESC_NETWORK_NAMESspace-separated pairs of <network_name>=<chain_id>zora=7777777
MESC_ENDPOINTSspace-separated items of [<endpoint_name>[:<chain_id>]=]<url>alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545
MESC_PROFILESspace-separated pairs of <profile>.<key>[.<subkey]=<endpoint>foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism
MESC_GLOBAL_METADATAJSON formatted global metadata{}
MESC_ENDPOINT_METADATAJSON mapping of {"endpoint_name": {<ENDPOINT_METADATA>}}{}
+
+
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/print.html b/print.html new file mode 100644 index 0000000..306aa41 --- /dev/null +++ b/print.html @@ -0,0 +1,847 @@ + + + + + + MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

MESC Overview

+

To get started quickly, see Quickstart.

+

To learn what MESC is, see What is MESC?.

+

To learn the motivation behind MESC, see Why MESC?.

+

To integrate MESC into an existing tool, see Integrating MESC.

+

To implement MESC in a new programming language, see Implementing MESC.

+

For information about existing MESC implementations, see:

+ +

Quickstart

+

The quickest way to use MESC is

+
    +
  1. create a mesc.json config file
  2. +
  3. set the MESC_PATH environment variable to the path of this file
  4. +
+

Creating a config file

+

You can create a mesc.json by one of two ways:

+
    +
  1. use the interactive MESC cli tool (install using cargo install mesc_cli and run mesc setup)
  2. +
  3. modify the template below:
  4. +
+
{
+    "mesc_version": "MESC 1.0",
+    "default_endpoint": "local_ethereum",
+    "network_defaults": {
+        "1": "local_ethereum"
+    },
+    "network_names": {},
+    "endpoints": {
+        "local_ethereum": {
+            "name": "local_ethereum",
+            "url": "http://localhost:8545",
+            "chain_id": "1",
+            "endpoint_metadata": {}
+        }
+    },
+    "profiles": {
+        "xyz": {
+            "name": "xyz",
+            "default_endpoint": "local_ethereum",
+            "network_defaults": {
+                "1": "local_ethereum"
+            },
+            "profile_metadata": {},
+            "use_mesc": true
+        }
+    },
+    "global_metadata": {}
+}
+
+

The structure of the config must follow the MESC specification.

+

Installing the mesc cli on some linux distributions may require installing ssl libraries (e.g. sudo apt-get install pkg-config libssl-dev on ubunutu)

+

Setting environment variables

+

The typical way to set environment variables is in your shell configuration files: ~/.bashrc, ~.profile, and/or ~/.bash_profile. Including this line in those files will enable MESC:

+
export MESC_PATH=/path/to/your/mesc.json
+
+

You can avoid editing these files yourself by running the MESC setup tool (mesc setup) as specified above. It will give you the option to automatically edit your shell files.

+

What is MESC?

+

MESC (Multiple Endpoint Shared Configuration) is a standardized approach for configuring RPC endpoints. Using MESC, a user creates a single RPC config that is shared by all RPC tools on their system.

+

Design Goals

+

MESC has two main design goals:

+
    +
  1. make it easy to share RPC configuration data across tools, languages, and environments
  2. +
  3. make it easy to manage the configuration of a large number of RPC endpoints
  4. +
+

MESC also has many secondary goals. It aims to be a solution that:

+
    +
  • allows specifying multiple providers for multiple chains
  • +
  • allows selection of a default endpoint for each chain
  • +
  • allows using either environment variables or config files
  • +
  • is a single source of truth across multiple tools
  • +
  • is OS-agnostic, using no OS-specific features
  • +
  • is language-agnostic, using no language-specific features
  • +
  • is backwards compatible with previous solutions
  • +
+

MESC is opt-in

+

MESC is an opt-in standard: MESC is only enabled if a user has set a MESC-specific environment variable in their environment. This maximizes backward-compatiblity for existing tools that want to integrate MESC: If a user has not opted-in to MESC then simply fall back to the existing configuration method.

+

Why MESC?

+

Between mainnet, testnets, chainforks, rollups, and alternative L1's, modern crypto tools must manage the configuration of multiple RPC endpoints. This configuration process is not standardized across tools.

+

The most common approach for configuring RPC endpoint information is the ETH_RPC_URL environment variable (dapptools, forge, heimdall, checkthechain). However, this is not a formal standard and many tools use other approaches. Furthermore, using ETH_RPC_URL can only specify a single provider for a single chain, and it cannot specify any provider metadata beyond the url.

+

Instead it would be desirable to have a solution that:

+
    +
  • allows specifying multiple providers for multiple chains
  • +
  • allows selection of a default endpoint for each chain
  • +
  • allows using either environment variables or config files
  • +
  • is a single source of truth across multiple tools
  • +
  • is OS-agnostic, using no OS-specific features
  • +
  • is language-agnostic, using no language-specific features
  • +
  • is backwards compatible with previous solutions
  • +
+

MESC aims to satisfy all of these constraints.

+

As a developer, why should I integrate MESC into my tools?

+
    +
  • Easier Onboarding. As soon as a user installs your tool, they will be able to use your tool with all of their configured networks. This eliminates one of the major setup steps for most RPC consuming tools.
  • +
  • Interoperability. If you maintain multiple tools, or your tool has components in multiple languages, MESC will create a single, shared source of truth across all of these tool components.
  • +
  • Safety and Robustness. MESC is thoroughly tested against a large number of config-related edge cases. In many cases it will be safer to user MESC than to create a configuration system from scratch.
  • +
  • Minimize maintenance burden. Leaning on MESC to handle configuration means there is one less thing you need to maintain. You can spend your time on other things.
  • +
  • Developer Features. If you need to develop or test your tool with multiple endpoints, the mesc CLI tools contains many useful developer features for managing endpoints.
  • +
  • Go config-free. In some cases, adopting MESC means that your tool no longer needs its own config. You can store your tool's config data in MESC's metadata and then just use MESC for all config IO.
  • +
+

Roadmap

+

Once the MESC specification reaches version 1.0, it will become ossified forever. This will maximize forward- and backward-compatibility between MESC integrations. Client libraries for reading or writing MESC configurations might continue development, but the underlying MESC specification will not change.

+

MESC currently has implementations for CLI, python, and rust. Implementations for go and typescript are coming soon. If there is another language you have interest in bringing MESC to an additional programming language or environment, feel free to share on the issue tracker.

+

Using MESC

+
    +
  • To set MESC up, see Setup up MESC
  • +
  • To use different MESC settings for different tools, see Profiles
  • +
  • To use MESC for tracking miscellaneous metadata, see Metadata
  • +
  • To quickly override MESC settings without editing files, see Overrides
  • +
+

Setting up MESC

+

Basic setup

+

MESC becomes enabled by setting one or more environment variables.

+

In the simplest case, only one variable necessary: MESC_PATH is set to the path of a mesc.json config file.

+

As described in the quickstart, the mesc.json file is usually created using either 1) the interactive mesc setup command, or 2) copying from a starter template. The quickstart guide also describes how to set environment variables in your terminal shell.

+

Alternative setup without a mesc.json

+

Sometimes it is convenient to configure a system without editing any files (e.g. inside a container, or when creating lots of unit tests, or in a low-privilege environment).

+

This can be accomplished with MESC by setting the MESC_ENV variable instead of the MESC_PATH variable. MESC_ENV should simply contain the JSON content of a MESC configuration.

+

If both MESC_PATH and MESC_ENV are set, you can select which one to use by setting MESC_MODE to either PATH or ENV. MESC_PATH takes precedence over MESC_ENV if MESC_MODE is not set.

+

Disabling MESC

+

MESC can be disabled by either 1) unsetting all MESC_* variables, or 2) setting MESC_MODE=DISABLED.

+

If MESC is disabled, the is_mesc_disabled() function will return false and all MESC querying functions will return an error (depending on language).

+

Overrides

+

MESC also uses environment variables for overrides. See the overrides section for details.

+

Profiles

+

Profiles are a way for each tool to customize its own MESC settings.

+

Profiles allow each tool to:

+
    +
  • set its own default endpoint
  • +
  • set its own default endpoints for each network
  • +
  • override global metadata with its own metadata
  • +
  • avoid using MESC for that tool without disabling MESC globally
  • +
+

Profiles are an optional feature

+

If a MESC query does not specify a profile, the global configuration values are used.

+

If a MESC query specifies a profile, but that profile does not exist or does not specify the relevant information, MESC will fallback to using global configuration values.

+

Setting up a profile

+

The easiest way to create a profile is by using the interactive mesc cli tool, using the mesc setup subcommand.

+

Alternatively, you can manually add a new Profile to the profiles key inside your mesc.json. The following is a template Profile:

+
{
+    "name": "PROFILE_NAME",
+    "default_endpoint": null,
+    "network_defaults": {},
+    "profile_metadata": {},
+    "use_mesc": true
+}
+
+

Metadata

+

In a MESC configuration, the global_metadata, profile_metadata, and endpoint_metadata fields allow for optional or idiosyncratic metadata to be stored alongside the core RPC data.

+

Tools using MESC can choose to ignore these fields.

+

Metadata fields

+

Contents of MESC metadata is only loosely specified. This is intentional to allow for some degree of future-proofing. It enables MESC to handle use-cases that are either unanticipated or highly-specific to a given tool.

+

Examples

+

Endpoint metadata

+
+ + + + + + + + + + + + + +
keyvalue typedescriptionexamples
rate_limit_rpsint or floatratelimit in requests per second250
rate_limit_cupsint or floatratelimit in CUPS1000
rate_limit_per_methodMapping[str, int or float]ratelimit in RPS for each method{"trace_block": 200}
api_keystrapi keya2798f237a2398rf7
jwt_secretstrjwt secret
hoststrname of provider host"llamanodes", "alchemy", "quicknode", "localhost"
ecosystemstrecosystem of chain, (e.g. relates mainnets to testnets)"ethereum", "polygon"
node_clientstrversioned node clienterigon/2.48.1/linux-amd64/go1.20.5 reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu
namespacesSequence[str]RPC name spaces enabled for endpoint["eth", "trace, "debug"]
explorerstrblock explorer urlhttps://etherscan.io
locationstrgeographic regionParis, France
cloud_regionstrcloud provider regionaws-us-east-1a
labelsSequence[str]tagsprivate_mempool, cache, archive, consensus_layer, execution_layer, validator, ephemeral
+
+

Global Metadata and Profile Metadata

+
+ + + + + + +
keyvalue typedescriptionexamples
last_modified_bystrversioned tool used to create configurationmesc__1.0
last_modified_timeinttimestamp of config modification1700200462
creation_timeinttimestamp of config creation1700200462
api_keysMapping[str, str]API keys to RPC-related services{"etherscan": "abc123"}
groupsMapping[str, Sequence[str]]groupings of endpoints, mapping of group name to list of endpoint names{"load_balancer": ["alchemy_optimism", "quicknode_optimism"]}
concealboolwhether tool should avoid casually revealing private RPC url's unpromptedtrue
+

Overrides

+

Overrides are a way to quickly modify a MESC configuration without needing to modify any files.

+

Each override is an environment variable that overrides a specific MESC configuration key.

+

Each override uses a syntax that is quick and easy to write by hand.

+

Example usage

+

The MESC_DEFAULT_ENDPOINT override changes the default endpoint.

+

Use in a script

+

Sometimes it might be useful tweak a MESC config for a shell script. This can be achieved by inserting the MESC overrides into the script:

+
#!/usr/bin/env bash
+
+export MESC_DEFAULT_ENDPOINT=local_goerli
+
+# ...rest of script that does RPC things
+
+

Prepending syntax

+

Adding VAR_NAME=VAR_VALUE before a cli command will set an environment variable for just that command.

+

So if before the default url is this:

+
mesc url
+> https://eth.llamarpc.com
+
+

Adding the override before the command will change the default url:

+
MESC_DEFAULT_ENDPOINT=local_goerli mesc url
+> localhost:8545
+
+

This syntax works for any cli program, not just the mesc cli tool.

+

List of overrides

+

Every type of information within a MESC configuration can be modified using overrides:

+
+ + + + + + + +
override variablevalue syntaxexample
MESC_DEFAULT_ENDPOINTurl, endpoint name, or network namelocalhost:9999
MESC_NETWORK_DEFAULTSspace-separated pairs of <chain_id>=<endpoint>5=alchemy_optimism 1=local_mainnet
MESC_NETWORK_NAMESspace-separated pairs of <network_name>=<chain_id>zora=7777777
MESC_ENDPOINTSspace-separated items of [<endpoint_name>[:<chain_id>]=]<url>alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545
MESC_PROFILESspace-separated pairs of <profile>.<key>[.<subkey]=<endpoint>foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism
MESC_GLOBAL_METADATAJSON formatted global metadata{}
MESC_ENDPOINT_METADATAJSON mapping of {"endpoint_name": {<ENDPOINT_METADATA>}}{}
+

Querying MESC data

+

Each MESC implementation provides the same set of 7 functions for querying MESC data.

+

The behavior of these functions is the same across languages.

+
+ + + + + + + +
functionoutput typedescriptionexample call
is_mesc_enabled()boolreturn whether MESC is enabledis_mesc_enabled()
get_default_endpoint()Endpoint or Noneget default MESC endpointget_default_endpoint(profile='xyz')
get_endpoint_by_network()Endpoint or Noneget default endpoint for networkget_endpoint_by_network(5, profile='xyz')
get_endpoint_by_name()Endpoint or Noneget endpoint by nameget_endpoint_by_name('local_goerli')
get_endpoint_by_query()Endpoint or Noneget endpoint for user input queryget_endpoint_by_query(user_str, profile='xyz')
find_endpoints()Sequence[Endpoint]find endpoint that match input criteriafind_endpoints(chain_id=5)
get_global_metadata()Mapping[str, Any]get non-endpoint metadataget_global_metadata(profile='xyz')
+
+

The profile argument is optional for each function (it allows users to customize the settings for each tool, see Profiles for details).

+

Developer Resources

+

The MESC specification and its reference implementations are developed in the github repository.

+
    +
  • For information about integrating MESC into an existing tool, see Integrating MESC.
  • +
  • For information about implementing a new MESC client, see Implementing MESC.
  • +
  • For information about running MESC tests, see MESC Test README.
  • +
  • For information about building these docs, see here.
  • +
+

Integrating MESC

+

MESC is designed to be easy to integrate into any existing tool in a backward-compatible manner.

+

MESC integration patterns can be designed so that they only affect users that have opted-in to MESC, while leaving other users unaffected.

+

Examples below are shown in python but work nearly identically for each language.

+

Workflow for getting the default RPC endpoint

+

Let's say that an existing tool named xyz currently gets its default RPC endpoint from an environment variable ETH_RPC_URL like so:

+
def get_default_rpc_url() -> str | None:
+    return os.environ.get('ETH_RPC_URL')
+
+

MESC can be integrated using a few lines of code:

+
import mesc
+
+def get_default_rpc_url() -> str | None:
+    if mesc.is_mesc_enabled():
+        endpoint = mesc.get_default_endpoint(profile='xyz')
+        if endpoint is not None:
+            return endpoint['url']
+    return os.environ.get('ETH_RPC_URL')
+
+

This new function loads the MESC default endpoint for users that have opted-in to MESC. But it falls back to using ETH_RPC_URL if MESC is not enabled or MESC does not have a default endpoint set.

+

Using profile='xyz' is optional, but it allows users to set custom settings for the xyz tool instead of using the global settings.

+

Workflow for letting users select an RPC endpoint

+

Let's say that an existing tool named xyz currently lets users choose an RPC endpoint using an -r input argument. Users might use the tool in a similar manner to xyz -r https://eth.llamarpc.com or xyz -r localhost:8545.

+

If we add an extra parsing step for the user input, we can allow the user to select from any endpoint inside the MESC configuration by name, by network name, or by chain id. Using a pattern like this:

+
def get_endpoint_url(user_input: str) -> str:
+    if mesc.is_mesc_enabled():
+        endpoint = mesc.get_endpoint_by_query(user_input)
+        if endpoint is not None:
+            return endpoint['url']
+    return user_input
+
+# ...
+
+url = get_endpoint_url(user_input)
+
+

Then users will be able to do any of the following

+
    +
  • xyz -r localhost:8545 (use a url)
  • +
  • xyz -r llamanodes_goerli (use the endpoint named llamanodes_goerli)
  • +
  • xyz -r 5 (use the default endpoint for network with chain id 5)
  • +
  • xyz -r goerli (use the default endpoint for the network named goerli)
  • +
+

Implementing MESC

+

One of MESC's goals is to have an implementation for every programming language in the cryptocurrency ecosystem.

+

If you are creating a new MESC implementation, you may find the following useful:

+
    +
  1. +

    The main functionality that a MESC implementation provides is the core MESC interface. This is a set of functions for reading whatever MESC data a user has configured on their system.

    +
  2. +
  3. +

    The ability to write MESC configurations is useful, but should be considered a secondary goal. Users already have the ability to create MESC configurations either by 1) editing JSON by hand, 2) editing JSON programmatically, or 3) using the interactive MESC cli tool.

    +
  4. +
  5. +

    A MESC implementation's compliance to the specification can be checked using the language-agnostic MESC test suite. Passing the test suite means that an implementation is complete. More details on the test suite can be found here.

    +
  6. +
  7. +

    It is desirable to use the same names, types, and behaviors across each MESC implementation. This increases interoperability and makes MESC easier to learn and use. However it is also desirable to obey the common conventions of each programming language. Each MESC implementation must find a balance between language-agnostic conventions vs language-specific conventions.

    +
  8. +
  9. +

    If parts of the MESC specification are confusing or difficult to implement, it may be helpful to look at existing implementations. These currently exist for python and rust.

    +
  10. +
+

Implementation Checklist

+
    +
  1. Implement the core MESC interface functions. These functions should have the same behavior in each implementation.
  2. +
  3. Create an adapter to run the MESC test suite. Passing these tests means the implementation is fully compliant with the MESC specification.
  4. +
  5. Add an entry to the generate_network_names.py script. This script creates a native language code file for mapping between network names and chain id's using the standard ethereum-lists/chains repository.
  6. +
+

MESC Tests

+

A language-agnostic set of tests is used to check whether each MESC implementation is compliant with the MESC specification.

+

Usage

+
    +
  1. +

    Install pytest with pytest-xdist: pip install pytest pytest-xdist

    +
  2. +
  3. +

    Go to the tests directory: cd $MESC_REPO/mesc/tests

    +
  4. +
  5. +

    Run one of these commands:

    +
  6. +
+
+ + + + + +
descriptioncommand
run testspytest
run test in parallel mode (much faster)pytest -n auto
run tests in debug mode (helpful for debugging)pytest --pdb
run tests only tests that previously failedpytest --lf
run tests for specific adapters onlypytest --adapters adapters/python adapters/cli
+
+

By default, tests will run for all MESC implementations. If you do not have all of these implementations installed, you will need to use --adapters to select only the subset that that you have installed.

+

Adapters

+

Each MESC implementation has an adapter that receives a test as input and prints the result as output. Adapters are located in the adapters directory.

+

To make a custom adapter:

+
    +
  1. adapter should be a script that takes a JSON MescQuery as its single argument
  2. +
  3. the adapter should run the query, and then print the result as JSON
  4. +
  5. if the config loading or the query fails, simply print the word FAIL
  6. +
+

The adapter should never crash upon failure, just print the word FAIL

+

Files

+
    +
  • adapters/ contains a test adapter for each MESC implementation
  • +
  • conftest.py configuration file for pytest
  • +
  • generate.py generates all of the MESC test cases
  • +
  • test_mesc.py packages MESC tests into form usable by pypi
  • +
+

MESC Libraries

+

MESC aims to have an implementation for every common language in the cryptocurrency ecosystem.

+

Implementations currently exist for:

+ +

If you want to create a MESC implementation for a new language, see implementing MESC.

+

MESC CLI

+

This is a utility for creating and managing MESC RPC configurations.

+

Under the hood, this cli is implemented using the rust crate here.

+

The most important cli subcommands:

+
    +
  1. mesc setup: create and modify MESC configs
  2. +
  3. mesc ls: list endpoints
  4. +
  5. mesc ping: ping endpoints
  6. +
  7. mesc url: print endpoint url
  8. +
+

View help for each subcommand by typing mesc [SUBCOMMAND] --help

+

basics

+

Contents

+ +

Installation

+

Use one of the 3 options below. Check that mesc is properly installed and on your PATH by running mesc -h.

+

Install from crates.io

+

cargo install mesc_cli

+

Ensure that your cargo install path is on your cli path

+

Install from source

+
# install rust and cargo
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+
+# install mesc
+git clone https://github.com/paradigmxyz/mesc
+cd mesc
+cargo install --path rust/crates/cli
+
+

Example Usage

+

Quickly obtain RPC url's:

+
# curl the default network rpc url
+curl $(mesc url) ...
+
+# curl the default goerli url
+curl $(mesc url goerli) ...
+
+# curl an endpoint by name
+curl $(mesc url local_goerli) ...
+
+

Print configuration data

+
# print all endpoints in table
+mesc ls
+
+# ping endpoints and collect metadata
+mesc ping
+
+# print default goerli endpoint data, human readable
+mesc endpoint goerli
+
+# print default goerli endpoint data, as json
+mesc endpoint goerli --json
+
+

Reference

+

Show in terminal by typing mesc --help:

+
command line interface for creating, loading, and modifying MESC configuration data
+
+Usage: mesc <COMMAND>
+
+Commands:
+  setup     Create or modify config interactively
+  import    Modify config by importing from file or other source
+  set       Modify config by setting specific values
+  ping      Ping endpoints and fetch metadata
+  defaults  Print list of defaults
+  endpoint  Print endpoint
+  help      Print help
+  ls        Print list of endpoints
+  metadata  Print metadata
+  status    Print status of configuration
+  url       Print endpoint URL
+
+Options:
+  -h, --help     Print help
+  -V, --version  Print version
+
+Help topics: (print these with mesc help <TOPIC>)
+  env       Environmental variables
+  python    Python interface
+  rust      Rust interface
+  schema    Schemas of configs, endpoints, and profiles
+  setup     How to set up MESC
+
+
    +
  • If an endpoint is omitted, use the default endpoint
  • +
  • If a chain_id or network name is provided, use the default endpoint of network
  • +
  • Can use --profile PROFILENAME to use defaults of a particular profile
  • +
+

Go MESC Implementation

+

This is a reference implementation of the Go MESC standard.

+

Installation

+

To use this project within your Golang project, execute the following within your project:

+
go get github.com/paradigmxyz/mesc/go
+
+

Example Usage

+

// TODO: pending doc

+

Reference

+

Refer to the function signatures defined in endpoints.go for the list of available functions.

+

Models are available in the model package.

+

Python MESC Implementation

+

This is a reference implementation of the Python MESC Standard

+

It has no external dependencies.

+ +

Installation

+

From PyPI

+

pip install mesc

+

From Source

+
git clone https://github.com/paradigmxyz/mesc
+cd mesc
+pip install ./
+
+

Example Usage

+
from typing import Any, Mapping, Sequence
+import mesc
+
+# check whether mesc is enabled
+enabled: bool = mesc.is_mesc_enabled()
+
+# get the default endpoint
+endpoint: Endpoint | None = mesc.get_default_endpoint()
+
+# get the default endpoint of a network
+endpoint: Endpoint | None = mesc.get_endpoint_by_network(5)
+
+# get the default endpoint for a particular tool
+endpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool')
+
+# get the default endpoint of a network for a particular tool
+endpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool')
+
+# get an endpoint by name
+endpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli')
+
+# parse a user-provided string into a matching endpoint
+# (first try 1. endpoint name, then 2. chain id, then 3. network name)
+endpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool')
+
+# find all endpoints matching given criteria
+endpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5)
+
+# get non-endpoint metadata
+metadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool')
+
+

Reference

+
from typing import Any, MutableMapping, TypedDict, Literal, Sequence
+
+class RpcConfig(TypedDict):
+    mesc_version: str
+    default_endpoint: str | None
+    endpoints: MutableMapping[str, Endpoint]
+    network_defaults: MutableMapping[str, str]
+    network_names: MutableMapping[str, str]
+    profiles: MutableMapping[str, Profile]
+    global_metadata: MutableMapping[str, Any]
+
+class Endpoint(TypedDict):
+    name: str
+    url: str
+    chain_id: str | None
+    endpoint_metadata: MutableMapping[str, Any]
+
+class Profile(TypedDict):
+    name: str
+    default_endpoint: str | None
+    network_defaults: MutableMapping[str, str]
+
+

Rust MESC Implementation

+

This is a reference rust implementation of the MESC standard.

+

The crates/mesc crate contains rust libraries for reading, writing, and validating MESC configurations.

+

The crates/mesc_cli crate is a tool for reading, writing, and validating MESC from the command line. See CLI for details.

+

Contents

+ +

Installation

+

Inside a cargo project: cargo add mesc

+

Inside a Cargo.toml: mesc = "0.2.1"

+

Example Usage

+

Basic data structures

+
#![allow(unused)]
+fn main() {
+#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct RpcConfig {
+    pub mesc_version: String,
+    pub default_endpoint: Option<String>,
+    pub endpoints: HashMap<String, Endpoint>,
+    pub network_defaults: HashMap<ChainId, String>,
+    pub network_names: HashMap<String, ChainId>,
+    pub profiles: HashMap<String, Profile>,
+    pub global_metadata: HashMap<String, serde_json::Value>,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct Endpoint {
+    pub name: String,
+    pub url: String,
+    pub chain_id: Option<ChainId>,
+    pub endpoint_metadata: HashMap<String, serde_json::Value>,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct Profile {
+    pub name: String,
+    pub default_endpoint: Option<String>,
+    pub network_defaults: HashMap<ChainId, String>,
+    pub profile_metadata: HashMap<String, serde_json::Value>,
+    pub use_mesc: bool,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq, Hash)]
+pub struct ChainId(String);
+}
+

Basic read functions

+
#![allow(unused)]
+fn main() {
+use mesc::{MescError, Endpoint};
+use std::collections::HashMap;
+
+type OptionalResult = Result<Option<Endpoint>, MescError>;
+type MultiResult = Result<Vec<Endpoint>, MescError>;
+type MetadataResult = Result<HashMap<String, serde_json::Value>, MescError>;
+
+// check whether mesc is enabled
+let enabled: bool = mesc::is_mesc_enabled();
+
+// get the default endpoint
+let endpoint: OptionalResult = mesc::get_default_endpoint(None);
+
+// get the default endpoint of a network
+let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", None);
+
+// get the default network for a particular tool
+let chain_id: OptionalResult = mesc::get_default_endpoint(Some("xyz_tool"));
+
+// get the default endpoint of a network for a particular tool
+let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", Some("xyz_tool"));
+
+// get an endpoint by name
+let endpoint: OptionalResult = mesc::get_endpoint_by_name("local_goerli");
+
+// parse a user-provided string into a matching endpoint
+// (first try 1. endpoint name, then 2. chain id, then 3. network name)
+let user_str = "local_goerli";
+let endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some("xyz_tool"));
+
+// find all endpoints matching given criteria
+let query = mesc::MultiEndpointQuery::new().chain_id("5").unwrap();
+let endpoints: MultiResult = mesc::find_endpoints(query);
+
+// get non-endpoint metadata
+let metadata: MetadataResult  = mesc::get_global_metadata(Some("xyz_tool"));
+}
+

Typescript MESC Implementation

+

[WIP]

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/profiles.html b/profiles.html new file mode 100644 index 0000000..74bf256 --- /dev/null +++ b/profiles.html @@ -0,0 +1,256 @@ + + + + + + Profiles - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Profiles

+

Profiles are a way for each tool to customize its own MESC settings.

+

Profiles allow each tool to:

+
    +
  • set its own default endpoint
  • +
  • set its own default endpoints for each network
  • +
  • override global metadata with its own metadata
  • +
  • avoid using MESC for that tool without disabling MESC globally
  • +
+

Profiles are an optional feature

+

If a MESC query does not specify a profile, the global configuration values are used.

+

If a MESC query specifies a profile, but that profile does not exist or does not specify the relevant information, MESC will fallback to using global configuration values.

+

Setting up a profile

+

The easiest way to create a profile is by using the interactive mesc cli tool, using the mesc setup subcommand.

+

Alternatively, you can manually add a new Profile to the profiles key inside your mesc.json. The following is a template Profile:

+
{
+    "name": "PROFILE_NAME",
+    "default_endpoint": null,
+    "network_defaults": {},
+    "profile_metadata": {},
+    "use_mesc": true
+}
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/python.html b/python.html new file mode 100644 index 0000000..a509361 --- /dev/null +++ b/python.html @@ -0,0 +1,304 @@ + + + + + + Python - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Python MESC Implementation

+

This is a reference implementation of the Python MESC Standard

+

It has no external dependencies.

+ +

Installation

+

From PyPI

+

pip install mesc

+

From Source

+
git clone https://github.com/paradigmxyz/mesc
+cd mesc
+pip install ./
+
+

Example Usage

+
from typing import Any, Mapping, Sequence
+import mesc
+
+# check whether mesc is enabled
+enabled: bool = mesc.is_mesc_enabled()
+
+# get the default endpoint
+endpoint: Endpoint | None = mesc.get_default_endpoint()
+
+# get the default endpoint of a network
+endpoint: Endpoint | None = mesc.get_endpoint_by_network(5)
+
+# get the default endpoint for a particular tool
+endpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool')
+
+# get the default endpoint of a network for a particular tool
+endpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool')
+
+# get an endpoint by name
+endpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli')
+
+# parse a user-provided string into a matching endpoint
+# (first try 1. endpoint name, then 2. chain id, then 3. network name)
+endpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool')
+
+# find all endpoints matching given criteria
+endpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5)
+
+# get non-endpoint metadata
+metadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool')
+
+

Reference

+
from typing import Any, MutableMapping, TypedDict, Literal, Sequence
+
+class RpcConfig(TypedDict):
+    mesc_version: str
+    default_endpoint: str | None
+    endpoints: MutableMapping[str, Endpoint]
+    network_defaults: MutableMapping[str, str]
+    network_names: MutableMapping[str, str]
+    profiles: MutableMapping[str, Profile]
+    global_metadata: MutableMapping[str, Any]
+
+class Endpoint(TypedDict):
+    name: str
+    url: str
+    chain_id: str | None
+    endpoint_metadata: MutableMapping[str, Any]
+
+class Profile(TypedDict):
+    name: str
+    default_endpoint: str | None
+    network_defaults: MutableMapping[str, str]
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/python/README.md b/python/README.md deleted file mode 100644 index a33b06e..0000000 --- a/python/README.md +++ /dev/null @@ -1,83 +0,0 @@ - -# Python MESC Implementation - -This is a reference implementation of the Python MESC Standard - -It has no external dependencies. - -- [Installation](#installation) -- [Example Usage](#example-usage) -- [Reference](#reference) - -## Installation - -### From PyPI -`pip install mesc` - -### From Source -``` -git clone https://github.com/paradigmxyz/mesc -cd mesc -pip install ./ -``` - -## Example Usage - -```python -from typing import Any, Mapping, Sequence -import mesc - -# check whether mesc is enabled -enabled: bool = mesc.is_mesc_enabled() - -# get the default endpoint -endpoint: Endpoint | None = mesc.get_default_endpoint() - -# get the default endpoint of a network -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5) - -# get the default endpoint for a particular tool -endpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool') - -# get the default endpoint of a network for a particular tool -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool') - -# get an endpoint by name -endpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli') - -# parse a user-provided string into a matching endpoint -# (first try 1. endpoint name, then 2. chain id, then 3. network name) -endpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool') - -# find all endpoints matching given criteria -endpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5) - -# get non-endpoint metadata -metadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool') -``` - -## Reference - -```python -from typing import Any, MutableMapping, TypedDict, Literal, Sequence - -class RpcConfig(TypedDict): - mesc_version: str - default_endpoint: str | None - endpoints: MutableMapping[str, Endpoint] - network_defaults: MutableMapping[str, str] - network_names: MutableMapping[str, str] - profiles: MutableMapping[str, Profile] - global_metadata: MutableMapping[str, Any] - -class Endpoint(TypedDict): - name: str - url: str - chain_id: str | None - endpoint_metadata: MutableMapping[str, Any] - -class Profile(TypedDict): - name: str - default_endpoint: str | None - network_defaults: MutableMapping[str, str] -``` diff --git a/python/generate_network_names.py b/python/generate_network_names.py deleted file mode 100755 index 75a824b..0000000 --- a/python/generate_network_names.py +++ /dev/null @@ -1,166 +0,0 @@ -#!/usr/bin/env python3 -""" -This script builds the default set of network names for each MESC implementation - -Name data is sourced from https://chainid.network - -This script creates the following files in the MESC repository: -- ./python/mesc/network_names.py -- ./rust/crates/mesc/src/network_names.rs -""" - -from __future__ import annotations - -import os -from typing import Mapping, MutableMapping - -import requests - -# specialcase the standard name for certain chains -special_cases: Mapping[str, str] = { - 'OP Mainnet': 'optimism', - 'Avalanche C-Chain': 'avalanche', - 'Arbitrum One': 'arbitrum', - 'BNB Smart Chain Mainnet': 'bsc', - 'Genesis Coin': 'genesis_coin', - 'X1 Network': 'x1_network', - 'ThaiChain 2.0 ThaiFi': 'thaifi', - 'WEMIX3.0 Mainnet': 'wemix', - 'WEMIX3.0 Testnet': 'wemix_testnet', -} - - -def get_network_names() -> Mapping[str, str]: - # fetch raw network data - url = 'https://chainid.network/chains.json' - result = requests.get(url) - data = result.json() - - network_names: MutableMapping[str, str] = {} - for datum in data: - # standardize name - filtered = standardize_name(datum['name']) - - # skip deprecated networks - if 'deprecated' in filtered: - continue - - if filtered in network_names.values(): - continue - network_names[str(datum['chainId'])] = filtered - - return network_names - - -def standardize_name(name: str) -> str: - """put name into standard format""" - - # special cases - if name in special_cases: - return special_cases[name] - - # replace special characters - name = name.lower() - name = name.replace(' ', '_') - name = name.replace('-', '_') - name = name.replace('___', '_') - name = name.replace('__', '_') - name = name.replace('(', '') - name = name.replace(')', '') - - # remove keywords - while True: - remove = [ - '_mainnet', - '_network', - '_smart_chain', - '_l1', - '_sidechain', - 'sidechain', - '_chain', - 'chain', - '_coin', - ] - for piece in remove: - if piece in name: - name = name.replace(piece, '') - break - else: - break - - # strip stray - name = name.strip() - name = name.strip('_') - name = name.strip('-') - - return name - - -# common data -preamble = """Default mapping between chain_id's and network names - -This file is generated by `python/generate_network_names.py` in the MESC repo. - -The same set of network names is used for each MESC implementation. - -Do not edit this file manually.""" - -# python data -python_path = './mesc/network_names.py' -python_template = '''"""{preamble}""" - -network_names = {name_data} -''' - - -def generate_python_content(network_names: Mapping[str, str]) -> str: - name_data = '{' - for chain_id, network_name in network_names.items(): - name_data += "\n '" + chain_id + "': '" + network_name + "'," - name_data += '\n}' - return python_template.format(preamble=preamble, name_data=name_data) - - -# rust data -rust_path = '../rust/crates/mesc/src/network_names.rs' -rust_template = """{preamble} - -use crate::ChainId; -use std::{{collections::HashMap, sync::OnceLock}}; - -/// get default mapping between chain_id's and network names -pub fn get_network_names() -> &'static HashMap {{ - static CACHE: OnceLock> = OnceLock::new(); - CACHE.get_or_init(|| NETWORKS.iter().map(|&(chain_id, name)| (chain_id.into(), name)).collect()) -}} - -pub(crate) const NETWORKS: &[(u64, &str)] = &{name_data}; -""" - - -def generate_rust_content(network_names: Mapping[str, str]) -> str: - rust_preamble = '\n'.join(('//! ' + line).strip() for line in preamble.split('\n')) - name_data = '[' - for chain_id, network_name in network_names.items(): - name_data += '\n (' + chain_id + ', "' + network_name + '"),' - name_data += '\n]' - return rust_template.format(preamble=rust_preamble, name_data=name_data) - - -if __name__ == '__main__': - network_names = get_network_names() - - # change working directory to parent of this script - os.chdir(os.path.dirname(os.path.realpath(__file__))) - - # create python file - python_content = generate_python_content(network_names) - with open(python_path, 'w') as f: - f.write(python_content) - print('wrote', python_path) - - # create rust file - rust_content = generate_rust_content(network_names) - with open(rust_path, 'w') as f: - f.write(rust_content) - print('wrote', rust_path) diff --git a/python/mesc/__init__.py b/python/mesc/__init__.py deleted file mode 100644 index 8b0e8f0..0000000 --- a/python/mesc/__init__.py +++ /dev/null @@ -1,42 +0,0 @@ -"""MESC is the Multiple Endpoint Shared Configuration Standard""" - -from .interface import ( - is_mesc_enabled, - get_default_endpoint, - get_endpoint_by_name, - get_endpoint_by_network, - get_endpoint_by_query, - find_endpoints, - get_global_metadata, -) - -import typing - -if typing.TYPE_CHECKING: - from .types import Endpoint, Profile, RpcConfig - - __all__ = ( - 'Endpoint', - 'Profile', - 'RpcConfig', - 'is_mesc_enabled', - 'get_default_endpoint', - 'get_endpoint_by_name', - 'get_endpoint_by_network', - 'get_endpoint_by_query', - 'find_endpoints', - 'get_global_metadata', - ) - -else: - __all__ = ( - 'is_mesc_enabled', - 'get_default_endpoint', - 'get_endpoint_by_name', - 'get_endpoint_by_network', - 'get_endpoint_by_query', - 'find_endpoints', - 'get_global_metadata', - ) - -__version__ = '0.2.1' diff --git a/python/mesc/exceptions.py b/python/mesc/exceptions.py deleted file mode 100644 index fc0eae8..0000000 --- a/python/mesc/exceptions.py +++ /dev/null @@ -1,21 +0,0 @@ -from __future__ import annotations - - -class MescDisabled(Exception): - """raised when MESC data is requested even though MESC is disabled""" - - -class MissingEndpoint(Exception): - """raised when attempting to load an endpoint that does not exist""" - - -class InvalidOverride(Exception): - """raised when override data is not valid""" - - -class LoadError(Exception): - """raised when unable to load MESC config data""" - - -class InvalidConfig(Exception): - """raised when MESC config data is invalid""" diff --git a/python/mesc/interface.py b/python/mesc/interface.py deleted file mode 100644 index 684c7c7..0000000 --- a/python/mesc/interface.py +++ /dev/null @@ -1,191 +0,0 @@ -from __future__ import annotations - -import os -import typing - -from .types import mesc_env_vars -from . import network_utils -from . import load - -if typing.TYPE_CHECKING: - from typing_extensions import Any, Mapping, Sequence - from .types import Endpoint, RpcConfig - - -def is_mesc_enabled() -> bool: - """MESC is enabled if two criteria are met: - 1) MESC_MODE != "DISABLED" - 2) at least 1 MESC env var is set - """ - if os.environ.get('MESC_MODE') == 'DISABLED': - return False - for var in mesc_env_vars: - if os.environ.get(var) not in [None, '']: - return True - return False - - -def get_default_endpoint( - profile: str | None = None, *, config: RpcConfig | None = None -) -> Endpoint | None: - """get default MESC endpoint""" - if config is None: - config = load.read_config_data() - - # get endpoint name - if profile is not None and profile in config['profiles']: - if not config['profiles'][profile]['use_mesc']: - return None - endpoint = config['profiles'][profile].get( - 'default_endpoint', config['default_endpoint'] - ) - else: - endpoint = config['default_endpoint'] - - # get endpoint - if endpoint is None: - return None - else: - return get_endpoint_by_name(endpoint, config=config) - - -def get_endpoint_by_name( - name: str, *, config: RpcConfig | None = None -) -> Endpoint | None: - """get MESC endpoint by name""" - if config is None: - config = load.read_config_data() - if not isinstance(name, str): - raise Exception('invalid type for name query, it must be a str') - return config['endpoints'].get(name) - - -def get_endpoint_by_network( - chain_id: str | int, - *, - profile: str | None = None, - config: RpcConfig | None = None, -) -> Endpoint | None: - """get default MESC endpoint for network""" - if config is None: - config = load.read_config_data() - - # get global default for network - if chain_id is None: - raise ValueError('chain_id must be a str or int') - chain_id = str(chain_id) - network_defaults = config['network_defaults'] - default_name = network_utils.get_by_chain_id(network_defaults, chain_id) - - # get profile default for network - if profile is not None and profile in config['profiles']: - if not config['profiles'][profile]['use_mesc']: - return None - name = network_utils.get_by_chain_id( - config['profiles'][profile]['network_defaults'], - chain_id, - ) - if name is None: - name = default_name - else: - name = default_name - - # get endpoint - if name is None: - return None - else: - return get_endpoint_by_name(name, config=config) - - -def get_endpoint_by_query( - user_input: str, - *, - profile: str | None = None, - config: RpcConfig | None = None, -) -> Endpoint | None: - """get MESC endpoint that satisfies user input query - - resolution order: - 1. endpoint name - 2. chain id - 3. network name - """ - if config is None: - config = load.read_config_data() - if ( - profile is not None - and profile in config['profiles'] - and not config['profiles'][profile]['use_mesc'] - ): - return None - if user_input in config['endpoints']: - return config['endpoints'][user_input] - if network_utils.is_chain_id(user_input): - chain_id: str | None = user_input - else: - chain_id = network_utils.network_name_to_chain_id(user_input, config=config) - if chain_id is not None: - try: - return get_endpoint_by_network(chain_id, profile=profile) - except Exception: - pass - - return None - - -def find_endpoints( - *, - chain_id: str | int | None = None, - name_contains: str | None = None, - url_contains: str | None = None, - config: RpcConfig | None = None, -) -> Sequence[Endpoint]: - """find all inputs that match input criteria""" - - if config is None: - config = load.read_config_data() - endpoints = list(config['endpoints'].values()) - - # check chain_id - if chain_id is not None: - if isinstance(chain_id, int): - chain_id = str(chain_id) - chain_id = network_utils.chain_id_to_standard_hex(chain_id) - endpoints = [ - endpoint - for endpoint in endpoints - if endpoint['chain_id'] is not None - and network_utils.chain_id_to_standard_hex(endpoint['chain_id']) == chain_id - ] - - # check name_contains - if name_contains is not None: - endpoints = [ - endpoint for endpoint in endpoints if name_contains in endpoint['name'] - ] - - # check url_contains - if url_contains is not None: - endpoints = [ - endpoint for endpoint in endpoints if url_contains in endpoint['url'] - ] - - return endpoints - - -def get_global_metadata( - *, profile: str | None = None, config: RpcConfig | None = None -) -> Mapping[str, Any]: - """return MESC global metadata""" - - if config is None: - config = load.read_config_data() - - if profile is not None: - profile_data = config['profiles'].get(profile) - if profile_data is not None: - if not profile_data['use_mesc']: - return {} - return dict(config['global_metadata'], **profile_data['profile_metadata']) - - return config['global_metadata'] diff --git a/python/mesc/load.py b/python/mesc/load.py deleted file mode 100644 index ffdc67a..0000000 --- a/python/mesc/load.py +++ /dev/null @@ -1,125 +0,0 @@ -from __future__ import annotations - -import json -import os -import typing - -from . import exceptions -from . import overrides -from . import validation - -if typing.TYPE_CHECKING: - from typing_extensions import Literal, Any - from .types import RpcConfig - - -def read_config_data() -> RpcConfig: - """read MESC config according to MESC environment variables""" - # locate and load config using env vars - mode = os.environ.get('MESC_MODE') - if mode == 'DISABLED': - raise exceptions.MescDisabled( - 'MESC_MODE=DISABLED, check with is_mesc_enabled()' - ) - elif mode == 'PATH': - config = read_file_config(validate=False) - elif mode == 'ENV': - config = read_env_config(validate=False) - elif mode not in ['', None]: - raise Exception( - 'invalid mode: ' + str(mode) + ', must be PATH, ENV, or DISABLED' - ) - elif os.environ.get('MESC_PATH') not in ['', None]: - config = read_file_config(validate=False) - elif os.environ.get('MESC_ENV') not in ['', None]: - config = read_env_config(validate=False) - else: - raise exceptions.MescDisabled('To enable MESC, set MESC_PATH or MESC_ENV') - - # apply overrides - config = overrides.apply_env_overrides(config) - - # validate - validation.validate(config) - return config # type: ignore - - -@typing.overload -def read_env_config(*, validate: Literal[False]) -> Any: - ... - - -@typing.overload -def read_env_config(*, validate: Literal[True]) -> RpcConfig: - ... - - -def read_env_config(*, validate: bool = True) -> RpcConfig | Any: - """read config from MESC_ENV environment variable""" - # obtain raw config data from env - value = os.environ.get('MESC_ENV') - if value is None or value == '': - raise exceptions.LoadError( - 'Cannot load MESC config from MESC_ENV, value is not set' - ) - - # parse config data as JSON - try: - config = json.loads(value) - except json.JSONDecodeError: - raise exceptions.InvalidConfig('MESC_ENV is not formatted as valid JSON') - - # validate config - if validate: - validation.validate(config) - return config - - -@typing.overload -def read_file_config(*, path: str | None = None, validate: Literal[False]) -> Any: - ... - - -@typing.overload -def read_file_config(*, path: str | None = None, validate: Literal[True]) -> RpcConfig: - ... - - -def read_file_config( - *, path: str | None = None, validate: bool = True -) -> RpcConfig | Any: - """read config from MESC config file""" - # obtain config file path - if path is None: - path = os.environ.get('MESC_PATH') - if path is None or path == '': - raise exceptions.LoadError( - 'Cannot load MESC config from MESC_ENV, value is not set' - ) - path = os.path.expanduser(path) - - # load file contents - try: - with open(path, 'r') as f: - content = f.read() - except FileNotFoundError: - raise exceptions.LoadError('File does not exist: ' + str(path)) - except PermissionError: - raise exceptions.LoadError( - 'Insufficient permissions to load file: ' + str(path) - ) - except Exception: - raise exceptions.LoadError('Unable to load file: ' + str(path)) - - # parse raw data as json - try: - config = json.loads(content) - except json.JSONDecodeError: - raise exceptions.InvalidConfig( - 'file at MESC_PATH is not formatted as valid JSON' - ) - - # validate config - if validate: - validation.validate(config) - return config diff --git a/python/mesc/network_names.py b/python/mesc/network_names.py deleted file mode 100644 index 433e0b1..0000000 --- a/python/mesc/network_names.py +++ /dev/null @@ -1,1852 +0,0 @@ -"""Default mapping between chain_id's and network names - -This file is generated by `python/generate_network_names.py` in the MESC repo. - -The same set of network names is used for each MESC implementation. - -Do not edit this file manually.""" - -network_names = { - '1': 'ethereum', - '2': 'expanse', - '3': 'ropsten', - '4': 'rinkeby', - '5': 'goerli', - '6': 'kotti_testnet', - '7': 'thai', - '8': 'ubiq', - '9': 'ubiq_testnet', - '10': 'optimism', - '11': 'metadium', - '12': 'metadium_testnet', - '13': 'diode_testnet_staging', - '14': 'flare', - '15': 'diode_prenet', - '16': 'songbird_testnet_coston', - '17': 'thaifi', - '18': 'thundercore_testnet', - '19': 'songbird_canary', - '20': 'elastos', - '21': 'elastos_testnet', - '22': 'ela_did', - '23': 'ela_did_testnet', - '24': 'kardia', - '25': 'cronos', - '26': 'genesis_testnet', - '27': 'shiba', - '28': 'boba_rinkeby_testnet', - '29': 'genesis', - '30': 'rootstock', - '31': 'rootstock_testnet', - '32': 'gooddata_testnet', - '33': 'gooddata', - '34': 'secure', - '35': 'tbwg', - '36': 'dx', - '37': 'xpla', - '38': 'valorbit', - '39': 'u2u_solaris', - '40': 'telos_evm', - '41': 'telos_evm_testnet', - '42': 'lukso', - '43': 'darwinia_pangolin_testnet', - '44': 'crab', - '45': 'darwinia_pangoro_testnet', - '46': 'darwinia', - '47': 'acria_intelli', - '48': 'ennothem_proterozoic', - '49': 'ennothem_testnet_pioneer', - '50': 'xdc', - '51': 'xdc_apothem', - '52': 'coinex', - '53': 'coinex_testnet', - '54': 'openpiece', - '55': 'zyx', - '56': 'bsc', - '57': 'syscoin', - '58': 'ontology', - '59': 'eos_evm_legacy', - '60': 'go', - '61': 'ethereum_classic', - '62': 'morden_testnet', - '63': 'mordor_testnet', - '64': 'ellaism', - '65': 'okex_testnet', - '66': 'okx', - '67': 'db_testnet', - '68': 'soterone', - '69': 'optimism_kovan', - '70': 'hoo', - '71': 'conflux_espace_testnet', - '72': 'dx_testnet', - '73': 'fncy', - '74': 'id', - '75': 'decimal', - '76': 'mix', - '77': 'poa_sokol', - '78': 'primus', - '79': 'zenith', - '80': 'gene', - '81': 'japan_open', - '82': 'meter', - '83': 'meter_testnet', - '84': 'linqto_devnet', - '85': 'gate_testnet', - '86': 'gate', - '87': 'nova', - '88': 'viction', - '89': 'viction_testnet', - '90': 'garizon_stage0', - '91': 'garizon_stage1', - '92': 'garizon_stage2', - '93': 'garizon_stage3', - '94': 'swissdlt', - '95': 'camdl', - '96': 'bitkub', - '97': 'bnb_testnet', - '98': 'six_protocol', - '99': 'poa_core', - '100': 'gnosis', - '101': 'etherinc', - '102': 'web3games_testnet', - '103': 'worldland', - '104': 'kaiba_lightning_testnet', - '105': 'web3games_devnet', - '106': 'velas_evm', - '107': 'nebula_testnet', - '108': 'thundercore', - '109': 'shibarium', - '110': 'proton_testnet', - '111': 'etherlite', - '112': 'coinbit', - '113': 'dehvo', - '114': 'flare_testnet_coston2', - '116': 'debank', - '117': 'uptick', - '118': 'arcology_testnet', - '119': 'enuls', - '120': 'enuls_testnet', - '121': 'real', - '122': 'fuse', - '123': 'fuse_sparknet', - '124': 'decentralized_web', - '125': 'oy_testnet', - '126': 'oy', - '127': 'factory_127', - '128': 'huobi_eco', - '129': 'innovator', - '131': 'engram_testnet', - '132': 'namefi', - '133': 'hashkey_testnet', - '134': 'iexec', - '135': 'alyx_testnet', - '136': 'deam', - '137': 'polygon', - '138': 'defi_oracle_meta', - '139': 'woop', - '140': 'eternal', - '141': 'openpiece_testnet', - '142': 'dax', - '144': 'phi_v2', - '145': 'soraai_testnet', - '147': 'flag', - '148': 'shimmerevm', - '150': 'six_protocol_testnet', - '151': 'redbelly', - '152': 'redbelly_devnet', - '153': 'redbelly_testnet', - '154': 'redbelly_tge', - '155': 'tenet_testnet', - '156': 'oeblock_testnet', - '157': 'puppynet_shibarium', - '158': 'roburna', - '159': 'roburna_testnet', - '160': 'armonia_eva', - '161': 'armonia_eva_testnet', - '162': 'lightstreams_testnet', - '163': 'lightstreams', - '164': 'omni_omega_testnet', - '166': 'omni', - '167': 'atoshi_testnet', - '168': 'aioz', - '169': 'manta_pacific', - '170': 'hoo_testnet', - '171': 'co2e_ledger', - '172': 'latam_block_resil_testnet', - '176': 'dc', - '178': 'abey_testnet', - '179': 'abey', - '180': 'ame', - '181': 'waterfall', - '183': 'ethernity', - '184': 'dojima_testnet', - '185': 'mint', - '186': 'seele', - '187': 'dojima', - '188': 'bmc', - '189': 'bmc_testnet', - '190': 'cmdao_bbq', - '191': 'filefilego', - '193': 'crypto_emergency', - '195': 'x_layer_testnet', - '196': 'x_layer', - '197': 'neutrinos_testnet', - '198': 'bit', - '199': 'bittorrent', - '200': 'arbitrum_on_xdai', - '201': 'moac_testnet', - '202': 'edgeless_testnet', - '204': 'opbnb', - '205': 'ekaash', - '206': 'vinu_testnet', - '207': 'vinu', - '208': 'structx', - '210': 'bitnet', - '211': 'freight_trust', - '212': 'mapo_makalu', - '213': 'b2_hub', - '214': 'shinarium', - '217': 'siriusnet_v2', - '218': 'soterone_old', - '220': 'scalind_testnet', - '221': 'blockex', - '222': 'permission', - '223': 'b2', - '224': 'viridis_testnet', - '225': 'la', - '226': 'la_testnet', - '228': 'mind', - '230': 'swapdex', - '233': 'ethernity_testnet', - '234': 'protojumbo_testnet', - '236': 'deam_testnet', - '238': 'blast', - '242': 'plinga', - '246': 'energy_web', - '248': 'oasys', - '250': 'fantom_opera', - '252': 'fraxtal', - '254': 'swan', - '255': 'kroma', - '256': 'huobi_eco_testnet', - '258': 'setheum', - '259': 'neonlink', - '261': 'guru_testnet', - '262': 'sur_block', - '266': 'neura', - '267': 'neura_testnet', - '268': 'neura_devnet', - '269': 'high_performance_block', - '271': 'egoncoin', - '278': 'xfair.ai', - '279': 'bpx_block', - '282': 'cronos_zkevm_testnet', - '288': 'boba', - '291': 'orderly', - '295': 'hedera', - '296': 'hedera_testnet', - '297': 'hedera_previewnet', - '298': 'hedera_localnet', - '300': 'zksync_sepolia_testnet', - '301': 'bobaopera', - '302': 'zkcandy_sepolia_testnet', - '303': 'neuro_testnet', - '305': 'zksats', - '307': 'lovely_testnet', - '308': 'furtheon', - '309': 'wyzth_testnet', - '311': 'omax', - '313': 'neuro', - '314': 'filecoin', - '321': 'kcc', - '322': 'kcc_testnet', - '323': 'cosvm', - '324': 'zksync', - '325': 'grvt', - '326': 'grvt_sepolia_testnet', - '333': 'web3q', - '335': 'dfk_test', - '336': 'shiden', - '338': 'cronos_testnet', - '345': 'tsc', - '360': 'shape', - '361': 'theta', - '363': 'theta_sapphire_testnet', - '364': 'theta_amber_testnet', - '365': 'theta_testnet', - '369': 'pulse', - '371': 'consta_testnet', - '380': 'zkamoeba_testnet', - '381': 'zkamoeba', - '385': 'lisinski', - '388': 'cronos_zkevm', - '395': 'camdl_testnet', - '397': 'near', - '398': 'near_testnet', - '399': 'nativ3', - '400': 'hyperon_testnet', - '401': 'ozone_testnet', - '404': 'syndr_l3', - '411': 'pepe', - '416': 'sx', - '418': 'latestnet', - '420': 'optimism_goerli_testnet', - '422': 'viridis', - '424': 'pgn_public_goods', - '427': 'zeeth', - '428': 'geso_verse', - '434': 'boyaa', - '443': 'ten_testnet', - '444': 'synapse_testnet', - '456': 'arzio', - '462': 'areon_testnet', - '463': 'areon', - '480': 'world', - '499': 'rupaya', - '500': 'camino_c', - '501': 'columbus_test', - '510': 'syndicate', - '512': 'double_a', - '513': 'double_a_testnet', - '516': 'gear_zero', - '520': 'xt', - '529': 'fire', - '530': 'fxcore', - '534': 'candle', - '537': 'optrust', - '542': 'paw_testnet', - '545': 'evm_on_flow_testnet', - '555': 'vela1', - '558': 'tao', - '568': 'doge_testnet', - '570': 'rollux', - '571': 'meta', - '579': 'filenova', - '588': 'metis_stardust_testnet', - '592': 'astar', - '595': 'acala_mandala_testnet_tc9', - '596': 'karura_testnet', - '597': 'acala_testnet', - '599': 'metis_goerli_testnet', - '600': 'meshnyan_testnet', - '601': 'vine_testnet', - '610': 'darwin_devnet', - '612': 'eiob', - '614': 'graphlinq_block', - '624': 'binary', - '625': 'binary_sepolia', - '634': 'avocado', - '646': 'previewnet', - '647': 'sx_testnet', - '648': 'endurance', - '653': 'kali_testnet', - '654': 'kali', - '662': 'ultronsmart', - '666': 'pixie_testnet', - '667': 'laos_arrakis', - '668': 'junca', - '669': 'junca_testnet', - '686': 'karura', - '690': 'redstone', - '700': 'star_social_testnet', - '701': 'darwinia_koi_testnet', - '707': 'block_station', - '708': 'block_station_testnet', - '710': 'highbury', - '711': 'tucana', - '712': 'birdee_2', - '713': 'vrcscan', - '719': 'shibarium_beta', - '721': 'lycan', - '727': 'blucrates', - '730': 'lovely', - '740': 'canto_testnet', - '741': 'vention_testnet', - '742': 'script_testnet', - '747': 'evm_on_flow', - '766': 'ql1', - '776': 'open_testnet', - '777': 'cheapeth', - '786': 'maal', - '787': 'acala', - '788': 'aero_testnet', - '789': 'patex', - '799': 'rupaya_testnet', - '800': 'lucid_block', - '803': 'haic', - '808': 'portal_fantasy_test', - '810': 'haven1_testnet', - '813': 'qitmeer', - '814': 'fire_zkevm', - '818': 'beone', - '820': 'callisto', - '822': 'runic_testnet', - '831': 'checkdot_block_devnet', - '841': 'taraxa', - '842': 'taraxa_testnet', - '852': 'hongkong', - '859': 'zeeth_dev', - '868': 'fantasia', - '876': 'bandai_namco_research_verse', - '877': 'dexit', - '880': 'ambros', - '888': 'wan', - '898': 'maxi_testnet', - '899': 'maxi', - '900': 'garizon_testnet_stage0', - '901': 'garizon_testnet_stage1', - '902': 'garizon_testnet_stage2', - '903': 'garizon_testnet_stage3', - '909': 'portal_fantasy', - '910': 'decentrabone_layer1_testnet', - '911': 'taproot', - '917': 'rinia_testnet', - '919': 'mode_testnet', - '927': 'yidark', - '940': 'pulse_testnet', - '941': 'pulse_testnet_v2b', - '942': 'pulse_testnet_v3', - '943': 'pulse_testnet_v4', - '945': 'subtensor_evm_testnet', - '956': 'munode_testnet', - '957': 'lyra', - '963': 'btc20', - '969': 'ethxy', - '970': 'oort', - '971': 'oort_huygens', - '972': 'oort_ascraeus', - '973': 'palm', - '977': 'nepal_block', - '979': 'ethxy_testnet', - '980': 'top_evm', - '985': 'memo', - '989': 'top', - '990': 'eliberty', - '995': '5ire', - '996': 'bifrost_polkadot', - '997': '5ire_thunder_testnet', - '998': 'lucky', - '999': 'wan_testnet', - '1000': 'gton', - '1001': 'kaia_testnet_kairos', - '1003': 'tectum_emission_token', - '1004': 't_ekta', - '1005': 'lemontestnet', - '1006': 'lemon', - '1007': 'newton_testnet', - '1008': 'eurus', - '1009': 'jumbo', - '1010': 'evrice', - '1011': 'rebus', - '1012': 'newton', - '1022': 'sakura', - '1023': 'clover_testnet', - '1024': 'clv_para', - '1028': 'bittorrent_testnet', - '1030': 'conflux_espace', - '1031': 'proxy_testnet', - '1038': 'bronos_testnet', - '1039': 'bronos', - '1073': 'shimmerevm_testnet', - '1075': 'iota_evm_testnet', - '1079': 'mintara_testnet', - '1080': 'mintara', - '1088': 'metis_andromeda', - '1089': 'humans.ai', - '1099': 'moac', - '1100': 'dymension', - '1101': 'polygon_zkevm', - '1107': 'blxq_testnet', - '1108': 'blxq', - '1111': 'wemix', - '1112': 'wemix_testnet', - '1113': 'b2_hub_testnet', - '1115': 'core_block_testnet', - '1116': 'core_block', - '1117': 'dogcoin', - '1123': 'b2_testnet', - '1130': 'defi_evm', - '1131': 'defi_evm_testnet', - '1133': 'defimeta_changi_testnet', - '1135': 'lisk', - '1138': 'amstar_testnet', - '1139': 'math', - '1140': 'math_testnet', - '1147': 'flag_testnet', - '1149': 'symplexia', - '1170': 'origin_testnet', - '1177': 'smart_host_teknoloji_testnet', - '1188': 'clubmos', - '1197': 'iora', - '1200': 'cuckoo', - '1201': 'evanesco_testnet', - '1202': 'world_trade_technical', - '1209': 'saitablocksbc', - '1210': 'cuckoo_sepolia', - '1213': 'popcateum', - '1214': 'enter', - '1221': 'cycle_testnet', - '1223': 'cycle_testnet_jellyfish', - '1225': 'hybrid_testnet', - '1227': 'bitcoin_protocol_testnet', - '1228': 'cycle_testnet_cuttlefish', - '1229': 'exzo', - '1230': 'ultron_testnet', - '1231': 'ultron', - '1234': 'step', - '1235': 'itx', - '1243': 'arc', - '1244': 'arc_testnet', - '1246': 'om_platform', - '1248': 'dogether', - '1252': 'cic_testnet', - '1260': 'metacces_testnet', - '1280': 'halo', - '1284': 'moonbeam', - '1285': 'moonriver', - '1286': 'moonrock_old', - '1287': 'moonbase_alpha', - '1288': 'moonrock', - '1291': 'swisstronik_testnet', - '1294': 'bobabeam', - '1297': 'bobabase_testnet', - '1311': 'dos_fuji_subnet', - '1313': 'jaiho', - '1314': 'alyx', - '1319': 'aia', - '1320': 'aia_testnet', - '1328': 'sei_testnet', - '1329': 'sei', - '1337': 'geth_testnet', - '1338': 'elysium_testnet', - '1339': 'elysium', - '1343': 'blitz_subnet', - '1353': 'cic', - '1369': 'zafirium', - '1370': 'ramestta', - '1377': 'pingaksha_testnet', - '1379': 'kalar', - '1388': 'amstar', - '1392': 'joseon', - '1402': 'polygon_zkevm_testnet_old', - '1422': 'polygon_zkevm_testnet_pre_audit_upgraded', - '1433': 'rikeza', - '1440': 'living_assets', - '1442': 'polygon_zkevm_testnet', - '1452': 'gil_testnet', - '1453': 'meta_istanbul', - '1455': 'ctex_scan_block', - '1456': 'zkbase', - '1490': 'vitruveo', - '1499': 'idos_games_testnet', - '1501': 'bevm_canary', - '1506': 'sherpax', - '1507': 'sherpax_testnet', - '1513': 'story_testnet', - '1515': 'beagle_messaging', - '1559': 'tenet', - '1570': 'star_testnet', - '1578': 'star', - '1617': 'ethereum_inscription', - '1618': 'catecoin', - '1620': 'atheios', - '1625': 'gravity_alpha', - '1648': 'pivotal', - '1657': 'bta', - '1662': 'liqui', - '1663': 'horizen_gobi_testnet', - '1686': 'mint_testnet', - '1687': 'mint_sepolia_testnet', - '1688': 'ludan', - '1701': 'anytype_evm', - '1707': 'tbsi', - '1708': 'tbsi_testnet', - '1717': 'doric', - '1718': 'palette', - '1729': 'reya', - '1740': 'metal_l2_testnet', - '1750': 'metal_l2', - '1773': 'party', - '1777': 'gauss', - '1789': 'zkbase_sepolia_testnet', - '1804': 'kerleano', - '1807': 'rabbit_analog_testnet', - '1811': 'lif3_testnet', - '1818': 'cube', - '1819': 'cube_testnet', - '1821': 'ruby', - '1853': 'highoctane_subnet', - '1856': 'teslafunds', - '1875': 'white', - '1881': 'gitshock_cartenz_testnet', - '1890': 'lightlink_phoenix', - '1891': 'lightlink_pegasus_testnet', - '1898': 'bon', - '1899': 'redefi_layer_2', - '1904': 'sports', - '1907': 'bitci', - '1908': 'bitci_testnet', - '1909': 'merkle_scan', - '1911': 'scalind', - '1912': 'ruby_testnet', - '1918': 'upb_crescdi_testnet', - '1945': 'onus_testnet', - '1946': 'minato', - '1951': 'd', - '1953': 'selendra_testnet', - '1954': 'dexilla_testnet', - '1956': 'aiw3_testnet', - '1961': 'selendra', - '1967': 'eleanor', - '1969': 'super_testnet', - '1970': 'super', - '1971': 'atelier', - '1972': 'redecoin', - '1975': 'onus', - '1984': 'eurus_testnet', - '1985': 'satoshie', - '1986': 'satoshie_testnet', - '1987': 'ethergem', - '1992': 'hubble_exchange', - '1993': 'b3_sepolia_testnet', - '1994': 'ekta', - '1995': 'edexa_testnet', - '1996': 'sanko', - '1997': 'kyoto', - '1998': 'kyoto_testnet', - '2000': 'doge', - '2001': 'milkomeda_c1', - '2002': 'milkomeda_a1', - '2004': 'metalink', - '2008': 'cloudwalk_testnet', - '2009': 'cloudwalk', - '2013': 'panarchy', - '2014': 'now_testnet', - '2016': 'mainnetz', - '2017': 'adiri', - '2018': 'publicmint_devnet', - '2019': 'publicmint_testnet', - '2020': 'publicmint', - '2021': 'edgeware_edgeevm', - '2022': 'beresheet_bereevm_testnet', - '2023': 'taycan_testnet', - '2024': 'swan_saturn_testnet', - '2025': 'rangers_protocol', - '2026': 'edgeless', - '2031': 'centrifuge', - '2032': 'catalyst', - '2035': 'phala', - '2037': 'kiwi_subnet', - '2038': 'shrapnel_testnet', - '2039': 'aleph_zero', - '2040': 'vanar', - '2043': 'neuroweb', - '2044': 'shrapnel_subnet', - '2045': 'aiw3', - '2047': 'stratos_testnet', - '2048': 'stratos', - '2049': 'movo', - '2071': 'metacces', - '2077': 'quokkacoin', - '2088': 'altair', - '2089': 'algol', - '2100': 'ecoball', - '2101': 'ecoball_testnet_espuma', - '2109': 'exosama', - '2112': 'u', - '2121': 'catena', - '2122': 'metaplayerone', - '2124': 'metaplayerone_dubai_testnet', - '2136': 'bigshortbets_testnet', - '2137': 'bigshortbets', - '2138': 'defi_oracle_meta_testnet', - '2140': 'oneness', - '2141': 'oneness_testnet', - '2151': 'bosagora', - '2152': 'findora', - '2153': 'findora_testnet', - '2154': 'findora_forge', - '2162': 'anime_testnet', - '2192': 'snax', - '2199': 'moonsama', - '2202': 'antofy', - '2203': 'bitcoin_evm', - '2213': 'evanesco', - '2221': 'kava_testnet', - '2222': 'kava', - '2223': 'v', - '2241': 'krest', - '2300': 'bomb', - '2306': 'ebro', - '2309': 'arevia', - '2311': 'chronicle_vesuvius_lit_protocol_testnet', - '2323': 'soma_testnet', - '2330': 'altcoin', - '2331': 'rss3_vsl_sepolia_testnet', - '2332': 'soma', - '2340': 'atleta_olympia', - '2342': 'omnia', - '2355': 'silicon_zkevm', - '2358': 'kroma_sepolia', - '2370': 'nexis_testnet', - '2399': 'bomb_testnet', - '2400': 'tcg_verse', - '2410': 'karak', - '2415': 'xodex', - '2425': 'king_of_legends', - '2442': 'polygon_zkevm_cardona_testnet', - '2468': 'hybrid', - '2477': '6degree_of_outreach', - '2484': 'unicorn_ultra_nebulas_testnet', - '2511': 'karak_goerli', - '2522': 'fraxtal_testnet', - '2525': 'inevm', - '2559': 'kortho', - '2569': 'techpay', - '2606': 'pocrnet', - '2611': 'redlight', - '2612': 'ez_c', - '2613': 'ez_c_testnet', - '2625': 'white_testnet', - '2648': 'ailayer_testnet', - '2649': 'ailayer', - '2662': 'apex', - '2710': 'morph_testnet', - '2718': 'k_laos', - '2730': 'xr_sepolia', - '2731': 'elizabeth_testnet', - '2748': 'nanon', - '2777': 'gm', - '2810': 'morph_holesky', - '2868': 'hyperagi', - '2882': 'chips', - '2888': 'boba_goerli_testnet', - '2889': 'aarma', - '2907': 'elux', - '2911': 'hy', - '2941': 'xenon_testnet', - '2999': 'bityuan', - '3000': 'cennznet_rata', - '3001': 'cennznet_nikau', - '3003': 'canxium', - '3011': 'playa3ull_games', - '3031': 'orlando', - '3033': 'rebus_testnet', - '3068': 'bifrost', - '3073': 'movement_evm', - '3084': 'xl_testnet', - '3100': 'immu3_evm', - '3102': 'vulture_evm_beta', - '3109': 'satoshivm_alpha', - '3110': 'satoshivm_testnet', - '3141': 'filecoin_hyperspace_testnet', - '3269': 'dubxcoin', - '3270': 'dubxcoin_testnet', - '3306': 'debounce_subnet_testnet', - '3331': 'zcore_testnet', - '3333': 'ethstorage_testnet', - '3334': 'web3q_galileo', - '3335': 'ethstorage', - '3338': 'peaq', - '3400': 'paribu_net', - '3424': 'evolve', - '3434': 'secure_testnet', - '3456': 'layeredge_testnet', - '3490': 'gtcscan', - '3500': 'paribu_net_testnet', - '3501': 'jfin', - '3601': 'pandoproject', - '3602': 'pandoproject_testnet', - '3630': 'tycooncoin', - '3636': 'botanix_testnet', - '3637': 'botanix', - '3639': 'i', - '3645': 'i_testnet', - '3666': 'jouleverse', - '3690': 'bittex', - '3693': 'empire', - '3698': 'senjepowers_testnet', - '3699': 'senjepowers', - '3701': 'xpla_testnet', - '3737': 'crossbell', - '3776': 'astar_zkevm', - '3797': 'alvey', - '3799': 'tangle_testnet', - '3885': 'fire_zkevm_ghostrider', - '3888': 'kaly', - '3889': 'kaly_testnet', - '3912': 'drac', - '3939': 'dos_tesnet', - '3966': 'dyno', - '3967': 'dyno_testnet', - '3993': 'apex_testnet', - '3999': 'yuan', - '4000': 'ozone', - '4001': 'peperium_testnet', - '4002': 'fantom_testnet', - '4003': 'x1_fastnet', - '4040': 'carbonium_testnet', - '4048': 'gan_testnet', - '4051': 'bobaopera_testnet', - '4058': 'bahamut_ocean', - '4061': 'nahmii_3', - '4062': 'nahmii_3_testnet', - '4078': 'muster', - '4080': 'tobe_testnet', - '4088': 'zeroth', - '4090': 'fastex_bahamut_oasis_testnet', - '4096': 'bitindi_testnet', - '4099': 'bitindi', - '4102': 'aioz_testnet', - '4139': 'humans.ai_testnet', - '4141': 'tipboxcoin_testnet', - '4157': 'crossfi_testnet', - '4162': 'sx_rollup', - '4181': 'phi_v1', - '4200': 'merlin', - '4201': 'lukso_testnet', - '4202': 'lisk_sepolia_testnet', - '4242': 'nexi', - '4243': 'nexi_v2', - '4269': 'laika_testnet', - '4328': 'bobafuji_testnet', - '4337': 'beam', - '4400': 'credit', - '4444': 'htmlcoin', - '4460': 'orderly_sepolia_testnet', - '4488': 'hydra', - '4544': 'emoney_testnet', - '4613': 'very', - '4653': 'gold', - '4689': 'iotex', - '4690': 'iotex_testnet', - '4759': 'meverse_testnet', - '4777': 'blackfort_exchange_testnet', - '4801': 'world_sepolia_testnet', - '4893': 'globel', - '4918': 'venidium_testnet', - '4919': 'venidium', - '4999': 'blackfort_exchange', - '5000': 'mantle', - '5001': 'mantle_testnet', - '5002': 'treasurenet_alpha', - '5003': 'mantle_sepolia_testnet', - '5005': 'treasurenet_testnet', - '5039': 'onigiri_test_subnet', - '5040': 'onigiri_subnet', - '5051': 'nollie_skate_testnet', - '5100': 'syndicate_testnet', - '5101': 'syndicate_frame', - '5102': 'sic_testnet', - '5103': 'coordinape_testnet', - '5104': 'charmverse_testnet', - '5105': 'superloyalty_testnet', - '5106': 'azra_testnet', - '5112': 'ham', - '5151': 'me_testnet', - '5165': 'bahamut', - '5169': 'smart_layer', - '5177': 'tl', - '5197': 'eraswap', - '5234': 'humanode', - '5290': 'fire_old', - '5315': 'uzmi', - '5317': 'optrust_testnet', - '5321': 'itx_testnet', - '5333': 'netsbo', - '5353': 'tritanium_testnet', - '5372': 'settlus_testnet', - '5424': 'edexa', - '5439': 'ego', - '5522': 'vex_evm_testnet', - '5545': 'duck', - '5551': 'nahmii_2', - '5553': 'nahmii_2_testnet', - '5555': 'verse', - '5611': 'opbnb_testnet', - '5615': 'arcturus_testneet', - '5616': 'arcturus_testnet', - '5656': 'qie_block', - '5675': 'filenova_testnet', - '5678': 'tanssi_demo', - '5700': 'syscoin_tanenbaum_testnet', - '5729': 'hika_testnet', - '5758': 'satoshi_testnet', - '5777': 'ganache', - '5845': 'tangle', - '5851': 'ontology_testnet', - '5858': 'chang_foundation', - '5869': 'wego_rubidium', - '6000': 'bouncebit_testnet', - '6001': 'bouncebit', - '6065': 'tres_testnet', - '6066': 'tres', - '6102': 'cascadia_testnet', - '6118': 'uptn_testnet', - '6119': 'uptn', - '6283': 'laos', - '6321': 'aura_euphoria_testnet', - '6322': 'aura', - '6363': 'digit_soul', - '6398': 'connext_sepolia', - '6502': 'peerpay', - '6550': 'flamma_testnet', - '6552': 'scolcoin_wei_testnet', - '6565': 'fox_testnet', - '6626': 'pixie', - '6660': 'latest_testnet', - '6661': 'cybria', - '6666': 'cybria_testnet', - '6667': 'stor', - '6678': 'edge_matrix', - '6688': 'irishub', - '6699': 'ox', - '6701': 'paxb', - '6779': 'compverse', - '6805': 'race', - '6806': 'race_testnet', - '6868': 'pools', - '6880': 'mtt', - '6942': 'laika', - '6969': 'tomb', - '6999': 'polysmart', - '7000': 'zeta', - '7001': 'zeta_testnet', - '7007': 'bst', - '7027': 'ella_the_heart', - '7070': 'planq', - '7077': 'planq_atlas_testnet', - '7100': 'nume', - '7118': 'help_the_homeless', - '7171': 'bitrock', - '7210': 'nibiru_testnet_1', - '7222': 'nibiru_devnet_3', - '7244': 'zeus_testnet', - '7300': 'xpla_verse', - '7331': 'klyntar', - '7332': 'horizen_eon', - '7341': 'shyft', - '7484': 'raba', - '7518': 'meverse', - '7560': 'cyber', - '7575': 'adil_testnet', - '7576': 'adil_v2', - '7668': 'the_root', - '7672': 'the_root_porcini_testnet', - '7700': 'canto', - '7701': 'canto_tesnet', - '7771': 'bitrock_testnet', - '7774': 'gdcc', - '7775': 'gdcc_testnet', - '7776': 'pandasea', - '7777': 'rise_of_the_warbots_testnet', - '7778': 'orenium_protocol', - '7798': 'openex_long_testnet', - '7860': 'maal_testnet', - '7862': 'maal_v2', - '7863': 'maal_testnet_v2', - '7878': 'hazlor_testnet', - '7887': 'kinto', - '7895': 'ardenium_athena', - '7923': 'dot_blox', - '7924': 'mo', - '7979': 'dos', - '8000': 'teleport', - '8001': 'teleport_testnet', - '8008': 'polynomial', - '8017': 'isuncoin', - '8029': 'mdgl_testnet', - '8047': 'boat', - '8054': 'karak_sepolia', - '8080': 'shardeum_liberty_1.x', - '8081': 'shardeum_liberty_2.x', - '8082': 'shardeum_sphinx_1.x', - '8086': 'bitcoin', - '8087': 'e_dollar', - '8098': 'streamux_block', - '8131': 'qitmeer_testnet', - '8132': 'qitmeer_mixnet', - '8133': 'qitmeer_privnet', - '8134': 'amana', - '8135': 'flana', - '8136': 'mizana', - '8181': 'testnet_beone', - '8192': 'torus', - '8194': 'torus_testnet', - '8217': 'kaia', - '8227': 'space_subnet', - '8272': 'blockton_block', - '8285': 'korthotest', - '8329': 'lorenzo', - '8333': 'b3', - '8387': 'dracones_financial_services', - '8428': 'that', - '8453': 'base', - '8545': 'chakra_testnet', - '8654': 'toki', - '8655': 'toki_testnet', - '8668': 'hela_official_runtime', - '8723': 'tool_global', - '8724': 'tool_global_testnet', - '8726': 'storage', - '8727': 'storage_testnet', - '8732': 'bullions', - '8738': 'alph', - '8768': 'tmy', - '8822': 'iota_evm', - '8844': 'hydra_testnet', - '8848': 'maro_block', - '8866': 'superlumio', - '8869': 'lif3', - '8880': 'unique', - '8881': 'quartz_by_unique', - '8882': 'opal_testnet_by_unique', - '8883': 'sapphire_by_unique', - '8886': 'avenium_testnet', - '8888': 'xana', - '8889': 'vyvo', - '8890': 'orenium_testnet_protocol', - '8898': 'mammoth', - '8899': 'jib', - '8911': 'algen', - '8912': 'algen_testnet', - '8921': 'algen_layer2', - '8922': 'algen_layer2_testnet', - '8989': 'giant_mammoth', - '8995': 'bloxberg', - '9000': 'evmos_testnet', - '9001': 'evmos', - '9007': 'shido_testnet_block', - '9008': 'shido_block', - '9012': 'berylbit', - '9024': 'nexa_testnet_block', - '9025': 'nexa_block', - '9069': 'apex_fusion_nexus', - '9070': 'apex_fusion_nexus_testnet', - '9100': 'genesis_coin', - '9170': 'rinia_testnet_old', - '9223': 'codefin', - '9339': 'dogcoin_testnet', - '9372': 'oasys_testnet', - '9393': 'dela_sepolia_testnet', - '9395': 'evoke', - '9496': 'weavevm_testnet', - '9527': 'rangers_protocol_testnet_robin', - '9528': 'qeasyweb3_testnet', - '9559': 'neonlink_testnet', - '9700': 'oortdev', - '9728': 'boba_bnb_testnet', - '9768': 'mainnetz_testnet', - '9779': 'pepenetwork', - '9789': 'tabi_testnet', - '9790': 'carbon_evm', - '9792': 'carbon_evm_testnet', - '9797': 'optimusz7', - '9818': 'imperium_testnet', - '9819': 'imperium', - '9876': 'binary_testnet', - '9888': 'dogelayer', - '9897': 'arena_z_testnet', - '9898': 'larissa', - '9911': 'espento', - '9966': 'uxer_testnet', - '9977': 'mind_testnet', - '9980': 'combo', - '9981': 'volley', - '9990': 'agung', - '9997': 'altlayer_testnet', - '9998': 'ztc', - '9999': 'myown_testnet', - '10000': 'smart_bitcoin_cash', - '10001': 'smart_bitcoin_cash_testnet', - '10024': 'gon', - '10081': 'japan_open_testnet', - '10086': 'sjatsh', - '10096': 'metanova_verse', - '10101': 'block_genesis', - '10200': 'gnosis_chiado_testnet', - '10201': 'maxx', - '10222': 'glscan', - '10242': 'arthera', - '10243': 'arthera_testnet', - '10248': '0xtade', - '10321': 'tao_evm', - '10324': 'tao_evm_testnet', - '10395': 'worldland_testnet', - '10507': 'numbers', - '10508': 'numbers_testnet', - '10823': 'cryptocoinpay', - '10849': 'lamina1', - '10850': 'lamina1_identity', - '10946': 'quadrans_block', - '10947': 'quadrans_block_testnet', - '11000': 'kb', - '11011': 'shape_sepolia_testnet', - '11110': 'astra', - '11111': 'wagmi', - '11115': 'astra_testnet', - '11119': 'hashbit', - '11124': 'abstract_testnet', - '11221': 'shine', - '11227': 'jiritsu_testnet_subnet', - '11235': 'haqq', - '11437': 'shyft_testnet', - '11501': 'bevm', - '11503': 'bevm_testnet', - '11521': 'sats', - '11612': 'sardis_testnet', - '11822': 'artela_testnet', - '11891': 'polygon_supernet_arianee', - '12001': 'fuse_testnet', - '12009': 'satoshi', - '12020': 'aternos', - '12051': 'singularity_zero_testnet', - '12052': 'singularity_zero', - '12123': 'brc', - '12306': 'fibonacci', - '12321': 'blg_testnet', - '12324': 'l3x_protocol', - '12325': 'l3x_protocol_testnet', - '12345': 'step_testnet', - '12553': 'rss3_vsl', - '12715': 'rikeza_testnet', - '12781': 'playdapp_testnet', - '12890': 'quantum_testnet', - '12898': 'playfair_testnet_subnet', - '13000': 'sps', - '13337': 'beam_testnet', - '13370': 'cannon_testnet', - '13371': 'immutable_zkevm', - '13381': 'phoenix', - '13396': 'masa', - '13473': 'immutable_zkevm_testnet', - '13505': 'gravity_alpha_testnet_sepolia', - '13600': 'kronobit', - '13812': 'susono', - '14000': 'sps_testnet', - '14088': 'zeroth_testnet', - '14324': 'evolve_testnet', - '14333': 'vitruveo_testnet', - '14800': 'vana_moksha_testnet', - '14801': 'vana_satori_testnet', - '14853': 'humanode_testnet_5_israfel', - '15003': 'immutable_zkevm_devnet', - '15257': 'poodl_testnet', - '15259': 'poodl', - '15430': 'kymtc', - '15551': 'loopnetwork', - '15555': 'trust_evm_testnet', - '15557': 'eos_evm_testnet', - '16000': 'metadot', - '16001': 'metadot_testnet', - '16116': 'defiverse', - '16166': 'cypherium', - '16180': 'plyr_phi', - '16350': 'incentiv_devnet', - '16481': 'pivotal_sepolia', - '16507': 'genesys', - '16600': '0g_newton_testnet', - '16688': 'irishub_testnet', - '16718': 'airdao', - '16888': 'ivar_testnet', - '17000': 'holesky', - '17001': 'redstone_holesky_testnet', - '17069': 'garnet_holesky', - '17071': 'on_points', - '17117': 'defiverse_testnet', - '17171': 'g8', - '17172': 'eclipse_subnet', - '17180': 'palette_testnet', - '17217': 'konet', - '17777': 'eos_evm', - '18000': 'frontier_of_dreams_testnet', - '18122': 'smart_trades', - '18159': 'proof_of_memes', - '18181': 'g8_testnet', - '18231': 'unreal_old', - '18233': 'unreal', - '18686': 'mxc_zkevm_moon', - '18888': 'titan_tkx', - '18889': 'titan_tkx_testnet', - '19011': 'home_verse', - '19077': 'blockx_atlantis_testnet', - '19191': 'blockx', - '19224': 'decentraconnect_social', - '19527': 'magnet', - '19600': 'lbry', - '19845': 'btcix', - '20001': 'camelark', - '20041': 'niza', - '20073': 'niza_testnet', - '20729': 'callisto_testnet', - '20736': 'p12', - '20765': 'jono11_subnet', - '21004': 'c4ei', - '21133': 'all_about_healthy', - '21223': 'dcpay', - '21224': 'dcpay_testnet', - '21337': 'cennznet_azalea', - '21363': 'lestnet', - '21816': 'om', - '21912': 'bsl', - '22023': 'taycan', - '22040': 'airdao_testnet', - '22222': 'nautilus', - '22324': 'goldx_testnet', - '22776': 'map_protocol', - '23006': 'antofy_testnet', - '23118': 'opside_testnet', - '23294': 'oasis_sapphire', - '23295': 'oasis_sapphire_testnet', - '23451': 'dreyerx', - '23452': 'dreyerx_testnet', - '23888': 'blast_testnet', - '24076': 'kymtc_testnet', - '24484': 'web', - '24734': 'mintme.com', - '25186': 'liquidlayer', - '25327': 'everclear', - '25839': 'alvey_testnet', - '25888': 'hammer', - '25925': 'bitkub_testnet', - '26026': 'ferrum_testnet', - '26482': 'ducatusx_testnet', - '26483': 'ducatusx', - '26600': 'hertz', - '26863': 'oasis', - '27181': 'klaos_nova', - '27483': 'nanon_sepolia', - '27827': 'zeroone_subnet', - '28516': 'vizing_testnet', - '28518': 'vizing', - '28528': 'optimism_bedrock_goerli_alpha_testnet', - '28882': 'boba_sepolia', - '29112': 'hy_testnet', - '29223': 'nexa_metanet', - '29536': 'kai_testnet', - '29548': 'mch_verse', - '30000': 'q', - '30067': 'piece_testnet', - '30088': 'miyou', - '30103': 'cerium_testnet', - '30730': 'movement_evm_legacy', - '30731': 'movement_evm_devnet', - '30732': 'movement_evm_testnet', - '31102': 'ethersocial', - '31223': 'cloudtx', - '31224': 'cloudtx_testnet', - '31337': 'go_testnet', - '31414': 'evoke_testnet', - '31415': 'filecoin_wallaby_testnet', - '31753': 'x', - '31754': 'x_testnet', - '32001': 'w3gamez_holesky_testnet', - '32382': 'santiment_intelligence', - '32520': 'bitgert', - '32659': 'fusion', - '32769': 'zilliqa_evm', - '32990': 'zilliqa_evm_isolated_server', - '33033': 'entangle', - '33101': 'zilliqa_evm_testnet', - '33103': 'zilliqa_2_evm_proto_testnet', - '33111': 'curtis', - '33133': 'entangle_testnet', - '33210': 'cloudverse_subnet', - '33333': 'aves', - '33385': 'zilliqa_evm_devnet', - '33401': 'slingshot', - '33469': 'zilliqa_2_evm_devnet', - '33979': 'funki', - '34443': 'mode', - '34504': 'zeus', - '35011': 'j2o_taro', - '35443': 'q_testnet', - '38400': 'connectormanager', - '38401': 'connectormanager_robin', - '39656': 'prm', - '39797': 'energi', - '39815': 'oho', - '40000': 'div', - '41455': 'aleph_zero_evm', - '41500': 'opulent_x_beta', - '42069': 'pegglecoin', - '42072': 'agentlayer_testnet', - '42161': 'arbitrum', - '42170': 'arbitrum_nova', - '42220': 'celo', - '42261': 'oasis_emerald_testnet', - '42262': 'oasis_emerald', - '42355': 'goldx', - '42421': 'asset_testnet', - '42766': 'zkfair', - '42793': 'etherlink', - '42801': 'gesoten_verse_testnet', - '42888': 'kinto_testnet', - '43110': 'athereum', - '43111': 'hemi', - '43113': 'avalanche_fuji_testnet', - '43114': 'avalanche', - '43288': 'boba_avax', - '43851': 'zkfair_testnet', - '44444': 'fren', - '44445': 'quantum', - '44787': 'celo_alfajores_testnet', - '45000': 'autobahn', - '45454': 'swamps_l2', - '45510': 'deelance', - '45513': 'blessnet', - '46688': 'fusion_testnet', - '47763': 'neo_x', - '47803': 'redefi_layer_1', - '47805': 'rei', - '48795': 'space_subnet_testnet', - '48899': 'zircuit_testnet', - '48900': 'zircuit', - '49049': 'wireshape_floripa_testnet', - '49088': 'bifrost_testnet', - '49321': 'gunz_testnet', - '49797': 'energi_testnet', - '50001': 'liveplex_oracleevm', - '50005': 'yooldo_verse', - '50006': 'yooldo_verse_testnet', - '50021': 'gton_testnet', - '50888': 'erbie', - '51178': 'lumoz_testnet_alpha', - '51712': 'sardis', - '52014': 'electroneum', - '53277': 'doid', - '53302': 'superseed_sepolia_testnet', - '53457': 'dodo_testnet', - '53935': 'dfk', - '54176': 'overprotocol', - '54211': 'haqq_testnet', - '54321': 'toronet_testnet', - '55004': 'titan', - '55551': 'photon_aurora_testnet', - '55556': 'rei_testnet', - '55614': 'flamma', - '56026': 'lambda', - '56288': 'boba_bnb', - '56400': 'testnet_zeroone_subnet', - '56789': 'velo_labs', - '56797': 'doid_testnet', - '57000': 'rollux_testnet', - '57451': 'coinsec', - '58008': 'sepolia_pgn_public_goods', - '58680': 'lumoz_quidditch_testnet', - '59140': 'linea_goerli', - '59141': 'linea_sepolia', - '59144': 'linea', - '59902': 'metis_sepolia_testnet', - '59971': 'genesys_code', - '60000': 'thinkium_testnet_0', - '60001': 'thinkium_testnet_1', - '60002': 'thinkium_testnet_2', - '60103': 'thinkium_testnet_103', - '60808': 'bob', - '61022': 'orange', - '61406': 'kai', - '61800': 'axel_dev_net', - '61803': 'etica', - '61916': 'doken_super', - '62049': 'optopia_testnet', - '62050': 'optopia', - '62298': 'citrea_devnet', - '62320': 'celo_baklava_testnet', - '62621': 'multivac', - '62831': 'plyr_tau_testnet', - '62850': 'laos_sigma_testnet', - '63000': 'ecredits', - '63001': 'ecredits_testnet', - '63002': 'esync_testnet', - '65349': 'cratd2c_testnet', - '65357': 'vecno', - '65450': 'scolcoin', - '65536': 'automata', - '66665': 'creator_testnet', - '66988': 'janus_testnet', - '67390': 'siriusnet', - '67588': 'cosmic', - '68770': 'dm2_verse', - '68775': 'dm2_verse_testnet', - '69420': 'condrieu', - '70000': 'thinkium_0', - '70001': 'thinkium_1', - '70002': 'thinkium_2', - '70103': 'thinkium_103', - '70700': 'proof_of_play_apex', - '71111': 'guapcoinx', - '71393': 'polyjuice_testnet', - '71401': 'godwoken_testnet_v1', - '71402': 'godwoken', - '72778': 'caga_crypto_ankara_testnet', - '72992': 'grok', - '73114': 'icb_testnet', - '73115': 'icb', - '73799': 'energy_web_volta_testnet', - '73927': 'mixin_virtual_machine', - '75000': 'resincoin', - '75512': 'geek_verse', - '75513': 'geek_verse_testnet', - '77001': 'bora', - '77238': 'foundry_testnet', - '77612': 'vention', - '77677': 'cycle_sailboat', - '77777': 'toronet', - '78110': 'firenze_test', - '78281': 'dragonfly_hexapod', - '78430': 'amplify_subnet', - '78431': 'bulletin_subnet', - '78432': 'conduit_subnet', - '78600': 'vanguard', - '79879': 'gold_testnet', - '80001': 'mumbai', - '80002': 'amoy', - '80008': 'polynomia_sepolia', - '80084': 'bera_bartio', - '80085': 'bera_artio', - '80096': 'hizoco', - '81041': 'nordek', - '81341': 'amana_testnet', - '81342': 'amana_mixnet', - '81343': 'amana_privnet', - '81351': 'flana_testnet', - '81352': 'flana_mixnet', - '81353': 'flana_privnet', - '81361': 'mizana_testnet', - '81362': 'mizana_mixnet', - '81363': 'mizana_privnet', - '82459': 'smart_layer_testnet', - '83144': 'xprotocol_testnet', - '83278': 'esa', - '83872': 'zedxion', - '84531': 'base_goerli_testnet', - '84532': 'base_sepolia_testnet', - '84886': 'aerie', - '85449': 'cybertrust', - '88002': 'nautilus_proteus_testnet', - '88559': 'inoai', - '88800': 'zkasino', - '88817': 'unit_zero_testnet', - '88819': 'unit_zero_stagenet', - '88880': 'chiliz_scoville_testnet', - '88882': 'chiliz_spicy_testnet', - '88888': 'chiliz', - '90001': 'fxcore_testnet', - '90210': 'beverly_hills', - '90354': 'camp_testnet', - '91002': 'nautilus_trition', - '91120': 'metadap_enterprise', - '91715': 'combo_testnet', - '92001': 'lambda_testnet', - '93572': 'liquidlayer_testnet', - '93747': 'stratovm_testnet', - '96970': 'mantis_testnet_hexapod', - '97053': 'tetron_testnet', - '97055': 'tetron', - '97288': 'boba_bnb_old', - '97435': 'slingshot_testnet', - '97531': 'green_testnet', - '97970': 'optimusz7_testnet', - '98881': 'ebi', - '99099': 'eliberty_testnet', - '99876': 'edge_matrix_testnet', - '99998': 'ubtestnet', - '99999': 'ub', - '100000': 'quark_root', - '100001': 'quark_shard_0', - '100002': 'quark_shard_1', - '100003': 'quark_shard_2', - '100004': 'quark_shard_3', - '100005': 'quark_shard_4', - '100006': 'quark_shard_5', - '100007': 'quark_shard_6', - '100008': 'quark_shard_7', - '100009': 've', - '100010': 've_testnet', - '100011': 'quark_l2', - '101010': 'global_trust', - '102030': 'creditcoin', - '102031': 'creditcoin_testnet', - '102032': 'creditcoin_devnet', - '103090': 'crystaleum', - '103454': 'masa_testnet', - '104566': 'kaspaclassic', - '105105': 'stratis', - '108801': 'bro', - '110000': 'quark_devnet_root', - '110001': 'quark_devnet_shard_0', - '110002': 'quark_devnet_shard_1', - '110003': 'quark_devnet_shard_2', - '110004': 'quark_devnet_shard_3', - '110005': 'quark_devnet_shard_4', - '110006': 'quark_devnet_shard_5', - '110007': 'quark_devnet_shard_6', - '110008': 'quark_devnet_shard_7', - '110011': 'quark_l2_testnet', - '110110': 'mars_credit', - '111000': 'siberium_test', - '111111': 'siberium', - '111188': 're.al', - '112358': 'meta_one', - '119139': 'metadap_enterprise_testnet', - '123321': 'gem', - '123456': 'adil_devnet', - '128123': 'etherlink_testnet', - '131313': 'odyssey_testnet', - '131419': 'etnds', - '132902': 'form_testnet', - '141319': 'magape_testnet', - '142857': 'icplaza', - '161212': 'playfi', - '165279': 'eclat', - '167000': 'taiko', - '167004': 'taiko_alpha_2_testnet', - '167005': 'taiko_grimsvotn_l2', - '167006': 'taiko_eldfell_l3', - '167007': 'taiko_jolnir_l2', - '167008': 'taiko_katla_l2', - '167009': 'taiko_hekla_l2', - '168168': 'zs', - '171000': 'fair_testnet', - '175177': 'chronicle_lit_protocol_testnet', - '175188': 'chronicle_yellowstone_lit_protocol_testnet', - '188710': 'bitica', - '188881': 'condor_test', - '199991': 'mazze_testnet', - '200000': 'xfair.ai_testnet', - '200101': 'milkomeda_c1_testnet', - '200202': 'milkomeda_a1_testnet', - '200625': 'akroma', - '200810': 'bitlayer_testnet', - '200901': 'bitlayer', - '201018': 'alaya', - '201030': 'alaya_dev_testnet', - '201804': 'mythical', - '202020': 'decimal_testnet', - '202105': 'duck_testnet', - '202202': 'bethel_sydney', - '202212': 'x1_devnet', - '202401': 'ymtech_besu_testnet', - '202624': 'jellie', - '204005': 'x1_network', - '205205': 'auroria_testnet', - '210049': 'gitagi_atlas_testnet', - '210425': 'platon', - '212013': 'litentry', - '220315': 'mas', - '221230': 'reap', - '221231': 'reap_testnet', - '222222': 'hydradx', - '222555': 'deepl', - '222666': 'deepl_testnet', - '224168': 'taf_eco', - '224422': 'conet_sebolia_testnet', - '224433': 'conet_holesky', - '229772': 'abyss_protocol', - '230315': 'hashkey_testnetdiscard', - '234666': 'haymo_testnet', - '240515': 'orange_testnet', - '246529': 'artis_sigma1', - '246785': 'artis_testnet_tau1', - '247253': 'saakuru_testnet', - '256256': 'cmp', - '262371': 'eclat_testnet', - '266256': 'gear_zero_testnet', - '271271': 'egoncoin_testnet', - '281121': 'social', - '282828': 'zillion_sepolia_testnet', - '292003': 'cipherem_testnet', - '309075': 'one_world', - '313313': 'saharaai_testnet', - '314159': 'filecoin_calibration_testnet', - '322202': 'parex', - '323213': 'bloom_genesis_testnet', - '327126': 'waba_testnet', - '328527': 'nal', - '330844': 'ttcoin', - '333313': 'bloom_genesis', - '333331': 'aves_testnet', - '333333': 'nativ3_testnet', - '333666': 'oone_testnet', - '333777': 'oone_devnet', - '333888': 'polis_testnet', - '333999': 'polis', - '336655': 'up_testnet', - '336666': 'up', - '355110': 'bitfinity', - '355113': 'bitfinity_testnet', - '360890': 'lavita', - '363636': 'digit_soul_2', - '373737': 'hap_testnet', - '381931': 'metal_c', - '381932': 'metal_tahoe_c', - '404040': 'tipboxcoin', - '413413': 'aie_testnet', - '420420': 'kek', - '420666': 'kek_kektest', - '420692': 'alterium_l2_testnet', - '421611': 'arbitrum_rinkeby', - '421613': 'arbitrum_goerli', - '421614': 'arbitrum_sepolia', - '424242': 'fastex_testnet', - '431140': 'markr_go', - '432201': 'dexalot_subnet_testnet', - '432204': 'dexalot_subnet', - '444444': 'syndr_l3_sepolia', - '444900': 'weelink_testnet', - '471100': 'patex_sepolia_testnet', - '473861': 'ultra_pro', - '474142': 'open', - '486487': 'gobbl_testnet', - '490000': 'autonomys_testnet_nova_domain', - '504441': 'playdapp', - '512512': 'cmp_testnet', - '513100': 'dis', - '526916': 'docoin_community', - '534351': 'scroll_sepolia_testnet', - '534352': 'scroll', - '534353': 'scroll_alpha_testnet', - '534354': 'scroll_pre_alpha_testnet', - '534849': 'shinarium_beta', - '535037': 'beaneco_smart', - '541764': 'overprotocol_testnet', - '552981': 'one_world_testnet', - '555555': 'pentagon_testnet', - '555666': 'eclipse_testnet', - '555888': 'dustboy_iot', - '622277': 'hypra', - '622463': 'atlas', - '641230': 'bear', - '651940': 'all', - '656476': 'open_campus_codex', - '660279': 'xai', - '666666': 'vision_vpioneer_test', - '666888': 'hela_official_runtime_testnet', - '686868': 'won', - '696969': 'galadriel_devnet', - '710420': 'tiltyard_subnet', - '713715': 'sei_devnet', - '721529': 'eram', - '723107': 'tix_testnet', - '743111': 'hemi_sepolia', - '751230': 'bear_testnet', - '752024': 'ternoa_testnet', - '761412': 'miexs_smart', - '764984': 'lamina1_testnet', - '767368': 'lamina1_identity_testnet', - '776877': 'modularium', - '800001': 'octaspace', - '808080': 'biz_testnet', - '808813': 'bob_sepolia', - '810180': 'zklink_nova', - '810181': 'zklink_nova_sepolia_testnet', - '810182': 'zklink_nova_goerli_testnet', - '812397': 'sg_verse', - '820522': 'tsc_testnet', - '827431': 'curve', - '839320': 'prm_testnet', - '840000': 'runevm_testnet', - '846000': '4goodnetwork', - '855456': 'dodao', - '879151': 'blocx', - '888882': 'rexx', - '888888': 'vision', - '900000': 'posi_shard_0', - '910000': 'posi_testnet_shard_0', - '912559': 'astria_evm_dusknet', - '920000': 'posi_devnet_shard_0', - '920001': 'posi_devnet_shard_1', - '923018': 'fncy_testnet', - '955081': 'jono12_subnet', - '955305': 'eluvio_content_fabric', - '978657': 'treasure_ruby', - '984122': 'forma', - '984123': 'forma_sketchpad', - '988207': 'ecrox', - '998899': 'supernet_testnet', - '999999': 'am', - '1100789': 'netmind_testnet', - '1234567': 'sharecle', - '1261120': 'zkatana', - '1313114': 'etho_protocol', - '1313500': 'xerom', - '1337702': 'kintsugi', - '1337802': 'kiln', - '1337803': 'zhejiang', - '1398243': 'automata_testnet', - '1398244': 'automata_orbit_testnet', - '1612127': 'playfi_albireo_testnet', - '1637450': 'xterio_testnet', - '1731313': 'turkey_demo_dev', - '2021398': 'debank_testnet', - '2099156': 'plian_main', - '2206132': 'platon_dev_testnet2', - '2611555': 'dpu', - '2702128': 'xterio', - '3132023': 'saharaai', - '3141592': 'filecoin_butterfly_testnet', - '3397901': 'funki_sepolia_sandbox', - '3441005': 'manta_pacific_testnet', - '3441006': 'manta_pacific_sepolia_testnet', - '4000003': 'altlayer_zero_gas', - '4281033': 'worlds_caldera', - '4444444': 'altar_testnet', - '4457845': 'zero_testnet_sepolia', - '5112023': 'numblock', - '5167003': 'mxc_wannsee_zkevm_testnet', - '5167004': 'moon_geneva_testnet', - '5201420': 'electroneum_testnet', - '5318008': 'reactive_kopli', - '5555555': 'imversed', - '5555558': 'imversed_testnet', - '6038361': 'astar_zkyoto', - '6666665': 'safeanwang', - '6666666': 'safeanwang_testnet', - '7082400': 'coti_testnet', - '7225878': 'saakuru', - '7355310': 'openvessel', - '7668378': 'ql1_testnet', - '7762959': 'musicoin', - '7777777': 'zora', - '8007736': 'plian_sub_1', - '8008135': 'fhenix_helium', - '8080808': 'hokum', - '8601152': 'waterfall_8_test', - '8794598': 'hap', - '8888881': 'quarix_testnet', - '8888888': 'quarix', - '9322252': 'xcap', - '9322253': 'milvine', - '9999999': 'fluence', - '10067275': 'plian_testnet_sub_1', - '10101010': 'soverun', - '10241024': 'alienx', - '10241025': 'alienx_hal_testnet', - '11145513': 'blessnet_sepolia', - '11155111': 'sepolia', - '11155420': 'op_sepolia_testnet', - '12052024': 'memento_testnet', - '12227331': 'neox_testnet_t3', - '12227332': 'neo_x_testnet_t4', - '13068200': 'coti_devnet', - '13371337': 'pep_churchill', - '14288640': 'andus', - '16658437': 'plian_testnet_main', - '18071918': 'mande', - '18289463': 'iolite', - '19850818': 'deepbrain_testnet', - '19880818': 'deepbrain', - '20180427': 'stability_testnet', - '20180430': 'smartmesh', - '20181205': 'quarkblock', - '20201022': 'pego', - '20230825': 'vcity_testnet', - '20240324': 'debank_sepolia_testnet', - '20240603': 'dbk', - '20241133': 'swan_proxima_testnet', - '20482050': 'hokum_testnet', - '22052002': 'excelon', - '24772477': '6degree_of_outreach_testnet', - '27082017': 'excoincial_volta_testnet', - '27082022': 'excoincial', - '28122024': 'ancient8_testnet', - '28945486': 'auxilium', - '29032022': 'fla', - '31415926': 'filecoin_local_testnet', - '33626250': 'toliman_suave_testnet', - '35855456': 'joys_digital', - '37084624': 'skale_nebula_hub_testnet', - '39916801': 'kingdom', - '43214913': 'maistestsubnet', - '52164803': 'fluence_testnet', - '61717561': 'aqua', - '65010000': 'autonity_bakerloo_thames_testnet', - '65010001': 'autonity_bakerloo_barada_testnet', - '65010002': 'autonity_bakerloo_sumida_testnet', - '65010003': 'autonity_bakerloo_yamuna_testnet', - '65100000': 'autonity_piccadilly_thames_testnet', - '65100001': 'autonity_piccadilly_barada_testnet', - '65100002': 'autonity_piccadilly_sumida_testnet', - '65100003': 'autonity_piccadilly_yamuna_testnet', - '68840142': 'frame_testnet', - '77787778': '0xhash_testnet', - '79479957': 'sx_toronto_rollup', - '88558801': 'backstop_testnet', - '88888888': 't.e.a.m_block', - '94204209': 'polygon_blackberry', - '99415706': 'joys_digital_testnet', - '100000000': 'ethos', - '108160679': 'orai', - '111557560': 'cyber_testnet', - '123420111': 'op_celestia_raspberry', - '161221135': 'plume_testnet', - '168587773': 'blast_sepolia_testnet', - '192837465': 'gather', - '222000222': 'kanazawa', - '245022926': 'neon_evm_devnet', - '245022929': 'neon_evm_devnet_rollup', - '245022934': 'neon_evm', - '245022940': 'neon_evm_testnet', - '278611351': 'razor_skale', - '311752642': 'oneledger', - '328527624': 'nal_sepolia_testnet', - '333000333': 'meld', - '356256156': 'gather_testnet', - '476462898': 'skopje_testnet', - '486217935': 'gather_devnet', - '531050104': 'sophon_testnet', - '666666666': 'degen', - '728126428': 'tron', - '888888888': 'ancient8', - '889910245': 'ptcescan_testnet', - '889910246': 'ptcescan', - '974399131': 'skale_calypso_hub_testnet', - '999999999': 'zora_sepolia_testnet', - '1020352220': 'skale_titan_hub_testnet', - '1122334455': 'ipos', - '1146703430': 'cyberdecknet', - '1273227453': 'human_protocol', - '1313161554': 'aurora', - '1313161555': 'aurora_testnet', - '1313161556': 'aurora_betanet', - '1313161560': 'powergold', - '1350216234': 'skale_titan_hub', - '1351057110': 'chaos_skale_testnet', - '1380012617': 'rari', - '1380996178': 'raptor', - '1444673419': 'skale_europa_hub_testnet', - '1482601649': 'skale_nebula_hub', - '1511670449': 'gpt', - '1564830818': 'skale_calypso_hub', - '1666600000': 'harmony_shard_0', - '1666600001': 'harmony_shard_1', - '1666600002': 'harmony_shard_2', - '1666600003': 'harmony_shard_3', - '1666700000': 'harmony_testnet_shard_0', - '1666700001': 'harmony_testnet_shard_1', - '1666900000': 'harmony_devnet_shard_0', - '1666900001': 'harmony_devnet_shard_1', - '1722641160': 'silicon_zkevm_sepolia_testnet', - '1802203764': 'kakarot_sepolia', - '1903648807': 'gemu_testnet', - '1918988905': 'rari_testnet', - '2021121117': 'datahopper', - '2046399126': 'skale_europa_hub', - '3125659152': 'pirl', - '4216137055': 'oneledger_testnet_frankenstein', - '11297108099': 'palm_testnet', - '28872323069': 'gitswarm_test', - '37714555429': 'xai_testnet_v2', - '88153591557': 'arbitrum_blueberry', - '111222333444': 'alphabet', - '111551119090': 'thanos_sepolia', - '123420000220': 'fluence_stage', - '197710212030': 'ntity', - '197710212031': 'haradev_testnet', - '202402181627': 'gm_testnet', - '383414847825': 'zeniq', - '666301171999': 'pdc', - '6022140761023': 'molereum', - '2713017997578000': 'd_testnet', -} diff --git a/python/mesc/network_utils.py b/python/mesc/network_utils.py deleted file mode 100644 index cf7e13e..0000000 --- a/python/mesc/network_utils.py +++ /dev/null @@ -1,64 +0,0 @@ -from __future__ import annotations - -import typing -from . import network_names - -if typing.TYPE_CHECKING: - from .types import RpcConfig - - -def is_chain_id(chain_id: str) -> bool: - """return True if input is a valid chain_id""" - if chain_id.isdecimal(): - return True - elif chain_id.startswith('0x'): - try: - int(chain_id, 16) - return True - except ValueError: - return False - else: - return False - - -def network_name_to_chain_id( - network_name: str, *, config: RpcConfig | None = None -) -> str | None: - """return chain_id of given network name""" - network_name = network_name.lower() - if config is not None and network_name in config['network_names']: - return config['network_names'][network_name] - else: - for chain_id, chain_id_name in network_names.network_names.items(): - if network_name == chain_id_name: - return chain_id - else: - return None - - -def chain_id_to_standard_hex(chain_id: str) -> str | None: - if chain_id.startswith('0x'): - if len(chain_id) > 2: - as_hex = chain_id - else: - try: - as_hex = hex(int(chain_id)) - except ValueError: - return None - - return '0x' + as_hex[2:].lstrip('0') - - -T = typing.TypeVar('T') - - -def get_by_chain_id(mapping: typing.Mapping[str, T], chain_id: str) -> T | None: - if chain_id in mapping: - return mapping[chain_id] - - standard_mapping = {chain_id_to_standard_hex(k): v for k, v in mapping.items()} - return standard_mapping.get(chain_id_to_standard_hex(chain_id)) - - -def chain_ids_equal(lhs: str, rhs: str) -> bool: - return chain_id_to_standard_hex(lhs) == chain_id_to_standard_hex(rhs) diff --git a/python/mesc/overrides.py b/python/mesc/overrides.py deleted file mode 100644 index bb7a632..0000000 --- a/python/mesc/overrides.py +++ /dev/null @@ -1,314 +0,0 @@ -from __future__ import annotations - -import copy -import json -import os -import re -import typing - -from . import interface, network_utils, exceptions - -if typing.TYPE_CHECKING: - from typing_extensions import Any, Mapping, MutableMapping - from .types import RpcConfig, Endpoint, Profile - - -def apply_env_overrides(config: RpcConfig | None) -> RpcConfig: - """apply overrides to config""" - - if config is not None: - config = copy.deepcopy(config) - else: - config = { - 'mesc_version': '1.0', - 'default_endpoint': None, - 'network_defaults': {}, - 'network_names': {}, - 'endpoints': {}, - 'profiles': {}, - 'global_metadata': {}, - } - - # add override endpoints - for name, endpoint in env_endpoints().items(): - if name in config['endpoints']: - if endpoint['url'] is not None: - config['endpoints'][name]['url'] = endpoint['url'] - if endpoint['chain_id'] is not None: - config['endpoints'][name]['chain_id'] = endpoint['chain_id'] - for key, value in endpoint['endpoint_metadata'].items(): - config['endpoints'][name]['endpoint_metadata'][key] = value - else: - config['endpoints'][name] = endpoint - - # add override network names - config['network_names'].update(env_network_names()) - - # add override network defaults - for chain_id, endpoint_name in env_network_defaults().items(): - if endpoint_name == '': - if chain_id in config['network_defaults']: - del config['network_defaults'][chain_id] - else: - config['network_defaults'][chain_id] = endpoint_name - - # add override profiles - config['profiles'].update(env_profiles()) - - # add override default endpoint - default_endpoint = env_default_endpoint(config) - if default_endpoint is not None: - config['default_endpoint'] = default_endpoint - - # add override global metadata - config['global_metadata'].update(env_global_metadata()) - - # add override endpoint metadata - for endpoint_name, metadata in env_endpoint_metadata().items(): - config['endpoints'][endpoint_name]['endpoint_metadata'].update(metadata) - - return config - - -def env_default_endpoint(config: RpcConfig) -> str | None: - """get override default endpoint""" - # load from environment - default_endpoint = os.environ.get('MESC_DEFAULT_ENDPOINT') - if default_endpoint is None or default_endpoint == '': - return None - - if default_endpoint in config['endpoints']: - # if endpoint already exists, use it - return default_endpoint - elif default_endpoint.isdecimal(): - # if endpoint is a number, use network default as global default - chain_id = default_endpoint - elif default_endpoint in config['network_names']: - # if endpoint is a network name, use network default as global default - chain_id = config['network_names'][default_endpoint] - else: - # otherwise, try to use override value as a network name - maybe_chain_id = network_utils.network_name_to_chain_id( - default_endpoint, config=config - ) - if maybe_chain_id is None: - raise exceptions.InvalidOverride( - 'Invalid syntax used for MESC_DEFAULT_ENDPOINT' - ) - else: - chain_id = maybe_chain_id - - endpoint = interface.get_endpoint_by_network(chain_id, config=config) - if endpoint is not None: - return endpoint['name'] - else: - # try using as implicit endpoint url here - raise exceptions.InvalidOverride('Invalid value used for MESC_DEFAULT_ENDPOINT') - - -def env_network_defaults() -> Mapping[str, str]: - """get override network defaults""" - network_defaults = os.environ.get('MESC_NETWORK_DEFAULTS') - if network_defaults is None or network_defaults == '': - return {} - try: - items = [item.split('=', 1) for item in network_defaults.split(' ')] - return {network: endpoint for network, endpoint in items} - except Exception: - raise exceptions.InvalidOverride( - 'Invalid syntax used for MESC_NETWORK_DEFAULTS' - ) - - -def env_network_names() -> Mapping[str, str]: - """get override network names""" - network_names = os.environ.get('MESC_NETWORK_NAMES') - if network_names is None or network_names == '': - return {} - - if network_names.startswith('{'): - try: - value = json.loads(network_names) - except json.JSONDecodeError: - raise exceptions.InvalidOverride( - 'Invalid syntax used for MESC_NETWORK_NAMES' - ) - if isinstance(value, dict) and all( - isinstance(k, str) and isinstance(v, str) for k, v in value.items() - ): - return value - else: - raise exceptions.InvalidOverride( - 'Invalid syntax used for MESC_NETWORK_NAMES' - ) - else: - try: - pairs = [item.split('=') for item in network_names.split(' ')] - return {key: value for key, value in pairs} - except Exception: - raise exceptions.InvalidOverride( - 'Invalid syntax used for MESC_NETWORK_NAMES' - ) - - -def env_endpoints() -> Mapping[str, Endpoint]: - """get override endpoints""" - endpoints: MutableMapping[str, Endpoint] = {} - - # get override - raw_endpoints = os.environ.get('MESC_ENDPOINTS') - if raw_endpoints is None or raw_endpoints == '': - return endpoints - - # gather explicit endpoints - pattern = r'^(?:(?P[A-Za-z_-]+)(?::(?P\w+))?=\s*)?(?P\S+)$' - for item in raw_endpoints.split(' '): - match = re.match(pattern, item) - if match: - chain_id = match.group('chain_id') - url = match.group('url') - name = match.group('name') - if name is None: - from urllib.parse import urlparse - - if not urlparse(url).scheme: - name = urlparse('http://' + url).hostname - else: - name = urlparse(url).hostname - if name is None: - raise Exception('could create name for endpoint') - name = '.'.join(name.split('.')[:-1]) - - endpoints[name] = { - 'name': name, - 'url': url, - 'chain_id': chain_id, - 'endpoint_metadata': {}, - } - else: - raise exceptions.InvalidOverride('Invalid syntax used for MESC_ENDPOINTS') - - # add implicit endpoints - # implicit_endpoints = _collect_implicit_endpoints() - # for endpoint_name, endpoint in implicit_endpoint.items(): - # endpoints[name] = endpoint - - # change - - return endpoints - - -def _collect_implicit_endpoints( - # endpoints: Mapping[str, Endpoint] -) -> Mapping[str, Endpoint]: - """implicit endpoints are those defined only by a url - - can be in MESC_DEFAULT_ENDPOINT, MESC_NETWORK_DEFAULTS, or MESC_PROFILES - - implicit endpoints do not have a chain_id - - if an endpoint already exists with that url, just use that endpoint - """ - raw_endpoints: list[str] = [] - - # global default - default_endpoint = os.environ.get('MESC_DEFAULT_ENDPOINT') - if default_endpoint is not None: - raw_endpoints.append(default_endpoint) - - # env defaults - network_defaults = env_network_defaults() - for network, endpoint in network_defaults.items(): - raw_endpoints.append(endpoint) - - # profile defaults - profiles = env_profiles() - for name, profile in profiles.items(): - profile_default = profile['default_endpoint'] - if profile_default is not None: - raw_endpoints.append(profile_default) - for chain_id, endpoint_name in profile['network_defaults'].items(): - raw_endpoints.append(endpoint_name) - - # # process raw endpoints - endpoints: Mapping[str, Endpoint] = {} - # for endpoint in raw_endpoints: - # if _is_url(endpoint): - # pass - - return endpoints - - -def env_profiles() -> Mapping[str, Profile]: - """get profile overrides""" - raw_profiles = os.environ.get('MESC_PROFILES') - if raw_profiles is None or raw_profiles == '': - return {} - - profiles: MutableMapping[str, Profile] = {} - for item in raw_profiles.split(' '): - try: - key, value = item.split('=') - except ValueError: - raise Exception('invalid value for MESC_PROFILES') - subkeys = key.split('.') - profiles.setdefault( - subkeys[0], - { - 'name': subkeys[0], - 'default_endpoint': None, - 'network_defaults': {}, - 'profile_metadata': {}, - 'use_mesc': True, - }, - ) - if len(subkeys) == 2 and subkeys[1] == 'default_endpoint': - profiles[subkeys[0]]['default_endpoint'] = value - elif len(subkeys) == 3 and subkeys[1] == 'network_defaults': - name, _, network = subkeys - profiles[name]['network_defaults'][network] = value - else: - raise Exception('invalid value for MESC_PROFILES') - - return profiles - - -def env_global_metadata() -> Mapping[str, Any]: - """get gloabl metadata override""" - # load env override - global_metadata = os.environ.get('MESC_GLOBAL_METADATA') - if global_metadata is None or global_metadata == '': - return {} - - # parse as JSON - try: - value = json.loads(global_metadata) - except json.JSONDecodeError: - raise Exception('invalid value for MESC_GLOBAL_METADATA') - - # validate content - if isinstance(value, dict) and all(isinstance(k, str) for k in value.keys()): - return value - else: - raise Exception('invalid value for MESC_GLOBAL_METADATA') - - -def env_endpoint_metadata() -> Mapping[str, Mapping[str, Any]]: - """get endpoint metadata overrides""" - # load env override - endpoint_metadata = os.environ.get('MESC_ENDPOINT_METADATA') - if endpoint_metadata is None or endpoint_metadata == '': - return {} - - # parse as JSON - try: - value = json.loads(endpoint_metadata) - except json.JSONDecodeError: - raise Exception('invalid value for MESC_ENDPOINT_METADATA') - - if isinstance(value, dict) and all( - isinstance(k, str) - and isinstance(v, dict) - and all(isinstance(subk, str) for subk in v.keys()) - for k, v in value.items() - ): - return value - else: - raise Exception('invalid value for MESC_ENDPOINT_METADATA') diff --git a/python/mesc/py.typed b/python/mesc/py.typed deleted file mode 100644 index e69de29..0000000 diff --git a/python/mesc/types.py b/python/mesc/types.py deleted file mode 100644 index 58fa905..0000000 --- a/python/mesc/types.py +++ /dev/null @@ -1,131 +0,0 @@ -from __future__ import annotations - -import typing - -if typing.TYPE_CHECKING: - from typing_extensions import Any, MutableMapping, TypedDict, Literal - - -mesc_env_vars = [ - 'MESC_MODE', - 'MESC_PATH', - 'MESC_ENV', - 'MESC_ENDPOINT_METADATA', - 'MESC_GLOBAL_METADATA', - 'MESC_ENDPOINTS', - 'MESC_NETWORK_NAMES', - 'MESC_DEFAULT_ENDPOINT', - 'MESC_NETWORK_DEFAULTS', - 'MESC_PROFILES', -] - - -if typing.TYPE_CHECKING: - - class Endpoint(TypedDict): - name: str - url: str - chain_id: str | None - endpoint_metadata: MutableMapping[str, Any] - - class Profile(TypedDict): - name: str - default_endpoint: str | None - network_defaults: MutableMapping[str, str] - profile_metadata: MutableMapping[str, Any] - use_mesc: bool - - class RpcConfig(TypedDict): - mesc_version: str - default_endpoint: str | None - endpoints: MutableMapping[str, Endpoint] - network_defaults: MutableMapping[str, str] - network_names: MutableMapping[str, str] - profiles: MutableMapping[str, Profile] - global_metadata: MutableMapping[str, Any] - - -endpoint_types: dict[str, type | tuple[type, ...]] = { - 'name': str, - 'url': str, - 'chain_id': (str, type(None)), - 'endpoint_metadata': dict, -} - -profile_types: dict[str, type | tuple[type, ...]] = { - 'name': str, - 'default_endpoint': (str, type(None)), - 'network_defaults': dict, - 'profile_metadata': dict, - 'use_mesc': bool, -} - -rpc_config_types: dict[str, type | tuple[type, ...]] = { - 'mesc_version': str, - 'default_endpoint': (str, type(None)), - 'endpoints': dict, - 'network_defaults': dict, - 'network_names': dict, - 'profiles': dict, - 'global_metadata': dict, -} - -# -# # query types -# - -if typing.TYPE_CHECKING: - - class EndpointQuery(TypedDict): - query_type: Literal[ - 'default_endpoint', - 'endpoint_by_name', - 'endpoint_by_network', - 'user_input', - ] - fields: ( - DefaultEndpointQuery - | EndpointNameQuery - | EndpointNetworkQuery - | UserInputQuery - ) - - class DefaultEndpointQuery(TypedDict): - profile: str | None - - class EndpointNameQuery(TypedDict): - name: str - - class EndpointNetworkQuery(TypedDict): - profile: str | None - chain_id: str | int - - class UserInputQuery(TypedDict): - profile: str | None - user_input: str - - class MultiEndpointQuery(TypedDict, total=False): - name_contains: str | None - url_contains: str | None - chain_id: str | int | None - - class GlobalMetadataQuery(TypedDict, total=False): - profile: str | None - - class MescQuery(TypedDict): - query_type: Literal[ - 'default_endpoint', - 'endpoint_by_name', - 'endpoint_by_network', - 'user_input', - 'multi_endpoint', - 'global_metadata', - ] - fields: ( - DefaultEndpointQuery - | EndpointNameQuery - | EndpointNetworkQuery - | UserInputQuery - | MultiEndpointQuery - | GlobalMetadataQuery - ) diff --git a/python/mesc/validation.py b/python/mesc/validation.py deleted file mode 100644 index f929db5..0000000 --- a/python/mesc/validation.py +++ /dev/null @@ -1,233 +0,0 @@ -from __future__ import annotations - -import typing - -from .exceptions import InvalidConfig -from .types import rpc_config_types, endpoint_types, profile_types -from . import network_utils - -if typing.TYPE_CHECKING: - from typing import Sequence - from typing_extensions import Any - - -def is_valid(config: Any) -> bool: - try: - validate(config) - return True - except InvalidConfig: - return False - - -def validate(config: Any) -> None: - # all fields present with the correct types - if not isinstance(config, dict): - raise InvalidConfig('RpcConfig must be a dict') - for field, field_type in rpc_config_types.items(): - if field not in config: - raise InvalidConfig('RpcConfig is missing field: ' + str(field)) - value = config[field] - _check_type('RpcConfig', None, field, field_type, value) - if isinstance(value, dict): - _check_str_keys(field, value) - for name, endpoint in config['endpoints'].items(): - for field, field_type in endpoint_types.items(): - if field not in endpoint: - raise InvalidConfig( - 'Endpoint ' + str(name) + ' is missing field: ' + str(field) - ) - value = endpoint[field] - _check_type('Endpoint', name, field, field_type, value) - if isinstance(value, dict): - _check_str_keys(field, value) - for name, profile in config['profiles'].items(): - for field, field_type in profile_types.items(): - if field not in profile: - raise InvalidConfig( - 'Profile ' + str(name) + ' is missing field: ' + str(field) - ) - value = profile[field] - _check_type('Profile', name, field, field_type, value) - if isinstance(value, dict): - _check_str_keys(field, value) - for field in ['network_defaults', 'network_names']: - for value in config[field].values(): - if not isinstance(value, str): - raise InvalidConfig( - 'Entries in ' - + str(field) - + ' must be strings, but there is a value of type ' - + str(type(value)) - ) - for name, profile in config['profiles'].items(): - for field in ['network_defaults', 'network_names']: - for value in config[field].values(): - if not isinstance(value, str): - raise InvalidConfig( - 'Entries in ' - + str(field) - + ' must be strings, but in the profile ' - + name - + ' there is a value of type ' - + str(type(value)) - ) - - # referenced endpoints exit - endpoint = config['default_endpoint'] - if endpoint is not None and endpoint not in config['endpoints']: - raise InvalidConfig( - 'Referenced default_endpoint does not exist: ' + str(endpoint) - ) - for endpoint in config['network_defaults'].values(): - if endpoint not in config['endpoints']: - raise InvalidConfig( - 'Referenced endpoint in network_defaults does not exist: ' - + str(endpoint) - ) - for name, profile in config['profiles'].items(): - endpoint = profile['default_endpoint'] - if endpoint is not None and endpoint not in config['endpoints']: - raise InvalidConfig( - 'In profile ' - + name - + ' referenced endpoint does not exist: ' - + str(endpoint) - ) - for endpoint in profile['network_defaults'].values(): - if endpoint not in config['endpoints']: - raise InvalidConfig( - 'In profile ' - + name - + ' referenced endpoint does not exist: ' - + str(endpoint) - ) - - # default endpoints of each network actually use that specified network - for chain_id, endpoint_name in config['network_defaults'].items(): - if not network_utils.chain_ids_equal( - chain_id, config['endpoints'][endpoint_name]['chain_id'] - ): - raise InvalidConfig( - 'Endpoint is set as the default endpoint of network ' - + chain_id - + ", but the endpoint's chain_id is different " - + config['endpoints'][endpoint_name]['chain_id'] - ) - for profile_name, profile in config['profiles'].items(): - for chain_id, endpoint_name in profile['network_defaults'].items(): - if not network_utils.chain_ids_equal( - chain_id, config['endpoints'][endpoint_name]['chain_id'] - ): - raise InvalidConfig( - 'Endpoint is set as the default endpoint of network ' - + chain_id - + ' in profile ' - + profile_name - + ", but the endpoint's chain_id is different " - + config['endpoints'][endpoint_name]['chain_id'] - ) - - # endpoint map keys match endpoint name fields - for endpoint_name, endpoint in config['endpoints'].items(): - if endpoint['name'] != endpoint_name: - raise InvalidConfig( - 'Endpoint does not match endpoint mapping key: ' - + endpoint['name'] - + ' != ' - + endpoint_name - ) - - # profile map keys match profile name fields - for profile_name, profile in config['profiles'].items(): - if profile['name'] != profile_name: - raise InvalidConfig( - 'Profile does not match profile mapping key: ' - + profile['name'] - + ' != ' - + profile_name - ) - - # chain_id's are valid - for chain_id in config['network_defaults'].keys(): - if not network_utils.is_chain_id(chain_id): - raise Exception( - 'Invalid chain_id used in network_defaults: ' + str(chain_id) - ) - for profile_name, profile in config['profiles'].items(): - for chain_id in profile['network_defaults'].keys(): - if not network_utils.is_chain_id(chain_id): - raise Exception( - 'Invalid chain_id used in profile ' - + profile_name - + ' network_defaults: ' - + str(chain_id) - ) - for endpoint in config['endpoints'].values(): - chain_id = endpoint['chain_id'] - if chain_id is not None and not network_utils.is_chain_id(chain_id): - raise Exception( - 'Invalid chain_id used in endpoint ' - + endpoint['name'] - + ': ' - + str(chain_id) - ) - - # no duplicate default network entries using decimal vs hex - ensure_no_chain_id_collisions( - list(config['network_defaults'].keys()), 'network defaults' - ) - for profile_name, profile in config['profiles'].items(): - ensure_no_chain_id_collisions( - list(config['network_defaults'].keys()), 'profile ' + profile_name - ) - - -def ensure_no_chain_id_collisions(chain_ids: Sequence[str], name: str) -> None: - hex_numbers = set() - for chain_id in chain_ids: - as_hex = network_utils.chain_id_to_standard_hex(chain_id) - if as_hex in hex_numbers: - raise Exception( - 'chain_id collision, ' - + str(name) - + ' has multiple decimal/hex values for chain_id: ' - + str(chain_id) - ) - else: - hex_numbers.add(as_hex) - - -def _check_type( - datatype: str, - name: str | None, - field: str, - field_type: type | tuple[type, ...], - value: str, -) -> None: - if not isinstance(value, field_type): - if name is not None: - display = datatype + ' ' + name - else: - display = datatype - raise InvalidConfig( - display - + ' invalid type for field: ' - + str(field) - + ', it should have type ' - + str(type(field_type)) - + ' but instead has type ' - + str(type(value)) - ) - - -def _check_str_keys(field: Any, value: Any) -> None: - for key in value.keys(): - if not isinstance(key, str): - raise InvalidConfig( - 'Each key within ' - + field - + ' must be a string, instead ' - + key - + ' is a ' - + str(type(value)) - ) diff --git a/python/pyproject.toml b/python/pyproject.toml deleted file mode 100644 index 94f0de8..0000000 --- a/python/pyproject.toml +++ /dev/null @@ -1,54 +0,0 @@ - -[build-system] -requires = ["flit_core >=3.2,<4"] -build-backend = "flit_core.buildapi" - -[project] -name = "mesc" -readme = "README.md" -requires-python = ">=3.7" -dynamic = ["version", "description"] -license = {text = "MIT OR Apache-2.0"} -classifiers = [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Intended Audience :: Financial and Insurance Industry", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: Apache Software License", - "License :: OSI Approved :: MIT License", - "Natural Language :: English", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", - "Operating System :: POSIX :: Linux", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Typing :: Typed", -] -dependencies = [] - -[project.urls] -Documentation = "https://github.com/paradigmxyz/mesc" -Source = "https://github.com/paradigmxyz/mesc" - -[project.optional-dependencies] -test = [ - "typing-extensions >=4.9.0", -] - -[tool.mypy] -python_version = "3.9" -strict = true -implicit_reexport = true -files = ["mesc", "generate_network_names.py"] - -[tool.pytest.ini_options] -testpaths = [ - "tests", -] - -[tool.ruff.format] -quote-style = "single" diff --git a/queries.html b/queries.html new file mode 100644 index 0000000..f5ce9d1 --- /dev/null +++ b/queries.html @@ -0,0 +1,247 @@ + + + + + + Queries - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Querying MESC data

+

Each MESC implementation provides the same set of 7 functions for querying MESC data.

+

The behavior of these functions is the same across languages.

+
+ + + + + + + +
functionoutput typedescriptionexample call
is_mesc_enabled()boolreturn whether MESC is enabledis_mesc_enabled()
get_default_endpoint()Endpoint or Noneget default MESC endpointget_default_endpoint(profile='xyz')
get_endpoint_by_network()Endpoint or Noneget default endpoint for networkget_endpoint_by_network(5, profile='xyz')
get_endpoint_by_name()Endpoint or Noneget endpoint by nameget_endpoint_by_name('local_goerli')
get_endpoint_by_query()Endpoint or Noneget endpoint for user input queryget_endpoint_by_query(user_str, profile='xyz')
find_endpoints()Sequence[Endpoint]find endpoint that match input criteriafind_endpoints(chain_id=5)
get_global_metadata()Mapping[str, Any]get non-endpoint metadataget_global_metadata(profile='xyz')
+
+

The profile argument is optional for each function (it allows users to customize the settings for each tool, see Profiles for details).

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/quickstart.html b/quickstart.html new file mode 100644 index 0000000..1b8f0f8 --- /dev/null +++ b/quickstart.html @@ -0,0 +1,281 @@ + + + + + + Quickstart - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Quickstart

+

The quickest way to use MESC is

+
    +
  1. create a mesc.json config file
  2. +
  3. set the MESC_PATH environment variable to the path of this file
  4. +
+

Creating a config file

+

You can create a mesc.json by one of two ways:

+
    +
  1. use the interactive MESC cli tool (install using cargo install mesc_cli and run mesc setup)
  2. +
  3. modify the template below:
  4. +
+
{
+    "mesc_version": "MESC 1.0",
+    "default_endpoint": "local_ethereum",
+    "network_defaults": {
+        "1": "local_ethereum"
+    },
+    "network_names": {},
+    "endpoints": {
+        "local_ethereum": {
+            "name": "local_ethereum",
+            "url": "http://localhost:8545",
+            "chain_id": "1",
+            "endpoint_metadata": {}
+        }
+    },
+    "profiles": {
+        "xyz": {
+            "name": "xyz",
+            "default_endpoint": "local_ethereum",
+            "network_defaults": {
+                "1": "local_ethereum"
+            },
+            "profile_metadata": {},
+            "use_mesc": true
+        }
+    },
+    "global_metadata": {}
+}
+
+

The structure of the config must follow the MESC specification.

+

Installing the mesc cli on some linux distributions may require installing ssl libraries (e.g. sudo apt-get install pkg-config libssl-dev on ubunutu)

+

Setting environment variables

+

The typical way to set environment variables is in your shell configuration files: ~/.bashrc, ~.profile, and/or ~/.bash_profile. Including this line in those files will enable MESC:

+
export MESC_PATH=/path/to/your/mesc.json
+
+

You can avoid editing these files yourself by running the MESC setup tool (mesc setup) as specified above. It will give you the option to automatically edit your shell files.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/roadmap.html b/roadmap.html new file mode 100644 index 0000000..9f95d5e --- /dev/null +++ b/roadmap.html @@ -0,0 +1,236 @@ + + + + + + Roadmap - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Roadmap

+

Once the MESC specification reaches version 1.0, it will become ossified forever. This will maximize forward- and backward-compatibility between MESC integrations. Client libraries for reading or writing MESC configurations might continue development, but the underlying MESC specification will not change.

+

MESC currently has implementations for CLI, python, and rust. Implementations for go and typescript are coming soon. If there is another language you have interest in bringing MESC to an additional programming language or environment, feel free to share on the issue tracker.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/rust.html b/rust.html new file mode 100644 index 0000000..3ff0f7b --- /dev/null +++ b/rust.html @@ -0,0 +1,321 @@ + + + + + + Rust - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Rust MESC Implementation

+

This is a reference rust implementation of the MESC standard.

+

The crates/mesc crate contains rust libraries for reading, writing, and validating MESC configurations.

+

The crates/mesc_cli crate is a tool for reading, writing, and validating MESC from the command line. See CLI for details.

+

Contents

+ +

Installation

+

Inside a cargo project: cargo add mesc

+

Inside a Cargo.toml: mesc = "0.2.1"

+

Example Usage

+

Basic data structures

+
#![allow(unused)]
+fn main() {
+#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct RpcConfig {
+    pub mesc_version: String,
+    pub default_endpoint: Option<String>,
+    pub endpoints: HashMap<String, Endpoint>,
+    pub network_defaults: HashMap<ChainId, String>,
+    pub network_names: HashMap<String, ChainId>,
+    pub profiles: HashMap<String, Profile>,
+    pub global_metadata: HashMap<String, serde_json::Value>,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct Endpoint {
+    pub name: String,
+    pub url: String,
+    pub chain_id: Option<ChainId>,
+    pub endpoint_metadata: HashMap<String, serde_json::Value>,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone)]
+pub struct Profile {
+    pub name: String,
+    pub default_endpoint: Option<String>,
+    pub network_defaults: HashMap<ChainId, String>,
+    pub profile_metadata: HashMap<String, serde_json::Value>,
+    pub use_mesc: bool,
+}
+
+#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq, Hash)]
+pub struct ChainId(String);
+}
+

Basic read functions

+
#![allow(unused)]
+fn main() {
+use mesc::{MescError, Endpoint};
+use std::collections::HashMap;
+
+type OptionalResult = Result<Option<Endpoint>, MescError>;
+type MultiResult = Result<Vec<Endpoint>, MescError>;
+type MetadataResult = Result<HashMap<String, serde_json::Value>, MescError>;
+
+// check whether mesc is enabled
+let enabled: bool = mesc::is_mesc_enabled();
+
+// get the default endpoint
+let endpoint: OptionalResult = mesc::get_default_endpoint(None);
+
+// get the default endpoint of a network
+let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", None);
+
+// get the default network for a particular tool
+let chain_id: OptionalResult = mesc::get_default_endpoint(Some("xyz_tool"));
+
+// get the default endpoint of a network for a particular tool
+let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", Some("xyz_tool"));
+
+// get an endpoint by name
+let endpoint: OptionalResult = mesc::get_endpoint_by_name("local_goerli");
+
+// parse a user-provided string into a matching endpoint
+// (first try 1. endpoint name, then 2. chain id, then 3. network name)
+let user_str = "local_goerli";
+let endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some("xyz_tool"));
+
+// find all endpoints matching given criteria
+let query = mesc::MultiEndpointQuery::new().chain_id("5").unwrap();
+let endpoints: MultiResult = mesc::find_endpoints(query);
+
+// get non-endpoint metadata
+let metadata: MetadataResult  = mesc::get_global_metadata(Some("xyz_tool"));
+}
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/rust/Cargo.lock b/rust/Cargo.lock deleted file mode 100644 index a428cd8..0000000 --- a/rust/Cargo.lock +++ /dev/null @@ -1,3505 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" -dependencies = [ - "cfg-if", - "getrandom", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "alloc-no-stdlib" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" - -[[package]] -name = "alloc-stdlib" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" -dependencies = [ - "alloc-no-stdlib", -] - -[[package]] -name = "allocator-api2" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "ansi_colours" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14eec43e0298190790f41679fe69ef7a829d2a2ddd78c8c00339e84710e435fe" -dependencies = [ - "rgb", -] - -[[package]] -name = "anstream" -version = "0.6.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is_terminal_polyfill", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" - -[[package]] -name = "anstyle-parse" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" -dependencies = [ - "anstyle", - "windows-sys 0.52.0", -] - -[[package]] -name = "argminmax" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52424b59d69d69d5056d508b260553afd91c57e21849579cd1f50ee8b8b88eaa" -dependencies = [ - "num-traits", -] - -[[package]] -name = "array-init-cursor" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7d0a018de4f6aa429b9d33d69edf69072b1c5b1cb8d3e4a5f7ef898fc3eb76" - -[[package]] -name = "arrow-format" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07884ea216994cdc32a2d5f8274a8bee979cfe90274b83f86f440866ee3132c7" -dependencies = [ - "planus", - "serde", -] - -[[package]] -name = "async-stream" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" -dependencies = [ - "async-stream-impl", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "async-trait" -version = "0.1.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "atoi" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" -dependencies = [ - "num-traits", -] - -[[package]] -name = "atoi_simd" -version = "0.15.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ae037714f313c1353189ead58ef9eec30a8e8dc101b2622d461418fd59e28a9" - -[[package]] -name = "autocfg" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" - -[[package]] -name = "backtrace" -version = "0.3.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets 0.52.6", -] - -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "bat" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dcc9e5637c2330d8eb7b920f2aa5d9e184446c258466f825ea1412c7614cc86" -dependencies = [ - "ansi_colours", - "bincode", - "bugreport", - "bytesize", - "clap", - "clircle", - "console", - "content_inspector", - "encoding_rs", - "etcetera", - "flate2", - "git2", - "globset", - "grep-cli", - "home", - "nu-ansi-term 0.49.0", - "once_cell", - "path_abs", - "plist", - "regex", - "semver", - "serde", - "serde_yaml", - "shell-words", - "syntect", - "thiserror", - "unicode-width", - "walkdir", - "wild", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" - -[[package]] -name = "brotli" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", - "brotli-decompressor", -] - -[[package]] -name = "brotli-decompressor" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", -] - -[[package]] -name = "bstr" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" -dependencies = [ - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "bugreport" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "535120b8182547808081a66f1f77a64533c780b23da26763e0ee34dfb94f98c9" -dependencies = [ - "git-version", - "shell-escape", - "sys-info", -] - -[[package]] -name = "bumpalo" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[package]] -name = "bytemuck" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" -dependencies = [ - "bytemuck_derive", -] - -[[package]] -name = "bytemuck_derive" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc8b54b395f2fcfbb3d90c47b01c7f444d94d05bdeb775811dec868ac3bbc26" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "bytes" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" - -[[package]] -name = "bytesize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" - -[[package]] -name = "cc" -version = "1.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476" -dependencies = [ - "jobserver", - "libc", - "shlex", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "js-sys", - "num-traits", - "wasm-bindgen", - "windows-targets 0.52.6", -] - -[[package]] -name = "clap" -version = "4.5.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap_builder" -version = "4.5.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", - "terminal_size", -] - -[[package]] -name = "clap_derive" -version = "4.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" -dependencies = [ - "heck 0.5.0", - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "clap_lex" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" - -[[package]] -name = "clircle" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e87cbed5354f17bd8ca8821a097fb62599787fe8f611743fad7ee156a0a600" -dependencies = [ - "cfg-if", - "libc", - "serde", - "winapi", -] - -[[package]] -name = "colorchoice" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" - -[[package]] -name = "colored_json" -version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35980a1b846f8e3e359fd18099172a0857140ba9230affc4f71348081e039b6" -dependencies = [ - "serde", - "serde_json", - "yansi", -] - -[[package]] -name = "comfy-table" -version = "7.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" -dependencies = [ - "crossterm 0.27.0", - "strum", - "strum_macros 0.26.4", - "unicode-width", -] - -[[package]] -name = "console" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "unicode-width", - "windows-sys 0.52.0", -] - -[[package]] -name = "content_inspector" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" -dependencies = [ - "memchr", -] - -[[package]] -name = "core-foundation" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" - -[[package]] -name = "crc32fast" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-queue" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" - -[[package]] -name = "crossterm" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" -dependencies = [ - "bitflags 1.3.2", - "crossterm_winapi", - "libc", - "mio 0.8.11", - "parking_lot", - "signal-hook", - "signal-hook-mio", - "winapi", -] - -[[package]] -name = "crossterm" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" -dependencies = [ - "bitflags 2.6.0", - "crossterm_winapi", - "libc", - "parking_lot", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" -dependencies = [ - "winapi", -] - -[[package]] -name = "deranged" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "dyn-clone" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" - -[[package]] -name = "edit" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f364860e764787163c8c8f58231003839be31276e821e2ad2092ddf496b1aa09" -dependencies = [ - "tempfile", - "which", -] - -[[package]] -name = "either" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "encoding_rs" -version = "0.8.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "enum_dispatch" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" -dependencies = [ - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "errno" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "etcetera" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" -dependencies = [ - "cfg-if", - "home", - "windows-sys 0.48.0", -] - -[[package]] -name = "ethnum" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b90ca2580b73ab6a1f724b76ca11ab632df820fd6040c336200d2c1df7b3c82c" - -[[package]] -name = "fallible-streaming-iterator" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" - -[[package]] -name = "fast-float" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95765f67b4b18863968b4a1bd5bb576f732b29a4a28c7cd84c09fa3e2875f33c" - -[[package]] -name = "fastrand" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" - -[[package]] -name = "flate2" -version = "1.0.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "float-cmp" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "foreign_vec" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee1b05cbd864bcaecbd3455d6d967862d446e4ebfc3c2e5e5b9841e53cba6673" - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "futures" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-executor" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "futures-macro" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "futures-sink" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" - -[[package]] -name = "futures-task" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" - -[[package]] -name = "futures-util" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "fuzzy-matcher" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54614a3312934d066701a80f20f15fa3b56d67ac7722b39eea5b4c9dd1d66c94" -dependencies = [ - "thread_local", -] - -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi", - "wasm-bindgen", -] - -[[package]] -name = "gimli" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" - -[[package]] -name = "git-version" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad568aa3db0fcbc81f2f116137f263d7304f512a1209b35b85150d3ef88ad19" -dependencies = [ - "git-version-macro", -] - -[[package]] -name = "git-version-macro" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53010ccb100b96a67bc32c0175f0ed1426b31b655d562898e57325f81c023ac0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "git2" -version = "0.18.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "232e6a7bfe35766bf715e55a88b39a700596c0ccfd88cd3680b4cdb40d66ef70" -dependencies = [ - "bitflags 2.6.0", - "libc", - "libgit2-sys", - "log", - "url", -] - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "globset" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "grep-cli" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47f1288f0e06f279f84926fa4c17e3fcd2a22b357927a82f2777f7be26e4cec0" -dependencies = [ - "bstr", - "globset", - "libc", - "log", - "termcolor", - "winapi-util", -] - -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "halfbrown" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8588661a8607108a5ca69cab034063441a0413a0b041c13618a7dd348021ef6f" -dependencies = [ - "hashbrown", - "serde", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" -dependencies = [ - "ahash", - "allocator-api2", - "rayon", -] - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "http" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" - -[[package]] -name = "httpdate" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[package]] -name = "hyper" -version = "0.14.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows-core", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[package]] -name = "idna" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "indexmap" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "inquire" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fddf93031af70e75410a2511ec04d49e758ed2f26dad3404a934e0fb45cc12a" -dependencies = [ - "bitflags 2.6.0", - "crossterm 0.25.0", - "dyn-clone", - "fuzzy-matcher", - "fxhash", - "newline-converter", - "once_cell", - "unicode-segmentation", - "unicode-width", -] - -[[package]] -name = "ipgeolocate" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03ef02a710095765c2af4fe51101c5177c17f910bb1d0d51aae1589e6da6d6cc" -dependencies = [ - "futures", - "reqwest", - "serde_json", - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "ipnet" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4" - -[[package]] -name = "is_terminal_polyfill" -version = "1.70.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" - -[[package]] -name = "itoa" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "jobserver" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.70" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "lexical-core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46" -dependencies = [ - "lexical-parse-float", - "lexical-parse-integer", - "lexical-util", - "lexical-write-float", - "lexical-write-integer", -] - -[[package]] -name = "lexical-parse-float" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f" -dependencies = [ - "lexical-parse-integer", - "lexical-util", - "static_assertions", -] - -[[package]] -name = "lexical-parse-integer" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9" -dependencies = [ - "lexical-util", - "static_assertions", -] - -[[package]] -name = "lexical-util" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc" -dependencies = [ - "static_assertions", -] - -[[package]] -name = "lexical-write-float" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862" -dependencies = [ - "lexical-util", - "lexical-write-integer", - "static_assertions", -] - -[[package]] -name = "lexical-write-integer" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446" -dependencies = [ - "lexical-util", - "static_assertions", -] - -[[package]] -name = "libc" -version = "0.2.158" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" - -[[package]] -name = "libgit2-sys" -version = "0.16.2+1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8" -dependencies = [ - "cc", - "libc", - "libz-sys", - "pkg-config", -] - -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - -[[package]] -name = "libz-sys" -version = "1.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "linux-raw-sys" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" - -[[package]] -name = "lz4" -version = "1.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" -dependencies = [ - "libc", - "lz4-sys", -] - -[[package]] -name = "lz4-sys" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "memmap2" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49388d20533534cd19360ad3d6a7dadc885944aa802ba3995040c5ec11288c6" -dependencies = [ - "libc", -] - -[[package]] -name = "mesc" -version = "0.3.0" -dependencies = [ - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "mesc_cli" -version = "0.3.0" -dependencies = [ - "bat", - "clap", - "colored_json", - "edit", - "futures", - "inquire", - "ipgeolocate", - "mesc", - "reqwest", - "serde", - "serde_json", - "thiserror", - "tokio", - "toolstr", - "url", -] - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "miniz_oxide" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" -dependencies = [ - "adler2", -] - -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "log", - "wasi", - "windows-sys 0.48.0", -] - -[[package]] -name = "mio" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" -dependencies = [ - "hermit-abi", - "libc", - "wasi", - "windows-sys 0.52.0", -] - -[[package]] -name = "multiversion" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4851161a11d3ad0bf9402d90ffc3967bf231768bfd7aeb61755ad06dbf1a142" -dependencies = [ - "multiversion-macros", - "target-features", -] - -[[package]] -name = "multiversion-macros" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79a74ddee9e0c27d2578323c13905793e91622148f138ba29738f9dddb835e90" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "target-features", -] - -[[package]] -name = "native-tls" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" -dependencies = [ - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "newline-converter" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b6b097ecb1cbfed438542d16e84fd7ad9b0c76c8a65b7f9039212a3d14dc7f" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "now" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d89e9874397a1f0a52fc1f197a8effd9735223cb2390e9dcc83ac6cd02923d0" -dependencies = [ - "chrono", -] - -[[package]] -name = "ntapi" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" -dependencies = [ - "winapi", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - -[[package]] -name = "nu-ansi-term" -version = "0.49.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c073d3c1930d0751774acf49e66653acecb416c3a54c6ec095a9b11caddb5a68" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "object" -version = "0.36.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[package]] -name = "onig" -version = "6.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f" -dependencies = [ - "bitflags 1.3.2", - "libc", - "once_cell", - "onig_sys", -] - -[[package]] -name = "onig_sys" -version = "69.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b829e3d7e9cc74c7e315ee8edb185bf4190da5acde74afd7fc59c35b1f086e7" -dependencies = [ - "cc", - "pkg-config", -] - -[[package]] -name = "openssl" -version = "0.10.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" -dependencies = [ - "bitflags 2.6.0", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - -[[package]] -name = "parking_lot" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets 0.52.6", -] - -[[package]] -name = "parquet-format-safe" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1131c54b167dd4e4799ce762e1ab01549ebb94d5bdd13e6ec1b467491c378e1f" -dependencies = [ - "async-trait", - "futures", -] - -[[package]] -name = "path_abs" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ef02f6342ac01d8a93b65f96db53fe68a92a15f41144f97fb00a9e669633c3" -dependencies = [ - "std_prelude", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" - -[[package]] -name = "planus" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1691dd09e82f428ce8d6310bd6d5da2557c82ff17694d2a32cad7242aea89f" -dependencies = [ - "array-init-cursor", -] - -[[package]] -name = "plist" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016" -dependencies = [ - "base64 0.22.1", - "indexmap", - "quick-xml", - "serde", - "time", -] - -[[package]] -name = "polars" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8e52f9236eb722da0990a70bbb1216dcc7a77bcb00c63439d2d982823e90d5" -dependencies = [ - "getrandom", - "polars-core", - "polars-io", - "polars-lazy", - "polars-ops", - "polars-sql", - "polars-time", - "version_check", -] - -[[package]] -name = "polars-arrow" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd503430a6d9779b07915d858865fe998317ef3cfef8973881f578ac5d4baae7" -dependencies = [ - "ahash", - "arrow-format", - "atoi_simd", - "bytemuck", - "chrono", - "dyn-clone", - "either", - "ethnum", - "fast-float", - "foreign_vec", - "futures", - "getrandom", - "hashbrown", - "itoa", - "lz4", - "multiversion", - "num-traits", - "polars-error", - "polars-utils", - "rustc_version", - "ryu", - "simdutf8", - "streaming-iterator", - "strength_reduce", - "zstd", -] - -[[package]] -name = "polars-core" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae73d5b8e55decde670caba1cc82b61f14bfb9a72503198f0997d657a98dcfd6" -dependencies = [ - "ahash", - "bitflags 2.6.0", - "bytemuck", - "chrono", - "comfy-table", - "either", - "hashbrown", - "indexmap", - "num-traits", - "once_cell", - "polars-arrow", - "polars-error", - "polars-row", - "polars-utils", - "rand", - "rand_distr", - "rayon", - "regex", - "smartstring", - "thiserror", - "version_check", - "xxhash-rust", -] - -[[package]] -name = "polars-error" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb0520d68eaa9993ae0c741409d1526beff5b8f48e1d73e4381616f8152cf488" -dependencies = [ - "arrow-format", - "regex", - "simdutf8", - "thiserror", -] - -[[package]] -name = "polars-io" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96e10a0745acd6009db64bef0ceb9e23a70b1c27b26a0a6517c91f3e6363bc06" -dependencies = [ - "ahash", - "async-trait", - "atoi_simd", - "bytes", - "chrono", - "fast-float", - "futures", - "home", - "itoa", - "memchr", - "memmap2", - "num-traits", - "once_cell", - "percent-encoding", - "polars-arrow", - "polars-core", - "polars-error", - "polars-json", - "polars-parquet", - "polars-time", - "polars-utils", - "rayon", - "regex", - "ryu", - "serde_json", - "simd-json", - "simdutf8", - "smartstring", - "tokio", - "tokio-util", -] - -[[package]] -name = "polars-json" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93b9cb83c19daf334c398e56a9361bd79c8ad0718296db2afab08d476bd84559" -dependencies = [ - "ahash", - "chrono", - "fallible-streaming-iterator", - "hashbrown", - "indexmap", - "itoa", - "num-traits", - "polars-arrow", - "polars-error", - "polars-utils", - "ryu", - "simd-json", - "streaming-iterator", -] - -[[package]] -name = "polars-lazy" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3555f759705be6dd0d3762d16a0b8787b2dc4da73b57465f3b2bf1a070ba8f20" -dependencies = [ - "ahash", - "bitflags 2.6.0", - "glob", - "once_cell", - "polars-arrow", - "polars-core", - "polars-io", - "polars-json", - "polars-ops", - "polars-pipe", - "polars-plan", - "polars-time", - "polars-utils", - "rayon", - "smartstring", - "version_check", -] - -[[package]] -name = "polars-ops" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a7eb218296aaa7f79945f08288ca32ca3cf25fa505649eeee689ec21eebf636" -dependencies = [ - "ahash", - "argminmax", - "base64 0.21.7", - "bytemuck", - "either", - "hashbrown", - "hex", - "indexmap", - "memchr", - "num-traits", - "polars-arrow", - "polars-core", - "polars-error", - "polars-utils", - "rayon", - "regex", - "smartstring", - "version_check", -] - -[[package]] -name = "polars-parquet" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146010e4b7dd4d2d0e58ddc762f6361f77d7a0385c54471199370c17164f67dd" -dependencies = [ - "ahash", - "async-stream", - "base64 0.21.7", - "brotli", - "ethnum", - "flate2", - "futures", - "lz4", - "num-traits", - "parquet-format-safe", - "polars-arrow", - "polars-error", - "polars-utils", - "seq-macro", - "simdutf8", - "snap", - "streaming-decompression", - "zstd", -] - -[[package]] -name = "polars-pipe" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66094e7df64c932a9a7bdfe7df0c65efdcb192096e11a6a765a9778f78b4bdec" -dependencies = [ - "crossbeam-channel", - "crossbeam-queue", - "enum_dispatch", - "hashbrown", - "num-traits", - "polars-arrow", - "polars-core", - "polars-io", - "polars-ops", - "polars-plan", - "polars-row", - "polars-utils", - "rayon", - "smartstring", - "version_check", -] - -[[package]] -name = "polars-plan" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10e32a0958ef854b132bad7f8369cb3237254635d5e864c99505bc0bc1035fbc" -dependencies = [ - "ahash", - "bytemuck", - "once_cell", - "percent-encoding", - "polars-arrow", - "polars-core", - "polars-io", - "polars-ops", - "polars-parquet", - "polars-time", - "polars-utils", - "rayon", - "regex", - "smartstring", - "strum_macros 0.25.3", - "version_check", -] - -[[package]] -name = "polars-row" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d135ab81cac2906ba74ea8984c7e6025d081ae5867615bcefb4d84dfdb456dac" -dependencies = [ - "polars-arrow", - "polars-error", - "polars-utils", -] - -[[package]] -name = "polars-sql" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8dbd7786849a5e3ad1fde188bf38141632f626e3a57319b0bbf7a5f1d75519e" -dependencies = [ - "polars-arrow", - "polars-core", - "polars-error", - "polars-lazy", - "polars-plan", - "rand", - "serde", - "serde_json", - "sqlparser", -] - -[[package]] -name = "polars-time" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aae56f79e9cedd617773c1c8f5ca84a31a8b1d593714959d5f799e7bdd98fe51" -dependencies = [ - "atoi", - "chrono", - "now", - "once_cell", - "polars-arrow", - "polars-core", - "polars-error", - "polars-ops", - "polars-utils", - "regex", - "smartstring", -] - -[[package]] -name = "polars-utils" -version = "0.35.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da6ce68169fe61d46958c8eab7447360f30f2f23f6e24a0ce703a14b0a3cfbfc" -dependencies = [ - "ahash", - "bytemuck", - "hashbrown", - "indexmap", - "num-traits", - "once_cell", - "polars-error", - "rayon", - "smartstring", - "sysinfo", - "version_check", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "proc-macro2" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quick-xml" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d3a6e5838b60e0e8fa7a43f22ade549a37d61f8bdbe636d0d7816191de969c2" -dependencies = [ - "memchr", -] - -[[package]] -name = "quote" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand", -] - -[[package]] -name = "rayon" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] -name = "redox_syscall" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" -dependencies = [ - "bitflags 2.6.0", -] - -[[package]] -name = "ref-cast" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "regex" -version = "1.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" - -[[package]] -name = "reqwest" -version = "0.11.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" -dependencies = [ - "base64 0.21.7", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "log", - "mime", - "native-tls", - "once_cell", - "percent-encoding", - "pin-project-lite", - "rustls-pemfile", - "serde", - "serde_json", - "serde_urlencoded", - "sync_wrapper", - "system-configuration", - "tokio", - "tokio-native-tls", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg", -] - -[[package]] -name = "rgb" -version = "0.8.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a" -dependencies = [ - "bytemuck", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.38.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" -dependencies = [ - "bitflags 2.6.0", - "errno", - "libc", - "linux-raw-sys", - "windows-sys 0.52.0", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.7", -] - -[[package]] -name = "rustversion" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "schannel" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "security-framework" -version = "2.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" -dependencies = [ - "bitflags 2.6.0", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" - -[[package]] -name = "seq-macro" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" - -[[package]] -name = "serde" -version = "1.0.210" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.210" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "serde_json" -version = "1.0.128" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" -dependencies = [ - "indexmap", - "itoa", - "ryu", - "serde", - "unsafe-libyaml", -] - -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shell-escape" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" - -[[package]] -name = "shell-words" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "signal-hook" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" -dependencies = [ - "libc", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook-mio" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" -dependencies = [ - "libc", - "mio 0.8.11", - "signal-hook", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "simd-json" -version = "0.13.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "570c430b3d902ea083097e853263ae782dfe40857d93db019a12356c8e8143fa" -dependencies = [ - "ahash", - "getrandom", - "halfbrown", - "lexical-core", - "once_cell", - "ref-cast", - "serde", - "serde_json", - "simdutf8", - "value-trait", -] - -[[package]] -name = "simdutf8" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "smartstring" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29" -dependencies = [ - "autocfg", - "static_assertions", - "version_check", -] - -[[package]] -name = "snap" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" - -[[package]] -name = "socket2" -version = "0.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "sqlparser" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "743b4dc2cbde11890ccb254a8fc9d537fa41b36da00de2a1c5e9848c9bc42bd7" -dependencies = [ - "log", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "std_prelude" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8207e78455ffdf55661170876f88daf85356e4edd54e0a3dbc79586ca1e50cbe" - -[[package]] -name = "streaming-decompression" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf6cc3b19bfb128a8ad11026086e31d3ce9ad23f8ea37354b31383a187c44cf3" -dependencies = [ - "fallible-streaming-iterator", -] - -[[package]] -name = "streaming-iterator" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520" - -[[package]] -name = "strength_reduce" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe895eb47f22e2ddd4dabc02bce419d2e643c8e3b585c78158b349195bc24d82" - -[[package]] -name = "strsim" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" - -[[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" - -[[package]] -name = "strum_macros" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.77", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck 0.5.0", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.77", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - -[[package]] -name = "syntect" -version = "5.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "874dcfa363995604333cf947ae9f751ca3af4522c60886774c4963943b4746b1" -dependencies = [ - "bincode", - "bitflags 1.3.2", - "flate2", - "fnv", - "once_cell", - "onig", - "plist", - "regex-syntax", - "serde", - "serde_derive", - "serde_json", - "thiserror", - "walkdir", - "yaml-rust", -] - -[[package]] -name = "sys-info" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b3a0d0aba8bf96a0e1ddfdc352fc53b3df7f39318c71854910c3c4b024ae52c" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "sysinfo" -version = "0.29.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666" -dependencies = [ - "cfg-if", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "winapi", -] - -[[package]] -name = "system-configuration" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "system-configuration-sys", -] - -[[package]] -name = "system-configuration-sys" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "target-features" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1bbb9f3c5c463a01705937a24fdabc5047929ac764b2d5b9cf681c1f5041ed5" - -[[package]] -name = "tempfile" -version = "3.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" -dependencies = [ - "cfg-if", - "fastrand", - "once_cell", - "rustix", - "windows-sys 0.59.0", -] - -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "terminal_size" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" -dependencies = [ - "rustix", - "windows-sys 0.48.0", -] - -[[package]] -name = "thiserror" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "time" -version = "0.3.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" -dependencies = [ - "deranged", - "itoa", - "num-conv", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" -dependencies = [ - "num-conv", - "time-core", -] - -[[package]] -name = "tinyvec" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" -dependencies = [ - "backtrace", - "bytes", - "libc", - "mio 1.0.2", - "parking_lot", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys 0.52.0", -] - -[[package]] -name = "tokio-macros" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "toolstr" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eea5389dd1f24e3b2b025cd6f4efe63729a57b1c930e7208daec0905b8318388" -dependencies = [ - "chrono", - "polars", - "regex", - "thiserror", - "toolstr_colored", - "unicode-truncate", -] - -[[package]] -name = "toolstr_colored" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d335176ed9b133b9d9e226656f2f486f84ebac50250c598246ac6d6d512ac05" -dependencies = [ - "lazy_static", - "windows-sys 0.48.0", -] - -[[package]] -name = "tower-service" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" -dependencies = [ - "nu-ansi-term 0.46.0", - "sharded-slab", - "smallvec", - "thread_local", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "try-lock" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" - -[[package]] -name = "unicode-bidi" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" - -[[package]] -name = "unicode-ident" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" - -[[package]] -name = "unicode-normalization" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" - -[[package]] -name = "unicode-truncate" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a04be5ca5f7a4a7270ffea82bc41c59b87c611ed04f20e77c338e8d3c2348e42" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "unicode-width" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" - -[[package]] -name = "unsafe-libyaml" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" - -[[package]] -name = "url" -version = "2.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf8parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "value-trait" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad8db98c1e677797df21ba03fca7d3bf9bec3ca38db930954e4fe6e1ea27eb4" -dependencies = [ - "float-cmp", - "halfbrown", - "itoa", - "ryu", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" -dependencies = [ - "cfg-if", - "once_cell", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.77", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" - -[[package]] -name = "web-sys" -version = "0.3.70" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix", -] - -[[package]] -name = "wild" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1" -dependencies = [ - "glob", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "winreg" -version = "0.50.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - -[[package]] -name = "xxhash-rust" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984" - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "yansi" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" - -[[package]] -name = "zerocopy" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" -dependencies = [ - "byteorder", - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.77", -] - -[[package]] -name = "zstd" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "7.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059" -dependencies = [ - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.13+zstd.1.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" -dependencies = [ - "cc", - "pkg-config", -] diff --git a/rust/Cargo.toml b/rust/Cargo.toml deleted file mode 100644 index ce713ff..0000000 --- a/rust/Cargo.toml +++ /dev/null @@ -1,19 +0,0 @@ - -[workspace] -members = ["crates/mesc", "crates/mesc_cli"] - -# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021 but not virtual workspaces. -# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html -resolver = "2" - -[workspace.package] -version = "0.3.0" -edition = "2021" -license = "MIT OR Apache-2.0" -repository = "https://github.com/paradigmxyz/mesc" -exclude = [".github/"] - -[workspace.dependencies] -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -thiserror = "1.0" diff --git a/rust/README.md b/rust/README.md deleted file mode 100644 index 75bb36d..0000000 --- a/rust/README.md +++ /dev/null @@ -1,95 +0,0 @@ - -# Rust MESC Implementation - -This is a reference rust implementation of the MESC standard. - -The `crates/mesc` crate contains rust libraries for reading, writing, and validating MESC configurations. - -The `crates/mesc_cli` crate is a tool for reading, writing, and validating MESC from the command line. See [CLI](../cli) for details. - -### Contents -- [Installation](#Installation) -- [Example-Usage](#Example-Usage) -- [Reference](#Reference) - -## Installation - -Inside a cargo project: `cargo add mesc` - -Inside a `Cargo.toml`: `mesc = "0.2.1"` - -## Example Usage - -Basic data structures -```rust -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct RpcConfig { - pub mesc_version: String, - pub default_endpoint: Option, - pub endpoints: HashMap, - pub network_defaults: HashMap, - pub network_names: HashMap, - pub profiles: HashMap, - pub global_metadata: HashMap, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct Endpoint { - pub name: String, - pub url: String, - pub chain_id: Option, - pub endpoint_metadata: HashMap, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct Profile { - pub name: String, - pub default_endpoint: Option, - pub network_defaults: HashMap, - pub profile_metadata: HashMap, - pub use_mesc: bool, -} - -#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq, Hash)] -pub struct ChainId(String); -``` - -Basic read functions -```rust -use mesc::{MescError, Endpoint}; -use std::collections::HashMap; - -type OptionalResult = Result, MescError>; -type MultiResult = Result, MescError>; -type MetadataResult = Result, MescError>; - -// check whether mesc is enabled -let enabled: bool = mesc::is_mesc_enabled(); - -// get the default endpoint -let endpoint: OptionalResult = mesc::get_default_endpoint(None); - -// get the default endpoint of a network -let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", None); - -// get the default network for a particular tool -let chain_id: OptionalResult = mesc::get_default_endpoint(Some("xyz_tool")); - -// get the default endpoint of a network for a particular tool -let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", Some("xyz_tool")); - -// get an endpoint by name -let endpoint: OptionalResult = mesc::get_endpoint_by_name("local_goerli"); - -// parse a user-provided string into a matching endpoint -// (first try 1. endpoint name, then 2. chain id, then 3. network name) -let user_str = "local_goerli"; -let endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some("xyz_tool")); - -// find all endpoints matching given criteria -let query = mesc::MultiEndpointQuery::new().chain_id("5").unwrap(); -let endpoints: MultiResult = mesc::find_endpoints(query); - -// get non-endpoint metadata -let metadata: MetadataResult = mesc::get_global_metadata(Some("xyz_tool")); -``` diff --git a/rust/crates/mesc/Cargo.toml b/rust/crates/mesc/Cargo.toml deleted file mode 100644 index 113aefd..0000000 --- a/rust/crates/mesc/Cargo.toml +++ /dev/null @@ -1,12 +0,0 @@ -[package] -name = "mesc" -description = "libraries for creating, loading, and modifying MESC configuation data" -version.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true - -[dependencies] -serde = { workspace = true } -serde_json = { workspace = true } -thiserror = { workspace = true } diff --git a/rust/crates/mesc/src/directory.rs b/rust/crates/mesc/src/directory.rs deleted file mode 100644 index 25069a5..0000000 --- a/rust/crates/mesc/src/directory.rs +++ /dev/null @@ -1,14 +0,0 @@ -use crate::ChainId; - -/// get chain id of given network name -pub(crate) fn get_network_chain_id(network_name: &str) -> Option { - crate::network_names::NETWORKS - .iter() - .find(|(_, name)| *name == network_name) - .map(|(chain_id, _)| (*chain_id).into()) -} - -/// get network name of given chain id -pub fn get_network_name(chain_id: &ChainId) -> Option<&'static str> { - crate::network_names::get_network_names().get(chain_id).copied() -} diff --git a/rust/crates/mesc/src/interface.rs b/rust/crates/mesc/src/interface.rs deleted file mode 100644 index 21e20c1..0000000 --- a/rust/crates/mesc/src/interface.rs +++ /dev/null @@ -1,51 +0,0 @@ -use crate::{ - load, - load::load_config_data, - query, - types::{Endpoint, MescError}, - MultiEndpointQuery, TryIntoChainId, -}; -use std::collections::HashMap; - -/// check whether mesc is enabled -pub fn is_mesc_enabled() -> bool { - load::is_mesc_enabled() -} - -/// get default endpoint -pub fn get_default_endpoint(profile: Option<&str>) -> Result, MescError> { - query::get_default_endpoint(&load_config_data()?, profile) -} - -/// get endpoint by network -pub fn get_endpoint_by_network( - chain_id: T, - profile: Option<&str>, -) -> Result, MescError> { - query::get_endpoint_by_network(&load_config_data()?, chain_id, profile) -} - -/// get endpoint by name -pub fn get_endpoint_by_name(name: &str) -> Result, MescError> { - query::get_endpoint_by_name(&load_config_data()?, name) -} - -/// parse user query -pub fn get_endpoint_by_query( - query: &str, - profile: Option<&str>, -) -> Result, MescError> { - query::get_endpoint_by_query(&load_config_data()?, query, profile) -} - -/// find endpoints -pub fn find_endpoints(query: MultiEndpointQuery) -> Result, MescError> { - query::find_endpoints(&load_config_data()?, query) -} - -/// get global metadata -pub fn get_global_metadata( - profile: Option<&str>, -) -> Result, MescError> { - query::get_global_metadata(&load_config_data()?, profile) -} diff --git a/rust/crates/mesc/src/lib.rs b/rust/crates/mesc/src/lib.rs deleted file mode 100644 index 81b17f3..0000000 --- a/rust/crates/mesc/src/lib.rs +++ /dev/null @@ -1,27 +0,0 @@ -//! MESC is a way for all of the tools on a system to share an rpc config - -#![warn(missing_docs, unreachable_pub, unused_crate_dependencies)] -#![deny(unused_must_use, rust_2018_idioms)] -#![doc(test( - no_crate_inject, - attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables)) -))] - -/// directory matching chain_id's to network names -pub mod directory; -mod types; -mod validate; -pub use types::*; -mod interface; -/// load module -pub mod load; -/// metadata -pub mod metadata; -pub mod network_names; -pub use interface::*; -/// overrides module -pub mod overrides; -/// queries module -pub mod query; -/// write module -pub mod write; diff --git a/rust/crates/mesc/src/load.rs b/rust/crates/mesc/src/load.rs deleted file mode 100644 index fa4f0f4..0000000 --- a/rust/crates/mesc/src/load.rs +++ /dev/null @@ -1,106 +0,0 @@ -use crate::{overrides::apply_overrides, ConfigMode, MescError, RpcConfig}; -use std::{env, fs}; - -/// check whether mesc is enabled -pub fn is_mesc_enabled() -> bool { - if let Ok("DISABLED") = std::env::var("MESC_MODE").as_deref() { - return false; - }; - let env_vars = [ - "MESC_MODE", - "MESC_PATH", - "MESC_ENV", - "MESC_NETWORK_NAMES", - "MESC_NETWORK_DEFAULTS", - "MESC_ENDPOINTS", - "MESC_DEFAULT_ENDPOINT", - "MESC_GLOBAL_METADATA", - "MESC_ENDPOINT_METADATA", - "MESC_PROFILES", - ]; - for env_var in env_vars.iter() { - match std::env::var(env_var).as_deref() { - Ok(value) if !value.is_empty() => return true, - _ => {} - } - } - false -} - -/// get config mode -pub fn get_config_mode() -> Result { - let mode = env::var("MESC_MODE").unwrap_or_default(); - if mode == "PATH" { - return Ok(ConfigMode::Path); - } else if mode == "ENV" { - return Ok(ConfigMode::Env); - } else if mode == "DISABLED" { - return Ok(ConfigMode::Disabled); - } else if !mode.is_empty() { - return Err(MescError::InvalidConfigMode); - } - if let Ok(path) = env::var("MESC_PATH") { - if !path.is_empty() { - return Ok(ConfigMode::Path); - } - } - if let Ok(env_config) = env::var("MESC_ENV") { - if !env_config.is_empty() { - return Ok(ConfigMode::Env); - } - } - - Ok(ConfigMode::Disabled) -} - -/// load config data -pub fn load_config_data() -> Result { - let config = match get_config_mode() { - Ok(ConfigMode::Path) => load_file_config(None), - Ok(ConfigMode::Env) => load_env_config(), - Ok(ConfigMode::Disabled) => Err(MescError::MescNotEnabled), - Err(e) => Err(e), - }; - - let mut config = config?; - apply_overrides(&mut config)?; - Ok(config) -} - -/// load env config -pub fn load_env_config() -> Result { - let config_json = env::var("MESC_ENV")?; - serde_json::from_str(&config_json).map_err(|_| MescError::InvalidJson) -} - -/// load file config -pub fn load_file_config(path: Option) -> Result { - let path = match path { - Some(path) => path, - None => get_config_path()?, - }; - if !std::path::Path::new(path.as_str()).exists() { - return Err(MescError::MissingConfigFile(path)); - }; - let config_str = fs::read_to_string(path).map_err(MescError::IOError)?; - serde_json::from_str(&config_str).map_err(|_| MescError::InvalidJson) -} - -/// get config path -pub fn get_config_path() -> Result { - let path = env::var("MESC_PATH")?; - let path = expand_path(path)?; - Ok(path) -} - -/// expand tilde's in path -pub fn expand_path>(path: P) -> Result { - let path_str = - path.as_ref().to_str().ok_or(MescError::InvalidPath("Invalid path".to_string()))?; - - if let Some(subpath) = path_str.strip_prefix("~/") { - Ok(format!("{}/{}", env::var("HOME")?, subpath)) - } else { - Ok(path_str.to_string()) - } -} diff --git a/rust/crates/mesc/src/metadata.rs b/rust/crates/mesc/src/metadata.rs deleted file mode 100644 index e4edbca..0000000 --- a/rust/crates/mesc/src/metadata.rs +++ /dev/null @@ -1,48 +0,0 @@ -use crate::MescError; -use serde::de::DeserializeOwned; -use std::collections::HashMap; - -/// get api key -pub fn get_api_key>( - key_name: T, - profile_name: Option, -) -> Result, MescError> { - let key_name = key_name.as_ref(); - let config = crate::load::load_config_data()?; - - if let Some(profile_name) = profile_name { - if let Some(profile) = config.profiles.get(profile_name.as_ref()) { - if let Some(api_keys) = profile.profile_metadata.get("api_keys") { - let api_keys: HashMap = get_value_at(api_keys, &[])?; - if let Some(key) = api_keys.get(key_name) { - return Ok(Some(key.clone())); - } - } - } - }; - - if let Some(api_keys) = config.global_metadata.get("api_keys") { - let api_keys: HashMap = get_value_at(api_keys, &[])?; - if let Some(key) = api_keys.get(key_name) { - return Ok(Some(key.clone())); - } - } - - Ok(None) -} - -fn get_value_at(root: &serde_json::Value, path: &[&str]) -> Result -where - T: DeserializeOwned, -{ - let mut current = root; - - for key in path { - current = match current.get(key) { - Some(value) => value, - None => return Err(MescError::IntegrityError("missing path".to_string())), - }; - } - - Ok(serde_json::from_value(current.clone())?) -} diff --git a/rust/crates/mesc/src/network_names.rs b/rust/crates/mesc/src/network_names.rs deleted file mode 100644 index 5c3442a..0000000 --- a/rust/crates/mesc/src/network_names.rs +++ /dev/null @@ -1,1861 +0,0 @@ -//! Default mapping between chain_id's and network names -//! -//! This file is generated by `python/generate_network_names.py` in the MESC repo. -//! -//! The same set of network names is used for each MESC implementation. -//! -//! Do not edit this file manually. - -use crate::ChainId; -use std::{collections::HashMap, sync::OnceLock}; - -/// get default mapping between chain_id's and network names -pub fn get_network_names() -> &'static HashMap { - static CACHE: OnceLock> = OnceLock::new(); - CACHE.get_or_init(|| NETWORKS.iter().map(|&(chain_id, name)| (chain_id.into(), name)).collect()) -} - -pub(crate) const NETWORKS: &[(u64, &str)] = &[ - (1, "ethereum"), - (2, "expanse"), - (3, "ropsten"), - (4, "rinkeby"), - (5, "goerli"), - (6, "kotti_testnet"), - (7, "thai"), - (8, "ubiq"), - (9, "ubiq_testnet"), - (10, "optimism"), - (11, "metadium"), - (12, "metadium_testnet"), - (13, "diode_testnet_staging"), - (14, "flare"), - (15, "diode_prenet"), - (16, "songbird_testnet_coston"), - (17, "thaifi"), - (18, "thundercore_testnet"), - (19, "songbird_canary"), - (20, "elastos"), - (21, "elastos_testnet"), - (22, "ela_did"), - (23, "ela_did_testnet"), - (24, "kardia"), - (25, "cronos"), - (26, "genesis_testnet"), - (27, "shiba"), - (28, "boba_rinkeby_testnet"), - (29, "genesis"), - (30, "rootstock"), - (31, "rootstock_testnet"), - (32, "gooddata_testnet"), - (33, "gooddata"), - (34, "secure"), - (35, "tbwg"), - (36, "dx"), - (37, "xpla"), - (38, "valorbit"), - (39, "u2u_solaris"), - (40, "telos_evm"), - (41, "telos_evm_testnet"), - (42, "lukso"), - (43, "darwinia_pangolin_testnet"), - (44, "crab"), - (45, "darwinia_pangoro_testnet"), - (46, "darwinia"), - (47, "acria_intelli"), - (48, "ennothem_proterozoic"), - (49, "ennothem_testnet_pioneer"), - (50, "xdc"), - (51, "xdc_apothem"), - (52, "coinex"), - (53, "coinex_testnet"), - (54, "openpiece"), - (55, "zyx"), - (56, "bsc"), - (57, "syscoin"), - (58, "ontology"), - (59, "eos_evm_legacy"), - (60, "go"), - (61, "ethereum_classic"), - (62, "morden_testnet"), - (63, "mordor_testnet"), - (64, "ellaism"), - (65, "okex_testnet"), - (66, "okx"), - (67, "db_testnet"), - (68, "soterone"), - (69, "optimism_kovan"), - (70, "hoo"), - (71, "conflux_espace_testnet"), - (72, "dx_testnet"), - (73, "fncy"), - (74, "id"), - (75, "decimal"), - (76, "mix"), - (77, "poa_sokol"), - (78, "primus"), - (79, "zenith"), - (80, "gene"), - (81, "japan_open"), - (82, "meter"), - (83, "meter_testnet"), - (84, "linqto_devnet"), - (85, "gate_testnet"), - (86, "gate"), - (87, "nova"), - (88, "viction"), - (89, "viction_testnet"), - (90, "garizon_stage0"), - (91, "garizon_stage1"), - (92, "garizon_stage2"), - (93, "garizon_stage3"), - (94, "swissdlt"), - (95, "camdl"), - (96, "bitkub"), - (97, "bnb_testnet"), - (98, "six_protocol"), - (99, "poa_core"), - (100, "gnosis"), - (101, "etherinc"), - (102, "web3games_testnet"), - (103, "worldland"), - (104, "kaiba_lightning_testnet"), - (105, "web3games_devnet"), - (106, "velas_evm"), - (107, "nebula_testnet"), - (108, "thundercore"), - (109, "shibarium"), - (110, "proton_testnet"), - (111, "etherlite"), - (112, "coinbit"), - (113, "dehvo"), - (114, "flare_testnet_coston2"), - (116, "debank"), - (117, "uptick"), - (118, "arcology_testnet"), - (119, "enuls"), - (120, "enuls_testnet"), - (121, "real"), - (122, "fuse"), - (123, "fuse_sparknet"), - (124, "decentralized_web"), - (125, "oy_testnet"), - (126, "oy"), - (127, "factory_127"), - (128, "huobi_eco"), - (129, "innovator"), - (131, "engram_testnet"), - (132, "namefi"), - (133, "hashkey_testnet"), - (134, "iexec"), - (135, "alyx_testnet"), - (136, "deam"), - (137, "polygon"), - (138, "defi_oracle_meta"), - (139, "woop"), - (140, "eternal"), - (141, "openpiece_testnet"), - (142, "dax"), - (144, "phi_v2"), - (145, "soraai_testnet"), - (147, "flag"), - (148, "shimmerevm"), - (150, "six_protocol_testnet"), - (151, "redbelly"), - (152, "redbelly_devnet"), - (153, "redbelly_testnet"), - (154, "redbelly_tge"), - (155, "tenet_testnet"), - (156, "oeblock_testnet"), - (157, "puppynet_shibarium"), - (158, "roburna"), - (159, "roburna_testnet"), - (160, "armonia_eva"), - (161, "armonia_eva_testnet"), - (162, "lightstreams_testnet"), - (163, "lightstreams"), - (164, "omni_omega_testnet"), - (166, "omni"), - (167, "atoshi_testnet"), - (168, "aioz"), - (169, "manta_pacific"), - (170, "hoo_testnet"), - (171, "co2e_ledger"), - (172, "latam_block_resil_testnet"), - (176, "dc"), - (178, "abey_testnet"), - (179, "abey"), - (180, "ame"), - (181, "waterfall"), - (183, "ethernity"), - (184, "dojima_testnet"), - (185, "mint"), - (186, "seele"), - (187, "dojima"), - (188, "bmc"), - (189, "bmc_testnet"), - (190, "cmdao_bbq"), - (191, "filefilego"), - (193, "crypto_emergency"), - (195, "x_layer_testnet"), - (196, "x_layer"), - (197, "neutrinos_testnet"), - (198, "bit"), - (199, "bittorrent"), - (200, "arbitrum_on_xdai"), - (201, "moac_testnet"), - (202, "edgeless_testnet"), - (204, "opbnb"), - (205, "ekaash"), - (206, "vinu_testnet"), - (207, "vinu"), - (208, "structx"), - (210, "bitnet"), - (211, "freight_trust"), - (212, "mapo_makalu"), - (213, "b2_hub"), - (214, "shinarium"), - (217, "siriusnet_v2"), - (218, "soterone_old"), - (220, "scalind_testnet"), - (221, "blockex"), - (222, "permission"), - (223, "b2"), - (224, "viridis_testnet"), - (225, "la"), - (226, "la_testnet"), - (228, "mind"), - (230, "swapdex"), - (233, "ethernity_testnet"), - (234, "protojumbo_testnet"), - (236, "deam_testnet"), - (238, "blast"), - (242, "plinga"), - (246, "energy_web"), - (248, "oasys"), - (250, "fantom_opera"), - (252, "fraxtal"), - (254, "swan"), - (255, "kroma"), - (256, "huobi_eco_testnet"), - (258, "setheum"), - (259, "neonlink"), - (261, "guru_testnet"), - (262, "sur_block"), - (266, "neura"), - (267, "neura_testnet"), - (268, "neura_devnet"), - (269, "high_performance_block"), - (271, "egoncoin"), - (278, "xfair.ai"), - (279, "bpx_block"), - (282, "cronos_zkevm_testnet"), - (288, "boba"), - (291, "orderly"), - (295, "hedera"), - (296, "hedera_testnet"), - (297, "hedera_previewnet"), - (298, "hedera_localnet"), - (300, "zksync_sepolia_testnet"), - (301, "bobaopera"), - (302, "zkcandy_sepolia_testnet"), - (303, "neuro_testnet"), - (305, "zksats"), - (307, "lovely_testnet"), - (308, "furtheon"), - (309, "wyzth_testnet"), - (311, "omax"), - (313, "neuro"), - (314, "filecoin"), - (321, "kcc"), - (322, "kcc_testnet"), - (323, "cosvm"), - (324, "zksync"), - (325, "grvt"), - (326, "grvt_sepolia_testnet"), - (333, "web3q"), - (335, "dfk_test"), - (336, "shiden"), - (338, "cronos_testnet"), - (345, "tsc"), - (360, "shape"), - (361, "theta"), - (363, "theta_sapphire_testnet"), - (364, "theta_amber_testnet"), - (365, "theta_testnet"), - (369, "pulse"), - (371, "consta_testnet"), - (380, "zkamoeba_testnet"), - (381, "zkamoeba"), - (385, "lisinski"), - (388, "cronos_zkevm"), - (395, "camdl_testnet"), - (397, "near"), - (398, "near_testnet"), - (399, "nativ3"), - (400, "hyperon_testnet"), - (401, "ozone_testnet"), - (404, "syndr_l3"), - (411, "pepe"), - (416, "sx"), - (418, "latestnet"), - (420, "optimism_goerli_testnet"), - (422, "viridis"), - (424, "pgn_public_goods"), - (427, "zeeth"), - (428, "geso_verse"), - (434, "boyaa"), - (443, "ten_testnet"), - (444, "synapse_testnet"), - (456, "arzio"), - (462, "areon_testnet"), - (463, "areon"), - (480, "world"), - (499, "rupaya"), - (500, "camino_c"), - (501, "columbus_test"), - (510, "syndicate"), - (512, "double_a"), - (513, "double_a_testnet"), - (516, "gear_zero"), - (520, "xt"), - (529, "fire"), - (530, "fxcore"), - (534, "candle"), - (537, "optrust"), - (542, "paw_testnet"), - (545, "evm_on_flow_testnet"), - (555, "vela1"), - (558, "tao"), - (568, "doge_testnet"), - (570, "rollux"), - (571, "meta"), - (579, "filenova"), - (588, "metis_stardust_testnet"), - (592, "astar"), - (595, "acala_mandala_testnet_tc9"), - (596, "karura_testnet"), - (597, "acala_testnet"), - (599, "metis_goerli_testnet"), - (600, "meshnyan_testnet"), - (601, "vine_testnet"), - (610, "darwin_devnet"), - (612, "eiob"), - (614, "graphlinq_block"), - (624, "binary"), - (625, "binary_sepolia"), - (634, "avocado"), - (646, "previewnet"), - (647, "sx_testnet"), - (648, "endurance"), - (653, "kali_testnet"), - (654, "kali"), - (662, "ultronsmart"), - (666, "pixie_testnet"), - (667, "laos_arrakis"), - (668, "junca"), - (669, "junca_testnet"), - (686, "karura"), - (690, "redstone"), - (700, "star_social_testnet"), - (701, "darwinia_koi_testnet"), - (707, "block_station"), - (708, "block_station_testnet"), - (710, "highbury"), - (711, "tucana"), - (712, "birdee_2"), - (713, "vrcscan"), - (719, "shibarium_beta"), - (721, "lycan"), - (727, "blucrates"), - (730, "lovely"), - (740, "canto_testnet"), - (741, "vention_testnet"), - (742, "script_testnet"), - (747, "evm_on_flow"), - (766, "ql1"), - (776, "open_testnet"), - (777, "cheapeth"), - (786, "maal"), - (787, "acala"), - (788, "aero_testnet"), - (789, "patex"), - (799, "rupaya_testnet"), - (800, "lucid_block"), - (803, "haic"), - (808, "portal_fantasy_test"), - (810, "haven1_testnet"), - (813, "qitmeer"), - (814, "fire_zkevm"), - (818, "beone"), - (820, "callisto"), - (822, "runic_testnet"), - (831, "checkdot_block_devnet"), - (841, "taraxa"), - (842, "taraxa_testnet"), - (852, "hongkong"), - (859, "zeeth_dev"), - (868, "fantasia"), - (876, "bandai_namco_research_verse"), - (877, "dexit"), - (880, "ambros"), - (888, "wan"), - (898, "maxi_testnet"), - (899, "maxi"), - (900, "garizon_testnet_stage0"), - (901, "garizon_testnet_stage1"), - (902, "garizon_testnet_stage2"), - (903, "garizon_testnet_stage3"), - (909, "portal_fantasy"), - (910, "decentrabone_layer1_testnet"), - (911, "taproot"), - (917, "rinia_testnet"), - (919, "mode_testnet"), - (927, "yidark"), - (940, "pulse_testnet"), - (941, "pulse_testnet_v2b"), - (942, "pulse_testnet_v3"), - (943, "pulse_testnet_v4"), - (945, "subtensor_evm_testnet"), - (956, "munode_testnet"), - (957, "lyra"), - (963, "btc20"), - (969, "ethxy"), - (970, "oort"), - (971, "oort_huygens"), - (972, "oort_ascraeus"), - (973, "palm"), - (977, "nepal_block"), - (979, "ethxy_testnet"), - (980, "top_evm"), - (985, "memo"), - (989, "top"), - (990, "eliberty"), - (995, "5ire"), - (996, "bifrost_polkadot"), - (997, "5ire_thunder_testnet"), - (998, "lucky"), - (999, "wan_testnet"), - (1000, "gton"), - (1001, "kaia_testnet_kairos"), - (1003, "tectum_emission_token"), - (1004, "t_ekta"), - (1005, "lemontestnet"), - (1006, "lemon"), - (1007, "newton_testnet"), - (1008, "eurus"), - (1009, "jumbo"), - (1010, "evrice"), - (1011, "rebus"), - (1012, "newton"), - (1022, "sakura"), - (1023, "clover_testnet"), - (1024, "clv_para"), - (1028, "bittorrent_testnet"), - (1030, "conflux_espace"), - (1031, "proxy_testnet"), - (1038, "bronos_testnet"), - (1039, "bronos"), - (1073, "shimmerevm_testnet"), - (1075, "iota_evm_testnet"), - (1079, "mintara_testnet"), - (1080, "mintara"), - (1088, "metis_andromeda"), - (1089, "humans.ai"), - (1099, "moac"), - (1100, "dymension"), - (1101, "polygon_zkevm"), - (1107, "blxq_testnet"), - (1108, "blxq"), - (1111, "wemix"), - (1112, "wemix_testnet"), - (1113, "b2_hub_testnet"), - (1115, "core_block_testnet"), - (1116, "core_block"), - (1117, "dogcoin"), - (1123, "b2_testnet"), - (1130, "defi_evm"), - (1131, "defi_evm_testnet"), - (1133, "defimeta_changi_testnet"), - (1135, "lisk"), - (1138, "amstar_testnet"), - (1139, "math"), - (1140, "math_testnet"), - (1147, "flag_testnet"), - (1149, "symplexia"), - (1170, "origin_testnet"), - (1177, "smart_host_teknoloji_testnet"), - (1188, "clubmos"), - (1197, "iora"), - (1200, "cuckoo"), - (1201, "evanesco_testnet"), - (1202, "world_trade_technical"), - (1209, "saitablocksbc"), - (1210, "cuckoo_sepolia"), - (1213, "popcateum"), - (1214, "enter"), - (1221, "cycle_testnet"), - (1223, "cycle_testnet_jellyfish"), - (1225, "hybrid_testnet"), - (1227, "bitcoin_protocol_testnet"), - (1228, "cycle_testnet_cuttlefish"), - (1229, "exzo"), - (1230, "ultron_testnet"), - (1231, "ultron"), - (1234, "step"), - (1235, "itx"), - (1243, "arc"), - (1244, "arc_testnet"), - (1246, "om_platform"), - (1248, "dogether"), - (1252, "cic_testnet"), - (1260, "metacces_testnet"), - (1280, "halo"), - (1284, "moonbeam"), - (1285, "moonriver"), - (1286, "moonrock_old"), - (1287, "moonbase_alpha"), - (1288, "moonrock"), - (1291, "swisstronik_testnet"), - (1294, "bobabeam"), - (1297, "bobabase_testnet"), - (1311, "dos_fuji_subnet"), - (1313, "jaiho"), - (1314, "alyx"), - (1319, "aia"), - (1320, "aia_testnet"), - (1328, "sei_testnet"), - (1329, "sei"), - (1337, "geth_testnet"), - (1338, "elysium_testnet"), - (1339, "elysium"), - (1343, "blitz_subnet"), - (1353, "cic"), - (1369, "zafirium"), - (1370, "ramestta"), - (1377, "pingaksha_testnet"), - (1379, "kalar"), - (1388, "amstar"), - (1392, "joseon"), - (1402, "polygon_zkevm_testnet_old"), - (1422, "polygon_zkevm_testnet_pre_audit_upgraded"), - (1433, "rikeza"), - (1440, "living_assets"), - (1442, "polygon_zkevm_testnet"), - (1452, "gil_testnet"), - (1453, "meta_istanbul"), - (1455, "ctex_scan_block"), - (1456, "zkbase"), - (1490, "vitruveo"), - (1499, "idos_games_testnet"), - (1501, "bevm_canary"), - (1506, "sherpax"), - (1507, "sherpax_testnet"), - (1513, "story_testnet"), - (1515, "beagle_messaging"), - (1559, "tenet"), - (1570, "star_testnet"), - (1578, "star"), - (1617, "ethereum_inscription"), - (1618, "catecoin"), - (1620, "atheios"), - (1625, "gravity_alpha"), - (1648, "pivotal"), - (1657, "bta"), - (1662, "liqui"), - (1663, "horizen_gobi_testnet"), - (1686, "mint_testnet"), - (1687, "mint_sepolia_testnet"), - (1688, "ludan"), - (1701, "anytype_evm"), - (1707, "tbsi"), - (1708, "tbsi_testnet"), - (1717, "doric"), - (1718, "palette"), - (1729, "reya"), - (1740, "metal_l2_testnet"), - (1750, "metal_l2"), - (1773, "party"), - (1777, "gauss"), - (1789, "zkbase_sepolia_testnet"), - (1804, "kerleano"), - (1807, "rabbit_analog_testnet"), - (1811, "lif3_testnet"), - (1818, "cube"), - (1819, "cube_testnet"), - (1821, "ruby"), - (1853, "highoctane_subnet"), - (1856, "teslafunds"), - (1875, "white"), - (1881, "gitshock_cartenz_testnet"), - (1890, "lightlink_phoenix"), - (1891, "lightlink_pegasus_testnet"), - (1898, "bon"), - (1899, "redefi_layer_2"), - (1904, "sports"), - (1907, "bitci"), - (1908, "bitci_testnet"), - (1909, "merkle_scan"), - (1911, "scalind"), - (1912, "ruby_testnet"), - (1918, "upb_crescdi_testnet"), - (1945, "onus_testnet"), - (1946, "minato"), - (1951, "d"), - (1953, "selendra_testnet"), - (1954, "dexilla_testnet"), - (1956, "aiw3_testnet"), - (1961, "selendra"), - (1967, "eleanor"), - (1969, "super_testnet"), - (1970, "super"), - (1971, "atelier"), - (1972, "redecoin"), - (1975, "onus"), - (1984, "eurus_testnet"), - (1985, "satoshie"), - (1986, "satoshie_testnet"), - (1987, "ethergem"), - (1992, "hubble_exchange"), - (1993, "b3_sepolia_testnet"), - (1994, "ekta"), - (1995, "edexa_testnet"), - (1996, "sanko"), - (1997, "kyoto"), - (1998, "kyoto_testnet"), - (2000, "doge"), - (2001, "milkomeda_c1"), - (2002, "milkomeda_a1"), - (2004, "metalink"), - (2008, "cloudwalk_testnet"), - (2009, "cloudwalk"), - (2013, "panarchy"), - (2014, "now_testnet"), - (2016, "mainnetz"), - (2017, "adiri"), - (2018, "publicmint_devnet"), - (2019, "publicmint_testnet"), - (2020, "publicmint"), - (2021, "edgeware_edgeevm"), - (2022, "beresheet_bereevm_testnet"), - (2023, "taycan_testnet"), - (2024, "swan_saturn_testnet"), - (2025, "rangers_protocol"), - (2026, "edgeless"), - (2031, "centrifuge"), - (2032, "catalyst"), - (2035, "phala"), - (2037, "kiwi_subnet"), - (2038, "shrapnel_testnet"), - (2039, "aleph_zero"), - (2040, "vanar"), - (2043, "neuroweb"), - (2044, "shrapnel_subnet"), - (2045, "aiw3"), - (2047, "stratos_testnet"), - (2048, "stratos"), - (2049, "movo"), - (2071, "metacces"), - (2077, "quokkacoin"), - (2088, "altair"), - (2089, "algol"), - (2100, "ecoball"), - (2101, "ecoball_testnet_espuma"), - (2109, "exosama"), - (2112, "u"), - (2121, "catena"), - (2122, "metaplayerone"), - (2124, "metaplayerone_dubai_testnet"), - (2136, "bigshortbets_testnet"), - (2137, "bigshortbets"), - (2138, "defi_oracle_meta_testnet"), - (2140, "oneness"), - (2141, "oneness_testnet"), - (2151, "bosagora"), - (2152, "findora"), - (2153, "findora_testnet"), - (2154, "findora_forge"), - (2162, "anime_testnet"), - (2192, "snax"), - (2199, "moonsama"), - (2202, "antofy"), - (2203, "bitcoin_evm"), - (2213, "evanesco"), - (2221, "kava_testnet"), - (2222, "kava"), - (2223, "v"), - (2241, "krest"), - (2300, "bomb"), - (2306, "ebro"), - (2309, "arevia"), - (2311, "chronicle_vesuvius_lit_protocol_testnet"), - (2323, "soma_testnet"), - (2330, "altcoin"), - (2331, "rss3_vsl_sepolia_testnet"), - (2332, "soma"), - (2340, "atleta_olympia"), - (2342, "omnia"), - (2355, "silicon_zkevm"), - (2358, "kroma_sepolia"), - (2370, "nexis_testnet"), - (2399, "bomb_testnet"), - (2400, "tcg_verse"), - (2410, "karak"), - (2415, "xodex"), - (2425, "king_of_legends"), - (2442, "polygon_zkevm_cardona_testnet"), - (2468, "hybrid"), - (2477, "6degree_of_outreach"), - (2484, "unicorn_ultra_nebulas_testnet"), - (2511, "karak_goerli"), - (2522, "fraxtal_testnet"), - (2525, "inevm"), - (2559, "kortho"), - (2569, "techpay"), - (2606, "pocrnet"), - (2611, "redlight"), - (2612, "ez_c"), - (2613, "ez_c_testnet"), - (2625, "white_testnet"), - (2648, "ailayer_testnet"), - (2649, "ailayer"), - (2662, "apex"), - (2710, "morph_testnet"), - (2718, "k_laos"), - (2730, "xr_sepolia"), - (2731, "elizabeth_testnet"), - (2748, "nanon"), - (2777, "gm"), - (2810, "morph_holesky"), - (2868, "hyperagi"), - (2882, "chips"), - (2888, "boba_goerli_testnet"), - (2889, "aarma"), - (2907, "elux"), - (2911, "hy"), - (2941, "xenon_testnet"), - (2999, "bityuan"), - (3000, "cennznet_rata"), - (3001, "cennznet_nikau"), - (3003, "canxium"), - (3011, "playa3ull_games"), - (3031, "orlando"), - (3033, "rebus_testnet"), - (3068, "bifrost"), - (3073, "movement_evm"), - (3084, "xl_testnet"), - (3100, "immu3_evm"), - (3102, "vulture_evm_beta"), - (3109, "satoshivm_alpha"), - (3110, "satoshivm_testnet"), - (3141, "filecoin_hyperspace_testnet"), - (3269, "dubxcoin"), - (3270, "dubxcoin_testnet"), - (3306, "debounce_subnet_testnet"), - (3331, "zcore_testnet"), - (3333, "ethstorage_testnet"), - (3334, "web3q_galileo"), - (3335, "ethstorage"), - (3338, "peaq"), - (3400, "paribu_net"), - (3424, "evolve"), - (3434, "secure_testnet"), - (3456, "layeredge_testnet"), - (3490, "gtcscan"), - (3500, "paribu_net_testnet"), - (3501, "jfin"), - (3601, "pandoproject"), - (3602, "pandoproject_testnet"), - (3630, "tycooncoin"), - (3636, "botanix_testnet"), - (3637, "botanix"), - (3639, "i"), - (3645, "i_testnet"), - (3666, "jouleverse"), - (3690, "bittex"), - (3693, "empire"), - (3698, "senjepowers_testnet"), - (3699, "senjepowers"), - (3701, "xpla_testnet"), - (3737, "crossbell"), - (3776, "astar_zkevm"), - (3797, "alvey"), - (3799, "tangle_testnet"), - (3885, "fire_zkevm_ghostrider"), - (3888, "kaly"), - (3889, "kaly_testnet"), - (3912, "drac"), - (3939, "dos_tesnet"), - (3966, "dyno"), - (3967, "dyno_testnet"), - (3993, "apex_testnet"), - (3999, "yuan"), - (4000, "ozone"), - (4001, "peperium_testnet"), - (4002, "fantom_testnet"), - (4003, "x1_fastnet"), - (4040, "carbonium_testnet"), - (4048, "gan_testnet"), - (4051, "bobaopera_testnet"), - (4058, "bahamut_ocean"), - (4061, "nahmii_3"), - (4062, "nahmii_3_testnet"), - (4078, "muster"), - (4080, "tobe_testnet"), - (4088, "zeroth"), - (4090, "fastex_bahamut_oasis_testnet"), - (4096, "bitindi_testnet"), - (4099, "bitindi"), - (4102, "aioz_testnet"), - (4139, "humans.ai_testnet"), - (4141, "tipboxcoin_testnet"), - (4157, "crossfi_testnet"), - (4162, "sx_rollup"), - (4181, "phi_v1"), - (4200, "merlin"), - (4201, "lukso_testnet"), - (4202, "lisk_sepolia_testnet"), - (4242, "nexi"), - (4243, "nexi_v2"), - (4269, "laika_testnet"), - (4328, "bobafuji_testnet"), - (4337, "beam"), - (4400, "credit"), - (4444, "htmlcoin"), - (4460, "orderly_sepolia_testnet"), - (4488, "hydra"), - (4544, "emoney_testnet"), - (4613, "very"), - (4653, "gold"), - (4689, "iotex"), - (4690, "iotex_testnet"), - (4759, "meverse_testnet"), - (4777, "blackfort_exchange_testnet"), - (4801, "world_sepolia_testnet"), - (4893, "globel"), - (4918, "venidium_testnet"), - (4919, "venidium"), - (4999, "blackfort_exchange"), - (5000, "mantle"), - (5001, "mantle_testnet"), - (5002, "treasurenet_alpha"), - (5003, "mantle_sepolia_testnet"), - (5005, "treasurenet_testnet"), - (5039, "onigiri_test_subnet"), - (5040, "onigiri_subnet"), - (5051, "nollie_skate_testnet"), - (5100, "syndicate_testnet"), - (5101, "syndicate_frame"), - (5102, "sic_testnet"), - (5103, "coordinape_testnet"), - (5104, "charmverse_testnet"), - (5105, "superloyalty_testnet"), - (5106, "azra_testnet"), - (5112, "ham"), - (5151, "me_testnet"), - (5165, "bahamut"), - (5169, "smart_layer"), - (5177, "tl"), - (5197, "eraswap"), - (5234, "humanode"), - (5290, "fire_old"), - (5315, "uzmi"), - (5317, "optrust_testnet"), - (5321, "itx_testnet"), - (5333, "netsbo"), - (5353, "tritanium_testnet"), - (5372, "settlus_testnet"), - (5424, "edexa"), - (5439, "ego"), - (5522, "vex_evm_testnet"), - (5545, "duck"), - (5551, "nahmii_2"), - (5553, "nahmii_2_testnet"), - (5555, "verse"), - (5611, "opbnb_testnet"), - (5615, "arcturus_testneet"), - (5616, "arcturus_testnet"), - (5656, "qie_block"), - (5675, "filenova_testnet"), - (5678, "tanssi_demo"), - (5700, "syscoin_tanenbaum_testnet"), - (5729, "hika_testnet"), - (5758, "satoshi_testnet"), - (5777, "ganache"), - (5845, "tangle"), - (5851, "ontology_testnet"), - (5858, "chang_foundation"), - (5869, "wego_rubidium"), - (6000, "bouncebit_testnet"), - (6001, "bouncebit"), - (6065, "tres_testnet"), - (6066, "tres"), - (6102, "cascadia_testnet"), - (6118, "uptn_testnet"), - (6119, "uptn"), - (6283, "laos"), - (6321, "aura_euphoria_testnet"), - (6322, "aura"), - (6363, "digit_soul"), - (6398, "connext_sepolia"), - (6502, "peerpay"), - (6550, "flamma_testnet"), - (6552, "scolcoin_wei_testnet"), - (6565, "fox_testnet"), - (6626, "pixie"), - (6660, "latest_testnet"), - (6661, "cybria"), - (6666, "cybria_testnet"), - (6667, "stor"), - (6678, "edge_matrix"), - (6688, "irishub"), - (6699, "ox"), - (6701, "paxb"), - (6779, "compverse"), - (6805, "race"), - (6806, "race_testnet"), - (6868, "pools"), - (6880, "mtt"), - (6942, "laika"), - (6969, "tomb"), - (6999, "polysmart"), - (7000, "zeta"), - (7001, "zeta_testnet"), - (7007, "bst"), - (7027, "ella_the_heart"), - (7070, "planq"), - (7077, "planq_atlas_testnet"), - (7100, "nume"), - (7118, "help_the_homeless"), - (7171, "bitrock"), - (7210, "nibiru_testnet_1"), - (7222, "nibiru_devnet_3"), - (7244, "zeus_testnet"), - (7300, "xpla_verse"), - (7331, "klyntar"), - (7332, "horizen_eon"), - (7341, "shyft"), - (7484, "raba"), - (7518, "meverse"), - (7560, "cyber"), - (7575, "adil_testnet"), - (7576, "adil_v2"), - (7668, "the_root"), - (7672, "the_root_porcini_testnet"), - (7700, "canto"), - (7701, "canto_tesnet"), - (7771, "bitrock_testnet"), - (7774, "gdcc"), - (7775, "gdcc_testnet"), - (7776, "pandasea"), - (7777, "rise_of_the_warbots_testnet"), - (7778, "orenium_protocol"), - (7798, "openex_long_testnet"), - (7860, "maal_testnet"), - (7862, "maal_v2"), - (7863, "maal_testnet_v2"), - (7878, "hazlor_testnet"), - (7887, "kinto"), - (7895, "ardenium_athena"), - (7923, "dot_blox"), - (7924, "mo"), - (7979, "dos"), - (8000, "teleport"), - (8001, "teleport_testnet"), - (8008, "polynomial"), - (8017, "isuncoin"), - (8029, "mdgl_testnet"), - (8047, "boat"), - (8054, "karak_sepolia"), - (8080, "shardeum_liberty_1.x"), - (8081, "shardeum_liberty_2.x"), - (8082, "shardeum_sphinx_1.x"), - (8086, "bitcoin"), - (8087, "e_dollar"), - (8098, "streamux_block"), - (8131, "qitmeer_testnet"), - (8132, "qitmeer_mixnet"), - (8133, "qitmeer_privnet"), - (8134, "amana"), - (8135, "flana"), - (8136, "mizana"), - (8181, "testnet_beone"), - (8192, "torus"), - (8194, "torus_testnet"), - (8217, "kaia"), - (8227, "space_subnet"), - (8272, "blockton_block"), - (8285, "korthotest"), - (8329, "lorenzo"), - (8333, "b3"), - (8387, "dracones_financial_services"), - (8428, "that"), - (8453, "base"), - (8545, "chakra_testnet"), - (8654, "toki"), - (8655, "toki_testnet"), - (8668, "hela_official_runtime"), - (8723, "tool_global"), - (8724, "tool_global_testnet"), - (8726, "storage"), - (8727, "storage_testnet"), - (8732, "bullions"), - (8738, "alph"), - (8768, "tmy"), - (8822, "iota_evm"), - (8844, "hydra_testnet"), - (8848, "maro_block"), - (8866, "superlumio"), - (8869, "lif3"), - (8880, "unique"), - (8881, "quartz_by_unique"), - (8882, "opal_testnet_by_unique"), - (8883, "sapphire_by_unique"), - (8886, "avenium_testnet"), - (8888, "xana"), - (8889, "vyvo"), - (8890, "orenium_testnet_protocol"), - (8898, "mammoth"), - (8899, "jib"), - (8911, "algen"), - (8912, "algen_testnet"), - (8921, "algen_layer2"), - (8922, "algen_layer2_testnet"), - (8989, "giant_mammoth"), - (8995, "bloxberg"), - (9000, "evmos_testnet"), - (9001, "evmos"), - (9007, "shido_testnet_block"), - (9008, "shido_block"), - (9012, "berylbit"), - (9024, "nexa_testnet_block"), - (9025, "nexa_block"), - (9069, "apex_fusion_nexus"), - (9070, "apex_fusion_nexus_testnet"), - (9100, "genesis_coin"), - (9170, "rinia_testnet_old"), - (9223, "codefin"), - (9339, "dogcoin_testnet"), - (9372, "oasys_testnet"), - (9393, "dela_sepolia_testnet"), - (9395, "evoke"), - (9496, "weavevm_testnet"), - (9527, "rangers_protocol_testnet_robin"), - (9528, "qeasyweb3_testnet"), - (9559, "neonlink_testnet"), - (9700, "oortdev"), - (9728, "boba_bnb_testnet"), - (9768, "mainnetz_testnet"), - (9779, "pepenetwork"), - (9789, "tabi_testnet"), - (9790, "carbon_evm"), - (9792, "carbon_evm_testnet"), - (9797, "optimusz7"), - (9818, "imperium_testnet"), - (9819, "imperium"), - (9876, "binary_testnet"), - (9888, "dogelayer"), - (9897, "arena_z_testnet"), - (9898, "larissa"), - (9911, "espento"), - (9966, "uxer_testnet"), - (9977, "mind_testnet"), - (9980, "combo"), - (9981, "volley"), - (9990, "agung"), - (9997, "altlayer_testnet"), - (9998, "ztc"), - (9999, "myown_testnet"), - (10000, "smart_bitcoin_cash"), - (10001, "smart_bitcoin_cash_testnet"), - (10024, "gon"), - (10081, "japan_open_testnet"), - (10086, "sjatsh"), - (10096, "metanova_verse"), - (10101, "block_genesis"), - (10200, "gnosis_chiado_testnet"), - (10201, "maxx"), - (10222, "glscan"), - (10242, "arthera"), - (10243, "arthera_testnet"), - (10248, "0xtade"), - (10321, "tao_evm"), - (10324, "tao_evm_testnet"), - (10395, "worldland_testnet"), - (10507, "numbers"), - (10508, "numbers_testnet"), - (10823, "cryptocoinpay"), - (10849, "lamina1"), - (10850, "lamina1_identity"), - (10946, "quadrans_block"), - (10947, "quadrans_block_testnet"), - (11000, "kb"), - (11011, "shape_sepolia_testnet"), - (11110, "astra"), - (11111, "wagmi"), - (11115, "astra_testnet"), - (11119, "hashbit"), - (11124, "abstract_testnet"), - (11221, "shine"), - (11227, "jiritsu_testnet_subnet"), - (11235, "haqq"), - (11437, "shyft_testnet"), - (11501, "bevm"), - (11503, "bevm_testnet"), - (11521, "sats"), - (11612, "sardis_testnet"), - (11822, "artela_testnet"), - (11891, "polygon_supernet_arianee"), - (12001, "fuse_testnet"), - (12009, "satoshi"), - (12020, "aternos"), - (12051, "singularity_zero_testnet"), - (12052, "singularity_zero"), - (12123, "brc"), - (12306, "fibonacci"), - (12321, "blg_testnet"), - (12324, "l3x_protocol"), - (12325, "l3x_protocol_testnet"), - (12345, "step_testnet"), - (12553, "rss3_vsl"), - (12715, "rikeza_testnet"), - (12781, "playdapp_testnet"), - (12890, "quantum_testnet"), - (12898, "playfair_testnet_subnet"), - (13000, "sps"), - (13337, "beam_testnet"), - (13370, "cannon_testnet"), - (13371, "immutable_zkevm"), - (13381, "phoenix"), - (13396, "masa"), - (13473, "immutable_zkevm_testnet"), - (13505, "gravity_alpha_testnet_sepolia"), - (13600, "kronobit"), - (13812, "susono"), - (14000, "sps_testnet"), - (14088, "zeroth_testnet"), - (14324, "evolve_testnet"), - (14333, "vitruveo_testnet"), - (14800, "vana_moksha_testnet"), - (14801, "vana_satori_testnet"), - (14853, "humanode_testnet_5_israfel"), - (15003, "immutable_zkevm_devnet"), - (15257, "poodl_testnet"), - (15259, "poodl"), - (15430, "kymtc"), - (15551, "loopnetwork"), - (15555, "trust_evm_testnet"), - (15557, "eos_evm_testnet"), - (16000, "metadot"), - (16001, "metadot_testnet"), - (16116, "defiverse"), - (16166, "cypherium"), - (16180, "plyr_phi"), - (16350, "incentiv_devnet"), - (16481, "pivotal_sepolia"), - (16507, "genesys"), - (16600, "0g_newton_testnet"), - (16688, "irishub_testnet"), - (16718, "airdao"), - (16888, "ivar_testnet"), - (17000, "holesky"), - (17001, "redstone_holesky_testnet"), - (17069, "garnet_holesky"), - (17071, "on_points"), - (17117, "defiverse_testnet"), - (17171, "g8"), - (17172, "eclipse_subnet"), - (17180, "palette_testnet"), - (17217, "konet"), - (17777, "eos_evm"), - (18000, "frontier_of_dreams_testnet"), - (18122, "smart_trades"), - (18159, "proof_of_memes"), - (18181, "g8_testnet"), - (18231, "unreal_old"), - (18233, "unreal"), - (18686, "mxc_zkevm_moon"), - (18888, "titan_tkx"), - (18889, "titan_tkx_testnet"), - (19011, "home_verse"), - (19077, "blockx_atlantis_testnet"), - (19191, "blockx"), - (19224, "decentraconnect_social"), - (19527, "magnet"), - (19600, "lbry"), - (19845, "btcix"), - (20001, "camelark"), - (20041, "niza"), - (20073, "niza_testnet"), - (20729, "callisto_testnet"), - (20736, "p12"), - (20765, "jono11_subnet"), - (21004, "c4ei"), - (21133, "all_about_healthy"), - (21223, "dcpay"), - (21224, "dcpay_testnet"), - (21337, "cennznet_azalea"), - (21363, "lestnet"), - (21816, "om"), - (21912, "bsl"), - (22023, "taycan"), - (22040, "airdao_testnet"), - (22222, "nautilus"), - (22324, "goldx_testnet"), - (22776, "map_protocol"), - (23006, "antofy_testnet"), - (23118, "opside_testnet"), - (23294, "oasis_sapphire"), - (23295, "oasis_sapphire_testnet"), - (23451, "dreyerx"), - (23452, "dreyerx_testnet"), - (23888, "blast_testnet"), - (24076, "kymtc_testnet"), - (24484, "web"), - (24734, "mintme.com"), - (25186, "liquidlayer"), - (25327, "everclear"), - (25839, "alvey_testnet"), - (25888, "hammer"), - (25925, "bitkub_testnet"), - (26026, "ferrum_testnet"), - (26482, "ducatusx_testnet"), - (26483, "ducatusx"), - (26600, "hertz"), - (26863, "oasis"), - (27181, "klaos_nova"), - (27483, "nanon_sepolia"), - (27827, "zeroone_subnet"), - (28516, "vizing_testnet"), - (28518, "vizing"), - (28528, "optimism_bedrock_goerli_alpha_testnet"), - (28882, "boba_sepolia"), - (29112, "hy_testnet"), - (29223, "nexa_metanet"), - (29536, "kai_testnet"), - (29548, "mch_verse"), - (30000, "q"), - (30067, "piece_testnet"), - (30088, "miyou"), - (30103, "cerium_testnet"), - (30730, "movement_evm_legacy"), - (30731, "movement_evm_devnet"), - (30732, "movement_evm_testnet"), - (31102, "ethersocial"), - (31223, "cloudtx"), - (31224, "cloudtx_testnet"), - (31337, "go_testnet"), - (31414, "evoke_testnet"), - (31415, "filecoin_wallaby_testnet"), - (31753, "x"), - (31754, "x_testnet"), - (32001, "w3gamez_holesky_testnet"), - (32382, "santiment_intelligence"), - (32520, "bitgert"), - (32659, "fusion"), - (32769, "zilliqa_evm"), - (32990, "zilliqa_evm_isolated_server"), - (33033, "entangle"), - (33101, "zilliqa_evm_testnet"), - (33103, "zilliqa_2_evm_proto_testnet"), - (33111, "curtis"), - (33133, "entangle_testnet"), - (33210, "cloudverse_subnet"), - (33333, "aves"), - (33385, "zilliqa_evm_devnet"), - (33401, "slingshot"), - (33469, "zilliqa_2_evm_devnet"), - (33979, "funki"), - (34443, "mode"), - (34504, "zeus"), - (35011, "j2o_taro"), - (35443, "q_testnet"), - (38400, "connectormanager"), - (38401, "connectormanager_robin"), - (39656, "prm"), - (39797, "energi"), - (39815, "oho"), - (40000, "div"), - (41455, "aleph_zero_evm"), - (41500, "opulent_x_beta"), - (42069, "pegglecoin"), - (42072, "agentlayer_testnet"), - (42161, "arbitrum"), - (42170, "arbitrum_nova"), - (42220, "celo"), - (42261, "oasis_emerald_testnet"), - (42262, "oasis_emerald"), - (42355, "goldx"), - (42421, "asset_testnet"), - (42766, "zkfair"), - (42793, "etherlink"), - (42801, "gesoten_verse_testnet"), - (42888, "kinto_testnet"), - (43110, "athereum"), - (43111, "hemi"), - (43113, "avalanche_fuji_testnet"), - (43114, "avalanche"), - (43288, "boba_avax"), - (43851, "zkfair_testnet"), - (44444, "fren"), - (44445, "quantum"), - (44787, "celo_alfajores_testnet"), - (45000, "autobahn"), - (45454, "swamps_l2"), - (45510, "deelance"), - (45513, "blessnet"), - (46688, "fusion_testnet"), - (47763, "neo_x"), - (47803, "redefi_layer_1"), - (47805, "rei"), - (48795, "space_subnet_testnet"), - (48899, "zircuit_testnet"), - (48900, "zircuit"), - (49049, "wireshape_floripa_testnet"), - (49088, "bifrost_testnet"), - (49321, "gunz_testnet"), - (49797, "energi_testnet"), - (50001, "liveplex_oracleevm"), - (50005, "yooldo_verse"), - (50006, "yooldo_verse_testnet"), - (50021, "gton_testnet"), - (50888, "erbie"), - (51178, "lumoz_testnet_alpha"), - (51712, "sardis"), - (52014, "electroneum"), - (53277, "doid"), - (53302, "superseed_sepolia_testnet"), - (53457, "dodo_testnet"), - (53935, "dfk"), - (54176, "overprotocol"), - (54211, "haqq_testnet"), - (54321, "toronet_testnet"), - (55004, "titan"), - (55551, "photon_aurora_testnet"), - (55556, "rei_testnet"), - (55614, "flamma"), - (56026, "lambda"), - (56288, "boba_bnb"), - (56400, "testnet_zeroone_subnet"), - (56789, "velo_labs"), - (56797, "doid_testnet"), - (57000, "rollux_testnet"), - (57451, "coinsec"), - (58008, "sepolia_pgn_public_goods"), - (58680, "lumoz_quidditch_testnet"), - (59140, "linea_goerli"), - (59141, "linea_sepolia"), - (59144, "linea"), - (59902, "metis_sepolia_testnet"), - (59971, "genesys_code"), - (60000, "thinkium_testnet_0"), - (60001, "thinkium_testnet_1"), - (60002, "thinkium_testnet_2"), - (60103, "thinkium_testnet_103"), - (60808, "bob"), - (61022, "orange"), - (61406, "kai"), - (61800, "axel_dev_net"), - (61803, "etica"), - (61916, "doken_super"), - (62049, "optopia_testnet"), - (62050, "optopia"), - (62298, "citrea_devnet"), - (62320, "celo_baklava_testnet"), - (62621, "multivac"), - (62831, "plyr_tau_testnet"), - (62850, "laos_sigma_testnet"), - (63000, "ecredits"), - (63001, "ecredits_testnet"), - (63002, "esync_testnet"), - (65349, "cratd2c_testnet"), - (65357, "vecno"), - (65450, "scolcoin"), - (65536, "automata"), - (66665, "creator_testnet"), - (66988, "janus_testnet"), - (67390, "siriusnet"), - (67588, "cosmic"), - (68770, "dm2_verse"), - (68775, "dm2_verse_testnet"), - (69420, "condrieu"), - (70000, "thinkium_0"), - (70001, "thinkium_1"), - (70002, "thinkium_2"), - (70103, "thinkium_103"), - (70700, "proof_of_play_apex"), - (71111, "guapcoinx"), - (71393, "polyjuice_testnet"), - (71401, "godwoken_testnet_v1"), - (71402, "godwoken"), - (72778, "caga_crypto_ankara_testnet"), - (72992, "grok"), - (73114, "icb_testnet"), - (73115, "icb"), - (73799, "energy_web_volta_testnet"), - (73927, "mixin_virtual_machine"), - (75000, "resincoin"), - (75512, "geek_verse"), - (75513, "geek_verse_testnet"), - (77001, "bora"), - (77238, "foundry_testnet"), - (77612, "vention"), - (77677, "cycle_sailboat"), - (77777, "toronet"), - (78110, "firenze_test"), - (78281, "dragonfly_hexapod"), - (78430, "amplify_subnet"), - (78431, "bulletin_subnet"), - (78432, "conduit_subnet"), - (78600, "vanguard"), - (79879, "gold_testnet"), - (80001, "mumbai"), - (80002, "amoy"), - (80008, "polynomia_sepolia"), - (80084, "bera_bartio"), - (80085, "bera_artio"), - (80096, "hizoco"), - (81041, "nordek"), - (81341, "amana_testnet"), - (81342, "amana_mixnet"), - (81343, "amana_privnet"), - (81351, "flana_testnet"), - (81352, "flana_mixnet"), - (81353, "flana_privnet"), - (81361, "mizana_testnet"), - (81362, "mizana_mixnet"), - (81363, "mizana_privnet"), - (82459, "smart_layer_testnet"), - (83144, "xprotocol_testnet"), - (83278, "esa"), - (83872, "zedxion"), - (84531, "base_goerli_testnet"), - (84532, "base_sepolia_testnet"), - (84886, "aerie"), - (85449, "cybertrust"), - (88002, "nautilus_proteus_testnet"), - (88559, "inoai"), - (88800, "zkasino"), - (88817, "unit_zero_testnet"), - (88819, "unit_zero_stagenet"), - (88880, "chiliz_scoville_testnet"), - (88882, "chiliz_spicy_testnet"), - (88888, "chiliz"), - (90001, "fxcore_testnet"), - (90210, "beverly_hills"), - (90354, "camp_testnet"), - (91002, "nautilus_trition"), - (91120, "metadap_enterprise"), - (91715, "combo_testnet"), - (92001, "lambda_testnet"), - (93572, "liquidlayer_testnet"), - (93747, "stratovm_testnet"), - (96970, "mantis_testnet_hexapod"), - (97053, "tetron_testnet"), - (97055, "tetron"), - (97288, "boba_bnb_old"), - (97435, "slingshot_testnet"), - (97531, "green_testnet"), - (97970, "optimusz7_testnet"), - (98881, "ebi"), - (99099, "eliberty_testnet"), - (99876, "edge_matrix_testnet"), - (99998, "ubtestnet"), - (99999, "ub"), - (100000, "quark_root"), - (100001, "quark_shard_0"), - (100002, "quark_shard_1"), - (100003, "quark_shard_2"), - (100004, "quark_shard_3"), - (100005, "quark_shard_4"), - (100006, "quark_shard_5"), - (100007, "quark_shard_6"), - (100008, "quark_shard_7"), - (100009, "ve"), - (100010, "ve_testnet"), - (100011, "quark_l2"), - (101010, "global_trust"), - (102030, "creditcoin"), - (102031, "creditcoin_testnet"), - (102032, "creditcoin_devnet"), - (103090, "crystaleum"), - (103454, "masa_testnet"), - (104566, "kaspaclassic"), - (105105, "stratis"), - (108801, "bro"), - (110000, "quark_devnet_root"), - (110001, "quark_devnet_shard_0"), - (110002, "quark_devnet_shard_1"), - (110003, "quark_devnet_shard_2"), - (110004, "quark_devnet_shard_3"), - (110005, "quark_devnet_shard_4"), - (110006, "quark_devnet_shard_5"), - (110007, "quark_devnet_shard_6"), - (110008, "quark_devnet_shard_7"), - (110011, "quark_l2_testnet"), - (110110, "mars_credit"), - (111000, "siberium_test"), - (111111, "siberium"), - (111188, "re.al"), - (112358, "meta_one"), - (119139, "metadap_enterprise_testnet"), - (123321, "gem"), - (123456, "adil_devnet"), - (128123, "etherlink_testnet"), - (131313, "odyssey_testnet"), - (131419, "etnds"), - (132902, "form_testnet"), - (141319, "magape_testnet"), - (142857, "icplaza"), - (161212, "playfi"), - (165279, "eclat"), - (167000, "taiko"), - (167004, "taiko_alpha_2_testnet"), - (167005, "taiko_grimsvotn_l2"), - (167006, "taiko_eldfell_l3"), - (167007, "taiko_jolnir_l2"), - (167008, "taiko_katla_l2"), - (167009, "taiko_hekla_l2"), - (168168, "zs"), - (171000, "fair_testnet"), - (175177, "chronicle_lit_protocol_testnet"), - (175188, "chronicle_yellowstone_lit_protocol_testnet"), - (188710, "bitica"), - (188881, "condor_test"), - (199991, "mazze_testnet"), - (200000, "xfair.ai_testnet"), - (200101, "milkomeda_c1_testnet"), - (200202, "milkomeda_a1_testnet"), - (200625, "akroma"), - (200810, "bitlayer_testnet"), - (200901, "bitlayer"), - (201018, "alaya"), - (201030, "alaya_dev_testnet"), - (201804, "mythical"), - (202020, "decimal_testnet"), - (202105, "duck_testnet"), - (202202, "bethel_sydney"), - (202212, "x1_devnet"), - (202401, "ymtech_besu_testnet"), - (202624, "jellie"), - (204005, "x1_network"), - (205205, "auroria_testnet"), - (210049, "gitagi_atlas_testnet"), - (210425, "platon"), - (212013, "litentry"), - (220315, "mas"), - (221230, "reap"), - (221231, "reap_testnet"), - (222222, "hydradx"), - (222555, "deepl"), - (222666, "deepl_testnet"), - (224168, "taf_eco"), - (224422, "conet_sebolia_testnet"), - (224433, "conet_holesky"), - (229772, "abyss_protocol"), - (230315, "hashkey_testnetdiscard"), - (234666, "haymo_testnet"), - (240515, "orange_testnet"), - (246529, "artis_sigma1"), - (246785, "artis_testnet_tau1"), - (247253, "saakuru_testnet"), - (256256, "cmp"), - (262371, "eclat_testnet"), - (266256, "gear_zero_testnet"), - (271271, "egoncoin_testnet"), - (281121, "social"), - (282828, "zillion_sepolia_testnet"), - (292003, "cipherem_testnet"), - (309075, "one_world"), - (313313, "saharaai_testnet"), - (314159, "filecoin_calibration_testnet"), - (322202, "parex"), - (323213, "bloom_genesis_testnet"), - (327126, "waba_testnet"), - (328527, "nal"), - (330844, "ttcoin"), - (333313, "bloom_genesis"), - (333331, "aves_testnet"), - (333333, "nativ3_testnet"), - (333666, "oone_testnet"), - (333777, "oone_devnet"), - (333888, "polis_testnet"), - (333999, "polis"), - (336655, "up_testnet"), - (336666, "up"), - (355110, "bitfinity"), - (355113, "bitfinity_testnet"), - (360890, "lavita"), - (363636, "digit_soul_2"), - (373737, "hap_testnet"), - (381931, "metal_c"), - (381932, "metal_tahoe_c"), - (404040, "tipboxcoin"), - (413413, "aie_testnet"), - (420420, "kek"), - (420666, "kek_kektest"), - (420692, "alterium_l2_testnet"), - (421611, "arbitrum_rinkeby"), - (421613, "arbitrum_goerli"), - (421614, "arbitrum_sepolia"), - (424242, "fastex_testnet"), - (431140, "markr_go"), - (432201, "dexalot_subnet_testnet"), - (432204, "dexalot_subnet"), - (444444, "syndr_l3_sepolia"), - (444900, "weelink_testnet"), - (471100, "patex_sepolia_testnet"), - (473861, "ultra_pro"), - (474142, "open"), - (486487, "gobbl_testnet"), - (490000, "autonomys_testnet_nova_domain"), - (504441, "playdapp"), - (512512, "cmp_testnet"), - (513100, "dis"), - (526916, "docoin_community"), - (534351, "scroll_sepolia_testnet"), - (534352, "scroll"), - (534353, "scroll_alpha_testnet"), - (534354, "scroll_pre_alpha_testnet"), - (534849, "shinarium_beta"), - (535037, "beaneco_smart"), - (541764, "overprotocol_testnet"), - (552981, "one_world_testnet"), - (555555, "pentagon_testnet"), - (555666, "eclipse_testnet"), - (555888, "dustboy_iot"), - (622277, "hypra"), - (622463, "atlas"), - (641230, "bear"), - (651940, "all"), - (656476, "open_campus_codex"), - (660279, "xai"), - (666666, "vision_vpioneer_test"), - (666888, "hela_official_runtime_testnet"), - (686868, "won"), - (696969, "galadriel_devnet"), - (710420, "tiltyard_subnet"), - (713715, "sei_devnet"), - (721529, "eram"), - (723107, "tix_testnet"), - (743111, "hemi_sepolia"), - (751230, "bear_testnet"), - (752024, "ternoa_testnet"), - (761412, "miexs_smart"), - (764984, "lamina1_testnet"), - (767368, "lamina1_identity_testnet"), - (776877, "modularium"), - (800001, "octaspace"), - (808080, "biz_testnet"), - (808813, "bob_sepolia"), - (810180, "zklink_nova"), - (810181, "zklink_nova_sepolia_testnet"), - (810182, "zklink_nova_goerli_testnet"), - (812397, "sg_verse"), - (820522, "tsc_testnet"), - (827431, "curve"), - (839320, "prm_testnet"), - (840000, "runevm_testnet"), - (846000, "4goodnetwork"), - (855456, "dodao"), - (879151, "blocx"), - (888882, "rexx"), - (888888, "vision"), - (900000, "posi_shard_0"), - (910000, "posi_testnet_shard_0"), - (912559, "astria_evm_dusknet"), - (920000, "posi_devnet_shard_0"), - (920001, "posi_devnet_shard_1"), - (923018, "fncy_testnet"), - (955081, "jono12_subnet"), - (955305, "eluvio_content_fabric"), - (978657, "treasure_ruby"), - (984122, "forma"), - (984123, "forma_sketchpad"), - (988207, "ecrox"), - (998899, "supernet_testnet"), - (999999, "am"), - (1100789, "netmind_testnet"), - (1234567, "sharecle"), - (1261120, "zkatana"), - (1313114, "etho_protocol"), - (1313500, "xerom"), - (1337702, "kintsugi"), - (1337802, "kiln"), - (1337803, "zhejiang"), - (1398243, "automata_testnet"), - (1398244, "automata_orbit_testnet"), - (1612127, "playfi_albireo_testnet"), - (1637450, "xterio_testnet"), - (1731313, "turkey_demo_dev"), - (2021398, "debank_testnet"), - (2099156, "plian_main"), - (2206132, "platon_dev_testnet2"), - (2611555, "dpu"), - (2702128, "xterio"), - (3132023, "saharaai"), - (3141592, "filecoin_butterfly_testnet"), - (3397901, "funki_sepolia_sandbox"), - (3441005, "manta_pacific_testnet"), - (3441006, "manta_pacific_sepolia_testnet"), - (4000003, "altlayer_zero_gas"), - (4281033, "worlds_caldera"), - (4444444, "altar_testnet"), - (4457845, "zero_testnet_sepolia"), - (5112023, "numblock"), - (5167003, "mxc_wannsee_zkevm_testnet"), - (5167004, "moon_geneva_testnet"), - (5201420, "electroneum_testnet"), - (5318008, "reactive_kopli"), - (5555555, "imversed"), - (5555558, "imversed_testnet"), - (6038361, "astar_zkyoto"), - (6666665, "safeanwang"), - (6666666, "safeanwang_testnet"), - (7082400, "coti_testnet"), - (7225878, "saakuru"), - (7355310, "openvessel"), - (7668378, "ql1_testnet"), - (7762959, "musicoin"), - (7777777, "zora"), - (8007736, "plian_sub_1"), - (8008135, "fhenix_helium"), - (8080808, "hokum"), - (8601152, "waterfall_8_test"), - (8794598, "hap"), - (8888881, "quarix_testnet"), - (8888888, "quarix"), - (9322252, "xcap"), - (9322253, "milvine"), - (9999999, "fluence"), - (10067275, "plian_testnet_sub_1"), - (10101010, "soverun"), - (10241024, "alienx"), - (10241025, "alienx_hal_testnet"), - (11145513, "blessnet_sepolia"), - (11155111, "sepolia"), - (11155420, "op_sepolia_testnet"), - (12052024, "memento_testnet"), - (12227331, "neox_testnet_t3"), - (12227332, "neo_x_testnet_t4"), - (13068200, "coti_devnet"), - (13371337, "pep_churchill"), - (14288640, "andus"), - (16658437, "plian_testnet_main"), - (18071918, "mande"), - (18289463, "iolite"), - (19850818, "deepbrain_testnet"), - (19880818, "deepbrain"), - (20180427, "stability_testnet"), - (20180430, "smartmesh"), - (20181205, "quarkblock"), - (20201022, "pego"), - (20230825, "vcity_testnet"), - (20240324, "debank_sepolia_testnet"), - (20240603, "dbk"), - (20241133, "swan_proxima_testnet"), - (20482050, "hokum_testnet"), - (22052002, "excelon"), - (24772477, "6degree_of_outreach_testnet"), - (27082017, "excoincial_volta_testnet"), - (27082022, "excoincial"), - (28122024, "ancient8_testnet"), - (28945486, "auxilium"), - (29032022, "fla"), - (31415926, "filecoin_local_testnet"), - (33626250, "toliman_suave_testnet"), - (35855456, "joys_digital"), - (37084624, "skale_nebula_hub_testnet"), - (39916801, "kingdom"), - (43214913, "maistestsubnet"), - (52164803, "fluence_testnet"), - (61717561, "aqua"), - (65010000, "autonity_bakerloo_thames_testnet"), - (65010001, "autonity_bakerloo_barada_testnet"), - (65010002, "autonity_bakerloo_sumida_testnet"), - (65010003, "autonity_bakerloo_yamuna_testnet"), - (65100000, "autonity_piccadilly_thames_testnet"), - (65100001, "autonity_piccadilly_barada_testnet"), - (65100002, "autonity_piccadilly_sumida_testnet"), - (65100003, "autonity_piccadilly_yamuna_testnet"), - (68840142, "frame_testnet"), - (77787778, "0xhash_testnet"), - (79479957, "sx_toronto_rollup"), - (88558801, "backstop_testnet"), - (88888888, "t.e.a.m_block"), - (94204209, "polygon_blackberry"), - (99415706, "joys_digital_testnet"), - (100000000, "ethos"), - (108160679, "orai"), - (111557560, "cyber_testnet"), - (123420111, "op_celestia_raspberry"), - (161221135, "plume_testnet"), - (168587773, "blast_sepolia_testnet"), - (192837465, "gather"), - (222000222, "kanazawa"), - (245022926, "neon_evm_devnet"), - (245022929, "neon_evm_devnet_rollup"), - (245022934, "neon_evm"), - (245022940, "neon_evm_testnet"), - (278611351, "razor_skale"), - (311752642, "oneledger"), - (328527624, "nal_sepolia_testnet"), - (333000333, "meld"), - (356256156, "gather_testnet"), - (476462898, "skopje_testnet"), - (486217935, "gather_devnet"), - (531050104, "sophon_testnet"), - (666666666, "degen"), - (728126428, "tron"), - (888888888, "ancient8"), - (889910245, "ptcescan_testnet"), - (889910246, "ptcescan"), - (974399131, "skale_calypso_hub_testnet"), - (999999999, "zora_sepolia_testnet"), - (1020352220, "skale_titan_hub_testnet"), - (1122334455, "ipos"), - (1146703430, "cyberdecknet"), - (1273227453, "human_protocol"), - (1313161554, "aurora"), - (1313161555, "aurora_testnet"), - (1313161556, "aurora_betanet"), - (1313161560, "powergold"), - (1350216234, "skale_titan_hub"), - (1351057110, "chaos_skale_testnet"), - (1380012617, "rari"), - (1380996178, "raptor"), - (1444673419, "skale_europa_hub_testnet"), - (1482601649, "skale_nebula_hub"), - (1511670449, "gpt"), - (1564830818, "skale_calypso_hub"), - (1666600000, "harmony_shard_0"), - (1666600001, "harmony_shard_1"), - (1666600002, "harmony_shard_2"), - (1666600003, "harmony_shard_3"), - (1666700000, "harmony_testnet_shard_0"), - (1666700001, "harmony_testnet_shard_1"), - (1666900000, "harmony_devnet_shard_0"), - (1666900001, "harmony_devnet_shard_1"), - (1722641160, "silicon_zkevm_sepolia_testnet"), - (1802203764, "kakarot_sepolia"), - (1903648807, "gemu_testnet"), - (1918988905, "rari_testnet"), - (2021121117, "datahopper"), - (2046399126, "skale_europa_hub"), - (3125659152, "pirl"), - (4216137055, "oneledger_testnet_frankenstein"), - (11297108099, "palm_testnet"), - (28872323069, "gitswarm_test"), - (37714555429, "xai_testnet_v2"), - (88153591557, "arbitrum_blueberry"), - (111222333444, "alphabet"), - (111551119090, "thanos_sepolia"), - (123420000220, "fluence_stage"), - (197710212030, "ntity"), - (197710212031, "haradev_testnet"), - (202402181627, "gm_testnet"), - (383414847825, "zeniq"), - (666301171999, "pdc"), - (6022140761023, "molereum"), - (2713017997578000, "d_testnet"), -]; diff --git a/rust/crates/mesc/src/overrides.rs b/rust/crates/mesc/src/overrides.rs deleted file mode 100644 index 9f0997b..0000000 --- a/rust/crates/mesc/src/overrides.rs +++ /dev/null @@ -1,284 +0,0 @@ -use crate::{ChainId, Endpoint, MescError, Profile, RpcConfig, TryIntoChainId}; -use std::collections::HashMap; - -/// get active overrides -pub fn get_active_overrides() -> Vec { - let overrides = [ - "MESC_NETWORK_NAMES", - "MESC_NETWORK_DEFAULTS", - "MESC_ENDPOINTS", - "MESC_DEFAULT_ENDPOINT", - "MESC_GLOBAL_METADATA", - "MESC_ENDPOINT_METADATA", - "MESC_PROFILES", - ]; - overrides.iter().filter_map(|v| std::env::var(v).ok()).collect() -} - -/// apply overrides to config -pub fn apply_overrides(config: &mut RpcConfig) -> Result<(), MescError> { - if let Some(default_endpoint) = get_default_endpoint_override() { - if !default_endpoint.is_empty() { - config.default_endpoint = Some(default_endpoint) - } - } - if let Some(network_defaults) = get_network_defaults_override()? { - config.network_defaults = network_defaults; - } - if let Some(network_names) = get_network_names_override()? { - config.network_names = network_names - } - if let Some(endpoints) = get_endpoints_override()? { - for (endpoint_name, endpoint) in endpoints.into_iter() { - if let Some(current_endpoint) = config.endpoints.get_mut(&endpoint_name) { - if endpoint.chain_id.is_some() { - current_endpoint.chain_id = endpoint.chain_id; - } - current_endpoint.url = endpoint.url; - } else { - config.endpoints.insert(endpoint_name, endpoint); - } - } - } - if let Some(profiles) = get_profiles_override()? { - config.profiles = profiles - } - if let Some(global_metadata) = get_global_metadata_override()? { - config.global_metadata.extend(global_metadata) - } - if let Some(endpoint_metadatas) = get_endpoint_metadata_override()? { - for (name, metadata) in endpoint_metadatas.into_iter() { - if let Some(endpoint) = config.endpoints.get_mut(&name) { - endpoint.endpoint_metadata.extend(metadata) - } else { - return Err(MescError::OverrideError(format!("endpoint does not exist: {}", name))); - } - } - } - - Ok(()) -} - -fn get_default_endpoint_override() -> Option { - std::env::var("MESC_DEFAULT_ENDPOINT").ok() -} - -fn get_network_defaults_override() -> Result>, MescError> { - if let Ok(raw) = std::env::var("MESC_NETWORK_DEFAULTS") { - if raw.is_empty() { - return Ok(None); - } - let mut network_defaults = HashMap::new(); - for piece in raw.split(' ') { - match piece.split('=').collect::>().as_slice() { - [chain_id, endpoint] => { - network_defaults.insert(chain_id.try_into_chain_id()?, endpoint.to_string()); - } - _ => { - return Err(MescError::OverrideError( - "invalid network default override".to_string(), - )) - } - } - } - Ok(Some(network_defaults)) - } else { - Ok(None) - } -} - -fn get_network_names_override() -> Result>, MescError> { - if let Ok(raw) = std::env::var("MESC_NETWORK_NAMES") { - if raw.is_empty() { - return Ok(None); - } - let mut network_names = HashMap::new(); - for piece in raw.split(' ') { - match piece.split('=').collect::>().as_slice() { - [name, chain_id] => { - network_names.insert(name.to_string(), chain_id.try_into_chain_id()?); - } - _ => { - return Err(MescError::OverrideError( - "invalid network name override".to_string(), - )) - } - } - } - Ok(Some(network_names)) - } else { - Ok(None) - } -} - -fn get_endpoints_override() -> Result>, MescError> { - if let Ok(raw) = std::env::var("MESC_ENDPOINTS") { - if raw.is_empty() { - return Ok(None); - } - let mut endpoints = HashMap::new(); - for piece in raw.split(' ') { - let endpoint = parse_endpoint(piece)?; - endpoints.insert(endpoint.name.clone(), endpoint); - } - Ok(Some(endpoints)) - } else { - Ok(None) - } -} - -fn parse_endpoint(input: &str) -> Result { - let mut parts = input.split('='); - let (name_chain, url) = match (parts.next(), parts.next()) { - (Some(name), Some(url)) => (name, url), - (Some(url), None) => ("", url), - _ => return Err(MescError::OverrideError("invalid endpoint override".to_string())), - }; - - let mut name_chain_parts = name_chain.split(':'); - let name = name_chain_parts - .next() - .map(|s| s.to_string()) - .unwrap_or( - get_default_endpoint_name(url, None) - .ok_or(MescError::OverrideError("could not create endpoint name".to_string()))?, - ) - .to_string(); - let name = if name.is_empty() { - get_default_endpoint_name(url, None) - .ok_or(MescError::OverrideError("could not create endpoint name".to_string()))? - } else { - name - }; - let chain_id = match name_chain_parts.next() { - Some(chain_id) => Some(chain_id.try_into_chain_id()?), - None => None, - }; - - Ok(Endpoint { name, url: url.to_string(), chain_id, endpoint_metadata: HashMap::new() }) -} - -/// get default endpoint name for a url -pub fn get_default_endpoint_name(url: &str, chain_id: Option) -> Option { - // Find the start of the main part of the URL, skipping the protocol if present - let start = if let Some(pos) = url.find("://") { pos + 3 } else { 0 }; - - // Extract the main part of the URL, from the protocol (if present) to the end - let main_part = &url[start..]; - - // Find the end of the domain part, which could be before a slash (path) or the end of the - // string - let end = main_part.find('/').unwrap_or(main_part.len()); - - // Extract the domain part - let domain_part = &main_part[..end]; - - // Check if the domain part contains a period, which is typical for a hostname - let hostname = if domain_part.contains('.') { - // Find the last period in the domain part - if let Some(last_period_pos) = domain_part.rfind('.') { - domain_part[..last_period_pos].to_string() - } else { - domain_part.to_string() - } - } else { - domain_part.to_string() - }; - let hostname = - if let Some(split) = hostname.split('.').last() { split.to_string() } else { hostname }; - - match chain_id { - Some(chain_id) => Some(format!("{hostname}_{chain_id}")), - None => Some(hostname), - } -} - -fn get_profiles_override() -> Result>, MescError> { - let raw = match std::env::var("MESC_PROFILES") { - Ok(raw) => raw, - Err(_) => return Ok(None), - }; - if raw.is_empty() { - return Ok(None); - } - - let mut profiles: HashMap = HashMap::new(); - - // Splitting the string into entries - let entries = raw.split_whitespace().collect::>(); - - for entry in entries { - let mut parts = entry.split('='); - let (left_side, endpoint) = match (parts.next(), parts.next()) { - (Some(l), Some(r)) => (l, r), - _ => { - return Err(MescError::OverrideError(format!( - "invalid profiles override, bad match: {}", - entry - ))) - } - }; - - let mut left_parts = left_side.split('.'); - let (profile_name, key, chain_id) = - match (left_parts.next(), left_parts.next(), left_parts.next()) { - (Some(profile), Some(key), Some(chain_id)) => (profile, key, Some(chain_id)), - (Some(profile), Some(key), None) => (profile, key, None), - _ => { - return Err(MescError::OverrideError(format!( - "invalid profiles override, bad target: {}", - left_side - ))) - } - }; - - let profile = profiles - .entry(profile_name.to_string()) - .or_insert_with(|| Profile::new(profile_name.to_string())); - - match key { - "default_endpoint" => profile.default_endpoint = Some(endpoint.to_string()), - "network_defaults" => { - if let Some(cid) = chain_id { - profile.network_defaults.insert(cid.try_into_chain_id()?, endpoint.to_string()); - } - } - _ => { - return Err(MescError::OverrideError(format!( - "invalid profile override, bad key: {}", - key - ))); - } - } - } - - Ok(Some(profiles)) -} - -fn get_global_metadata_override() -> Result>, MescError> { - if let Ok(raw) = std::env::var("MESC_GLOBAL_METADATA") { - if raw.is_empty() { - return Ok(None); - } - let parsed: Result, _> = - serde_json::from_str(raw.as_str()); - Ok(Some(parsed?)) - } else { - Ok(None) - } -} - -type Metadata = HashMap; - -fn get_endpoint_metadata_override() -> Result>, MescError> { - if let Ok(raw) = std::env::var("MESC_ENDPOINT_METADATA") { - if raw.is_empty() { - return Ok(None); - } - let parsed: Result>, _> = - serde_json::from_str(raw.as_str()); - Ok(Some(parsed?)) - } else { - Ok(None) - } -} diff --git a/rust/crates/mesc/src/query.rs b/rust/crates/mesc/src/query.rs deleted file mode 100644 index 8dd61f5..0000000 --- a/rust/crates/mesc/src/query.rs +++ /dev/null @@ -1,143 +0,0 @@ -use crate::{ - directory, - types::{Endpoint, MescError, RpcConfig}, - MultiEndpointQuery, TryIntoChainId, -}; -use std::collections::HashMap; - -/// get default endpoint -pub fn get_default_endpoint( - config: &RpcConfig, - profile: Option<&str>, -) -> Result, MescError> { - // if using a profile, check if that profile has a default endpoint - if let Some(profile) = profile { - if let Some(profile_data) = config.profiles.get(profile) { - if !profile_data.use_mesc { - return Ok(None); - } - if let Some(endpoint_name) = profile_data.default_endpoint.as_deref() { - return get_endpoint_by_name(config, endpoint_name); - } - } - }; - - match &config.default_endpoint { - Some(name) => get_endpoint_by_name(config, name.as_str()), - None => Ok(None), - } -} - -/// get endpoint by network -pub fn get_endpoint_by_network( - config: &RpcConfig, - chain_id: T, - profile: Option<&str>, -) -> Result, MescError> { - let chain_id = chain_id.try_into_chain_id()?; - - // if using a profile, check if that profile has a default endpoint for chain_id - if let Some(profile) = profile { - if let Some(profile_data) = config.profiles.get(profile) { - if !profile_data.use_mesc { - return Ok(None); - } - if let Some(endpoint_name) = profile_data.network_defaults.get(&chain_id) { - return get_endpoint_by_name(config, endpoint_name); - } - } - }; - - // check if base configuration has a default endpoint for that chain_id - match config.network_defaults.get(&chain_id) { - Some(name) => get_endpoint_by_name(config, name.as_str()), - None => Ok(None), - } -} - -/// get endpoint by name -pub fn get_endpoint_by_name(config: &RpcConfig, name: &str) -> Result, MescError> { - if let Some(endpoint) = config.endpoints.get(name) { - Ok(Some(endpoint.clone())) - } else { - Err(MescError::MissingEndpoint(name.to_string())) - } -} - -/// parse user query -pub fn get_endpoint_by_query( - config: &RpcConfig, - query: &str, - profile: Option<&str>, -) -> Result, MescError> { - if let Some(profile) = profile { - if let Some(profile_data) = config.profiles.get(profile) { - if !profile_data.use_mesc { - return Ok(None); - } - } - } - - // by endpoint name - if let Some(endpoint) = config.endpoints.get(query) { - return Ok(Some(endpoint.clone())); - } - - // by chain_id - if let Ok(chain_id) = query.try_into_chain_id() { - if let Ok(Some(endpoint)) = get_endpoint_by_network(config, chain_id, profile) { - return Ok(Some(endpoint)); - } - } - - // by network name - if let Some(chain_id) = config.network_names.get(query) { - return get_endpoint_by_network(config, chain_id.clone(), profile); - } else if let Some(chain_id) = directory::get_network_chain_id(query) { - return get_endpoint_by_network(config, chain_id.clone(), profile); - } - - Ok(None) -} - -/// find endpoints -pub fn find_endpoints( - config: &RpcConfig, - query: MultiEndpointQuery, -) -> Result, MescError> { - let mut candidates: Vec = config.endpoints.clone().into_values().collect(); - - if let Some(chain_id) = query.chain_id { - candidates.retain(|endpoint| endpoint.chain_id.as_ref() == Some(&chain_id)); - } - - if let Some(name) = query.name_contains { - candidates.retain(|endpoint| endpoint.name.contains(&name)) - } - - if let Some(url) = query.url_contains { - candidates.retain(|endpoint| endpoint.url.contains(&url)) - } - - Ok(candidates) -} - -/// get global metadata -pub fn get_global_metadata( - config: &RpcConfig, - profile: Option<&str>, -) -> Result, MescError> { - let mut metadata = config.global_metadata.clone(); - - // load profile metadata - if let Some(profile) = profile { - if let Some(profile_data) = config.profiles.get(profile) { - if !profile_data.use_mesc { - return Ok(HashMap::new()); - } - metadata.extend(profile_data.profile_metadata.clone()) - } - } - - Ok(metadata) -} diff --git a/rust/crates/mesc/src/types/chain_ids.rs b/rust/crates/mesc/src/types/chain_ids.rs deleted file mode 100644 index 3123068..0000000 --- a/rust/crates/mesc/src/types/chain_ids.rs +++ /dev/null @@ -1,127 +0,0 @@ -use crate::MescError; -use serde::{Deserialize, Serialize}; - -/// ChainId is a string representation of an integer chain id -/// - TryFrom conversions allow specifying as String, &str, uint, or binary data -#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)] -#[serde(into = "ChainIdSerde", try_from = "ChainIdSerde")] -pub struct ChainId(u64); - -impl ChainId { - /// create new chain id - pub fn new(chain_id: u64) -> ChainId { - ChainId(chain_id) - } - - /// parse chain id from string - pub fn parse(chain_id: &str) -> Result { - chain_id.try_into_chain_id() - } - - /// get chain id value - pub fn get(&self) -> u64 { - self.0 - } - - /// convert to hex representation - pub fn to_hex(&self) -> String { - let ChainId(chain_id) = self; - format!("{chain_id:#x}") - } - - /// convert to hex representation, zero-padded to 256 bits - pub fn to_hex_256(&self) -> String { - let ChainId(chain_id) = self; - format!("0x{chain_id:064x}") - } -} - -impl std::fmt::Display for ChainId { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - self.0.fmt(f) - } -} - -macro_rules! impl_from_uint_for_chainid { - ($($t:ty),*) => { - $( - impl From<$t> for ChainId { - fn from(value: $t) -> ChainId { - ChainId(value as _) - } - } - )* - }; -} - -impl_from_uint_for_chainid!(u8, u16, u32, u64, usize); - -/// use custom trait instead of TryInto so that Error type is always the same -pub trait TryIntoChainId { - /// try to convert into chain id - fn try_into_chain_id(self) -> Result; -} - -impl TryIntoChainId for ChainId { - fn try_into_chain_id(self) -> Result { - Ok(self) - } -} - -impl TryIntoChainId for String { - fn try_into_chain_id(self) -> Result { - self.as_str().try_into_chain_id() - } -} - -impl TryIntoChainId for &str { - fn try_into_chain_id(self) -> Result { - if !self.is_empty() { - let (radix, s) = match self.get(0..2) { - Some("0x") => (16, &self[2..]), - _ => (10, self), - }; - if let Ok(chain_id) = u64::from_str_radix(s, radix) { - return Ok(ChainId(chain_id)); - } - } - Err(MescError::InvalidChainId(self.to_string())) - } -} - -macro_rules! impl_try_into_chain_id_for_integer { - ($($t:ty),*) => { - $( - impl TryIntoChainId for $t { - fn try_into_chain_id(self) -> Result { - Ok(ChainId::from(self)) - } - } - )* - }; -} - -impl_try_into_chain_id_for_integer!(u8, u16, u32, u64, usize); - -impl TryIntoChainId for &[u8] { - fn try_into_chain_id(self) -> Result { - Err(MescError::NotImplemented("binary chain_id".to_string())) - } -} - -#[derive(Serialize, Deserialize)] -struct ChainIdSerde(String); - -impl From for ChainIdSerde { - fn from(chain_id: ChainId) -> ChainIdSerde { - ChainIdSerde(chain_id.to_string()) - } -} - -impl TryFrom for ChainId { - type Error = MescError; - - fn try_from(value: ChainIdSerde) -> Result { - value.0.try_into_chain_id() - } -} diff --git a/rust/crates/mesc/src/types/configs.rs b/rust/crates/mesc/src/types/configs.rs deleted file mode 100644 index b2e509b..0000000 --- a/rust/crates/mesc/src/types/configs.rs +++ /dev/null @@ -1,107 +0,0 @@ -use crate::{validate, ChainId, MescError}; -use serde::{Deserialize, Serialize}; -use std::collections::HashMap; - -/// Endpoint -#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq)] -pub struct Endpoint { - /// name - pub name: String, - /// url - pub url: String, - /// chain_id - pub chain_id: Option, - /// endpoint_metadata - pub endpoint_metadata: HashMap, -} - -impl Endpoint { - /// chain_id as String - pub fn chain_id_string(&self) -> String { - self.chain_id.clone().map(|x| x.to_string()).unwrap_or("-".to_string()) - } -} - -/// Profile -#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq)] -pub struct Profile { - /// name - pub name: String, - /// default_endpoint - pub default_endpoint: Option, - /// network_defaults - pub network_defaults: HashMap, - /// profile metadata - pub profile_metadata: HashMap, - /// use mesc - pub use_mesc: bool, -} - -impl Profile { - /// create new profile - pub fn new>(name: T) -> Profile { - Profile { - name: name.into(), - default_endpoint: None, - network_defaults: HashMap::new(), - profile_metadata: HashMap::new(), - use_mesc: true, - } - } -} - -/// ConfigMode -#[derive(Debug)] -pub enum ConfigMode { - /// Path - Path, - /// Env - Env, - /// Disabled - Disabled, -} - -/// RpcConfig -#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq)] -pub struct RpcConfig { - /// mesc version - pub mesc_version: String, - /// default endpoint - pub default_endpoint: Option, - /// endpoints - pub endpoints: HashMap, - /// network defaults - pub network_defaults: HashMap, - /// network names - pub network_names: HashMap, - /// profile - pub profiles: HashMap, - /// global metadata - pub global_metadata: HashMap, -} - -impl Default for RpcConfig { - fn default() -> Self { - Self { - mesc_version: env!("CARGO_PKG_VERSION").to_string(), - default_endpoint: None, - network_defaults: HashMap::new(), - network_names: HashMap::new(), - endpoints: HashMap::new(), - profiles: HashMap::new(), - global_metadata: HashMap::new(), - } - } -} - -impl RpcConfig { - /// serialize config - pub fn serialize(&self) -> Result { - Ok(serde_json::to_string(self)?) - } - - /// validate config - pub fn validate(&self) -> Result<(), MescError> { - validate::validate_config(self) - } -} diff --git a/rust/crates/mesc/src/types/errors.rs b/rust/crates/mesc/src/types/errors.rs deleted file mode 100644 index a5f2f3c..0000000 --- a/rust/crates/mesc/src/types/errors.rs +++ /dev/null @@ -1,61 +0,0 @@ -use thiserror::Error; - -/// Errors related to MESC operations. -#[derive(Error, Debug)] -pub enum MescError { - /// Error indicating that MESC is not enabled. - #[error("Mesc is not enabled")] - MescNotEnabled, - - /// Error for invalid configuration modes. - #[error("Invalid configuration mode")] - InvalidConfigMode, - - /// Error for invalid chain ID, with the invalid ID provided. - #[error("Invalid chain ID: {0}")] - InvalidChainId(String), - - /// Error representing an integrity issue, with a description. - #[error("Integrity error: {0}")] - IntegrityError(String), - - /// Error for missing endpoint, specifying which endpoint is missing. - #[error("Missing endpoint: {0}")] - MissingEndpoint(String), - - /// Error for missing invalid path - #[error("Invalid path: {0}")] - InvalidPath(String), - - /// Error for missing config file - #[error("Missing config file: {0}")] - MissingConfigFile(String), - - /// Error wrapper for standard IO errors. - #[error(transparent)] - IOError(#[from] std::io::Error), - - /// Error indicating an issue with JSON formatting. - #[error("Invalid JSON format")] - InvalidJson, - - /// Error wrapper for environment variable read errors. - #[error(transparent)] - EnvReadError(#[from] std::env::VarError), - - /// Error indicating a feature or function is not implemented, with a description. - #[error("Not implemented: {0}")] - NotImplemented(String), - - /// Error wrapper for errors from the `serde_json` crate. - #[error(transparent)] - SerdeError(#[from] serde_json::Error), - - /// General error for invalid input. - #[error("Invalid input")] - InvalidInput, - - /// Error for override conflicts, with a description of the conflict. - #[error("Override error: {0}")] - OverrideError(String), -} diff --git a/rust/crates/mesc/src/types/mod.rs b/rust/crates/mesc/src/types/mod.rs deleted file mode 100644 index 9e15b59..0000000 --- a/rust/crates/mesc/src/types/mod.rs +++ /dev/null @@ -1,13 +0,0 @@ -/// chain_ids types module -mod chain_ids; -/// configs types module -mod configs; -/// errors types modules -mod errors; -/// queries types modules -mod queries; - -pub use chain_ids::*; -pub use configs::*; -pub use errors::*; -pub use queries::*; diff --git a/rust/crates/mesc/src/types/queries.rs b/rust/crates/mesc/src/types/queries.rs deleted file mode 100644 index 866bbda..0000000 --- a/rust/crates/mesc/src/types/queries.rs +++ /dev/null @@ -1,169 +0,0 @@ -use crate::{ChainId, MescError, TryIntoChainId}; - -/// Multi Endpoint Query -#[derive(Debug, Default, Clone)] -pub struct MultiEndpointQuery { - /// chain_id - pub chain_id: Option, - /// name_contains - pub name_contains: Option, - /// url_contains - pub url_contains: Option, -} - -/// builder for MultiEndpointQuery -impl MultiEndpointQuery { - /// new MultiEndpointQuery - pub fn new() -> Self { - Self::default() - } - - /// set chain_id - pub fn chain_id(mut self, chain_id: T) -> Result { - self.chain_id = Some(chain_id.try_into_chain_id()?); - Ok(self) - } - - /// set name - pub fn name>(mut self, query: T) -> Result { - self.name_contains = Some(query.as_ref().to_string()); - Ok(self) - } - - /// set url - pub fn url>(mut self, query: T) -> Result { - self.url_contains = Some(query.as_ref().to_string()); - Ok(self) - } -} - -// -// // individual queries -// - -/// EndpointQuery -#[derive(Debug, Clone)] -pub struct EndpointQuery { - /// query_type - pub query_type: EndpointQueryType, - /// fields - pub fields: EndpointQueryFields, -} - -/// EndpointQueryType -#[derive(Debug, Clone)] -pub enum EndpointQueryType { - /// DefeaultEndpoint - DefaultEndpoint, - /// EndpointByName - EndpointByName, - /// EndpointByNetwork - EndpointByNetwork, - /// UserInput - UserInput, -} - -/// EndpointQueryFields -#[derive(Debug, Clone)] -pub enum EndpointQueryFields { - /// DefaultEndpoint - DefaultEndpoint(DefaultEndpointQuery), - /// EndpointName - EndpointName(EndpointNameQuery), - /// EndpointNetwork - EndpointNetwork(EndpointNetworkQuery), - /// UserInput - UserInput(UserInputQuery), -} - -/// DefaultEndpointQuery -#[derive(Debug, Clone)] -pub struct DefaultEndpointQuery { - /// profile - pub profile: Option, -} - -/// EndpointNameQuery -#[derive(Debug, Clone)] -pub struct EndpointNameQuery { - /// name - pub name: String, -} - -/// EndpointNetworkQuery -#[derive(Debug, Clone)] -pub struct EndpointNetworkQuery { - /// profile - pub profile: Option, - /// chain_id - pub chain_id: String, -} - -/// UserInputQuery -#[derive(Debug, Clone)] -pub struct UserInputQuery { - /// profile - pub profile: Option, - /// user_input - pub user_input: String, -} - -// -// // global metadata -// - -/// GlobalMetadataQuery -#[derive(Debug, Clone)] -pub struct GlobalMetadataQuery { - /// profile - pub profile: Option, - /// path - pub path: Option>, -} - -// -// // general MESC queries -// - -/// MescQuery -#[derive(Debug, Clone)] -pub struct MescQuery { - /// query_type - pub query_type: MescQueryType, - /// field - pub fields: MescQueryFields, -} - -/// MescQueryType -#[derive(Debug, Clone)] -pub enum MescQueryType { - /// DefaultEndpoint - DefaultEndpoint, - /// EndpointByName - EndpointByName, - /// EndpointByNetwork - EndpointByNetwork, - /// UserInput - UserInput, - /// MultiEndpoint - MultiEndpoint, - /// GlobalMetadata - GlobalMetadata, -} - -/// MescQueryFields -#[derive(Debug, Clone)] -pub enum MescQueryFields { - /// DefaultEndpoint - DefaultEndpoint(DefaultEndpointQuery), - /// EndpointName - EndpointName(EndpointNameQuery), - /// EndpointNetwork - EndpointNetwork(EndpointNetworkQuery), - /// UserInput - UserInput(UserInputQuery), - /// MultiEndpoint - MultiEndpoint(MultiEndpointQuery), - /// GlobalMetadata - GlobalMetadata(GlobalMetadataQuery), -} diff --git a/rust/crates/mesc/src/validate.rs b/rust/crates/mesc/src/validate.rs deleted file mode 100644 index c5dc9ec..0000000 --- a/rust/crates/mesc/src/validate.rs +++ /dev/null @@ -1,73 +0,0 @@ -use crate::{MescError, RpcConfig}; - -pub(crate) fn validate_config(config: &RpcConfig) -> Result<(), MescError> { - // referenced endpoints exist - if let Some(endpoint) = config.default_endpoint.as_ref() { - if !config.endpoints.contains_key(endpoint.as_str()) { - return Err(MescError::MissingEndpoint(endpoint.to_string())); - } - } - for endpoint in config.network_defaults.values() { - if !config.endpoints.contains_key(endpoint) { - return Err(MescError::MissingEndpoint(endpoint.clone())); - } - } - for profile in config.profiles.values() { - if let Some(endpoint) = profile.default_endpoint.as_ref() { - if !config.endpoints.contains_key(endpoint.as_str()) { - return Err(MescError::MissingEndpoint(endpoint.to_string())); - } - } - for endpoint in profile.network_defaults.values() { - if !config.endpoints.contains_key(endpoint) { - return Err(MescError::MissingEndpoint(endpoint.clone())); - } - } - } - - // default endpoints of each network actually use that specified network - for (chain_id, endpoint_name) in config.network_defaults.iter() { - if let Some(endpoint) = config.endpoints.get(endpoint_name) { - if Some(chain_id) != endpoint.chain_id.as_ref() { - return Err(MescError::IntegrityError(format!( - "endpoint {} chain_id does not match default chain_id", - endpoint_name - ))); - } - } - } - for profile in config.profiles.values() { - for (chain_id, endpoint_name) in profile.network_defaults.iter() { - if let Some(endpoint) = config.endpoints.get(endpoint_name) { - if Some(chain_id) != endpoint.chain_id.as_ref() { - return Err(MescError::IntegrityError(format!( - "endpoint {} chain_id does not match default chain_id", - endpoint_name - ))); - } - } - } - } - - // endpoint map keys match endpoint name fields - for (name, endpoint) in config.endpoints.iter() { - if name != endpoint.name.as_str() { - return Err(MescError::IntegrityError(format!( - "map key does not match name field for endpoint, {} != {}", - name, endpoint.name - ))); - } - } - - // profile map keys match profile name fields - for (name, profile) in config.profiles.iter() { - if name != profile.name.as_str() { - return Err(MescError::IntegrityError(format!( - "map key does not match name field for profile, {} != {}", - name, profile.name - ))); - } - } - - Ok(()) -} diff --git a/rust/crates/mesc/src/write.rs b/rust/crates/mesc/src/write.rs deleted file mode 100644 index 8ecc328..0000000 --- a/rust/crates/mesc/src/write.rs +++ /dev/null @@ -1,130 +0,0 @@ -use crate::{MescError, RpcConfig, TryIntoChainId}; -use std::{fs::File, path::Path}; - -/// write config to file -pub fn write_config>(config: RpcConfig, path: P) -> Result<(), MescError> { - let path_ref = path.as_ref(); - - if let Some(parent) = path_ref.parent() { - if !parent.exists() { - std::fs::create_dir_all(parent)? - }; - } - - let file = File::create(path_ref)?; - Ok(serde_json::to_writer_pretty(file, &config)?) -} - -/// update name of endpoint -pub fn update_endpoint_name( - config: &mut RpcConfig, - old_name: &str, - new_name: &str, -) -> Result<(), MescError> { - // check that new name is valid - if !config.endpoints.contains_key(old_name) { - return Err(MescError::IntegrityError(format!("endpoint not in config: {}", old_name))); - } - if config.endpoints.contains_key(new_name) { - return Err(MescError::IntegrityError(format!("endpoint already in config: {}", new_name))); - } - - // update endpoint - match config.endpoints.get_mut(old_name) { - Some(endpoint) => endpoint.name = new_name.to_string(), - None => { - return Err(MescError::IntegrityError(format!("endpoint not in config: {}", old_name))) - } - } - - // update defaults - if config.default_endpoint == Some(old_name.to_string()) { - config.default_endpoint = Some(new_name.to_string()); - } - for value in config.network_defaults.values_mut() { - if value == old_name { - *value = new_name.to_string(); - } - } - - // update profiles - for profile in config.profiles.values_mut() { - if profile.default_endpoint == Some(old_name.to_string()) { - profile.default_endpoint = Some(new_name.to_string()); - } - for value in profile.network_defaults.values_mut() { - if value == old_name { - *value = new_name.to_string(); - } - } - } - - Ok(()) -} - -/// update endpoint chain_id -pub fn update_endpoint_chain_id( - config: &mut RpcConfig, - endpoint_name: &str, - chain_id: T, -) -> Result<(), MescError> { - let chain_id = chain_id.try_into_chain_id()?; - - match config.endpoints.get_mut(endpoint_name) { - Some(endpoint) => endpoint.chain_id = Some(chain_id.try_into_chain_id()?), - None => { - return Err(MescError::IntegrityError(format!( - "endpoint not present: {}", - endpoint_name - ))) - } - }; - - // update defaults - for (chain_id, value) in config.network_defaults.clone().iter() { - if value == endpoint_name { - config.network_defaults.remove(chain_id); - } - } - - // update profiles - for profile in config.profiles.values_mut() { - for (chain_id, value) in profile.network_defaults.clone().iter() { - if value == endpoint_name { - config.network_defaults.remove(chain_id); - } - } - } - - Ok(()) -} - -/// delete endpoint from config -pub fn delete_endpoint(config: &mut RpcConfig, endpoint: &str) -> Result<(), MescError> { - // remove from endpoints - config.endpoints.remove(endpoint); - - // remove from defaults - if config.default_endpoint.as_deref() == Some(endpoint) { - config.default_endpoint = None; - } - for (chain_id, name) in config.network_defaults.clone().iter() { - if name == endpoint { - config.network_defaults.remove(chain_id); - } - } - - // remove from profiles - for profile in config.profiles.values_mut() { - if profile.default_endpoint.as_deref() == Some(endpoint) { - profile.default_endpoint = None; - } - for (chain_id, name) in profile.network_defaults.clone().iter() { - if name == endpoint { - profile.network_defaults.remove(chain_id); - } - } - } - - Ok(()) -} diff --git a/rust/crates/mesc_cli/Cargo.toml b/rust/crates/mesc_cli/Cargo.toml deleted file mode 100644 index ef419b7..0000000 --- a/rust/crates/mesc_cli/Cargo.toml +++ /dev/null @@ -1,28 +0,0 @@ -[package] -name = "mesc_cli" -description = "command line interface for creating, loading, and modifying MESC configuration data" -version.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true - -[[bin]] -name = "mesc" -path = "src/main.rs" - -[dependencies] -bat = "0.24.0" -clap = { version = "4.4.8", features = ["derive"] } -colored_json = "5" -edit = "0.1.4" -futures = "0.3.29" -inquire = "0.7" -ipgeolocate = "0.3.6" -mesc = { version = "0.3.0", path = "../mesc" } -reqwest = { version = "0.11", features = ["json"] } -serde = { workspace = true } -serde_json = { workspace = true } -thiserror = { workspace = true } -tokio = { version = "1.32.0", features = ["full"] } -toolstr = { version = "0.1.3" } -url = "2.2.2" diff --git a/rust/crates/mesc_cli/src/cli/args.rs b/rust/crates/mesc_cli/src/cli/args.rs deleted file mode 100644 index 7cbcee8..0000000 --- a/rust/crates/mesc_cli/src/cli/args.rs +++ /dev/null @@ -1,288 +0,0 @@ -use super::subcommands::*; -use crate::MescCliError; -use clap::{Parser, Subcommand}; -use toolstr::Colorize; - -pub(crate) async fn run_cli() -> Result<(), MescCliError> { - match Cli::parse().command { - Commands::Setup(args) => setup_command(args).await, - Commands::Import(args) => import_command(args).await, - Commands::Set(args) => set_command(args).await, - Commands::Status(args) => status_command(args), - Commands::Ls(args) => ls_command(args), - Commands::Defaults(args) => defaults_command(args), - Commands::Ping(args) => ping_command(args).await, - Commands::Endpoint(args) => endpoint_command(args), - Commands::Metadata(args) => metadata_command(args), - Commands::Url(args) => url_command(args), - Commands::Help(args) => help_command(args), - } -} - -fn get_after_str() -> String { - let example = format!( - "{} {}{}", - "(print these with".italic().truecolor(100, 100, 100), - "mesc help ".bold(), - ")".italic().truecolor(100, 100, 100), - ); - let mut output = format!("{} {}", "Help topics:".to_string().bold().underline(), example); - for (topic, description) in get_help_topics().iter() { - output = format!("{}\n {:<9} {}", output, topic.bold(), description); - } - output -} - -/// Utility for creating and managing MESC RPC configurations -#[derive(Parser)] -#[clap(author, version, about, long_about = None, disable_help_subcommand = true, after_help=&get_after_str())] -pub(crate) struct Cli { - #[clap(subcommand)] - pub(crate) command: Commands, -} - -/// Define your subcommands as an enum -#[derive(Subcommand)] -pub(crate) enum Commands { - /// Create or modify config interactively - Setup(SetupArgs), - /// Modify config by importing from file or other source - Import(ImportArgs), - /// Modify config by setting specific values - /// - /// This command is idempotent - Set(SetArgs), - /// Ping endpoints and fetch metadata - Ping(PingArgs), - /// Print list of defaults - Defaults(DefaultsArgs), - /// Print endpoint - Endpoint(EndpointArgs), - /// Print help - Help(HelpArgs), - /// Print list of endpoints - Ls(LsArgs), - /// Print metadata - Metadata(MetadataArgs), - /// Print status of configuration - Status(StatusArgs), - /// Print endpoint URL - Url(UrlArgs), -} - -/// Arguments for the `setup` subcommand -#[derive(Parser)] -pub(crate) struct SetupArgs { - /// path to use - #[clap(short, long)] - pub(crate) path: Option, - - /// edit data in editor - #[clap(short, long)] - pub(crate) editor: bool, -} - -/// Arguments for the `import` subcommand -#[derive(Parser)] -pub(crate) struct ImportArgs { - /// source for important - #[clap()] - pub(crate) source: Option, - - /// interactively decide how to perform import - #[clap(short, long)] - pub(crate) interactive: bool, - - /// specify source name - #[clap(long)] - pub(crate) source_name: Option, - - /// only import endpoints from this network - #[clap(long)] - pub(crate) network: Option, - - /// only endpoint with this name - #[clap(long)] - pub(crate) name: Option, - - /// output filepath (default = MESC_PATH) - #[clap(short, long)] - pub(crate) output_path: Option, -} - -/// Arguments for the `set` subcommand -#[derive(Parser)] -pub(crate) struct SetArgs { - /// key to set - #[clap()] - pub(crate) key: Option, - - /// value to set - #[clap()] - pub(crate) value: Option, - - /// space-separated list of keys - #[clap(long)] - pub(crate) keys: Option>, - - /// space-separated list of values (must match --keys) - #[clap(long)] - pub(crate) values: Option>, - - /// delete specified key(s) instead of setting them - #[clap(long)] - pub(crate) delete: bool, - - /// config path to use [default: MESC_PATH] - #[clap(long)] - pub(crate) path: Option, -} - -/// Arguments for the `status` subcommand -#[derive(Parser)] -pub(crate) struct StatusArgs { - /// reveal all endpoint url's in output - #[clap(short, long)] - pub(crate) reveal: bool, - - /// verbose, show all endpoints and defaults - #[clap(short, long)] - pub(crate) verbose: bool, -} - -/// Arguments for the `ls` subcommand -#[derive(Parser)] -pub(crate) struct LsArgs { - /// reveal all endpoint url's in output - #[clap(short, long)] - pub(crate) reveal: bool, - - /// filter by name (fuzzy match) - #[clap(long)] - pub(crate) name: Option, - - /// filter by chain id - #[clap(long)] - pub(crate) network: Option, - - /// filter by url (fuzzy match) - #[clap(long)] - pub(crate) url: Option, - - /// metadata, space-separated key=value pairs - #[clap(long)] - pub(crate) metadata: Vec, - - /// output as json - #[clap(long)] - pub(crate) json: bool, - - /// output url's only (space-separate) - #[clap(long)] - pub(crate) urls: bool, -} - -/// Arguments for the `ls` subcommand -#[derive(Parser)] -pub(crate) struct DefaultsArgs { - /// output as json - #[clap(long)] - pub(crate) json: bool, -} - -/// Arguments for the `ping` subcommand -#[derive(Parser)] -pub(crate) struct PingArgs { - /// data fields to gather - /// one or more of: {ip, location, latency, client, namespaces, all} - #[clap(num_args=0.., verbatim_doc_comment)] - pub(crate) fields: Vec, - - /// filter endpoints by endpoint name (fuzzy match) - #[clap(long)] - pub(crate) name: Option, - - /// filter endpoints by url (fuzzy match) - #[clap(long)] - pub(crate) url: Option, - - /// filter endpoints by network - #[clap(long)] - pub(crate) network: Option, - - /// timeout, in seconds - #[clap(long, default_value_t = 1)] - pub(crate) timeout: u64, - - /// output as json - #[clap(long)] - pub(crate) json: bool, -} - -/// Arguments for the `json` subcommand -#[derive(Parser)] -pub(crate) struct EndpointArgs { - /// query - #[clap()] - pub(crate) query: Option, - - /// name - #[clap(long)] - pub(crate) name: Option, - - /// network - #[clap(long)] - pub(crate) network: Option, - - /// profile - #[clap(short, long)] - pub(crate) profile: Option, - - /// print as json - #[clap(short, long)] - pub(crate) json: bool, -} - -/// Arguments for the `metadata` subcommand -#[derive(Parser)] -pub(crate) struct MetadataArgs { - /// print metadata of endpoint - #[clap(long)] - pub(crate) endpoint: Option, - - /// print metadata of profile merged with global metadata - #[clap(long)] - pub(crate) profile: Option, - - /// print metadata of profile not merged with global metadata - #[clap(long)] - pub(crate) profile_only: Option, -} - -/// Arguments for the `url` subcommand -#[derive(Parser)] -pub(crate) struct UrlArgs { - /// query - #[clap()] - pub(crate) query: Option, - - /// name - #[clap(long)] - pub(crate) name: Option, - - /// network - #[clap(long)] - pub(crate) network: Option, - - /// profile - #[clap(short, long)] - pub(crate) profile: Option, -} - -/// Arguments for the `help` subcommand -#[derive(Parser)] -pub(crate) struct HelpArgs { - /// topic - #[clap()] - pub(crate) topic: Option, -} diff --git a/rust/crates/mesc_cli/src/cli/mod.rs b/rust/crates/mesc_cli/src/cli/mod.rs deleted file mode 100644 index 186d7c7..0000000 --- a/rust/crates/mesc_cli/src/cli/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -mod args; -mod subcommands; - -pub(crate) use args::*; diff --git a/rust/crates/mesc_cli/src/cli/subcommands/defaults.rs b/rust/crates/mesc_cli/src/cli/subcommands/defaults.rs deleted file mode 100644 index 9da85dd..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/defaults.rs +++ /dev/null @@ -1,5 +0,0 @@ -use crate::{print_defaults, DefaultsArgs, MescCliError}; - -pub(crate) fn defaults_command(_args: DefaultsArgs) -> Result<(), MescCliError> { - print_defaults(&mesc::load::load_config_data()?) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/endpoint.rs b/rust/crates/mesc_cli/src/cli/subcommands/endpoint.rs deleted file mode 100644 index b94808e..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/endpoint.rs +++ /dev/null @@ -1,35 +0,0 @@ -use crate::{ - printing::{print_endpoint_json, print_endpoint_pretty}, - EndpointArgs, MescCliError, -}; - -pub(crate) fn endpoint_command(args: EndpointArgs) -> Result<(), MescCliError> { - // get endpoint - let endpoint = match (args.name, args.network, args.query) { - (Some(name), _, _) => mesc::get_endpoint_by_name(name.as_str()), - (None, Some(_), Some(_)) => { - return Err(MescCliError::InvalidInput("specify either query or --network".to_string())) - } - (None, Some(network), None) => { - mesc::get_endpoint_by_network(network.as_str(), args.profile.as_deref()) - } - (None, None, Some(query)) => { - mesc::get_endpoint_by_query(query.as_str(), args.profile.as_deref()) - } - (None, None, None) => mesc::get_default_endpoint(args.profile.as_deref()), - }; - - // print endpoint - match endpoint { - Ok(Some(endpoint)) => { - if args.json { - print_endpoint_json(endpoint); - } else { - print_endpoint_pretty(endpoint); - } - } - Ok(None) => {} - Err(e) => eprintln!("could not load RPC config: {:?}", e), - }; - Ok(()) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/help.rs b/rust/crates/mesc_cli/src/cli/subcommands/help.rs deleted file mode 100644 index 37f1a92..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/help.rs +++ /dev/null @@ -1,364 +0,0 @@ -use crate::{Cli, HelpArgs, MescCliError}; -use clap::CommandFactory; -use toolstr::Colorize; - -pub(crate) fn help_command(args: HelpArgs) -> Result<(), MescCliError> { - match args.topic.map(|s| s.to_lowercase()) { - Some(topic) => match topic.as_str() { - "env" => print_env_help(), - "python" => print_python_interface(), - "rust" => print_rust_interface(), - "schema" => print_schema()?, - "setup" => print_setup_help(), - _ => println!("Unknown help topic: {}", topic), - }, - None => Cli::command().print_help().map_err(|e| { - let message = format!("Failed to print help: {}", e); - MescCliError::Error(message) - })?, - } - Ok(()) -} - -fn print_help_topic(topic: &str) -> Result<(), MescCliError> { - match topic { - "env" => print_env_help(), - "python" => print_python_interface(), - "rust" => print_rust_interface(), - "schema" => print_schema()?, - "setup" => print_setup_help(), - _ => println!("Unknown help topic: {}", topic), - } - Ok(()) -} - -pub(crate) fn get_help_topics() -> Vec<(String, String)> { - vec![ - ("env".to_string(), "Environmental variables".to_string()), - ("python".to_string(), "Python interface".to_string()), - ("rust".to_string(), "Rust interface".to_string()), - ("schema".to_string(), "Schemas of configs, endpoints, and profiles".to_string()), - ("setup".to_string(), "How to set up MESC".to_string()), - ] -} - -pub(crate) fn print_interactive_help() -> Result<(), MescCliError> { - println!(); - print_setup_help(); - println!(); - let topics = get_help_topics(); - let mut options: Vec<_> = topics.iter().map(|(t, _)| t.as_str()).collect(); - options.push("Return to main menu"); - loop { - let prompt = "Print help about other MESC topics?"; - match inquire::Select::new(prompt, options.clone()).prompt() { - Ok("Return to main menu") => return Ok(()), - Ok(topic) => { - println!(); - print_help_topic(topic)?; - println!() - } - Err(inquire::InquireError::OperationCanceled) => return Ok(()), - Err(e) => return Err(e.into()), - } - } -} - -fn print_env_help() { - let messages = vec![ - ( - "MESC_MODE", - format!( - "{}, {}, or {}", - "PATH".bold().green(), - "ENV".bold().green(), - "DISABLED".bold().green() - ), - "PATH", - ), - ("MESC_PATH", "path to MESC config file".to_string(), "/path/to/config/mesc.json"), - ("MESC_ENV", "raw JSON MESC config data".to_string(), "{ \"endpoints\": { ... }, ... }"), - ( - "MESC_DEFAULT_ENDPOINT", - "url, endpoint name, or network name".to_string(), - "local_goerli", - ), - ( - "MESC_NETWORK_DEFAULTS", - format!("space-separated pairs of {}", "CHAIN_ID=ENDPOINT".bold().green()), - "10=local_optimism 137=local_polygon", - ), - ( - "MESC_NETWORK_NAMES", - format!("space-separated pairs of {}", "NETWORK_NAME=CHAIN_ID".bold().green()), - "optimism=10 custom_fork=12345678", - ), - ( - "MESC_ENDPOINTS", - format!("space-separated items of {}", "[NAME[:CHAIN_ID]=]URL".bold()), - "local_goerli:5=localhost:8545 fork=localhost:8546", - ), - ( - "MESC_PROFILES", - format!("space-separated items of {}", "PROFILE.KEY[.CHAIN_ID]=ENDPOINT".bold()), - "tool_xyz.default_endpoint=local_goerli", - ), - ( - "MESC_GLOBAL_METADATA", - "JSON-formatted global metadata".to_string(), - "{\"tool_xyz\": { ... }}", - ), - ( - "MESC_ENDPOINT_METADATA", - format!("JSON mapping of {}", "{ENDPOINT_NAME: ENDPOINT_METADATA}".bold()), - "{\"local_goerli\": {\"api_key\": \"abc123\"}}", - ), - ]; - - println!("MESC environment variables:"); - for (name, value, example) in messages.iter() { - println!(); - println!("{:>22} {}", name.bold(), value); - println!("{:>32} {}", "example:".truecolor(100, 100, 100), example.green().bold()); - } -} - -fn print_code(content: String, filetype: &str) { - use bat::PrettyPrinter; - - PrettyPrinter::new() - .input_from_bytes(content.as_bytes()) - .language(filetype) - // .theme("Visual Studio Dark+") - // .theme("Monokai Extended Bright") - .theme("Dracula") - // .theme("DarkNeon") - // .theme("Coldark-Dark") - // .theme("base16-256") - .print() - .unwrap(); - println!(); -} - -fn print_python_interface() { - let interface = r#"from typing import Any, Mapping, Sequence -import mesc - -# check whether mesc is enabled -enabled: bool = mesc.is_mesc_enabled() - -# get the default endpoint -endpoint: Endpoint | None = mesc.get_default_endpoint() - -# get the default endpoint of a network -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5) - -# get the default endpoint for a particular tool -endpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool') - -# get the default endpoint of a network for a particular tool -endpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool') - -# get an endpoint by name -endpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli') - -# parse a user-provided string into a matching endpoint -# (try 1. endpoint name, then 2. chain id, then 3. network name) -endpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool') - -# find all endpoints matching given criteria -endpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5) - -# get non-endpoint metadata -metadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool')"#; - - print_code(interface.to_string(), "py") -} - -fn print_rust_interface() { - let interface = r#"use mesc::{MescError, Endpoint}; -use std::collections::HashMap; - -type OptionalResult = Result, MescError>; -type MultiResult = Result, MescError>; -type MetadataResult = Result, MescError>; - -// check whether mesc is enabled -let enabled: bool = mesc::is_mesc_enabled(); - -// get the default endpoint -let endpoint: OptionalResult = mesc::get_default_endpoint(None); - -// get the default endpoint of a network -let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", None); - -// get the default network for a particular tool -let chain_id: OptionalResult = mesc::get_default_endpoint(Some("xyz_tool")); - -// get the default endpoint of a network for a particular tool -let endpoint: OptionalResult = mesc::get_endpoint_by_network("5", Some("xyz_tool")); - -// get an endpoint by name -let endpoint: OptionalResult = mesc::get_endpoint_by_name("local_goerli"); - -// parse a user-provided string into a matching endpoint -// (first try 1. endpoint name, then 2. chain id, then 3. network name) -let user_str = "local_goerli"; -let endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some("xyz_tool")); - -// find all endpoints matching given criteria -let query = mesc::MultiEndpointQuery::new().chain_id("5").unwrap(); -let endpoints: MultiResult = mesc::find_endpoints(query); - -// get non-endpoint metadata -let metadata: MetadataResult = mesc::get_global_metadata(Some("xyz_tool"));"#; - - print_code(interface.to_string(), "rs") -} - -fn print_schema() -> Result<(), MescCliError> { - let mut title_style = crate::metadata::get_theme_font_style("title")?; - title_style.bold(); - let metavar_style = crate::metadata::get_theme_font_style("metavar")?; - let mut description_style = crate::metadata::get_theme_font_style("description")?; - description_style.bold(); - let option_style = crate::metadata::get_theme_font_style("option")?; - let _content_style = crate::metadata::get_theme_font_style("content")?; - let comment_style = crate::metadata::get_theme_font_style("comment")?; - - let keys = vec![ - "mesc_version", - "default_endpoint", - "network_defaults", - "network_names", - "endpoints", - "profiles", - "global_metadata", - ]; - let types = vec![ - "str", - "str | None", - "Mapping[ChainId, str", - "Mapping[str, ChainId]", - "Mapping[str, ChainId]", - "Mapping[str, ChainId]", - "Mapping[str, ChainId]", - ]; - let descriptions = vec![ - "must equal the value \"MESC 1.0\"", - "name of default endpoint", - "map of chain_id's to endpoint names", - "map of network names to chain_id's", - "map of endpoint names to endpoints", - "map of profile names to profiles", - "global metadata entries", - ]; - let mut table = toolstr::Table::default(); - table.add_column("key", keys)?; - table.add_column("type", types)?; - table.add_column("description", descriptions)?; - let mut format = toolstr::TableFormat::default() - .border_font_style(comment_style.clone()) - .label_font_style(title_style.clone()); - format.add_column( - toolstr::ColumnFormatShorthand::new().name("key").font_style(metavar_style.clone()), - ); - format.add_column( - toolstr::ColumnFormatShorthand::new().name("type").font_style(option_style.clone()), - ); - format.add_column( - toolstr::ColumnFormatShorthand::new() - .name("description") - .font_style(description_style.clone()), - ); - let theme = toolstr::Theme::default() - .with_border_style(comment_style.clone()) - .with_title_style(title_style.clone()); - toolstr::print_text_box("RPC Config", theme); - format.print(table)?; - - let keys = vec!["name", "url", "chain_id", "endpoint_metadata"]; - let types = vec!["str", "str", "ChainId | None", "Mapping[str, Any]"]; - let descriptions = vec![ - "name of endpoint", - "url of endpoint, including transport", - "chain id of network", - "endpoint metadata entries", - ]; - let mut table = toolstr::Table::default(); - table.add_column("key", keys)?; - table.add_column("type", types)?; - table.add_column("description", descriptions)?; - let mut format = toolstr::TableFormat::default() - .border_font_style(comment_style.clone()) - .label_font_style(title_style.clone()); - format.add_column( - toolstr::ColumnFormatShorthand::new().name("key").font_style(metavar_style.clone()), - ); - format.add_column( - toolstr::ColumnFormatShorthand::new().name("type").font_style(option_style.clone()), - ); - format.add_column( - toolstr::ColumnFormatShorthand::new() - .name("description") - .font_style(description_style.clone()), - ); - let theme = toolstr::Theme::default() - .with_border_style(comment_style.clone()) - .with_title_style(title_style.clone()); - println!(); - println!(); - toolstr::print_text_box("Endpoint", theme); - format.print(table)?; - - let keys = vec!["name", "default_endpoint", "network_defaults"]; - let types = vec!["str", "str | None", "Mapping[ChainId, str]"]; - let descriptions = vec![ - "name of profile", - "chain_id of default network", - "map of chain_id's to endpoint names", - ]; - let mut table = toolstr::Table::default(); - table.add_column("key", keys)?; - table.add_column("type", types)?; - table.add_column("description", descriptions)?; - let mut format = toolstr::TableFormat::default() - .border_font_style(comment_style.clone()) - .label_font_style(title_style.clone()); - format.add_column( - toolstr::ColumnFormatShorthand::new().name("key").font_style(metavar_style.clone()), - ); - format.add_column( - toolstr::ColumnFormatShorthand::new().name("type").font_style(option_style.clone()), - ); - format.add_column( - toolstr::ColumnFormatShorthand::new() - .name("description") - .font_style(description_style.clone()), - ); - let theme = toolstr::Theme::default() - .with_border_style(comment_style.clone()) - .with_title_style(title_style.clone()); - println!(); - println!(); - toolstr::print_text_box("RPC Config", theme); - format.print(table)?; - - Ok(()) -} - -fn print_setup_help() { - println!( - r#"A basic MESC setup requires two steps: -1. create a {} configuration file -2. set the {} environment variable to the path of this file - -The {} command can interactively perform both steps - -{} can also be used to create and modify configuration data"#, - "mesc.json".white().bold(), - "MESC_PATH".white().bold(), - "mesc setup".white().bold(), - "mesc setup".white().bold() - ) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/import.rs b/rust/crates/mesc_cli/src/cli/subcommands/import.rs deleted file mode 100644 index b56c530..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/import.rs +++ /dev/null @@ -1,71 +0,0 @@ -use crate::{ImportArgs, MescCliError}; -use mesc::RpcConfig; - -#[allow(unreachable_code)] -#[allow(unused_variables)] -pub(crate) async fn import_command(args: ImportArgs) -> Result<(), MescCliError> { - println!("import command under construction, try again later"); - return Ok(()); - - // get output path - let output_path = match (args.output_path, std::env::var("MESC_PATH")) { - (Some(path), _) => path, - (_, Ok(path)) if !path.is_empty() => path, - _ => { - return Err(MescCliError::Error( - "MESC_PATH not set, must specify --output-path".to_string(), - )); - } - }; - - // gather existing import sources - if !mesc::is_mesc_enabled() { - println!("MESC is not enabled, but importing anyway...") - }; - - // fetch config data - let imported = match args.source.as_deref() { - Some("chainid.network") => import_chain_id_dot_network().await?, - Some("chainlist") => import_chainlist().await?, - Some(source) => import_custom_source(source).await?, - None => return Err(MescCliError::InvalidInput("must specify import source".to_string())), - }; - - // integrate data into config - let new_config = integrate_import(imported)?; - - // write new config data - mesc::write::write_config(new_config, output_path)?; - - Ok(()) -} - -async fn import_chain_id_dot_network() -> Result { - todo!(); -} - -async fn import_chainlist() -> Result { - todo!(); -} - -async fn import_custom_source(source: &str) -> Result { - let path = std::path::Path::new(source); - if path.exists() && path.is_file() { - println!("Importing file..."); - let config = mesc::load::load_file_config(Some(source.to_string()))?; - Ok(config) - } else { - println!("Importing url..."); - let response = reqwest::get(source).await?; - if response.status().is_success() { - let config: RpcConfig = response.json().await?; - Ok(config) - } else { - Err(MescCliError::Error("Could not import MESC config from source".to_string())) - } - } -} - -fn integrate_import(imported: RpcConfig) -> Result { - Ok(imported) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/ls.rs b/rust/crates/mesc_cli/src/cli/subcommands/ls.rs deleted file mode 100644 index e0f4427..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/ls.rs +++ /dev/null @@ -1,38 +0,0 @@ -use crate::{print_endpoints, LsArgs, MescCliError}; - -pub(crate) fn ls_command(args: LsArgs) -> Result<(), MescCliError> { - // get endpoints - let mut query = mesc::MultiEndpointQuery::new(); - if let Some(network) = args.network { - query = query.chain_id(network)?; - } - if let Some(name) = args.name { - query = query.name(name)?; - } - if let Some(url) = args.url { - query = query.url(url)?; - } - let endpoints = mesc::find_endpoints(query)?; - - if args.urls { - let urls: Vec<_> = endpoints.into_iter().map(|e| e.url).collect(); - println!("{}", urls.join(" ")); - return Ok(()); - } - - // check reveal - let config = mesc::load::load_config_data()?; - let reveal = if args.reveal { - true - } else { - config.global_metadata.get("reveal") == Some(&serde_json::Value::Bool(true)) - }; - - // output endpoints - if args.json { - println!("{}", serde_json::to_string_pretty(&endpoints)?); - Ok(()) - } else { - print_endpoints(&endpoints, reveal) - } -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/metadata.rs b/rust/crates/mesc_cli/src/cli/subcommands/metadata.rs deleted file mode 100644 index fda0f5b..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/metadata.rs +++ /dev/null @@ -1,33 +0,0 @@ -use crate::{MescCliError, MetadataArgs}; - -pub(crate) fn metadata_command(args: MetadataArgs) -> Result<(), MescCliError> { - let config = mesc::load::load_config_data()?; - match (args.endpoint, args.profile, args.profile_only) { - (None, None, None) => { - println!("{}", serde_json::to_string_pretty(&config.global_metadata)?); - Ok(()) - } - (Some(endpoint), None, None) => { - if let Some(endpoint) = config.endpoints.get(endpoint.as_str()) { - println!("{}", serde_json::to_string_pretty(&endpoint.endpoint_metadata)?); - Ok(()) - } else { - Err(MescCliError::Error("endpoint not found".to_string())) - } - } - (None, Some(profile), None) => { - let metadata = mesc::get_global_metadata(Some(profile.as_str()))?; - println!("{}", serde_json::to_string_pretty(&metadata)?); - Ok(()) - } - (None, None, Some(profile)) => { - if let Some(profile) = config.profiles.get(profile.as_str()) { - println!("{}", serde_json::to_string_pretty(&profile.profile_metadata)?); - Ok(()) - } else { - Err(MescCliError::Error("profile not found".to_string())) - } - } - _ => Err(MescCliError::Error("cannot specify more than one metadata type".to_string())), - } -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/mod.rs b/rust/crates/mesc_cli/src/cli/subcommands/mod.rs deleted file mode 100644 index dcbe01e..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/mod.rs +++ /dev/null @@ -1,23 +0,0 @@ -mod defaults; -mod endpoint; -mod help; -mod import; -mod ls; -mod metadata; -mod ping; -mod set; -mod setup; -mod status; -mod url; - -pub(crate) use defaults::*; -pub(crate) use endpoint::*; -pub(crate) use help::*; -pub(crate) use import::*; -pub(crate) use ls::*; -pub(crate) use metadata::*; -pub(crate) use ping::*; -pub(crate) use set::*; -pub(crate) use setup::*; -pub(crate) use status::*; -pub(crate) use url::*; diff --git a/rust/crates/mesc_cli/src/cli/subcommands/ping.rs b/rust/crates/mesc_cli/src/cli/subcommands/ping.rs deleted file mode 100644 index d5bd5aa..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/ping.rs +++ /dev/null @@ -1,227 +0,0 @@ -use crate::{network, network::EndpointNetworkInfo, MescCliError, PingArgs}; -use futures::stream::{FuturesUnordered, StreamExt}; -use std::collections::HashSet; -use tokio::task::JoinHandle; -use toolstr::ColumnFormatShorthand; - -pub(crate) fn all_ping_fields() -> Vec { - vec![ - "ip".to_string(), - "location".to_string(), - "latency".to_string(), - "block".to_string(), - "client".to_string(), - ] -} - -pub(crate) async fn ping_command(args: PingArgs) -> Result<(), MescCliError> { - let mut tasks = FuturesUnordered::>::new(); - - let fields = if args.fields.contains(&"all".to_string()) | (args.json & args.fields.is_empty()) - { - all_ping_fields() - } else if args.fields.is_empty() { - vec!["latency".to_string(), "block".to_string()] - } else { - args.fields - }; - - // get endpoints - let mut query = mesc::MultiEndpointQuery::new(); - if let Some(network) = args.network { - query = query.chain_id(network)?; - } - if let Some(name) = args.name { - query = query.name(name)?; - } - if let Some(url) = args.url { - query = query.url(url)?; - } - let endpoints = mesc::find_endpoints(query)?; - let n_endpoints = endpoints.len(); - - for endpoint in endpoints.iter() { - let name = endpoint.name.clone(); - let url = endpoint.url.clone(); - let fields = fields.clone(); - let task: JoinHandle<(String, Result)> = - tokio::spawn(async move { - let result = - network::get_node_network_info(url.clone(), &fields, args.timeout).await; - (name, result) - }); - tasks.push(task); - } - let mut names = vec![]; - let mut urls = vec![]; - let mut networks = vec![]; - let mut network_infos = vec![]; - let mut ips = vec![]; - let mut block_numbers = vec![]; - let mut failed_endpoints = vec![]; - let mut latencies: Vec = vec![]; - let mut locations: Vec> = vec![]; - while let Some(result) = tasks.next().await { - match result { - Ok((name, Ok(network_info))) => { - network_infos.push(network_info); - - for endpoint in endpoints.iter() { - if endpoint.name == name { - networks.push( - endpoint - .chain_id - .clone() - .map(|c| c.to_string()) - .unwrap_or("-".to_string()), - ); - urls.push(endpoint.url.clone()); - continue; - } - } - - names.push(name); - } - Ok((name, Err(_))) => failed_endpoints.push(name.to_string()), - Err(e) => return Err(MescCliError::JoinError(e)), - } - } - - let mut node_clients = Vec::new(); - for network_info in network_infos.into_iter() { - node_clients.push(network_info.node_client_version.unwrap_or("-".to_string())); - ips.push(network_info.ip_address.unwrap_or("-".to_string())); - block_numbers - .push(network_info.current_block.map(|b| b.to_string()).unwrap_or("-".to_string())); - latencies.push( - network_info - .latency - .map(|l| (l * 1000.0).to_string()[0..5].to_string()) - .unwrap_or("-".to_string()), - ); - locations.push(network_info.location); - } - - if args.json { - let entries = - names - .into_iter() - .zip(urls) - .zip(networks) - .zip(ips) - .zip(locations) - .zip(latencies) - .zip(node_clients) - .zip(block_numbers) - .map(|(((((((name, url), network), ip), location), latency), client), block)| { - Entry { name, url, network, ip, location, latency, client, block } - }) - .collect::>(); - println!("{}", serde_json::to_string_pretty(&entries)?); - return Ok(()); - } - - let mut title_style = crate::metadata::get_theme_font_style("title")?; - title_style.bold(); - let metavar_style = crate::metadata::get_theme_font_style("metavar")?; - let mut description_style = crate::metadata::get_theme_font_style("description")?; - description_style.bold(); - let option_style = crate::metadata::get_theme_font_style("option")?; - let _content_style = crate::metadata::get_theme_font_style("content")?; - let comment_style = crate::metadata::get_theme_font_style("comment")?; - - let mut format = toolstr::TableFormat::default() - .border_font_style(comment_style.clone()) - .label_font_style(title_style.clone()); - let mut table = toolstr::Table::default(); - - table.add_column("endpoint", names)?; - format.add_column(ColumnFormatShorthand::new().name("endpoint").font_style(metavar_style)); - table.add_column("network", networks)?; - format.add_column( - ColumnFormatShorthand::new().name("network").font_style(description_style.clone()), - ); - - for field in fields.iter() { - match field.as_str() { - "latency" => { - table.add_column("latency", latencies.clone())?; - format.add_column( - ColumnFormatShorthand::new() - .name("latency") - .font_style(description_style.clone()), - ); - } - "ip" => { - table.add_column("ip", ips.clone())?; - format.add_column( - ColumnFormatShorthand::new().name("ip").font_style(option_style.clone()), - ); - } - "block" => { - table.add_column("block", block_numbers.clone())?; - format.add_column( - ColumnFormatShorthand::new() - .name("block") - .font_style(description_style.clone()), - ); - } - "location" => { - table.add_column("location", locations.clone())?; - format.add_column( - ColumnFormatShorthand::new().name("location").font_style(option_style.clone()), - ); - } - "client" => { - table.add_column("node client", node_clients.clone())?; - format.add_column( - ColumnFormatShorthand::new() - .name("node client") - .font_style(option_style.clone()), - ); - } - _ => return Err(MescCliError::InvalidInput(format!("unknown field: {}", field))), - } - } - format.print(table)?; - - println!(); - if failed_endpoints.is_empty() { - println!( - "{}", - comment_style.format(format!("{} endpoints responded without error", n_endpoints)) - ); - } else { - let text = format!( - "failed collection for {} of {} endpoints: {}", - failed_endpoints.len(), - n_endpoints, - failed_endpoints.join(", ") - ); - println!("{}", comment_style.format(text)); - }; - - let field_set: HashSet<_> = fields.into_iter().collect(); - let all_field_set: HashSet<_> = all_ping_fields().into_iter().collect(); - let additional_fields: Vec<_> = all_field_set.difference(&field_set).collect(); - let additional_fields: Vec<_> = additional_fields.iter().map(|s| s.as_str()).collect(); - if !additional_fields.is_empty() { - println!(); - let text = format!("additional fields avaiable: {}", additional_fields.join(", ")); - println!("{}", comment_style.format(text)); - }; - - Ok(()) -} - -#[derive(serde::Serialize, serde::Deserialize)] -struct Entry { - name: String, - url: String, - network: String, - ip: String, - location: Option, - latency: String, - client: String, - block: String, -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/set.rs b/rust/crates/mesc_cli/src/cli/subcommands/set.rs deleted file mode 100644 index b7b73ec..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/set.rs +++ /dev/null @@ -1,341 +0,0 @@ -use crate::{MescCliError, SetArgs}; -use mesc::{RpcConfig, TryIntoChainId}; -use serde_json::{Map, Value}; -use std::collections::HashMap; -use toolstr::Colorize; - -pub(crate) async fn set_command(args: SetArgs) -> Result<(), MescCliError> { - // load old config data - let path = match (args.path.clone(), mesc::load::get_config_mode()) { - (Some(path), _) => path, - (_, Ok(mesc::ConfigMode::Path)) => mesc::load::get_config_path()?, - _ => { - eprintln!("to use set, must be in MESC_MODE=PATH or use the --path argument"); - std::process::exit(1); - } - }; - let mut config = match mesc::load::load_file_config(Some(path.clone())) { - Ok(data) => data, - Err(e) => { - eprintln!("could not load MESC config: {}", e); - std::process::exit(1); - } - }; - let old_config = config.clone(); - - // decide what to edit - let kv_pairs = determine_kv_pairs(&args)?; - let n_kv_pairs = kv_pairs.len(); - - // edit - for (key, value) in kv_pairs.into_iter() { - if let Some(value) = value { - set_config_value(&mut config, key, value)? - } else { - delete_config_value(&mut config, key)? - } - } - - // check that new config is valid - if let Err(e) = config.validate() { - eprintln!("Aborting because these updated resulted in an invalid config: {}", e); - std::process::exit(1); - } - - // write new file - if config != old_config { - mesc::write::write_config(config, path)?; - if n_kv_pairs == 1 { - println!("Applied {} update to config", n_kv_pairs.to_string().green().bold()); - } else { - println!("Applied {} updates to config", n_kv_pairs.to_string().green().bold()); - } - } else { - println!("Updates did not change the content of the config"); - } - - Ok(()) -} - -fn determine_kv_pairs(args: &SetArgs) -> Result)>, MescCliError> { - let kv_pairs = match ( - args.key.clone(), - args.value.clone(), - args.keys.clone(), - args.values.clone(), - args.delete, - ) { - (None, _, None, _, _) => { - return Err(MescCliError::InvalidInput("specify one of key or --keys".to_string())) - } - (Some(_), _, Some(_), _, _) => { - return Err(MescCliError::InvalidInput("cannot specify both key and --keys".to_string())) - } - (_, None, _, None, false) => { - return Err(MescCliError::InvalidInput("specify value or --values".to_string())) - } - (_, Some(_), _, Some(_), _) => { - return Err(MescCliError::InvalidInput( - "cannot specify both value and --values".to_string(), - )) - } - (_, Some(_), _, _, true) | (_, _, _, Some(_), true) => { - return Err(MescCliError::InvalidInput( - "cannot specify value or --values when using --delete".to_string(), - )) - } - (_, _, None, Some(_), false) => { - return Err(MescCliError::InvalidInput( - "must specify --keys when using --values".to_string(), - )) - } - (Some(key), Some(value), None, None, false) => vec![(key, Some(value))], - (Some(key), None, None, None, true) => vec![(key, None)], - (None, None, Some(keys), Some(values), false) => { - keys.into_iter().zip(values.into_iter().map(Some)).collect() - } - (None, None, Some(keys), None, true) => keys.into_iter().map(|k| (k, None)).collect(), - (None, Some(value), Some(keys), None, false) => { - keys.into_iter().map(|k| (k, Some(value.clone()))).collect() - } - }; - Ok(kv_pairs) -} - -fn set_config_value( - config: &mut RpcConfig, - key: String, - value: String, -) -> Result<(), MescCliError> { - let parts = key.split("\\.").flat_map(|part| part.split('.')).collect::>(); - match parts.as_slice() { - ["mesc_version"] => config.mesc_version = value, - ["default_endpoint"] => config.default_endpoint = Some(value), - ["endpoints", endpoint_name] => { - config - .endpoints - .insert(endpoint_name.to_string(), serde_json::from_str(value.as_str())?); - } - ["endpoints", endpoint_name, rest @ ..] => { - let rest = rest.to_vec(); - if (rest.len() == 1) & (rest[0] == "name") { - mesc::write::update_endpoint_name(config, endpoint_name, value.as_str())?; - return Ok(()); - } - if let Some(endpoint) = config.endpoints.get_mut(*endpoint_name) { - match rest.as_slice() { - ["url"] => endpoint.url = value, - ["chain_id"] => endpoint.chain_id = Some(value.try_into_chain_id()?), - ["endpoint_metadata", location @ ..] => { - set_metadata_entry(&mut endpoint.endpoint_metadata, location, value)?; - } - _ => return Err(MescCliError::InvalidInput(format!("cannot set key: {}", key))), - } - }; - } - ["network_defaults", chain_id] => { - config.network_defaults.insert(chain_id.try_into_chain_id()?, value); - } - ["network_names", network_name] => { - config.network_names.insert(network_name.to_string(), value.try_into_chain_id()?); - } - ["profiles", profile_name] => { - config.profiles.insert(profile_name.to_string(), serde_json::from_str(value.as_str())?); - } - ["profiles", profile_name, rest @ ..] => { - let rest = rest.to_vec(); - if let Some(profile) = config.profiles.get_mut(*profile_name) { - match rest.as_slice() { - ["name"] => profile.name = value, - ["default_endpoint"] => profile.default_endpoint = Some(value), - ["network_defaults", chain_id] => { - profile.network_defaults.insert(chain_id.try_into_chain_id()?, value); - } - ["profile_metadata", location @ ..] => { - set_metadata_entry(&mut profile.profile_metadata, location, value)?; - } - ["use_mesc"] => match value.parse::() { - Ok(as_bool) => profile.use_mesc = as_bool, - Err(_) => { - return Err(MescCliError::InvalidInput( - "use_mesc must be a bool value".to_string(), - )) - } - }, - _ => return Err(MescCliError::InvalidInput(format!("cannot set key: {}", key))), - } - } - } - ["global_metadata", location @ ..] => { - set_metadata_entry(&mut config.global_metadata, location, value)?; - } - _ => return Err(MescCliError::InvalidInput(format!("cannot delete key: {}", key))), - }; - Ok(()) -} - -fn delete_config_value(config: &mut RpcConfig, key: String) -> Result<(), MescCliError> { - let parts = key.split("\\.").flat_map(|part| part.split('.')).collect::>(); - match parts.as_slice() { - ["mesc_version"] => { - return Err(MescCliError::InvalidInput("cannot delete mesc_version".to_string())) - } - ["default_endpoint"] => config.default_endpoint = None, - ["endpoints", endpoint_name] => { - config.endpoints.remove(endpoint_name.to_string().as_str()); - } - ["endpoints", endpoint_name, rest @ ..] => { - let rest = rest.to_vec(); - if let Some(endpoint) = config.endpoints.get_mut(*endpoint_name) { - match rest.as_slice() { - ["name"] => { - return Err(MescCliError::InvalidInput( - "cannot delete endpoint name".to_string(), - )) - } - ["url"] => { - return Err(MescCliError::InvalidInput( - "cannot delete endpoint url".to_string(), - )) - } - ["chain_id"] => { - endpoint.chain_id = None; - } - ["endpoint_metadata", location @ ..] => { - delete_metadata_entry(&mut endpoint.endpoint_metadata, location)?; - } - _ => { - return Err(MescCliError::InvalidInput(format!( - "cannot delete key: {}", - key - ))) - } - } - } - } - ["network_defaults", chain_id] => { - config.network_defaults.remove(&chain_id.try_into_chain_id()?); - } - ["network_names", network_name] => { - config.network_names.remove(*network_name); - } - ["profiles", profile_name] => { - config.profiles.remove(*profile_name); - } - ["profiles", profile_name, rest @ ..] => { - let rest = rest.to_vec(); - if let Some(profile) = config.profiles.get_mut(*profile_name) { - match rest.as_slice() { - ["name"] => { - return Err(MescCliError::InvalidInput( - "cannot delete profile name".to_string(), - )) - } - ["default_endpoint"] => profile.default_endpoint = None, - ["network_defaults", chain_id] => { - profile.network_defaults.remove(&chain_id.try_into_chain_id()?); - } - ["profile_metadata", location @ ..] => { - delete_metadata_entry(&mut profile.profile_metadata, location)?; - } - ["use_mesc"] => { - return Err(MescCliError::InvalidInput( - "cannot delete profile use_mesc".to_string(), - )) - } - _ => { - return Err(MescCliError::InvalidInput(format!( - "cannot delete key: {}", - key - ))) - } - } - } - } - ["global_metadata", location @ ..] => { - delete_metadata_entry(&mut config.global_metadata, location)?; - } - _ => return Err(MescCliError::InvalidInput(format!("cannot delete key: {}", key))), - }; - Ok(()) -} - -fn set_metadata_entry( - metadata: &mut HashMap, - location: &[&str], - json_content: String, -) -> Result<(), MescCliError> { - if location.is_empty() { - return Err(MescCliError::InvalidInput("must specify metadata path to set".to_string())); - } - - let parsed_value = serde_json::from_str(&json_content) - .map_err(|e| MescCliError::InvalidInput(format!("Failed to parse JSON content: {}", e)))?; - - if location.len() == 1 { - metadata.insert(location[0].to_string(), parsed_value); - return Ok(()); - } - - let mut current_value = - metadata.entry(location[0].to_string()).or_insert_with(|| Value::Object(Map::new())); - - for &key in &location[1..location.len() - 1] { - current_value = match current_value { - Value::Object(map) => { - map.entry(key.to_string()).or_insert_with(|| Value::Object(Map::new())) - } - _ => return Err(MescCliError::InvalidInput(format!("Invalid path: {}", key))), - }; - } - - if let Some(last_key) = location.last() { - if let Value::Object(map) = current_value { - map.insert(last_key.to_string(), parsed_value); - } else { - return Err(MescCliError::InvalidInput("Target is not an object".to_string())); - } - } - - Ok(()) -} - -fn delete_metadata_entry( - metadata: &mut HashMap, - location: &[&str], -) -> Result<(), MescCliError> { - if location.is_empty() { - return Err(MescCliError::InvalidInput("must specify metadata path to delete".to_string())); - } - - if location.len() == 1 { - metadata.remove(location[0]); - return Ok(()); - } - - let mut current_value = match metadata.get_mut(location[0]) { - Some(value) => value, - None => return Ok(()), - }; - - for &key in &location[1..location.len() - 1] { - current_value = match current_value { - Value::Null => return Ok(()), - Value::Object(map) => match map.get_mut(key) { - Some(value) => value, - None => return Ok(()), - }, - _ => return Err(MescCliError::InvalidInput(format!("Invalid path: {}", key))), - }; - } - - if let Some(last_key) = location.last() { - if let Value::Object(map) = current_value { - map.remove(*last_key); - } else { - return Err(MescCliError::InvalidInput("Target is not an object".to_string())); - } - } - - Ok(()) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/command.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/command.rs deleted file mode 100644 index 20352c8..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/command.rs +++ /dev/null @@ -1,239 +0,0 @@ -use crate::{MescCliError, SetupArgs}; -use mesc::{MescError, RpcConfig}; -use std::path::PathBuf; -use toolstr::Colorize; - -use super::{config_modification::*, inquire_utils::*, selectors::*, shell_config::*, writing::*}; - -pub(crate) async fn setup_command(args: SetupArgs) -> Result<(), MescCliError> { - inquire::set_global_render_config(get_render_config()); - if args.editor { - edit_config_in_editor(args) - } else { - let (mode, shell_config_modified) = get_write_mode()?; - let config = load_config_data(&mode)?; - let endpoint_word = if config.endpoints.len() == 1 { "endpoint" } else { "endpoints" }; - let profile_word = if config.profiles.len() == 1 { "profile" } else { "profiles" }; - println!( - " Current config has {} {} and {} {}", - config.endpoints.len().to_string().green(), - endpoint_word, - config.profiles.len().to_string().green(), - profile_word, - ); - println!(); - let result = modify_existing_config(config, Some(mode)).await; - if shell_config_modified { - println!(); - println!( - "{}", - "Shell config files were modified. Restart shell to load these files.".magenta() - ) - } - result - } -} - -/// edit MESC config in editor instead of interactive menus -fn edit_config_in_editor(args: SetupArgs) -> Result<(), MescCliError> { - if let Some(path) = args.path { - edit::edit_file(path)? - } else if let Ok(mesc::ConfigMode::Path) = mesc::load::get_config_mode() { - let path = mesc::load::get_config_path()?; - edit::edit_file(path)? - } else { - return Err(MescCliError::Error("no file to edit".to_string())); - }; - Ok(()) -} - -/// get write mode for config -fn get_write_mode() -> Result<(ConfigWriteMode, bool), MescCliError> { - match ( - std::env::var("MESC_MODE").as_deref(), - std::env::var("MESC_PATH").as_deref(), - std::env::var("MESC_ENV").as_deref(), - !mesc::overrides::get_active_overrides().is_empty(), - ) { - (Ok("DISABLED"), _, _, _) => { - println!(" MESC is disabled because {}", "MESC_MODE=DISABLED".green().bold()); - println!( - " To enable MESC, set {} to {} or {} or unset it", - "MESC_MODE".green().bold(), - "PATH".green().bold(), - "ENV".green().bold() - ); - let config_mode = select_config_mode()?; - let modified_first = setup_mesc_mode_env_var(&config_mode)?; - let modified_second = setup_mesc_env_vars(&config_mode)?; - Ok((config_mode, !modified_first.is_empty() || !modified_second.is_empty())) - } - (Ok("PATH"), Ok(path), _, _) | (Err(_), Ok(path), _, _) => { - let path = mesc::load::expand_path(path)?; - println!(" MESC is {}", "enabled".green().bold()); - let print_path = - if let Ok(raw_path) = std::env::var("MESC_PATH") { raw_path } else { path.clone() }; - println!(" Using {}{}", "MESC_PATH=".green().bold(), print_path.green().bold()); - Ok((ConfigWriteMode::Path(path.into()), false)) - } - (Ok("PATH"), Err(_), _, _) => { - println!(" MESC is enabled"); - println!( - " Using {}, but {} is not set", - "MESC_MODE=PATH".green().bold(), - "MESC_PATH".green().bold() - ); - let path = select_config_path()?; - println!(" Using config path: {}", path.to_string_lossy().green().bold()); - let modified_files = setup_mesc_path_env_var(&path)?; - Ok((ConfigWriteMode::Path(path), !modified_files.is_empty())) - } - (Ok("ENV"), _, Ok(_env), _) | (Err(_), Err(_), Ok(_env), _) => { - println!(" MESC is enabled"); - println!(" Using {}", "MESC_MODE=ENV".green().bold()); - Ok((ConfigWriteMode::Env(vec![]), false)) - } - (Ok("ENV"), _, Err(_), _) => { - println!(" MESC is enabled"); - println!( - " Using {}, but {} is not set", - "MESC_MODE=ENV".green().bold(), - "MESC_ENV".green().bold() - ); - Ok((ConfigWriteMode::Env(vec![]), false)) - } - (Ok(other), _, _, _) => { - eprintln!("Invaild value for {}: {}", "MESC_MODE".green().bold(), other.green().bold()); - eprintln!( - "Either 1) unset this variable, or 2) set it to one of {{PATH, ENV, DISABLED}}" - ); - Err(MescCliError::Error("invalid MESC_MODE".to_string())) - } - (Err(_), Err(_), Err(_), true) => { - println!(" MESC is only enabled because overrides are set:"); - for var_name in mesc::overrides::get_active_overrides().iter() { - println!("- {}", var_name.bold().green()) - } - println!( - " To enable MESC more permanently, set either {} or {}", - "MESC_PATH".green().bold(), - "MESC_ENV".green().bold() - ); - let mode = select_config_mode()?; - let modified_files = setup_mesc_env_vars(&mode)?; - Ok((mode, !modified_files.is_empty())) - } - (Err(_), Err(_), Err(_), false) => { - println!(" MESC is disabled because no MESC env vars are set"); - println!(" To enable MESC, set one of the MESC env vars"); - let mode = select_config_mode()?; - let modified_files = setup_mesc_env_vars(&mode)?; - Ok((mode, !modified_files.is_empty())) - } - } -} - -/// load config data based on write mode -fn load_config_data(mode: &ConfigWriteMode) -> Result { - // attempt to load config data - let config = match mode { - ConfigWriteMode::Path(path) => { - // if path DNE that is ok, just start from scratch - // if invalid json, or other io error, ask to start from scratch break - let option_path = Some(path.to_string_lossy().into()); - match mesc::load::load_file_config(option_path) { - Ok(config) => Ok(config), - Err(MescError::MissingConfigFile(_)) => { - let config = RpcConfig::default(); - let prompt = "Config file does not exist, do you want to create one?"; - match inquire::Confirm::new(prompt).with_default(true).prompt() { - Ok(true) => { - mesc::write::write_config(config.clone(), path)?; - println!( - " Created blank config at {}", - path.to_string_lossy().bold().green() - ); - } - Ok(false) => { - println!(" Starting from blank config. Use \"Exit and save changes\" below to save"); - } - Err(_) => std::process::exit(1), - } - Ok(config) - } - Err(e) => Err(e), - } - } - ConfigWriteMode::Env(_) => { - // if env unset that is ok, just start from scratch - // if invalid json, ask to start from scratch, or break - match std::env::var("MESC_ENV") { - Ok(val) if !val.is_empty() => mesc::load::load_env_config(), - _ => { - println!(" {} var is empty, using blank config", "MESC_ENV".green().bold()); - Ok(RpcConfig::default()) - } - } - } - }; - - // create new config upon loading error - let config = match config { - Ok(config) => config, - Err(e) => { - eprintln!("Could not load config data: {}", format!("{}", e).red()); - let prompt = "How do you want to procede?"; - let options = vec!["Start a new config from scratch", "Exit setup"]; - match inquire::Select::new(prompt, options).prompt() { - Ok("Start a new config from scratch") => RpcConfig::default(), - _ => std::process::exit(1), - } - } - }; - - // ensure that config data is valid - let mut config = config.clone(); - loop { - match config.validate() { - Ok(()) => break, - Err(e) => { - eprintln!("Config data is not valid: {}", format!("{}", e).red()); - let prompt = "What do you want to do?"; - let options = - vec!["Create new config from scratch", "Edit the data manually", "Exit setup"]; - match inquire::Select::new(prompt, options).prompt() { - Ok("Create new config from scratch") => config = RpcConfig::default(), - Ok("Edit the data manually") => { - let new_config = edit::edit(serde_json::to_string(&config)?)?; - if let Ok(new_config) = serde_json::from_str(new_config.as_str()) { - config = new_config - } - } - Ok("Exit setup") | Ok(_) | Err(_) => std::process::exit(1), - } - } - }; - } - - Ok(config) -} - -fn setup_mesc_mode_env_var(mode: &ConfigWriteMode) -> Result, MescCliError> { - let value = match mode { - ConfigWriteMode::Path(_) => "PATH", - ConfigWriteMode::Env(_) => "ENV", - }; - modify_shell_config_var("MESC_MODE", value.to_string(), None) -} - -fn setup_mesc_env_vars(mode: &ConfigWriteMode) -> Result, MescCliError> { - match mode { - ConfigWriteMode::Path(path) => setup_mesc_path_env_var(path), - ConfigWriteMode::Env(_) => Ok(vec![]), - } -} - -fn setup_mesc_path_env_var(path: &std::path::Path) -> Result, MescCliError> { - let value = path.to_string_lossy().to_string(); - modify_shell_config_var("MESC_PATH", value, None) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/config_modification.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/config_modification.rs deleted file mode 100644 index a2e468e..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/config_modification.rs +++ /dev/null @@ -1,79 +0,0 @@ -use crate::MescCliError; -use inquire::InquireError; -use mesc::RpcConfig; - -use super::{defaults::*, endpoints::*, metadata::*, network_names::*, writing::*}; -use crate::cli::subcommands::help::print_interactive_help; -use toolstr::Colorize; - -pub(crate) async fn modify_existing_config( - config: RpcConfig, - config_write_mode: Option, -) -> Result<(), MescCliError> { - let options = [ - "Add new endpoint", - "Modify endpoint", - "Modify defaults", - "Modify metadata", - "Modify network names", - "Print config as JSON", - "Print help information", - "Exit and save changes", - "Exit without saving", - ] - .to_vec(); - let original_config = config.clone(); - let mut valid_config = config.clone(); - let mut config = config.clone(); - loop { - // modify config - match inquire::Select::new("What do you want to do?", options.clone()) - .with_page_size(10) - .prompt() - { - Ok("Add new endpoint") => add_endpoint(&mut config).await?, - Ok("Modify endpoint") => modify_endpoint(&mut config).await?, - Ok("Modify defaults") => modify_defaults(&mut config)?, - Ok("Modify metadata") => modify_global_metadata(&mut config).await?, - Ok("Modify network names") => modify_custom_network_names(&mut config).await?, - Ok("Print config as JSON") => { - println!(); - println!("{}", colored_json::to_colored_json_auto(&config)?); - println!(); - } - Ok("Print help information") => print_interactive_help()?, - Ok("Exit and save changes") => break, - Ok("Exit without saving") => return Ok(()), - Err(InquireError::OperationCanceled) => { - if config != original_config { - println!(" Exiting without saving"); - } else { - println!(" Exiting"); - } - std::process::exit(0) - } - Ok(_) | Err(_) => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - - // validation - match config.validate() { - Ok(()) => {} - Err(e) => { - println!("Invalid data: {:?}", e); - println!("Reverting to previous config state"); - config = valid_config.clone(); - continue; - } - }; - - valid_config = config.clone(); - } - - // write file - if config != original_config { - write_config(config, config_write_mode)?; - } else { - println!(" {}", "No updates to save".bold()) - } - Ok(()) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/defaults.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/defaults.rs deleted file mode 100644 index dfd2420..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/defaults.rs +++ /dev/null @@ -1,156 +0,0 @@ -use super::selectors::*; -use crate::{print_defaults, MescCliError}; -use inquire::InquireError; -use mesc::RpcConfig; - -pub(crate) fn modify_defaults(config: &mut RpcConfig) -> Result<(), MescCliError> { - println!(" Current defaults:"); - println!(); - print_defaults(config)?; - println!(); - - let options = [ - "Set the default endpoint", - "Set the default endpoint for network", - "Add new profile", - "Modify existing profile", - "Print current defaults", - "Done modifying defaults", - ] - .to_vec(); - - loop { - match inquire::Select::new("Which defaults do you want to modify?", options.clone()) - .prompt() - { - Ok("Set the default endpoint") => { - let prompt = "Which endpoint should be the default?"; - let endpoint_name = match select_endpoint(config, prompt)? { - Some(value) => value, - _ => return Ok(()), - }; - config.default_endpoint = Some(endpoint_name.clone()); - if let Some(endpoint) = - mesc::query::get_endpoint_by_name(config, endpoint_name.as_str())? - { - if let Some(chain_id) = endpoint.chain_id { - config.network_defaults.insert(chain_id, endpoint_name); - }; - } - } - Ok("Set the default endpoint for network") => { - let prompt = "Set the default endpoint for which network?"; - let chain_id = match select_config_chain_id(config, prompt)? { - Some(value) => value, - _ => return Ok(()), - }; - let prompt = "What should be the default endpoint for this network?"; - let endpoint_name = match select_endpoint_of_network(config, &chain_id, prompt)? { - Some(value) => value, - _ => return Ok(()), - }; - config.network_defaults.insert(chain_id, endpoint_name); - } - Ok("Add new profile") => { - let name = match inquire::Text::new("Name?").prompt() { - Ok(answer) => answer, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - if config.profiles.contains_key(&name) { - println!(); - } else { - config.profiles.insert(name.clone(), mesc::Profile::new(name)); - println!(" profile added"); - } - } - Ok("Modify existing profile") => { - if config.profiles.is_empty() { - println!(" no profiles are currently configured"); - continue; - } - - let profile_name = match select_profile(config, "Which profile to modify?")? { - Some(value) => value, - _ => return Ok(()), - }; - let options = vec![ - "Set the profile's name", - "Set the profile's default endpoint", - "Set the profile's default endpoint for a network", - ]; - match inquire::Select::new("What to modify?", options).prompt() { - Ok("Set the profile's name") => { - let new_name = match inquire::Text::new("New name?").prompt() { - Ok(answer) => answer, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => { - return Err(MescCliError::InvalidInput("invalid input".to_string())) - } - }; - if config.profiles.contains_key(&new_name) { - println!("profile with this name already exists"); - continue; - }; - if let Some(mut profile) = config.profiles.remove(&profile_name) { - profile.name = new_name.clone(); - config.profiles.insert(new_name, profile); - } else { - println!("profile not present"); - } - } - Ok("Set the profile's default endpoint") => { - let prompt = "Which endpoint to use as profile default?"; - let default_endpoint = match select_endpoint(config, prompt)? { - Some(value) => value, - _ => return Ok(()), - }; - if let Some(endpoint) = - mesc::query::get_endpoint_by_name(config, &default_endpoint)? - { - if let Some(profile) = config.profiles.get_mut(&profile_name) { - profile.default_endpoint = Some(default_endpoint.clone()); - if let Some(chain_id) = endpoint.chain_id.clone() { - profile.network_defaults.insert(chain_id, default_endpoint); - } - } else { - println!("profile not present"); - } - } - } - Ok("Set the profile's default endpoint for a network") => { - let prompt = "Set the profile's default endpoint for which network?"; - let chain_id = match select_config_chain_id(config, prompt)? { - Some(value) => value, - _ => return Ok(()), - }; - let prompt = "What should be the default endpoint for this network?"; - let endpoint_name = - match select_endpoint_of_network(config, &chain_id, prompt)? { - Some(value) => value, - _ => return Ok(()), - }; - if let Some(profile) = config.profiles.get_mut(&profile_name) { - profile.network_defaults.insert(chain_id, endpoint_name); - } else { - println!("profile not present"); - } - } - Err(InquireError::OperationCanceled) => return Ok(()), - _ => { - println!("invalid input"); - } - } - } - Ok("Print current defaults") => { - println!("Current defaults:"); - println!(); - print_defaults(config)?; - println!(); - } - Ok("Done modifying defaults") => return Ok(()), - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/endpoints.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/endpoints.rs deleted file mode 100644 index 166906a..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/endpoints.rs +++ /dev/null @@ -1,207 +0,0 @@ -use crate::{network::is_ip, MescCliError}; -use inquire::InquireError; -use mesc::{Endpoint, RpcConfig}; -use std::collections::{HashMap, HashSet}; -use toolstr::Colorize; - -use super::{metadata::*, selectors::*}; - -pub(crate) async fn add_endpoint(config: &mut RpcConfig) -> Result<(), MescCliError> { - let url = match inquire::Text::new("New endpoint URL?").prompt() { - Ok(input) => input, - Err(InquireError::OperationCanceled) => return Ok(()), - Err(_) => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - - // add transport protocol - let url = if !url.starts_with("http") & !url.starts_with("ws") & !url.ends_with(".ipc") { - if url.starts_with("localhost") | is_ip(&url) { - let url = format!("http://{}", url); - println!( - " Transport protocol not included. Defaulting to http: {}", - url.green().bold() - ); - url - } else { - let url = format!("https://{}", url); - println!( - " Transport protocol not included. Defaulting to https: {}", - url.green().bold() - ); - url - } - } else { - url - }; - - // get chain_id - println!(" Querying chain id..."); - let client = reqwest::Client::builder().timeout(std::time::Duration::from_secs(4)).build()?; - let chain_id = crate::rpc::request_chain_id(client, url.clone()).await; - let chain_id = match chain_id { - Ok(chain_id) => { - println!(" {} {}", "Using chain_id".bold(), chain_id.to_string().green()); - Some(chain_id) - } - _ => { - println!(" {}", "Could not detect chain id".red()); - select_chain_id("How to proceed?".to_string()).await? - } - }; - - // get name - let default_name = mesc::overrides::get_default_endpoint_name(&url, chain_id.clone()); - let mut input = inquire::Text::new("New endpoint name?"); - if let Some(default_name) = default_name.as_ref() { - input = input.with_default(default_name); - } - let name = match input.prompt() { - Ok(choice) => choice, - Err(InquireError::OperationCanceled) => return Ok(()), - Err(_) => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - - // create endpoint - let endpoint = Endpoint { url, name, chain_id, endpoint_metadata: HashMap::new() }; - config.endpoints.insert(endpoint.name.clone(), endpoint); - println!(" {}", "New endpoint added".bold()); - Ok(()) -} - -pub(crate) async fn modify_endpoint(config: &mut RpcConfig) -> Result<(), MescCliError> { - // select endpoint - let mut options: Vec = config.endpoints.clone().into_keys().collect(); - if options.is_empty() { - println!(" No endpoints to modify"); - return Ok(()); - } - options.sort(); - let endpoint_name = match inquire::Select::new("Which endpoint to modify?", options).prompt() { - Ok(name) => name, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - let endpoint = match config.endpoints.get(&endpoint_name) { - Some(endpoint) => endpoint.clone(), - None => return Err(MescCliError::InvalidInput("endpoint does not exist".to_string())), - }; - println!(" {}", "Current endpoint data:".bold(),); - println!(); - let colored = colored_json::to_colored_json_auto(&serde_json::to_value(&endpoint)?)?; - for line in colored.split('\n') { - println!(" {}", line); - } - println!(); - - // gather modifications - let halt_options: HashSet<&str> = vec!["Delete endpoint", "Done"].into_iter().collect(); - let mut option = query_modify_endpoint(endpoint_name.clone(), config, true).await?; - loop { - if halt_options.contains(option.as_str()) { - break; - } - option = query_modify_endpoint(endpoint_name.clone(), config, false).await?; - } - - // commit modifications - if option != "Delete endpoint" { - let new_endpoint = match config.endpoints.get(&endpoint_name) { - Some(endpoint) => endpoint.clone(), - None => return Err(MescCliError::InvalidInput("endpoint does not exist".to_string())), - }; - if new_endpoint == endpoint { - println!(" Endpoint unmodified"); - } else { - println!(" {}", "New endpoint data:".bold(),); - println!(); - let colored = colored_json::to_colored_json_auto(&serde_json::to_value(endpoint)?)?; - for line in colored.split('\n') { - println!(" {}", line); - } - println!(); - } - } - - Ok(()) -} - -pub(crate) async fn query_modify_endpoint( - endpoint_name: String, - config: &mut RpcConfig, - first_change: bool, -) -> Result { - let options = [ - "Modify endpoint name", - "Modify endpoint url", - "Modify endpoint chain_id", - "Modify endpoint metadata", - "Delete endpoint", - "Print endpoint as JSON", - "Done", - ] - .to_vec(); - - let message = if first_change { "How to modify endpoint?" } else { "Any other modifications?" }; - - let option = match inquire::Select::new(message, options.clone()).prompt() { - Ok(answer) => answer, - Err(InquireError::OperationCanceled) => return Ok("Done".to_string()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - - match option { - "Modify endpoint name" => { - let new_name = match inquire::Text::new("New name?").prompt() { - Ok(answer) => answer, - Err(InquireError::OperationCanceled) => return Ok("Done".to_string()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - mesc::write::update_endpoint_name(config, endpoint_name.as_str(), new_name.as_str())?; - } - "Modify endpoint url" => { - let new_url = match inquire::Text::new("New url?").prompt() { - Ok(answer) => answer, - Err(InquireError::OperationCanceled) => return Ok("Done".to_string()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - if let Some(endpoint) = config.endpoints.get_mut(&endpoint_name) { - endpoint.url = new_url; - } - } - "Modify endpoint chain_id" => { - match select_chain_id("New chain_id?".to_string()).await { - Ok(Some(chain_id)) => mesc::write::update_endpoint_chain_id( - config, - endpoint_name.as_str(), - chain_id.clone(), - )?, - Ok(None) => return Ok("Done".to_string()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - } - "Modify endpoint metadata" => modify_endpoint_metadata(endpoint_name.as_str(), config)?, - "Delete endpoint" => { - mesc::write::delete_endpoint(config, endpoint_name.as_str())?; - println!("{} {}", "Deleted endpoint:".red(), endpoint_name.green()); - } - "Print endpoint as JSON" => { - let endpoint = match config.endpoints.get(&endpoint_name) { - Some(endpoint) => endpoint.clone(), - None => { - return Err(MescCliError::InvalidInput("endpoint does not exist".to_string())) - } - }; - println!(" {}", "Current endpoint data:".bold(),); - println!(); - let colored = colored_json::to_colored_json_auto(&serde_json::to_value(endpoint)?)?; - for line in colored.split('\n') { - println!(" {}", line); - } - println!(); - } - "Done" => {} - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - - Ok(option.to_string()) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/inquire_utils.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/inquire_utils.rs deleted file mode 100644 index 9064f12..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/inquire_utils.rs +++ /dev/null @@ -1,25 +0,0 @@ -use inquire::ui::{Attributes, Color, IndexPrefix, RenderConfig, StyleSheet, Styled}; - -pub(crate) fn get_render_config() -> RenderConfig<'static> { - let highlight_color = Color::DarkGreen; - - let mut render_config = RenderConfig::default(); - render_config.prompt = StyleSheet::new().with_attr(Attributes::BOLD); - render_config.prompt_prefix = Styled::new("").with_fg(Color::LightRed); - render_config.answered_prompt_prefix = Styled::new("").with_fg(Color::LightRed); - render_config.placeholder = StyleSheet::new().with_fg(Color::LightRed); - render_config.selected_option = Some(StyleSheet::new().with_fg(highlight_color)); - render_config.highlighted_option_prefix = Styled::new("→").with_fg(highlight_color); - render_config.selected_checkbox = Styled::new("☑").with_fg(highlight_color); - render_config.scroll_up_prefix = Styled::new("⇞"); - render_config.scroll_down_prefix = Styled::new("⇟"); - render_config.unselected_checkbox = Styled::new("☐"); - render_config.option_index_prefix = IndexPrefix::Simple; - render_config.error_message = - render_config.error_message.with_prefix(Styled::new("❌").with_fg(Color::LightRed)); - render_config.answer = StyleSheet::new().with_attr(Attributes::BOLD).with_fg(highlight_color); - let grey = Color::Rgb { r: 100, g: 100, b: 100 }; - render_config.help_message = StyleSheet::new().with_fg(grey).with_attr(Attributes::ITALIC); - - render_config -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/metadata.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/metadata.rs deleted file mode 100644 index 1c4988b..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/metadata.rs +++ /dev/null @@ -1,210 +0,0 @@ -use crate::MescCliError; -use inquire::InquireError; -use mesc::RpcConfig; -use std::collections::HashMap; -use toolstr::Colorize; - -use super::selectors::*; - -pub(crate) fn modify_endpoint_metadata( - endpoint_name: &str, - config: &mut RpcConfig, -) -> Result<(), MescCliError> { - let endpoint = match config.endpoints.get_mut(endpoint_name) { - Some(endpoint) => endpoint, - None => { - return Err(MescCliError::InvalidInput(format!("missing endpoint: {}", endpoint_name))) - } - }; - let options = vec![ - "Add label", - "Remove label", - "Set ratelimit", - "Set API key", - "Edit raw JSON", - "Done editing metadata", - ]; - match inquire::Select::new("How to modify metadata?", options).prompt() { - Ok("Add label") => { - let new_label = match inquire::Text::new("What is the new label?").prompt() { - Ok(new_label) => new_label, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - if endpoint.endpoint_metadata.get_mut("labels").is_none() { - endpoint - .endpoint_metadata - .insert("labels".to_string(), serde_json::json!(Vec::::new())); - }; - let labels = endpoint.endpoint_metadata.get_mut("labels").unwrap(); - if let Some(array) = labels.as_array_mut() { - array.push(serde_json::Value::String(new_label)); - println!(" Added label") - } else { - println!("Incorrectly formatted data, labels is not a list"); - }; - } - Ok("Remove label") => { - match endpoint.endpoint_metadata.get_mut("labels") { - Some(serde_json::Value::Array(labels)) => { - let label_strings: Vec<&str> = - labels.iter().filter_map(|val| val.as_str()).collect(); - if label_strings.is_empty() { - println!("No labels for endpoint"); - return Ok(()); - }; - match inquire::Select::new("Which label to remove?", label_strings.clone()) - .prompt() - { - Ok(label) => { - if let Some(index) = - label_strings.iter().position(|test_label| test_label == &label) - { - labels.remove(index); - } else { - println!("Label not found."); - } - } - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } - Some(_) => { - println!("Incorrectly formatted data, labels is not a list"); - } - None => { - println!(" Endpoint does not have any labels") - } - }; - } - Ok("Set ratelimit") => { - let message = "What is the rate limit, in requests per second?"; - let value = match inquire::CustomType::::new(message) - .with_formatter(&|i| format!("{:.2}", i)) - .with_error_message("Please type a valid number") - .with_help_message(" Enter the number of requests per seconds") - .prompt() - { - Ok(value) => value, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - endpoint - .endpoint_metadata - .insert("rate_limit_rps".to_string(), serde_json::json!(value)); - } - Ok("Set API key") => { - let api_key = match inquire::Text::new("What is the API key?").prompt() { - Ok(api_key) => api_key, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - endpoint.endpoint_metadata.insert("api_key".to_string(), serde_json::json!(api_key)); - } - Ok("Edit raw JSON") => { - let edited = edit::edit(serde_json::to_string(&endpoint.endpoint_metadata)?)?; - let value: Result, serde_json::Error> = - serde_json::from_str(&edited); - endpoint.endpoint_metadata = value?; - } - Ok("Done editing metadata") => return Ok(()), - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - Ok(()) -} - -pub(crate) async fn modify_global_metadata(config: &mut RpcConfig) -> Result<(), MescCliError> { - loop { - let options = vec![ - "Modify global metadata as JSON", - "Modify profile metadata as JSON", - "Modify endpoint metadata", - "Print global metadata", - "Print profiles metadata", - "Back to main menu", - ]; - match inquire::Select::new("What do you want to do?", options).prompt() { - Ok("Modify global metadata as JSON") => { - let old_metadata = serde_json::to_string(&config.global_metadata)?; - let new_metadata = edit::edit(&old_metadata)?; - if old_metadata == new_metadata { - println!(" {}", "Global metadata unchanged".bold()); - } else { - let value: Result, serde_json::Error> = - serde_json::from_str(&new_metadata); - match value { - Ok(value) => { - config.global_metadata = value; - println!(" {}", "Global metadata updated".bold()); - } - Err(_) => { - println!(" {}", "Invalid JSON, ignoring".red().bold()) - } - } - } - } - Ok("Modify profile metadata as JSON") => { - if config.profiles.is_empty() { - println!(" No profiles in config"); - } else if let Some(profile_name) = select_profile(config, "Which profile?")? { - if let Some(profile) = config.profiles.get(&profile_name) { - let old_metadata = serde_json::to_string(&profile.profile_metadata)?; - let new_metadata = edit::edit(&old_metadata)?; - if old_metadata == new_metadata { - println!(" {}", "Profile metadata unchanged".bold()); - } else { - let value: Result< - HashMap, - serde_json::Error, - > = serde_json::from_str(&new_metadata); - match value { - Ok(value) => { - config.global_metadata = value; - println!(" {}", "Profile metadata updated".bold()); - } - Err(_) => { - println!(" {}", "Invalid JSON, ignoring".red().bold()) - } - } - } - } - } else { - return Ok(()); - } - } - Ok("Modify endpoint metadata") => { - if config.endpoints.is_empty() { - println!(" No endpoints in config"); - } else if let Some(endpoint) = select_endpoint(config, "Which endpoint?")? { - modify_endpoint_metadata(endpoint.as_str(), config)?; - } else { - return Ok(()); - } - } - Ok("Print global metadata") => { - println!(); - println!("{}", colored_json::to_colored_json_auto(&config.global_metadata)?); - println!(); - } - Ok("Print profiles metadata") => { - if config.profiles.is_empty() { - println!(" No profiles in config"); - } else { - println!(); - for (profile_name, profile) in config.profiles.iter() { - println!("profile: {}:", profile_name.bold().white()); - println!( - "{}", - colored_json::to_colored_json_auto(&profile.profile_metadata)? - ); - println!(); - } - } - } - Ok("Back to main menu") => return Ok(()), - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/mod.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/mod.rs deleted file mode 100644 index 80b49f4..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/mod.rs +++ /dev/null @@ -1,12 +0,0 @@ -mod command; -mod config_modification; -mod defaults; -mod endpoints; -mod inquire_utils; -mod metadata; -mod network_names; -mod selectors; -mod shell_config; -mod writing; - -pub(crate) use command::setup_command; diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/network_names.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/network_names.rs deleted file mode 100644 index e7a7dab..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/network_names.rs +++ /dev/null @@ -1,96 +0,0 @@ -use crate::MescCliError; -use inquire::InquireError; -use mesc::{RpcConfig, TryIntoChainId}; -use toolstr::Colorize; - -use super::selectors::*; - -pub(crate) async fn modify_custom_network_names( - config: &mut RpcConfig, -) -> Result<(), MescCliError> { - print_custom_network_names(config); - - loop { - let options = if config.network_names.is_empty() { - vec![ - "Add custom network name", - "Print custom network names", - "Done editing custom names", - ] - } else { - vec![ - "Add custom network name", - "Edit custom network name", - "Remove custom network name", - "Print custom network names", - "Done editing custom names", - ] - }; - match inquire::Select::new("What do you want to do?", options).prompt() { - Ok("Add custom network name") => { - let name = match inquire::Text::new("Custom network name?").prompt() { - Ok(name) => name, - Err(InquireError::OperationCanceled) => continue, - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - loop { - match inquire::Text::new("What is the chain id?").prompt() { - Ok(chain_id) => match chain_id.try_into_chain_id() { - Ok(chain_id) => { - config.network_names.insert(name.clone(), chain_id); - println!(" Custom network name added"); - break; - } - _ => { - println!(" not a valid chain id"); - continue; - } - }, - Err(InquireError::OperationCanceled) => break, - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } - } - Ok("Edit custom network name") => match select_custom_network_name(config) { - Ok(Some(old_name)) => match inquire::Text::new("New name?").prompt() { - Ok(new_name) => match config.network_names.remove(&old_name) { - Some(chain_id) => { - config.network_names.insert(new_name, chain_id); - } - None => continue, - }, - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }, - Ok(None) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }, - Ok("Remove custom network name") => match select_custom_network_name(config) { - Ok(Some(name)) => { - config.network_names.remove(&name); - println!(" Name removed"); - } - Ok(None) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }, - Ok("Print custom network names") => print_custom_network_names(config), - Ok("Done editing custom names") => return Ok(()), - Err(InquireError::OperationCanceled) => return Ok(()), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } -} - -fn print_custom_network_names(config: &RpcConfig) { - if config.network_names.is_empty() { - println!(" No custom network names currently being used"); - } else { - println!( - " {} custom network names currently being used:", - config.network_names.len().to_string().green().bold() - ); - for (network_name, chain_id) in config.network_names.iter() { - println!(" - {} = {}", network_name.bold(), chain_id.to_string().green().bold()); - } - }; -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/selectors.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/selectors.rs deleted file mode 100644 index 614be51..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/selectors.rs +++ /dev/null @@ -1,245 +0,0 @@ -use crate::MescCliError; -use inquire::{ui::IndexPrefix, InquireError}; -use mesc::{ChainId, RpcConfig, TryIntoChainId}; -use std::collections::HashSet; -use toolstr::Colorize; - -use super::{inquire_utils::*, writing::*}; - -pub(crate) async fn select_chain_id(prompt: String) -> Result, MescCliError> { - let options = vec![ - "Search known network names", - "Enter endpoint chain id manually", - "Do not use a chain id for this endpoint", - ]; - loop { - match inquire::Select::new(prompt.as_str(), options.clone()).prompt() { - Ok("Do not use a chain id for this endpoint") => return Ok(None), - Ok("Enter endpoint chain id manually") => { - match inquire::Text::new("Chain id?").prompt() { - Ok(text) => { - match text.try_into_chain_id() { - Ok(chain_id) => return Ok(Some(chain_id)), - _ => continue, - }; - } - Err(InquireError::OperationCanceled) => return Ok(None), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } - Ok("Search known network names") => { - println!( - " Fetching network names from {}...", - "https://chainid.network".green().bold() - ); - match select_chain_id_by_name().await { - Ok(Some(chain_id)) => return Ok(Some(chain_id)), - Ok(None) => return Ok(None), - _ => { - println!(" Exiting without saving"); - std::process::exit(0); - } - } - } - Err(InquireError::OperationCanceled) => return Ok(None), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - } - } -} - -pub(crate) async fn select_chain_id_by_name() -> Result, MescCliError> { - let network_list = match crate::network::fetch_network_list().await { - Ok(mapping) => mapping, - Err(_) => { - println!(" could not retrieve network list"); - return Ok(None); - } - }; - let mut pairs: Vec<(ChainId, String)> = network_list.into_iter().collect(); - pairs.sort_by(|(a, _), (b, _)| a.cmp(b)); - - let options: Vec<_> = - pairs.iter().map(|(chain_id, name)| format!("{}) {}", chain_id, name)).collect(); - let mut render_config = get_render_config(); - render_config.option_index_prefix = IndexPrefix::None; - match inquire::Select::new("Which network?", options.clone()) - .with_render_config(render_config) - .prompt() - { - Ok(answer) => match options.iter().position(|option| option == &answer) { - Some(index) => match pairs.get(index) { - Some((chain_id, _)) => Ok(Some(chain_id.clone())), - None => Ok(None), - }, - None => Err(MescCliError::InvalidInput("bad input".to_string())), - }, - Err(InquireError::OperationCanceled) => Ok(None), - _ => Err(MescCliError::Error("invalid input".to_string())), - } -} - -pub(crate) fn select_custom_network_name( - config: &RpcConfig, -) -> Result, MescCliError> { - let names: Vec<_> = config.network_names.keys().collect(); - if names.is_empty() { - return Ok(None); - } - match inquire::Select::new("Which custom name?", names).prompt() { - Ok(name) => Ok(Some(name.clone())), - Err(InquireError::OperationCanceled) => Ok(None), - _ => Err(MescCliError::InvalidInput("invalid input".to_string())), - } -} - -pub(crate) fn select_endpoint( - config: &RpcConfig, - prompt: &str, -) -> Result, MescCliError> { - let mut options: Vec = config.endpoints.clone().into_keys().collect(); - if options.is_empty() { - return Ok(None); - } - options.sort(); - match inquire::Select::new(prompt, options).prompt() { - Ok(answer) => Ok(Some(answer)), - Err(InquireError::OperationCanceled) => Ok(None), - _ => Err(MescCliError::InvalidInput("invalid input".to_string())), - } -} - -pub(crate) fn select_endpoint_of_network( - config: &RpcConfig, - chain_id: &ChainId, - prompt: &str, -) -> Result, MescCliError> { - let mut options: Vec = config - .endpoints - .clone() - .values() - .filter(|endpoint| endpoint.chain_id.as_ref() == Some(chain_id)) - .map(|endpoint| endpoint.name.clone()) - .collect(); - if options.is_empty() { - return Ok(None); - } - options.sort(); - match inquire::Select::new(prompt, options).prompt() { - Ok(answer) => Ok(Some(answer)), - Err(InquireError::OperationCanceled) => Ok(None), - _ => Err(MescCliError::InvalidInput("invalid input".to_string())), - } -} - -pub(crate) fn select_profile( - config: &RpcConfig, - prompt: &str, -) -> Result, MescCliError> { - let mut options: Vec<_> = config.profiles.keys().collect(); - if options.is_empty() { - return Ok(None); - } - options.sort(); - match inquire::Select::new(prompt, options).prompt() { - Ok(answer) => Ok(Some(answer.to_string())), - Err(InquireError::OperationCanceled) => Ok(None), - _ => Err(MescCliError::InvalidInput("invalid input".to_string())), - } -} - -pub(crate) fn select_config_chain_id( - config: &RpcConfig, - prompt: &str, -) -> Result, MescCliError> { - let mut chain_ids = config - .endpoints - .values() - .filter_map(|endpoint| endpoint.chain_id.clone()) - .collect::>() - .into_iter() - .collect::>(); - chain_ids.sort(); - let options: Vec = chain_ids - .iter() - .map(|chain_id| match mesc::directory::get_network_name(chain_id) { - Some(name) => format!("{chain_id}) {name}"), - None => chain_id.to_string(), - }) - .collect(); - let input = match inquire::Select::new(prompt, options.clone()).prompt() { - Ok(answer) => answer, - Err(InquireError::OperationCanceled) => return Ok(None), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - match options.iter().position(|x| x == &input) { - Some(index) => Ok(Some(chain_ids[index].clone())), - None => Err(MescCliError::Error("invalid input".to_string())), - } -} - -pub(crate) fn select_config_mode() -> Result { - let prompt = "Do you want to store your MESC config in a file or in an env var?"; - let options = vec!["File (recommended)", "Environment Variable"]; - match inquire::Select::new(prompt, options).prompt() { - Ok("File (recommended)") => Ok(ConfigWriteMode::Path(select_config_path()?)), - Ok("Environment Variable") => Ok(ConfigWriteMode::Env(vec![])), - Ok(_) | Err(_) => { - eprintln!("Aborting setup"); - std::process::exit(1); - } - } -} - -pub(crate) fn select_config_path() -> Result { - loop { - let prompt = "Where to save MESC config file?"; - match inquire::Text::new(prompt).with_default("~/mesc.json").prompt() { - Ok(path) => { - let path = mesc::load::expand_path(path)?; - let path = std::path::Path::new(path.as_str()); - if path.exists() { - if path.is_file() { - match path.extension().map(|ext| ext.to_string_lossy()) { - Some(ext) if ext == "json" => return Ok(path.to_path_buf()), - _ => { - let prompt = "Use file even without a .json file extension?"; - if let Ok(true) = - inquire::Confirm::new(prompt).with_default(false).prompt() - { - return Ok(path.to_path_buf()); - } - } - } - } else if path.is_dir() { - let path = path.join("mesc.json"); - println!("Treating as a directory, will save to {}", path.display()); - return Ok(path); - } else { - println!("Not a valid file path"); - } - } else { - match path.extension() { - Some(ext) if ext == "json" => return Ok(path.to_path_buf()), - Some(_) => { - let prompt = "Use file even without a .json file extension?"; - if let Ok(true) = - inquire::Confirm::new(prompt).with_default(false).prompt() - { - return Ok(path.to_path_buf()); - } - } - None => { - let path = path.join("mesc.json"); - println!("Treating as a directory, will save to {}", path.display()); - return Ok(path); - } - } - } - } - Err(_) => { - eprintln!("Aborting setup"); - std::process::exit(1); - } - } - } -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/shell_config.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/shell_config.rs deleted file mode 100644 index c3de2f5..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/shell_config.rs +++ /dev/null @@ -1,261 +0,0 @@ -use crate::MescCliError; - -use std::{ - fs::{File, OpenOptions}, - io::{BufRead, BufReader, Write}, - path::{Path, PathBuf}, -}; -use toolstr::Colorize; - -#[derive(Hash, PartialEq, Eq)] -pub(crate) struct Mention { - pub(crate) path: PathBuf, - pub(crate) env_var: String, - pub(crate) simple_value: Option, - pub(crate) line: String, -} - -pub(crate) fn get_shell_config_paths() -> Result, MescCliError> { - let home_dir = - std::env::var("HOME").map_err(|_| MescCliError::Error("home dir not found".to_string()))?; - let home_path = PathBuf::from(home_dir); - let mut candidates = vec![home_path.join(".bashrc"), home_path.join(".profile")]; - - // paths added only if they exist - for path in [home_path.join(".zshrc")] { - if path.exists() { - candidates.push(path) - } - } - - Ok(candidates) -} - -/// return list of modified files -pub(crate) fn modify_shell_config_var( - var_name: &str, - value: String, - paths: Option>, -) -> Result, MescCliError> { - // decide where to look - let shell_configs = match paths { - Some(paths) => paths, - None => get_shell_config_paths()?, - }; - - // detect where env var is currently defined - let mut not_set: Vec = Vec::new(); - let mut complex_mentions: Vec = Vec::new(); - let mut set_already: Vec = Vec::new(); - let mut set_wrong: Vec = Vec::new(); - for path in shell_configs.into_iter() { - let mentions = find_env_var_mentions(var_name, &path)?; - if mentions.is_empty() { - not_set.push(path) - } else if mentions.iter().all(|m| m.simple_value.is_none()) { - complex_mentions.push(path) - } else if mentions.iter().all(|m| m.simple_value == Some(value.clone())) { - set_already.push(path) - } else { - set_wrong.push(path) - } - } - - // modify shell configs accordingly - match (not_set.len(), complex_mentions.len(), set_wrong.len(), set_already.len()) { - (0, 0, 0, 0) => { - println!(" No shell config files specified"); - Ok(vec![]) - } - (n_not_set, n_set_complex, n_set_wrong, n_set_already) => { - println!(" Need to set {} in order to use this file", "MESC_PATH".green().bold()); - if n_set_already > 0 { - println!( - " {} is already set to the desired value in {} shell config files", - var_name.bold().green(), - n_set_already.to_string().green().bold() - ); - for (i, path) in set_already.iter().enumerate() { - println!(" {}. {}", i + 1, path.to_string_lossy().green().bold()); - } - } - if n_set_complex > 0 { - println!(" {} is already set in a complex, non-standard way for {} shell config files. You must edit these files manually: {:?}", var_name.green().bold(), n_set_complex.to_string().green().bold(), get_file_names(&complex_mentions)); - for (i, path) in complex_mentions.iter().enumerate() { - println!(" {}. {}", i + 1, path.to_string_lossy().green().bold()); - } - } - if n_not_set + n_set_wrong > 0 { - let to_change: Vec<_> = not_set.into_iter().chain(set_wrong).collect(); - edit_shell_config_files_to_value(var_name, value, to_change) - } else { - Ok(vec![]) - } - } - } -} - -fn edit_shell_config_files_to_value( - var_name: &str, - value: String, - to_edit: Vec, -) -> Result, MescCliError> { - println!( - " {} can be automatically updated for {} shell config files:", - var_name.bold().green(), - format!("{}", to_edit.len()).green().bold(), - ); - for (i, path) in to_edit.iter().enumerate() { - println!(" {}. {}", i + 1, path.to_string_lossy().green().bold()); - } - let mut to_edit: std::collections::HashSet = to_edit.into_iter().collect(); - - let prompt = "What do you want to do?"; - let options = vec![ - "Edit these files automatically (recommended)", - "Edit these files manually in editor", - "Choose a subset of these files", - "Ignore this for now", - "Exit setup", - ]; - let original_to_edit = to_edit.clone(); - let edited = loop { - match inquire::Select::new(prompt, options.clone()).prompt() { - Ok("Edit these files automatically (recommended)") => { - for path in to_edit.iter() { - replace_mentions(path, var_name, &value)? - } - break to_edit.into_iter().collect(); - } - Ok("Edit these files manually in editor") => { - for path in to_edit.iter() { - edit::edit_file(path)?; - } - break to_edit.into_iter().collect(); - } - Ok("Choose a subset of these files") => { - to_edit = match inquire::MultiSelect::new( - "Select which files to edit", - original_to_edit - .clone() - .into_iter() - .map(|x| x.to_string_lossy().to_string()) - .collect(), - ) - .prompt() - { - Ok(paths) => { - println!(" Selected {} files", paths.len().to_string().bold().green()); - paths.iter().map(|p| PathBuf::from(p.to_string())).collect() - } - Err(_) => continue, - } - } - Ok("Ignore this for now") => break vec![], - Ok("Exit setup") | Ok(_) | Err(_) => std::process::exit(0), - }; - }; - - match edited.len() { - 0 => println!(" {} not updated in any shell config files", var_name.green().bold()), - 1 => println!(" {} updated in 1 config file", var_name.green().bold()), - n => println!(" Edited {} config files", n.to_string().green().bold()), - }; - - Ok(edited) -} - -/// Find mentions of environment variable in path -pub(crate) fn find_env_var_mentions( - env_var: &str, - path: &PathBuf, -) -> Result, MescCliError> { - let mut mentions: Vec = Vec::new(); - if path.exists() { - let file = File::open(path)?; - let reader = BufReader::new(file); - for line in reader.lines() { - let line = line?; - if line.trim_start().starts_with('#') { - continue; - } - if let Some(value) = extract_simple_value(&line, env_var) { - mentions.push(Mention { - path: path.clone(), - env_var: env_var.to_string(), - simple_value: Some(value), - line: line.clone(), - }); - } else if line.contains(env_var) { - mentions.push(Mention { - path: path.clone(), - env_var: env_var.to_string(), - simple_value: None, - line, - }); - } - } - } - Ok(mentions) -} - -/// Helper function to extract the simple value from a line, if present -fn extract_simple_value(line: &str, env_var: &str) -> Option { - if line.starts_with(&format!("export {}=", env_var)) { - line.split_once('=').map(|(_, value)| value.to_string()) - } else { - None - } -} - -/// Helper function to get a list of file names from a list of paths -fn get_file_names(paths: &[PathBuf]) -> Vec { - paths - .iter() - .filter_map(|path| path.file_name()) - .filter_map(|os_str| os_str.to_str()) - .map(|str_slice| str_slice.to_owned()) - .collect() -} - -/// Replace mentions of an environment variable in a file with a new value -pub(crate) fn replace_mentions>( - path: P, - env_var: &str, - new_value: &str, -) -> Result<(), MescCliError> { - let path = path.as_ref(); - - if !path.exists() { - let _file = File::create(path)?; - } - let file = File::open(path)?; - let reader = BufReader::new(file); - - let mut lines: Vec = Vec::new(); - let mut modified = false; - - for line in reader.lines() { - let line = line?; - if line.starts_with(&format!("export {}=", env_var)) { - lines.push(format!("export {}={}", env_var, new_value)); - modified = true; - } else { - lines.push(line); - } - } - if !modified { - lines.push("".to_string()); - lines.push(format!("export {}={}", env_var, new_value)); - modified = true; - } - - if modified { - let mut file = OpenOptions::new().write(true).truncate(true).open(path)?; - for line in lines { - writeln!(file, "{}", line)?; - } - } - - Ok(()) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/setup/writing.rs b/rust/crates/mesc_cli/src/cli/subcommands/setup/writing.rs deleted file mode 100644 index e85cfd0..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/setup/writing.rs +++ /dev/null @@ -1,77 +0,0 @@ -use crate::MescCliError; -use inquire::InquireError; -use mesc::RpcConfig; -use toolstr::Colorize; - -#[derive(Clone)] -pub(crate) enum ConfigWriteMode { - /// file path of JSON config file - Path(std::path::PathBuf), - /// list of config files to write to - Env(Vec), -} - -pub(crate) fn write_config( - config: RpcConfig, - config_write_mode: Option, -) -> Result<(), MescCliError> { - let config_write_mode = match config_write_mode { - Some(config_write_mode) => Some(config_write_mode), - None => get_config_write_mode()?, - }; - if config_write_mode.is_none() { - println!(" No write mode selected"); - println!(" Not writing changes to disk"); - } else { - match &config_write_mode { - Some(write_mode) => match write_mode { - ConfigWriteMode::Path(path) => { - mesc::write::write_config(config, path.clone())?; - println!(" {} {}", "config written to".bold(), path.to_string_lossy().green()); - } - ConfigWriteMode::Env(_) => { - todo!("writing environment variables not supported yet") - } - }, - None => return Err(MescCliError::Error("could not obtain write mode".to_string())), - }; - }; - Ok(()) -} - -pub(crate) fn get_config_write_mode() -> Result, MescCliError> { - if let Ok(path) = mesc::load::get_config_path() { - return Ok(Some(ConfigWriteMode::Path(path.into()))); - }; - - let prompt = "How do you want to save the config?"; - let options = ["Save as path file", "Save as an environment variable"].to_vec(); - loop { - let write_mode = match inquire::Select::new(prompt, options.clone()).prompt() { - Ok("Save as path file") => { - let prompt = "Where should mesc.json file be saved? (enter a directory path)"; - let parent = match inquire::Text::new(prompt).prompt() { - Ok(parent) => { - let parent = if parent.trim().is_empty() { - ".".to_string() - } else { - mesc::load::expand_path(parent)? - }; - std::path::PathBuf::from(parent) - } - Err(InquireError::OperationCanceled) => return Ok(None), - Err(_) => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - let path: String = parent.join("mesc.json").to_string_lossy().to_string(); - Some(ConfigWriteMode::Path(path.into())) - } - Ok("Save an environment variable") => { - println!("not supported yet"); - continue; - } - Err(InquireError::OperationCanceled) => return Ok(None), - _ => return Err(MescCliError::InvalidInput("invalid input".to_string())), - }; - return Ok(write_mode); - } -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/status.rs b/rust/crates/mesc_cli/src/cli/subcommands/status.rs deleted file mode 100644 index 35f47f4..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/status.rs +++ /dev/null @@ -1,146 +0,0 @@ -use crate::{print_defaults, print_endpoints, MescCliError, StatusArgs}; -use mesc::MescError; -use toolstr::Colorize; - -pub(crate) fn status_command(args: StatusArgs) -> Result<(), MescCliError> { - let theme = Some(toolstr::Theme::default()); - - toolstr::print_text_box("MESC Status", &theme); - let mut keys = Vec::new(); - let mut values = Vec::new(); - - keys.push("enabled?"); - if mesc::is_mesc_enabled() { - values.push("true".to_string()); - } else { - values.push("false".to_string()); - } - - // print configuration mode - match mesc::load::get_config_mode() { - Ok(mode) => { - keys.push("config mode"); - values.push(format!("{:?}", mode)); - // if in path mode, print path - if let mesc::ConfigMode::Path = mode { - match std::env::var("MESC_PATH") { - Ok(path) => { - keys.push("path"); - values.push(path); - } - _ => { - keys.push("path"); - values.push("[could not get path]".to_string()); - } - } - } - } - Err(e) => println!("{:?}", e), - } - - // load config data - let config = mesc::load::load_config_data(); - let config = match config { - Err(e) => { - keys.push("config found"); - values.push("false".to_string()); - if let MescError::IOError(ref e) = e { - if let std::io::ErrorKind::NotFound = e.kind() { - println!("{}", "config file not found".red()); - println!(); - } else { - println!("{}", format!("could not load config: {:?}", e).red()); - println!(); - keys.push("config found"); - values.push(format!("{}", "false".to_string().red())); - } - } else { - println!("{}", format!("could not load config: {:?}", e).red()); - println!(); - }; - None - } - Ok(config) => { - keys.push("config found"); - values.push(format!("{}", "true".to_string().green())); - Some(config) - } - }; - - // validate config - keys.push("config valid"); - if let Some(config) = config.clone() { - match config.validate() { - Ok(()) => { - values.push(format!("{}", "true".to_string().green())); - } - Err(e) => { - values.push(format!("{}", "false".to_string().red())); - println!("{:?}", e); - } - }; - } else { - values.push("[no config]".to_string()); - } - - let format = toolstr::TableFormat::default(); - let column_formats = vec![ - toolstr::ColumnFormatShorthand::new().name("key"), - toolstr::ColumnFormatShorthand::new() - .name("v") - .left_justify() - .font_style("".bold().green()), - ]; - let format = toolstr::TableFormat { - include_header_row: false, - indent: 4, - column_formats: Some(column_formats), - column_delimiter: " ".to_string(), - ..format - }; - let mut table = toolstr::Table::default(); - table.add_column("key", keys)?; - table.add_column("v", values)?; - format.print(table)?; - - println!(); - crate::printing::print_environment_variables(0); - - // print endpoint info - if args.verbose { - println!(); - println!(); - toolstr::print_header("Configured Endpoints", &theme); - println!(); - if let Some(ref config) = config.clone() { - let endpoints: Vec<_> = config.endpoints.clone().into_values().collect(); - print_endpoints(&endpoints, args.reveal)?; - } else { - println!("[no config]"); - } - }; - - // print defaults - if args.verbose { - println!(); - println!(); - toolstr::print_header("Default Endpoints", &theme); - println!(); - if let Some(config) = config.clone() { - print_defaults(&config)?; - } else { - println!("[no config]"); - } - }; - - if !args.verbose { - println!(); - println!( - "use {} or {} to print additional information", - "-v".bold().white(), - "--verbose".bold().white() - ) - } - - Ok(()) -} diff --git a/rust/crates/mesc_cli/src/cli/subcommands/url.rs b/rust/crates/mesc_cli/src/cli/subcommands/url.rs deleted file mode 100644 index 997d245..0000000 --- a/rust/crates/mesc_cli/src/cli/subcommands/url.rs +++ /dev/null @@ -1,26 +0,0 @@ -use crate::{MescCliError, UrlArgs}; - -pub(crate) fn url_command(args: UrlArgs) -> Result<(), MescCliError> { - // get endpoint - let endpoint = match (args.name, args.network, args.query) { - (Some(name), _, _) => mesc::get_endpoint_by_name(name.as_str()), - (None, Some(_), Some(_)) => { - return Err(MescCliError::InvalidInput("specify either query or --network".to_string())) - } - (None, Some(network), None) => { - mesc::get_endpoint_by_network(network.as_str(), args.profile.as_deref()) - } - (None, None, Some(query)) => { - mesc::get_endpoint_by_query(query.as_str(), args.profile.as_deref()) - } - (None, None, None) => mesc::get_default_endpoint(args.profile.as_deref()), - }; - - // print endpoint - match endpoint { - Ok(Some(endpoint)) => println!("{}", endpoint.url), - Ok(None) => {} - Err(e) => eprintln!("could not load RPC config: {:?}", e), - }; - Ok(()) -} diff --git a/rust/crates/mesc_cli/src/main.rs b/rust/crates/mesc_cli/src/main.rs deleted file mode 100644 index 88511b3..0000000 --- a/rust/crates/mesc_cli/src/main.rs +++ /dev/null @@ -1,25 +0,0 @@ -//! MESC is a way for all of the tools on a system to share an rpc config - -#![allow(dead_code)] -#![warn(missing_docs, unreachable_pub, unused_crate_dependencies)] -#![deny(unused_must_use, rust_2018_idioms)] -#![doc(test( - no_crate_inject, - attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables)) -))] - -mod cli; -mod metadata; -pub(crate) mod network; -mod printing; -mod rpc; -mod types; - -pub(crate) use cli::*; -pub(crate) use printing::*; -use types::*; - -#[tokio::main] -async fn main() -> Result<(), MescCliError> { - cli::run_cli().await -} diff --git a/rust/crates/mesc_cli/src/metadata.rs b/rust/crates/mesc_cli/src/metadata.rs deleted file mode 100644 index 8533746..0000000 --- a/rust/crates/mesc_cli/src/metadata.rs +++ /dev/null @@ -1,65 +0,0 @@ -use crate::MescCliError; -use mesc::MescError; -use serde::de::DeserializeOwned; -use std::collections::HashMap; -use toolstr::{Color, FontStyle}; - -const DEFAULT_COLOR_TITLE: Color = toolstr::Color::TrueColor { r: 206, g: 147, b: 249 }; -const DEFAULT_COLOR_METAVAR: Color = toolstr::Color::TrueColor { r: 137, g: 233, b: 253 }; -const DEFAULT_COLOR_DESCRIPTION: Color = toolstr::Color::TrueColor { r: 185, g: 242, b: 159 }; -const DEFAULT_COLOR_OPTION: Color = toolstr::Color::TrueColor { r: 100, g: 170, b: 170 }; -const DEFAULT_COLOR_CONTENT: Color = toolstr::Color::TrueColor { r: 241, g: 250, b: 140 }; -const DEFAULT_COLOR_COMMENT: Color = toolstr::Color::TrueColor { r: 98, g: 114, b: 164 }; - -pub(crate) fn get_theme_font_style(id: &str) -> Result { - match get_cli_theme() { - Ok(theme) => match theme.get(id) { - Some(style) => Ok(style.clone()), - None => Ok(FontStyle::default()), - }, - _ => match id { - "title" => Ok(DEFAULT_COLOR_TITLE.into()), - "metavar" => Ok(DEFAULT_COLOR_METAVAR.into()), - "description" => Ok(DEFAULT_COLOR_DESCRIPTION.into()), - "option" => Ok(DEFAULT_COLOR_OPTION.into()), - "content" => Ok(DEFAULT_COLOR_CONTENT.into()), - "comment" => Ok(DEFAULT_COLOR_COMMENT.into()), - _ => Ok(FontStyle::default()), - }, - } -} - -fn get_cli_theme() -> Result, MescCliError> { - let global_metadata = mesc::get_global_metadata(Some("mesc_cli"))?; - let path: Vec<&str> = vec![]; - let cli_theme: HashMap = match global_metadata.get("cli_theme") { - Some(value) => get_value_at(value, &path)?, - None => return Err(MescError::IntegrityError("no cli theme".to_string()).into()), - }; - - let cli_theme = cli_theme - .into_iter() - .map(|(k, v)| { - let style: FontStyle = toolstr::hex_to_color(&v).map_err(MescCliError::from)?.into(); - Ok((k, style)) - }) - .collect::, MescCliError>>()?; - - Ok(cli_theme) -} - -fn get_value_at(root: &serde_json::Value, path: &[&str]) -> Result -where - T: DeserializeOwned, -{ - let mut current = root; - - for key in path { - current = match current.get(key) { - Some(value) => value, - None => return Err(MescError::IntegrityError("missing path".to_string()).into()), - }; - } - - Ok(serde_json::from_value(current.clone())?) -} diff --git a/rust/crates/mesc_cli/src/network.rs b/rust/crates/mesc_cli/src/network.rs deleted file mode 100644 index 9c7edc0..0000000 --- a/rust/crates/mesc_cli/src/network.rs +++ /dev/null @@ -1,144 +0,0 @@ -use super::rpc; -use crate::MescCliError; -use mesc::{ChainId, TryIntoChainId}; -use std::{collections::HashMap, net::ToSocketAddrs, time::Instant}; - -pub(crate) struct EndpointNetworkInfo { - pub(crate) url: String, - pub(crate) node_client_version: Option, - pub(crate) current_block: Option, - pub(crate) ip_address: Option, - pub(crate) latency: Option, - pub(crate) namespaces: Option>, - pub(crate) location: Option, -} - -pub(crate) async fn get_node_network_info( - url: String, - fields: &[String], - timeout: u64, -) -> Result { - let client = - reqwest::Client::builder().timeout(std::time::Duration::from_secs(timeout)).build()?; - - // node client - let node_client_version = if fields.contains(&"client".to_string()) { - Some(rpc::request_node_client_version(client.clone(), url.clone()).await?) - } else { - None - }; - - // latest block and latency - let (current_block, latency) = - if fields.contains(&"block".to_string()) | fields.contains(&"latency".to_string()) { - let start = Instant::now(); - let current_block = rpc::request_block_number(client.clone(), url.clone()).await?; - let duration = start.elapsed(); - let response_latency = - (duration.as_secs() as f64) + ((duration.subsec_nanos() as f64) / 1_000_000_000.0); - (Some(current_block), Some(response_latency)) - } else { - (None, None) - }; - - // ip address and location - let (ip_address, location) = - if fields.contains(&"ip".to_string()) || fields.contains(&"location".to_string()) { - match get_ip_address(url.as_str()) { - Ok(ip) => { - let service = ipgeolocate::Service::IpApi; - let location = match ipgeolocate::Locator::get(ip.as_str(), service).await { - Ok(ip) => format!("{}, {}, {}", ip.city, ip.region, ip.country), - Err(_) => "-".to_string(), - }; - (Some(ip), Some(location)) - } - Err(_) => (None, None), - } - } else { - (None, None) - }; - - // namespaces - let namespaces = None; - - Ok(EndpointNetworkInfo { - url, - node_client_version, - current_block, - ip_address, - latency, - namespaces, - location, - }) -} - -pub(crate) fn is_ip(url: &str) -> bool { - use std::net::{Ipv4Addr, Ipv6Addr}; - if url.is_empty() { - return false; - } - let domain = match url.split_once('/') { - Some((domain, _)) => domain, - None => url, - }; - let domain = domain.split(':').next().unwrap_or(""); - domain.parse::().is_ok() || domain.parse::().is_ok() -} - -fn get_ip_address(url: &str) -> Result { - let parsed_url = url::Url::parse(url) - .map_err(|_| MescCliError::UrlError("could not parse url".to_string()))?; - let host = - parsed_url.host_str().ok_or(MescCliError::UrlError("could not parse host".to_string()))?; - let port = parsed_url - .port_or_known_default() - .ok_or(MescCliError::UrlError("could not parse port".to_string()))?; - let addr_str = format!("{}:{}", host, port); - - match addr_str.to_socket_addrs() { - Ok(mut addresses) => { - if let Some(address) = addresses.next() { - Ok(address.ip().to_string()) - } else { - Err(MescCliError::InvalidNetworkResponse) - } - } - Err(_) => Err(MescCliError::InvalidNetworkResponse), - } -} - -fn is_using_trace_namespace() -> Result { - todo!() -} - -fn is_using_debug_namespace() -> Result { - todo!() -} - -pub(crate) async fn fetch_network_list() -> Result, MescCliError> { - let url = "https://chainid.network/chains.json"; - let response = reqwest::get(url).await?; - - // Check if the response is success and parse the JSON body - if response.status().is_success() { - let data: Vec = response.json().await?; - - // Create a HashMap to store the chainId and name pairs - let mut result_map: HashMap = HashMap::new(); - - // Iterate through the array of data - for datum in data { - if let (Some(chain_id), Some(name)) = - (datum["chainId"].as_u64(), datum["name"].as_str()) - { - // Insert the pair into the HashMap - result_map.insert(chain_id.try_into_chain_id()?, name.to_string()); - } - } - - Ok(result_map) - } else { - Err(MescCliError::InvalidNetworkResponse) - } -} diff --git a/rust/crates/mesc_cli/src/printing.rs b/rust/crates/mesc_cli/src/printing.rs deleted file mode 100644 index 459a763..0000000 --- a/rust/crates/mesc_cli/src/printing.rs +++ /dev/null @@ -1,210 +0,0 @@ -use crate::MescCliError; -use mesc::{Endpoint, RpcConfig}; -use toolstr::{Colorize, ColumnFormatShorthand}; - -pub(crate) fn print_endpoint_json(endpoint: Endpoint) { - match serde_json::to_string(&endpoint) { - Ok(as_str) => println!("{}", as_str), - Err(_) => eprintln!("could not serialize endpoint"), - } -} - -pub(crate) fn print_endpoint_pretty(endpoint: Endpoint) { - println!("Endpoint: {}", endpoint.name); - println!("- url: {}", endpoint.url); - println!( - "- chain_id: {}", - endpoint.chain_id.map_or_else(|| "-".to_string(), |chain_id| chain_id.to_string()) - ); - println!("- metadata: {:?}", endpoint.endpoint_metadata); -} - -fn sort_endpoints(endpoints: &[mesc::Endpoint]) -> Vec { - let mut endpoints: Vec = endpoints.to_vec(); - endpoints.sort_by(|e1, e2| match (e1.chain_id.clone(), e2.chain_id.clone()) { - (Some(c1), Some(c2)) => c1.cmp(&c2), - (Some(_), None) => std::cmp::Ordering::Less, - (None, Some(_)) => std::cmp::Ordering::Greater, - (None, None) => std::cmp::Ordering::Equal, - }); - endpoints -} - -pub(crate) fn print_endpoints( - endpoints: &[mesc::Endpoint], - reveal: bool, -) -> Result<(), MescCliError> { - if endpoints.is_empty() { - println!("[none]") - } else { - let mut title_style = crate::metadata::get_theme_font_style("title")?; - title_style.bold(); - let metavar_style = crate::metadata::get_theme_font_style("metavar")?; - let mut description_style = crate::metadata::get_theme_font_style("description")?; - description_style.bold(); - let option_style = crate::metadata::get_theme_font_style("option")?; - let _content_style = crate::metadata::get_theme_font_style("content")?; - let comment_style = crate::metadata::get_theme_font_style("comment")?; - - let mut names = Vec::new(); - let mut networks = Vec::new(); - let mut urls = Vec::new(); - let mut network_names = Vec::new(); - let sorted_endpoints = sort_endpoints(endpoints); - - let all_network_names = mesc::network_names::get_network_names(); - for endpoint in sorted_endpoints.into_iter() { - names.push(endpoint.name.clone()); - networks.push(endpoint.chain_id_string()); - - let network_name = endpoint - .chain_id - .as_ref() - .and_then(|chain_id| all_network_names.get(&chain_id).map(ToString::to_string)) - .unwrap_or_else(|| endpoint.chain_id_string()); - network_names.push(network_name); - if reveal { - urls.push(endpoint.url.clone()); - } else { - urls.push("*".repeat(8)); - } - } - let format = toolstr::TableFormat::default(); - let format = toolstr::TableFormat { - // indent: 4, - // column_delimiter: " . ".to_string(), - // header_separator_delimiter: " . ".to_string(), - ..format - }; - let mut format = - format.border_font_style(comment_style.clone()).label_font_style(title_style.clone()); - let mut table = toolstr::Table::default(); - table.add_column("endpoint", names)?; - format.add_column(ColumnFormatShorthand::new().name("endpoint").font_style(metavar_style)); - table.add_column("network", network_names)?; - format.add_column( - ColumnFormatShorthand::new().name("network").font_style(description_style.clone()), - ); - // table.add_column("chain id", networks)?; - // format.add_column( - // ColumnFormatShorthand::new().name("chain id").font_style(description_style), - // ); - table.add_column("url", urls)?; - format.add_column(ColumnFormatShorthand::new().name("url").font_style(option_style)); - format.print(table)?; - }; - - Ok(()) -} - -pub(crate) fn print_defaults(config: &RpcConfig) -> Result<(), MescCliError> { - let mut classes = Vec::new(); - let mut networks = Vec::new(); - let mut names = Vec::new(); - let mut profiles = Vec::new(); - - // global default endpoint - classes.push("global default"); - if let Some(default_endpoint_name) = &config.default_endpoint { - if let Some(endpoint) = config.endpoints.get(default_endpoint_name) { - names.push(default_endpoint_name.clone()); - networks.push(endpoint.chain_id_string()); - } else { - names.push("[none]".into()); - networks.push("[none]".into()); - } - } else { - names.push("[none]".into()); - networks.push("[none]".into()); - } - profiles.push("-".to_string()); - - // global network defaults - for (chain_id, name) in config.network_defaults.iter() { - classes.push("network default"); - networks.push(chain_id.to_string()); - names.push(name.clone()); - profiles.push("-".to_string()); - } - - // profile defaults - for (profile_name, profile) in config.profiles.clone().into_iter() { - // profile default endpoint - classes.push("profile global default"); - if let Some(default_endpoint_name) = profile.default_endpoint { - if let Some(endpoint) = config.endpoints.get(&default_endpoint_name) { - names.push(default_endpoint_name.clone()); - networks.push(endpoint.chain_id_string()); - } else { - names.push("[none]".into()); - networks.push("[none]".into()); - } - } else { - names.push("[none]".into()); - networks.push("[none]".into()); - } - profiles.push(profile_name.clone()); - - // profile network default - for (chain_id, name) in profile.network_defaults.iter() { - classes.push("profile network default"); - networks.push(chain_id.to_string()); - names.push(name.clone()); - profiles.push(profile_name.clone()); - } - } - - let mut title_style = crate::metadata::get_theme_font_style("title")?; - title_style.bold(); - let metavar_style = crate::metadata::get_theme_font_style("metavar")?; - let mut description_style = crate::metadata::get_theme_font_style("description")?; - description_style.bold(); - let option_style = crate::metadata::get_theme_font_style("option")?; - let _content_style = crate::metadata::get_theme_font_style("content")?; - let comment_style = crate::metadata::get_theme_font_style("comment")?; - - let format = toolstr::TableFormat::default(); - let mut format = - format.border_font_style(comment_style.clone()).label_font_style(title_style.clone()); - let mut table = toolstr::Table::default(); - table.add_column("", classes)?; - format.add_column(ColumnFormatShorthand::new().name("").font_style(option_style.clone())); - table.add_column("network", networks)?; - format.add_column(ColumnFormatShorthand::new().name("network").font_style(description_style)); - table.add_column("endpoint", names)?; - format.add_column(ColumnFormatShorthand::new().name("endpoint").font_style(metavar_style)); - table.add_column("profile", profiles)?; - format.add_column(ColumnFormatShorthand::new().name("profile").font_style(option_style)); - format.print(table)?; - - Ok(()) -} - -pub(crate) fn print_environment_variables(indent: usize) { - let indentation = " ".repeat(indent); - let indentation2 = " ".repeat(indent + 4); - let env_vars = ["MESC_MODE", "MESC_PATH", "MESC_ENV"]; - println!("{}Current environment variables:", indentation); - for env_var in env_vars.iter() { - match std::env::var(env_var) { - Ok(value) => println!("{}{}: {}", indentation2, env_var.bold(), value.green()), - Err(_) => println!("{}{}: {}", indentation2, env_var.bold(), "[not set]".green()), - } - } - let overrides = [ - "MESC_NETWORK_NAMES", - "MESC_NETWORK_DEFAULTS", - "MESC_ENDPOINTS", - "MESC_DEFAULT_ENDPOINT", - "MESC_GLOBAL_METADATA", - "MESC_ENDPOINT_METADATA", - "MESC_PROFILES", - ]; - println!("{}Current environment overrides:", indentation); - for env_var in overrides.iter() { - match std::env::var(env_var) { - Ok(value) => println!("{}{}: {}", indentation2, env_var.bold(), value.green()), - Err(_) => println!("{}{}: {}", indentation2, env_var.bold(), "[not set]".green()), - } - } -} diff --git a/rust/crates/mesc_cli/src/rpc.rs b/rust/crates/mesc_cli/src/rpc.rs deleted file mode 100644 index 2d8a1ba..0000000 --- a/rust/crates/mesc_cli/src/rpc.rs +++ /dev/null @@ -1,74 +0,0 @@ -use crate::MescCliError; -use mesc::{ChainId, TryIntoChainId}; -use serde::Deserialize; -use serde_json::json; - -#[derive(Deserialize)] -struct ResponseWeb3ClientVersion { - jsonrpc: String, - id: u64, - result: String, -} - -#[derive(Deserialize)] -struct ResponseEthChainId { - jsonrpc: String, - id: u64, - result: String, -} - -#[derive(Deserialize)] -struct ResponseEthBlockNumber { - jsonrpc: String, - id: u64, - result: String, -} - -pub(crate) async fn request_node_client_version( - client: reqwest::Client, - url: String, -) -> Result { - let data = json!({ - "jsonrpc": "2.0", - "method": "web3_clientVersion", - "id": 1, - }); - let response = client.post(url).json(&data).send().await?; - let json: ResponseWeb3ClientVersion = response.json().await?; - Ok(json.result) -} - -pub(crate) async fn request_block_number( - client: reqwest::Client, - url: String, -) -> Result { - let data = json!({ - "jsonrpc": "2.0", - "method": "eth_blockNumber", - "id": 1, - }); - let response = client.post(url).json(&data).send().await?; - let json: ResponseWeb3ClientVersion = response.json().await?; - match u32::from_str_radix(json.result.get(2..).unwrap_or(""), 16) { - Ok(value) => Ok(value), - Err(_) => Err(MescCliError::InvalidNetworkResponse), - } -} - -pub(crate) async fn request_chain_id( - client: reqwest::Client, - url: String, -) -> Result { - let data = json!({ - "jsonrpc": "2.0", - "method": "eth_chainId", - "id": 1, - }); - let response = client.post(url).json(&data).send().await?; - let json: ResponseWeb3ClientVersion = response.json().await?; - - match u64::from_str_radix(json.result.get(2..).unwrap_or(""), 16) { - Ok(value) => Ok(value.to_string().try_into_chain_id()?), - Err(_) => Err(MescCliError::InvalidNetworkResponse), - } -} diff --git a/rust/crates/mesc_cli/src/types.rs b/rust/crates/mesc_cli/src/types.rs deleted file mode 100644 index 618e1e4..0000000 --- a/rust/crates/mesc_cli/src/types.rs +++ /dev/null @@ -1,38 +0,0 @@ -use mesc::MescError; -use thiserror::Error; - -#[derive(Error, Debug)] -pub(crate) enum MescCliError { - #[error("MESC error: {0}")] - MescError(#[from] MescError), - - #[error("Network error: {0}")] - NetworkError(#[from] reqwest::Error), - - #[error("Inquire error: {0}")] - InquireError(#[from] inquire::InquireError), - - #[error("Serialization/deserialization error: {0}")] - SerdeError(#[from] serde_json::Error), - - #[error("I/O error: {0}")] - IOError(#[from] std::io::Error), - - #[error("Invalid network response")] - InvalidNetworkResponse, - - #[error("Join error: {0}")] - JoinError(#[from] tokio::task::JoinError), - - #[error("Invalid input: {0}")] - InvalidInput(String), - - #[error("Format error: {0}")] - FormatError(#[from] toolstr::FormatError), - - #[error("Error: {0}")] - Error(String), - - #[error("URL error: {0}")] - UrlError(String), -} diff --git a/rust/rustfmt.toml b/rust/rustfmt.toml deleted file mode 100644 index e70aee8..0000000 --- a/rust/rustfmt.toml +++ /dev/null @@ -1,9 +0,0 @@ -reorder_imports = true -imports_granularity = "Crate" -use_small_heuristics = "Max" -comment_width = 100 -wrap_comments = true -binop_separator = "Back" -trailing_comma = "Vertical" -trailing_semicolon = false -use_field_init_shorthand = true diff --git a/searcher.js b/searcher.js new file mode 100644 index 0000000..dc03e0a --- /dev/null +++ b/searcher.js @@ -0,0 +1,483 @@ +"use strict"; +window.search = window.search || {}; +(function search(search) { + // Search functionality + // + // You can use !hasFocus() to prevent keyhandling in your key + // event handlers while the user is typing their search. + + if (!Mark || !elasticlunr) { + return; + } + + //IE 11 Compatibility from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith + if (!String.prototype.startsWith) { + String.prototype.startsWith = function(search, pos) { + return this.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search; + }; + } + + var search_wrap = document.getElementById('search-wrapper'), + searchbar = document.getElementById('searchbar'), + searchbar_outer = document.getElementById('searchbar-outer'), + searchresults = document.getElementById('searchresults'), + searchresults_outer = document.getElementById('searchresults-outer'), + searchresults_header = document.getElementById('searchresults-header'), + searchicon = document.getElementById('search-toggle'), + content = document.getElementById('content'), + + searchindex = null, + doc_urls = [], + results_options = { + teaser_word_count: 30, + limit_results: 30, + }, + search_options = { + bool: "AND", + expand: true, + fields: { + title: {boost: 1}, + body: {boost: 1}, + breadcrumbs: {boost: 0} + } + }, + mark_exclude = [], + marker = new Mark(content), + current_searchterm = "", + URL_SEARCH_PARAM = 'search', + URL_MARK_PARAM = 'highlight', + teaser_count = 0, + + SEARCH_HOTKEY_KEYCODE = 83, + ESCAPE_KEYCODE = 27, + DOWN_KEYCODE = 40, + UP_KEYCODE = 38, + SELECT_KEYCODE = 13; + + function hasFocus() { + return searchbar === document.activeElement; + } + + function removeChildren(elem) { + while (elem.firstChild) { + elem.removeChild(elem.firstChild); + } + } + + // Helper to parse a url into its building blocks. + function parseURL(url) { + var a = document.createElement('a'); + a.href = url; + return { + source: url, + protocol: a.protocol.replace(':',''), + host: a.hostname, + port: a.port, + params: (function(){ + var ret = {}; + var seg = a.search.replace(/^\?/,'').split('&'); + var len = seg.length, i = 0, s; + for (;i': '>', + '"': '"', + "'": ''' + }; + var repl = function(c) { return MAP[c]; }; + return function(s) { + return s.replace(/[&<>'"]/g, repl); + }; + })(); + + function formatSearchMetric(count, searchterm) { + if (count == 1) { + return count + " search result for '" + searchterm + "':"; + } else if (count == 0) { + return "No search results for '" + searchterm + "'."; + } else { + return count + " search results for '" + searchterm + "':"; + } + } + + function formatSearchResult(result, searchterms) { + var teaser = makeTeaser(escapeHTML(result.doc.body), searchterms); + teaser_count++; + + // The ?URL_MARK_PARAM= parameter belongs inbetween the page and the #heading-anchor + var url = doc_urls[result.ref].split("#"); + if (url.length == 1) { // no anchor found + url.push(""); + } + + // encodeURIComponent escapes all chars that could allow an XSS except + // for '. Due to that we also manually replace ' with its url-encoded + // representation (%27). + var searchterms = encodeURIComponent(searchterms.join(" ")).replace(/\'/g, "%27"); + + return '' + result.doc.breadcrumbs + '' + + '' + + teaser + ''; + } + + function makeTeaser(body, searchterms) { + // The strategy is as follows: + // First, assign a value to each word in the document: + // Words that correspond to search terms (stemmer aware): 40 + // Normal words: 2 + // First word in a sentence: 8 + // Then use a sliding window with a constant number of words and count the + // sum of the values of the words within the window. Then use the window that got the + // maximum sum. If there are multiple maximas, then get the last one. + // Enclose the terms in . + var stemmed_searchterms = searchterms.map(function(w) { + return elasticlunr.stemmer(w.toLowerCase()); + }); + var searchterm_weight = 40; + var weighted = []; // contains elements of ["word", weight, index_in_document] + // split in sentences, then words + var sentences = body.toLowerCase().split('. '); + var index = 0; + var value = 0; + var searchterm_found = false; + for (var sentenceindex in sentences) { + var words = sentences[sentenceindex].split(' '); + value = 8; + for (var wordindex in words) { + var word = words[wordindex]; + if (word.length > 0) { + for (var searchtermindex in stemmed_searchterms) { + if (elasticlunr.stemmer(word).startsWith(stemmed_searchterms[searchtermindex])) { + value = searchterm_weight; + searchterm_found = true; + } + }; + weighted.push([word, value, index]); + value = 2; + } + index += word.length; + index += 1; // ' ' or '.' if last word in sentence + }; + index += 1; // because we split at a two-char boundary '. ' + }; + + if (weighted.length == 0) { + return body; + } + + var window_weight = []; + var window_size = Math.min(weighted.length, results_options.teaser_word_count); + + var cur_sum = 0; + for (var wordindex = 0; wordindex < window_size; wordindex++) { + cur_sum += weighted[wordindex][1]; + }; + window_weight.push(cur_sum); + for (var wordindex = 0; wordindex < weighted.length - window_size; wordindex++) { + cur_sum -= weighted[wordindex][1]; + cur_sum += weighted[wordindex + window_size][1]; + window_weight.push(cur_sum); + }; + + if (searchterm_found) { + var max_sum = 0; + var max_sum_window_index = 0; + // backwards + for (var i = window_weight.length - 1; i >= 0; i--) { + if (window_weight[i] > max_sum) { + max_sum = window_weight[i]; + max_sum_window_index = i; + } + }; + } else { + max_sum_window_index = 0; + } + + // add around searchterms + var teaser_split = []; + var index = weighted[max_sum_window_index][2]; + for (var i = max_sum_window_index; i < max_sum_window_index+window_size; i++) { + var word = weighted[i]; + if (index < word[2]) { + // missing text from index to start of `word` + teaser_split.push(body.substring(index, word[2])); + index = word[2]; + } + if (word[1] == searchterm_weight) { + teaser_split.push("") + } + index = word[2] + word[0].length; + teaser_split.push(body.substring(word[2], index)); + if (word[1] == searchterm_weight) { + teaser_split.push("") + } + }; + + return teaser_split.join(''); + } + + function init(config) { + results_options = config.results_options; + search_options = config.search_options; + searchbar_outer = config.searchbar_outer; + doc_urls = config.doc_urls; + searchindex = elasticlunr.Index.load(config.index); + + // Set up events + searchicon.addEventListener('click', function(e) { searchIconClickHandler(); }, false); + searchbar.addEventListener('keyup', function(e) { searchbarKeyUpHandler(); }, false); + document.addEventListener('keydown', function(e) { globalKeyHandler(e); }, false); + // If the user uses the browser buttons, do the same as if a reload happened + window.onpopstate = function(e) { doSearchOrMarkFromUrl(); }; + // Suppress "submit" events so the page doesn't reload when the user presses Enter + document.addEventListener('submit', function(e) { e.preventDefault(); }, false); + + // If reloaded, do the search or mark again, depending on the current url parameters + doSearchOrMarkFromUrl(); + } + + function unfocusSearchbar() { + // hacky, but just focusing a div only works once + var tmp = document.createElement('input'); + tmp.setAttribute('style', 'position: absolute; opacity: 0;'); + searchicon.appendChild(tmp); + tmp.focus(); + tmp.remove(); + } + + // On reload or browser history backwards/forwards events, parse the url and do search or mark + function doSearchOrMarkFromUrl() { + // Check current URL for search request + var url = parseURL(window.location.href); + if (url.params.hasOwnProperty(URL_SEARCH_PARAM) + && url.params[URL_SEARCH_PARAM] != "") { + showSearch(true); + searchbar.value = decodeURIComponent( + (url.params[URL_SEARCH_PARAM]+'').replace(/\+/g, '%20')); + searchbarKeyUpHandler(); // -> doSearch() + } else { + showSearch(false); + } + + if (url.params.hasOwnProperty(URL_MARK_PARAM)) { + var words = decodeURIComponent(url.params[URL_MARK_PARAM]).split(' '); + marker.mark(words, { + exclude: mark_exclude + }); + + var markers = document.querySelectorAll("mark"); + function hide() { + for (var i = 0; i < markers.length; i++) { + markers[i].classList.add("fade-out"); + window.setTimeout(function(e) { marker.unmark(); }, 300); + } + } + for (var i = 0; i < markers.length; i++) { + markers[i].addEventListener('click', hide); + } + } + } + + // Eventhandler for keyevents on `document` + function globalKeyHandler(e) { + if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || e.target.type === 'textarea' || e.target.type === 'text' || !hasFocus() && /^(?:input|select|textarea)$/i.test(e.target.nodeName)) { return; } + + if (e.keyCode === ESCAPE_KEYCODE) { + e.preventDefault(); + searchbar.classList.remove("active"); + setSearchUrlParameters("", + (searchbar.value.trim() !== "") ? "push" : "replace"); + if (hasFocus()) { + unfocusSearchbar(); + } + showSearch(false); + marker.unmark(); + } else if (!hasFocus() && e.keyCode === SEARCH_HOTKEY_KEYCODE) { + e.preventDefault(); + showSearch(true); + window.scrollTo(0, 0); + searchbar.select(); + } else if (hasFocus() && e.keyCode === DOWN_KEYCODE) { + e.preventDefault(); + unfocusSearchbar(); + searchresults.firstElementChild.classList.add("focus"); + } else if (!hasFocus() && (e.keyCode === DOWN_KEYCODE + || e.keyCode === UP_KEYCODE + || e.keyCode === SELECT_KEYCODE)) { + // not `:focus` because browser does annoying scrolling + var focused = searchresults.querySelector("li.focus"); + if (!focused) return; + e.preventDefault(); + if (e.keyCode === DOWN_KEYCODE) { + var next = focused.nextElementSibling; + if (next) { + focused.classList.remove("focus"); + next.classList.add("focus"); + } + } else if (e.keyCode === UP_KEYCODE) { + focused.classList.remove("focus"); + var prev = focused.previousElementSibling; + if (prev) { + prev.classList.add("focus"); + } else { + searchbar.select(); + } + } else { // SELECT_KEYCODE + window.location.assign(focused.querySelector('a')); + } + } + } + + function showSearch(yes) { + if (yes) { + search_wrap.classList.remove('hidden'); + searchicon.setAttribute('aria-expanded', 'true'); + } else { + search_wrap.classList.add('hidden'); + searchicon.setAttribute('aria-expanded', 'false'); + var results = searchresults.children; + for (var i = 0; i < results.length; i++) { + results[i].classList.remove("focus"); + } + } + } + + function showResults(yes) { + if (yes) { + searchresults_outer.classList.remove('hidden'); + } else { + searchresults_outer.classList.add('hidden'); + } + } + + // Eventhandler for search icon + function searchIconClickHandler() { + if (search_wrap.classList.contains('hidden')) { + showSearch(true); + window.scrollTo(0, 0); + searchbar.select(); + } else { + showSearch(false); + } + } + + // Eventhandler for keyevents while the searchbar is focused + function searchbarKeyUpHandler() { + var searchterm = searchbar.value.trim(); + if (searchterm != "") { + searchbar.classList.add("active"); + doSearch(searchterm); + } else { + searchbar.classList.remove("active"); + showResults(false); + removeChildren(searchresults); + } + + setSearchUrlParameters(searchterm, "push_if_new_search_else_replace"); + + // Remove marks + marker.unmark(); + } + + // Update current url with ?URL_SEARCH_PARAM= parameter, remove ?URL_MARK_PARAM and #heading-anchor . + // `action` can be one of "push", "replace", "push_if_new_search_else_replace" + // and replaces or pushes a new browser history item. + // "push_if_new_search_else_replace" pushes if there is no `?URL_SEARCH_PARAM=abc` yet. + function setSearchUrlParameters(searchterm, action) { + var url = parseURL(window.location.href); + var first_search = ! url.params.hasOwnProperty(URL_SEARCH_PARAM); + if (searchterm != "" || action == "push_if_new_search_else_replace") { + url.params[URL_SEARCH_PARAM] = searchterm; + delete url.params[URL_MARK_PARAM]; + url.hash = ""; + } else { + delete url.params[URL_MARK_PARAM]; + delete url.params[URL_SEARCH_PARAM]; + } + // A new search will also add a new history item, so the user can go back + // to the page prior to searching. A updated search term will only replace + // the url. + if (action == "push" || (action == "push_if_new_search_else_replace" && first_search) ) { + history.pushState({}, document.title, renderURL(url)); + } else if (action == "replace" || (action == "push_if_new_search_else_replace" && !first_search) ) { + history.replaceState({}, document.title, renderURL(url)); + } + } + + function doSearch(searchterm) { + + // Don't search the same twice + if (current_searchterm == searchterm) { return; } + else { current_searchterm = searchterm; } + + if (searchindex == null) { return; } + + // Do the actual search + var results = searchindex.search(searchterm, search_options); + var resultcount = Math.min(results.length, results_options.limit_results); + + // Display search metrics + searchresults_header.innerText = formatSearchMetric(resultcount, searchterm); + + // Clear and insert results + var searchterms = searchterm.split(' '); + removeChildren(searchresults); + for(var i = 0; i < resultcount ; i++){ + var resultElem = document.createElement('li'); + resultElem.innerHTML = formatSearchResult(results[i], searchterms); + searchresults.appendChild(resultElem); + } + + // Display results + showResults(true); + } + + fetch(path_to_root + 'searchindex.json') + .then(response => response.json()) + .then(json => init(json)) + .catch(error => { // Try to load searchindex.js if fetch failed + var script = document.createElement('script'); + script.src = path_to_root + 'searchindex.js'; + script.onload = () => init(window.search); + document.head.appendChild(script); + }); + + // Exported functions + search.hasFocus = hasFocus; +})(window.search); diff --git a/searchindex.js b/searchindex.js new file mode 100644 index 0000000..83e4b5d --- /dev/null +++ b/searchindex.js @@ -0,0 +1 @@ +Object.assign(window.search, {"doc_urls":["mesc_overview.html#mesc-overview","quickstart.html#quickstart","quickstart.html#creating-a-config-file","quickstart.html#setting-environment-variables","what_is_mesc.html#what-is-mesc","what_is_mesc.html#design-goals","what_is_mesc.html#mesc-is-opt-in","why_mesc.html#why-mesc","why_mesc.html#as-a-developer-why-should-i-integrate-mesc-into-my-tools","roadmap.html#roadmap","using_mesc.html#using-mesc","setup.html#setting-up-mesc","setup.html#basic-setup","setup.html#alternative-setup-without-a-mescjson","setup.html#disabling-mesc","setup.html#overrides","profiles.html#profiles","profiles.html#profiles-are-an-optional-feature","profiles.html#setting-up-a-profile","metadata.html#metadata","metadata.html#metadata-fields","metadata.html#examples","overrides.html#overrides","overrides.html#example-usage","overrides.html#list-of-overrides","queries.html#querying-mesc-data","developer_resources.html#developer-resources","integrating_mesc.html#integrating-mesc","integrating_mesc.html#workflow-for-getting-the-default-rpc-endpoint","integrating_mesc.html#workflow-for-letting-users-select-an-rpc-endpoint","implementing_mesc.html#implementing-mesc","implementing_mesc.html#implementation-checklist","mesc_tests.html#mesc-tests","mesc_tests.html#usage","mesc_tests.html#adapters","mesc_tests.html#files","libraries.html#mesc-libraries","cli.html#mesc-cli","cli.html#contents","cli.html#installation","cli.html#install-from-cratesio","cli.html#install-from-source","cli.html#example-usage","cli.html#reference","go.html#go-mesc-implementation","go.html#installation","go.html#example-usage","go.html#reference","python.html#python-mesc-implementation","python.html#installation","python.html#from-pypi","python.html#from-source","python.html#example-usage","python.html#reference","rust.html#rust-mesc-implementation","rust.html#contents","rust.html#installation","rust.html#example-usage","typescript.html#typescript-mesc-implementation"],"index":{"documentStore":{"docInfo":{"0":{"body":39,"breadcrumbs":4,"title":2},"1":{"body":14,"breadcrumbs":4,"title":1},"10":{"body":31,"breadcrumbs":4,"title":2},"11":{"body":0,"breadcrumbs":8,"title":3},"12":{"body":43,"breadcrumbs":7,"title":2},"13":{"body":50,"breadcrumbs":9,"title":4},"14":{"body":22,"breadcrumbs":7,"title":2},"15":{"body":9,"breadcrumbs":6,"title":1},"16":{"body":31,"breadcrumbs":4,"title":1},"17":{"body":23,"breadcrumbs":6,"title":3},"18":{"body":33,"breadcrumbs":6,"title":3},"19":{"body":21,"breadcrumbs":4,"title":1},"2":{"body":75,"breadcrumbs":6,"title":3},"20":{"body":20,"breadcrumbs":5,"title":2},"21":{"body":177,"breadcrumbs":4,"title":1},"22":{"body":27,"breadcrumbs":4,"title":1},"23":{"body":62,"breadcrumbs":5,"title":2},"24":{"body":57,"breadcrumbs":5,"title":2},"25":{"body":86,"breadcrumbs":6,"title":3},"26":{"body":36,"breadcrumbs":4,"title":2},"27":{"body":29,"breadcrumbs":6,"title":2},"28":{"body":73,"breadcrumbs":9,"title":5},"29":{"body":94,"breadcrumbs":10,"title":6},"3":{"body":38,"breadcrumbs":6,"title":3},"30":{"body":133,"breadcrumbs":6,"title":2},"31":{"body":45,"breadcrumbs":6,"title":2},"32":{"body":13,"breadcrumbs":6,"title":2},"33":{"body":67,"breadcrumbs":5,"title":1},"34":{"body":46,"breadcrumbs":5,"title":1},"35":{"body":23,"breadcrumbs":5,"title":1},"36":{"body":24,"breadcrumbs":4,"title":2},"37":{"body":45,"breadcrumbs":5,"title":2},"38":{"body":4,"breadcrumbs":4,"title":1},"39":{"body":13,"breadcrumbs":4,"title":1},"4":{"body":21,"breadcrumbs":4,"title":1},"40":{"body":9,"breadcrumbs":5,"title":2},"41":{"body":21,"breadcrumbs":5,"title":2},"42":{"body":61,"breadcrumbs":5,"title":2},"43":{"body":118,"breadcrumbs":4,"title":1},"44":{"body":5,"breadcrumbs":6,"title":3},"45":{"body":11,"breadcrumbs":4,"title":1},"46":{"body":3,"breadcrumbs":5,"title":2},"47":{"body":12,"breadcrumbs":4,"title":1},"48":{"body":11,"breadcrumbs":6,"title":3},"49":{"body":0,"breadcrumbs":4,"title":1},"5":{"body":67,"breadcrumbs":5,"title":2},"50":{"body":3,"breadcrumbs":4,"title":1},"51":{"body":7,"breadcrumbs":4,"title":1},"52":{"body":86,"breadcrumbs":5,"title":2},"53":{"body":48,"breadcrumbs":4,"title":1},"54":{"body":27,"breadcrumbs":6,"title":3},"55":{"body":4,"breadcrumbs":4,"title":1},"56":{"body":10,"breadcrumbs":4,"title":1},"57":{"body":190,"breadcrumbs":5,"title":2},"58":{"body":1,"breadcrumbs":6,"title":3},"6":{"body":29,"breadcrumbs":5,"title":2},"7":{"body":97,"breadcrumbs":4,"title":1},"8":{"body":110,"breadcrumbs":7,"title":4},"9":{"body":53,"breadcrumbs":4,"title":1}},"docs":{"0":{"body":"To get started quickly , see Quickstart . To learn what MESC is , see What is MESC? . To learn the motivation behind MESC, see Why MESC? . To integrate MESC into an existing tool, see Integrating MESC . To implement MESC in a new programming language, see Implementing MESC . For information about existing MESC implementations, see: CLI Go Python Rust TypeScript","breadcrumbs":"MESC Overview » MESC Overview","id":"0","title":"MESC Overview"},"1":{"body":"The quickest way to use MESC is create a mesc.json config file set the MESC_PATH environment variable to the path of this file","breadcrumbs":"MESC Overview » Quickstart » Quickstart","id":"1","title":"Quickstart"},"10":{"body":"To set MESC up, see Setup up MESC To use different MESC settings for different tools, see Profiles To use MESC for tracking miscellaneous metadata, see Metadata To quickly override MESC settings without editing files, see Overrides","breadcrumbs":"Using MESC » Using MESC","id":"10","title":"Using MESC"},"11":{"body":"","breadcrumbs":"Using MESC » Setting up MESC » Setting up MESC","id":"11","title":"Setting up MESC"},"12":{"body":"MESC becomes enabled by setting one or more environment variables. In the simplest case, only one variable necessary: MESC_PATH is set to the path of a mesc.json config file. As described in the quickstart , the mesc.json file is usually created using either 1) the interactive mesc setup command, or 2) copying from a starter template. The quickstart guide also describes how to set environment variables in your terminal shell.","breadcrumbs":"Using MESC » Setting up MESC » Basic setup","id":"12","title":"Basic setup"},"13":{"body":"Sometimes it is convenient to configure a system without editing any files (e.g. inside a container, or when creating lots of unit tests, or in a low-privilege environment). This can be accomplished with MESC by setting the MESC_ENV variable instead of the MESC_PATH variable. MESC_ENV should simply contain the JSON content of a MESC configuration. If both MESC_PATH and MESC_ENV are set, you can select which one to use by setting MESC_MODE to either PATH or ENV. MESC_PATH takes precedence over MESC_ENV if MESC_MODE is not set.","breadcrumbs":"Using MESC » Setting up MESC » Alternative setup without a mesc.json","id":"13","title":"Alternative setup without a mesc.json"},"14":{"body":"MESC can be disabled by either 1) unsetting all MESC_* variables, or 2) setting MESC_MODE=DISABLED. If MESC is disabled, the is_mesc_disabled() function will return false and all MESC querying functions will return an error (depending on language).","breadcrumbs":"Using MESC » Setting up MESC » Disabling MESC","id":"14","title":"Disabling MESC"},"15":{"body":"MESC also uses environment variables for overrides. See the overrides section for details.","breadcrumbs":"Using MESC » Setting up MESC » Overrides","id":"15","title":"Overrides"},"16":{"body":"Profiles are a way for each tool to customize its own MESC settings. Profiles allow each tool to: set its own default endpoint set its own default endpoints for each network override global metadata with its own metadata avoid using MESC for that tool without disabling MESC globally","breadcrumbs":"Using MESC » Profiles » Profiles","id":"16","title":"Profiles"},"17":{"body":"If a MESC query does not specify a profile, the global configuration values are used. If a MESC query specifies a profile, but that profile does not exist or does not specify the relevant information, MESC will fallback to using global configuration values.","breadcrumbs":"Using MESC » Profiles » Profiles are an optional feature","id":"17","title":"Profiles are an optional feature"},"18":{"body":"The easiest way to create a profile is by using the interactive mesc cli tool, using the mesc setup subcommand. Alternatively, you can manually add a new Profile to the profiles key inside your mesc.json. The following is a template Profile: { \"name\": \"PROFILE_NAME\", \"default_endpoint\": null, \"network_defaults\": {}, \"profile_metadata\": {}, \"use_mesc\": true\n}","breadcrumbs":"Using MESC » Profiles » Setting up a profile","id":"18","title":"Setting up a profile"},"19":{"body":"In a MESC configuration, the global_metadata, profile_metadata, and endpoint_metadata fields allow for optional or idiosyncratic metadata to be stored alongside the core RPC data. Tools using MESC can choose to ignore these fields.","breadcrumbs":"Using MESC » Metadata » Metadata","id":"19","title":"Metadata"},"2":{"body":"You can create a mesc.json by one of two ways: use the interactive MESC cli tool (install using cargo install mesc_cli and run mesc setup) modify the template below: { \"mesc_version\": \"MESC 1.0\", \"default_endpoint\": \"local_ethereum\", \"network_defaults\": { \"1\": \"local_ethereum\" }, \"network_names\": {}, \"endpoints\": { \"local_ethereum\": { \"name\": \"local_ethereum\", \"url\": \"http://localhost:8545\", \"chain_id\": \"1\", \"endpoint_metadata\": {} } }, \"profiles\": { \"xyz\": { \"name\": \"xyz\", \"default_endpoint\": \"local_ethereum\", \"network_defaults\": { \"1\": \"local_ethereum\" }, \"profile_metadata\": {}, \"use_mesc\": true } }, \"global_metadata\": {}\n} The structure of the config must follow the MESC specification . Installing the mesc cli on some linux distributions may require installing ssl libraries (e.g. sudo apt-get install pkg-config libssl-dev on ubunutu)","breadcrumbs":"MESC Overview » Quickstart » Creating a config file","id":"2","title":"Creating a config file"},"20":{"body":"Contents of MESC metadata is only loosely specified. This is intentional to allow for some degree of future-proofing. It enables MESC to handle use-cases that are either unanticipated or highly-specific to a given tool.","breadcrumbs":"Using MESC » Metadata » Metadata fields","id":"20","title":"Metadata fields"},"21":{"body":"Endpoint metadata key value type description examples rate_limit_rps int or float ratelimit in requests per second 250 rate_limit_cups int or float ratelimit in CUPS 1000 rate_limit_per_method Mapping[str, int or float] ratelimit in RPS for each method {\"trace_block\": 200} api_key str api key a2798f237a2398rf7 jwt_secret str jwt secret host str name of provider host \"llamanodes\", \"alchemy\", \"quicknode\", \"localhost\" ecosystem str ecosystem of chain, (e.g. relates mainnets to testnets) \"ethereum\", \"polygon\" node_client str versioned node client erigon/2.48.1/linux-amd64/go1.20.5 reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu namespaces Sequence[str] RPC name spaces enabled for endpoint [\"eth\", \"trace, \"debug\"] explorer str block explorer url https://etherscan.io location str geographic region Paris, France cloud_region str cloud provider region aws-us-east-1a labels Sequence[str] tags private_mempool, cache, archive, consensus_layer, execution_layer, validator, ephemeral Global Metadata and Profile Metadata key value type description examples last_modified_by str versioned tool used to create configuration mesc__1.0 last_modified_time int timestamp of config modification 1700200462 creation_time int timestamp of config creation 1700200462 api_keys Mapping[str, str] API keys to RPC-related services {\"etherscan\": \"abc123\"} groups Mapping[str, Sequence[str]] groupings of endpoints, mapping of group name to list of endpoint names {\"load_balancer\": [\"alchemy_optimism\", \"quicknode_optimism\"]} conceal bool whether tool should avoid casually revealing private RPC url's unprompted true","breadcrumbs":"Using MESC » Metadata » Examples","id":"21","title":"Examples"},"22":{"body":"Overrides are a way to quickly modify a MESC configuration without needing to modify any files. Each override is an environment variable that overrides a specific MESC configuration key. Each override uses a syntax that is quick and easy to write by hand.","breadcrumbs":"Using MESC » Overrides » Overrides","id":"22","title":"Overrides"},"23":{"body":"The MESC_DEFAULT_ENDPOINT override changes the default endpoint. Use in a script Sometimes it might be useful tweak a MESC config for a shell script. This can be achieved by inserting the MESC overrides into the script: #!/usr/bin/env bash export MESC_DEFAULT_ENDPOINT=local_goerli # ...rest of script that does RPC things Prepending syntax Adding VAR_NAME=VAR_VALUE before a cli command will set an environment variable for just that command. So if before the default url is this: mesc url\n> https://eth.llamarpc.com Adding the override before the command will change the default url: MESC_DEFAULT_ENDPOINT=local_goerli mesc url\n> localhost:8545 This syntax works for any cli program, not just the mesc cli tool.","breadcrumbs":"Using MESC » Overrides » Example usage","id":"23","title":"Example usage"},"24":{"body":"Every type of information within a MESC configuration can be modified using overrides: override variable value syntax example MESC_DEFAULT_ENDPOINT url, endpoint name, or network name localhost:9999 MESC_NETWORK_DEFAULTS space-separated pairs of = 5=alchemy_optimism 1=local_mainnet MESC_NETWORK_NAMES space-separated pairs of = zora=7777777 MESC_ENDPOINTS space-separated items of [[:]=] alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545 MESC_PROFILES space-separated pairs of .[. foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism MESC_GLOBAL_METADATA JSON formatted global metadata {} MESC_ENDPOINT_METADATA JSON mapping of {\"endpoint_name\": {}} {}","breadcrumbs":"Using MESC » Overrides » List of overrides","id":"24","title":"List of overrides"},"25":{"body":"Each MESC implementation provides the same set of 7 functions for querying MESC data. The behavior of these functions is the same across languages. function output type description example call is_mesc_enabled() bool return whether MESC is enabled is_mesc_enabled() get_default_endpoint() Endpoint or None get default MESC endpoint get_default_endpoint(profile='xyz') get_endpoint_by_network() Endpoint or None get default endpoint for network get_endpoint_by_network(5, profile='xyz') get_endpoint_by_name() Endpoint or None get endpoint by name get_endpoint_by_name('local_goerli') get_endpoint_by_query() Endpoint or None get endpoint for user input query get_endpoint_by_query(user_str, profile='xyz') find_endpoints() Sequence[Endpoint] find endpoint that match input criteria find_endpoints(chain_id=5) get_global_metadata() Mapping[str, Any] get non-endpoint metadata get_global_metadata(profile='xyz') The profile argument is optional for each function (it allows users to customize the settings for each tool, see Profiles for details).","breadcrumbs":"Using MESC » Queries » Querying MESC data","id":"25","title":"Querying MESC data"},"26":{"body":"The MESC specification and its reference implementations are developed in the github repository . For information about integrating MESC into an existing tool, see Integrating MESC . For information about implementing a new MESC client, see Implementing MESC . For information about running MESC tests, see MESC Test README . For information about building these docs, see here .","breadcrumbs":"Developer Resources » Developer Resources","id":"26","title":"Developer Resources"},"27":{"body":"MESC is designed to be easy to integrate into any existing tool in a backward-compatible manner. MESC integration patterns can be designed so that they only affect users that have opted-in to MESC, while leaving other users unaffected. Examples below are shown in python but work nearly identically for each language.","breadcrumbs":"Developer Resources » Integrating MESC » Integrating MESC","id":"27","title":"Integrating MESC"},"28":{"body":"Let's say that an existing tool named xyz currently gets its default RPC endpoint from an environment variable ETH_RPC_URL like so: def get_default_rpc_url() -> str | None: return os.environ.get('ETH_RPC_URL') MESC can be integrated using a few lines of code: import mesc def get_default_rpc_url() -> str | None: if mesc.is_mesc_enabled(): endpoint = mesc.get_default_endpoint(profile='xyz') if endpoint is not None: return endpoint['url'] return os.environ.get('ETH_RPC_URL') This new function loads the MESC default endpoint for users that have opted-in to MESC. But it falls back to using ETH_RPC_URL if MESC is not enabled or MESC does not have a default endpoint set. Using profile='xyz' is optional, but it allows users to set custom settings for the xyz tool instead of using the global settings.","breadcrumbs":"Developer Resources » Integrating MESC » Workflow for getting the default RPC endpoint","id":"28","title":"Workflow for getting the default RPC endpoint"},"29":{"body":"Let's say that an existing tool named xyz currently lets users choose an RPC endpoint using an -r input argument. Users might use the tool in a similar manner to xyz -r https://eth.llamarpc.com or xyz -r localhost:8545. If we add an extra parsing step for the user input, we can allow the user to select from any endpoint inside the MESC configuration by name, by network name, or by chain id. Using a pattern like this: def get_endpoint_url(user_input: str) -> str: if mesc.is_mesc_enabled(): endpoint = mesc.get_endpoint_by_query(user_input) if endpoint is not None: return endpoint['url'] return user_input # ... url = get_endpoint_url(user_input) Then users will be able to do any of the following xyz -r localhost:8545 (use a url) xyz -r llamanodes_goerli (use the endpoint named llamanodes_goerli) xyz -r 5 (use the default endpoint for network with chain id 5) xyz -r goerli (use the default endpoint for the network named goerli)","breadcrumbs":"Developer Resources » Integrating MESC » Workflow for letting users select an RPC endpoint","id":"29","title":"Workflow for letting users select an RPC endpoint"},"3":{"body":"The typical way to set environment variables is in your shell configuration files: ~/.bashrc, ~.profile, and/or ~/.bash_profile. Including this line in those files will enable MESC: export MESC_PATH=/path/to/your/mesc.json You can avoid editing these files yourself by running the MESC setup tool (mesc setup) as specified above. It will give you the option to automatically edit your shell files.","breadcrumbs":"MESC Overview » Quickstart » Setting environment variables","id":"3","title":"Setting environment variables"},"30":{"body":"One of MESC's goals is to have an implementation for every programming language in the cryptocurrency ecosystem. If you are creating a new MESC implementation, you may find the following useful: The main functionality that a MESC implementation provides is the core MESC interface . This is a set of functions for reading whatever MESC data a user has configured on their system. The ability to write MESC configurations is useful, but should be considered a secondary goal. Users already have the ability to create MESC configurations either by 1) editing JSON by hand, 2) editing JSON programmatically, or 3) using the interactive MESC cli tool . A MESC implementation's compliance to the specification can be checked using the language-agnostic MESC test suite. Passing the test suite means that an implementation is complete. More details on the test suite can be found here . It is desirable to use the same names, types, and behaviors across each MESC implementation. This increases interoperability and makes MESC easier to learn and use. However it is also desirable to obey the common conventions of each programming language. Each MESC implementation must find a balance between language-agnostic conventions vs language-specific conventions. If parts of the MESC specification are confusing or difficult to implement, it may be helpful to look at existing implementations. These currently exist for python and rust .","breadcrumbs":"Developer Resources » Implementing MESC » Implementing MESC","id":"30","title":"Implementing MESC"},"31":{"body":"Implement the core MESC interface functions. These functions should have the same behavior in each implementation. Create an adapter to run the MESC test suite . Passing these tests means the implementation is fully compliant with the MESC specification. Add an entry to the generate_network_names.py script. This script creates a native language code file for mapping between network names and chain id's using the standard ethereum-lists/chains repository.","breadcrumbs":"Developer Resources » Implementing MESC » Implementation Checklist","id":"31","title":"Implementation Checklist"},"32":{"body":"A language-agnostic set of tests is used to check whether each MESC implementation is compliant with the MESC specification.","breadcrumbs":"Developer Resources » MESC Tests » MESC Tests","id":"32","title":"MESC Tests"},"33":{"body":"Install pytest with pytest-xdist: pip install pytest pytest-xdist Go to the tests directory: cd $MESC_REPO/mesc/tests Run one of these commands: description command run tests pytest run test in parallel mode (much faster) pytest -n auto run tests in debug mode (helpful for debugging) pytest --pdb run tests only tests that previously failed pytest --lf run tests for specific adapters only pytest --adapters adapters/python adapters/cli By default, tests will run for all MESC implementations. If you do not have all of these implementations installed, you will need to use --adapters to select only the subset that that you have installed.","breadcrumbs":"Developer Resources » MESC Tests » Usage","id":"33","title":"Usage"},"34":{"body":"Each MESC implementation has an adapter that receives a test as input and prints the result as output. Adapters are located in the adapters directory. To make a custom adapter: adapter should be a script that takes a JSON MescQuery as its single argument the adapter should run the query, and then print the result as JSON if the config loading or the query fails, simply print the word FAIL The adapter should never crash upon failure, just print the word FAIL","breadcrumbs":"Developer Resources » MESC Tests » Adapters","id":"34","title":"Adapters"},"35":{"body":"adapters/ contains a test adapter for each MESC implementation conftest.py configuration file for pytest generate.py generates all of the MESC test cases test_mesc.py packages MESC tests into form usable by pypi","breadcrumbs":"Developer Resources » MESC Tests » Files","id":"35","title":"Files"},"36":{"body":"MESC aims to have an implementation for every common language in the cryptocurrency ecosystem. Implementations currently exist for: CLI Go Python Rust TypeScript If you want to create a MESC implementation for a new language, see implementing MESC .","breadcrumbs":"MESC Libraries » MESC Libraries","id":"36","title":"MESC Libraries"},"37":{"body":"This is a utility for creating and managing MESC RPC configurations. Under the hood, this cli is implemented using the rust crate here . The most important cli subcommands: mesc setup: create and modify MESC configs mesc ls: list endpoints mesc ping: ping endpoints mesc url: print endpoint url View help for each subcommand by typing mesc [SUBCOMMAND] --help basics","breadcrumbs":"MESC Libraries » CLI » MESC CLI","id":"37","title":"MESC CLI"},"38":{"body":"Installation Example Usage Reference","breadcrumbs":"MESC Libraries » CLI » Contents","id":"38","title":"Contents"},"39":{"body":"Use one of the 3 options below. Check that mesc is properly installed and on your PATH by running mesc -h.","breadcrumbs":"MESC Libraries » CLI » Installation","id":"39","title":"Installation"},"4":{"body":"MESC (Multiple Endpoint Shared Configuration) is a standardized approach for configuring RPC endpoints. Using MESC, a user creates a single RPC config that is shared by all RPC tools on their system.","breadcrumbs":"MESC Overview » What is MESC? » What is MESC?","id":"4","title":"What is MESC?"},"40":{"body":"cargo install mesc_cli Ensure that your cargo install path is on your cli path","breadcrumbs":"MESC Libraries » CLI » Install from crates.io","id":"40","title":"Install from crates.io"},"41":{"body":"# install rust and cargo\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # install mesc\ngit clone https://github.com/paradigmxyz/mesc\ncd mesc\ncargo install --path rust/crates/cli","breadcrumbs":"MESC Libraries » CLI » Install from source","id":"41","title":"Install from source"},"42":{"body":"Quickly obtain RPC url's: # curl the default network rpc url\ncurl $(mesc url) ... # curl the default goerli url\ncurl $(mesc url goerli) ... # curl an endpoint by name\ncurl $(mesc url local_goerli) ... Print configuration data # print all endpoints in table\nmesc ls # ping endpoints and collect metadata\nmesc ping # print default goerli endpoint data, human readable\nmesc endpoint goerli # print default goerli endpoint data, as json\nmesc endpoint goerli --json","breadcrumbs":"MESC Libraries » CLI » Example Usage","id":"42","title":"Example Usage"},"43":{"body":"Show in terminal by typing mesc --help: command line interface for creating, loading, and modifying MESC configuration data Usage: mesc Commands: setup Create or modify config interactively import Modify config by importing from file or other source set Modify config by setting specific values ping Ping endpoints and fetch metadata defaults Print list of defaults endpoint Print endpoint help Print help ls Print list of endpoints metadata Print metadata status Print status of configuration url Print endpoint URL Options: -h, --help Print help -V, --version Print version Help topics: (print these with mesc help ) env Environmental variables python Python interface rust Rust interface schema Schemas of configs, endpoints, and profiles setup How to set up MESC If an endpoint is omitted, use the default endpoint If a chain_id or network name is provided, use the default endpoint of network Can use --profile PROFILENAME to use defaults of a particular profile","breadcrumbs":"MESC Libraries » CLI » Reference","id":"43","title":"Reference"},"44":{"body":"This is a reference implementation of the Go MESC standard.","breadcrumbs":"MESC Libraries » Go » Go MESC Implementation","id":"44","title":"Go MESC Implementation"},"45":{"body":"To use this project within your Golang project, execute the following within your project: go get github.com/paradigmxyz/mesc/go","breadcrumbs":"MESC Libraries » Go » Installation","id":"45","title":"Installation"},"46":{"body":"// TODO: pending doc","breadcrumbs":"MESC Libraries » Go » Example Usage","id":"46","title":"Example Usage"},"47":{"body":"Refer to the function signatures defined in endpoints.go for the list of available functions. Models are available in the model package.","breadcrumbs":"MESC Libraries » Go » Reference","id":"47","title":"Reference"},"48":{"body":"This is a reference implementation of the Python MESC Standard It has no external dependencies. Installation Example Usage Reference","breadcrumbs":"MESC Libraries » Python » Python MESC Implementation","id":"48","title":"Python MESC Implementation"},"49":{"body":"","breadcrumbs":"MESC Libraries » Python » Installation","id":"49","title":"Installation"},"5":{"body":"MESC has two main design goals: make it easy to share RPC configuration data across tools, languages, and environments make it easy to manage the configuration of a large number of RPC endpoints MESC also has many secondary goals. It aims to be a solution that: allows specifying multiple providers for multiple chains allows selection of a default endpoint for each chain allows using either environment variables or config files is a single source of truth across multiple tools is OS-agnostic, using no OS-specific features is language-agnostic, using no language-specific features is backwards compatible with previous solutions","breadcrumbs":"MESC Overview » What is MESC? » Design Goals","id":"5","title":"Design Goals"},"50":{"body":"pip install mesc","breadcrumbs":"MESC Libraries » Python » From PyPI","id":"50","title":"From PyPI"},"51":{"body":"git clone https://github.com/paradigmxyz/mesc\ncd mesc\npip install ./","breadcrumbs":"MESC Libraries » Python » From Source","id":"51","title":"From Source"},"52":{"body":"from typing import Any, Mapping, Sequence\nimport mesc # check whether mesc is enabled\nenabled: bool = mesc.is_mesc_enabled() # get the default endpoint\nendpoint: Endpoint | None = mesc.get_default_endpoint() # get the default endpoint of a network\nendpoint: Endpoint | None = mesc.get_endpoint_by_network(5) # get the default endpoint for a particular tool\nendpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool') # get the default endpoint of a network for a particular tool\nendpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool') # get an endpoint by name\nendpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli') # parse a user-provided string into a matching endpoint\n# (first try 1. endpoint name, then 2. chain id, then 3. network name)\nendpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool') # find all endpoints matching given criteria\nendpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5) # get non-endpoint metadata\nmetadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool')","breadcrumbs":"MESC Libraries » Python » Example Usage","id":"52","title":"Example Usage"},"53":{"body":"from typing import Any, MutableMapping, TypedDict, Literal, Sequence class RpcConfig(TypedDict): mesc_version: str default_endpoint: str | None endpoints: MutableMapping[str, Endpoint] network_defaults: MutableMapping[str, str] network_names: MutableMapping[str, str] profiles: MutableMapping[str, Profile] global_metadata: MutableMapping[str, Any] class Endpoint(TypedDict): name: str url: str chain_id: str | None endpoint_metadata: MutableMapping[str, Any] class Profile(TypedDict): name: str default_endpoint: str | None network_defaults: MutableMapping[str, str]","breadcrumbs":"MESC Libraries » Python » Reference","id":"53","title":"Reference"},"54":{"body":"This is a reference rust implementation of the MESC standard. The crates/mesc crate contains rust libraries for reading, writing, and validating MESC configurations. The crates/mesc_cli crate is a tool for reading, writing, and validating MESC from the command line. See CLI for details.","breadcrumbs":"MESC Libraries » Rust » Rust MESC Implementation","id":"54","title":"Rust MESC Implementation"},"55":{"body":"Installation Example-Usage Reference","breadcrumbs":"MESC Libraries » Rust » Contents","id":"55","title":"Contents"},"56":{"body":"Inside a cargo project: cargo add mesc Inside a Cargo.toml: mesc = \"0.2.1\"","breadcrumbs":"MESC Libraries » Rust » Installation","id":"56","title":"Installation"},"57":{"body":"Basic data structures #[derive(Serialize, Deserialize, Debug, Clone)]\npub struct RpcConfig { pub mesc_version: String, pub default_endpoint: Option, pub endpoints: HashMap, pub network_defaults: HashMap, pub network_names: HashMap, pub profiles: HashMap, pub global_metadata: HashMap,\n} #[derive(Serialize, Deserialize, Debug, Clone)]\npub struct Endpoint { pub name: String, pub url: String, pub chain_id: Option, pub endpoint_metadata: HashMap,\n} #[derive(Serialize, Deserialize, Debug, Clone)]\npub struct Profile { pub name: String, pub default_endpoint: Option, pub network_defaults: HashMap, pub profile_metadata: HashMap, pub use_mesc: bool,\n} #[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq, Hash)]\npub struct ChainId(String); Basic read functions use mesc::{MescError, Endpoint};\nuse std::collections::HashMap; type OptionalResult = Result, MescError>;\ntype MultiResult = Result, MescError>;\ntype MetadataResult = Result, MescError>; // check whether mesc is enabled\nlet enabled: bool = mesc::is_mesc_enabled(); // get the default endpoint\nlet endpoint: OptionalResult = mesc::get_default_endpoint(None); // get the default endpoint of a network\nlet endpoint: OptionalResult = mesc::get_endpoint_by_network(\"5\", None); // get the default network for a particular tool\nlet chain_id: OptionalResult = mesc::get_default_endpoint(Some(\"xyz_tool\")); // get the default endpoint of a network for a particular tool\nlet endpoint: OptionalResult = mesc::get_endpoint_by_network(\"5\", Some(\"xyz_tool\")); // get an endpoint by name\nlet endpoint: OptionalResult = mesc::get_endpoint_by_name(\"local_goerli\"); // parse a user-provided string into a matching endpoint\n// (first try 1. endpoint name, then 2. chain id, then 3. network name)\nlet user_str = \"local_goerli\";\nlet endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some(\"xyz_tool\")); // find all endpoints matching given criteria\nlet query = mesc::MultiEndpointQuery::new().chain_id(\"5\").unwrap();\nlet endpoints: MultiResult = mesc::find_endpoints(query); // get non-endpoint metadata\nlet metadata: MetadataResult = mesc::get_global_metadata(Some(\"xyz_tool\"));","breadcrumbs":"MESC Libraries » Rust » Example Usage","id":"57","title":"Example Usage"},"58":{"body":"[WIP]","breadcrumbs":"MESC Libraries » TypeScript » Typescript MESC Implementation","id":"58","title":"Typescript MESC Implementation"},"6":{"body":"MESC is an opt-in standard: MESC is only enabled if a user has set a MESC-specific environment variable in their environment. This maximizes backward-compatiblity for existing tools that want to integrate MESC: If a user has not opted-in to MESC then simply fall back to the existing configuration method.","breadcrumbs":"MESC Overview » What is MESC? » MESC is opt-in","id":"6","title":"MESC is opt-in"},"7":{"body":"Between mainnet, testnets, chainforks, rollups, and alternative L1's, modern crypto tools must manage the configuration of multiple RPC endpoints. This configuration process is not standardized across tools. The most common approach for configuring RPC endpoint information is the ETH_RPC_URL environment variable (dapptools, forge, heimdall, checkthechain). However, this is not a formal standard and many tools use other approaches. Furthermore, using ETH_RPC_URL can only specify a single provider for a single chain, and it cannot specify any provider metadata beyond the url. Instead it would be desirable to have a solution that: allows specifying multiple providers for multiple chains allows selection of a default endpoint for each chain allows using either environment variables or config files is a single source of truth across multiple tools is OS-agnostic, using no OS-specific features is language-agnostic, using no language-specific features is backwards compatible with previous solutions MESC aims to satisfy all of these constraints.","breadcrumbs":"MESC Overview » Why MESC? » Why MESC?","id":"7","title":"Why MESC?"},"8":{"body":"Easier Onboarding . As soon as a user installs your tool, they will be able to use your tool with all of their configured networks. This eliminates one of the major setup steps for most RPC consuming tools. Interoperability . If you maintain multiple tools, or your tool has components in multiple languages, MESC will create a single, shared source of truth across all of these tool components. Safety and Robustness . MESC is thoroughly tested against a large number of config-related edge cases. In many cases it will be safer to user MESC than to create a configuration system from scratch. Minimize maintenance burden . Leaning on MESC to handle configuration means there is one less thing you need to maintain. You can spend your time on other things. Developer Features . If you need to develop or test your tool with multiple endpoints, the mesc CLI tools contains many useful developer features for managing endpoints. Go config-free . In some cases, adopting MESC means that your tool no longer needs its own config. You can store your tool's config data in MESC's metadata and then just use MESC for all config IO.","breadcrumbs":"MESC Overview » Why MESC? » As a developer, why should I integrate MESC into my tools?","id":"8","title":"As a developer, why should I integrate MESC into my tools?"},"9":{"body":"Once the MESC specification reaches version 1.0, it will become ossified forever. This will maximize forward- and backward-compatibility between MESC integrations. Client libraries for reading or writing MESC configurations might continue development, but the underlying MESC specification will not change. MESC currently has implementations for CLI, python, and rust. Implementations for go and typescript are coming soon. If there is another language you have interest in bringing MESC to an additional programming language or environment, feel free to share on the issue tracker .","breadcrumbs":"MESC Overview » Roadmap » Roadmap","id":"9","title":"Roadmap"}},"length":59,"save":true},"fields":["title","body","breadcrumbs"],"index":{"body":{"root":{"0":{".":{"2":{".":{"1":{"df":1,"docs":{"56":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"1":{".":{"0":{"df":2,"docs":{"2":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}},"0":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"7":{"0":{"0":{"2":{"0":{"0":{"4":{"6":{"2":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"a":{"df":1,"docs":{"21":{"tf":1.0}}},"df":6,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"2":{"tf":1.7320508075688772},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"2":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"5":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":5,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"3":{"df":4,"docs":{"30":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":1,"docs":{"29":{"tf":1.4142135623730951}}},"7":{"b":{"7":{"8":{"1":{"df":0,"docs":{},"e":{"b":{"6":{"0":{"/":{"df":0,"docs":{},"x":{"8":{"6":{"_":{"6":{"4":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}},"a":{"2":{"7":{"9":{"8":{"df":0,"docs":{},"f":{"2":{"3":{"7":{"a":{"2":{"3":{"9":{"8":{"df":0,"docs":{},"r":{"df":0,"docs":{},"f":{"7":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"b":{"c":{"1":{"2":{"3":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"30":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"v":{"df":1,"docs":{"3":{"tf":1.0}}}}},"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"31":{"tf":1.0},"33":{"tf":1.7320508075688772},"34":{"tf":2.8284271247461903},"35":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"33":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"y":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}}}}}},"d":{"df":4,"docs":{"18":{"tf":1.0},"29":{"tf":1.0},"31":{"tf":1.0},"56":{"tf":1.0}},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"df":1,"docs":{"23":{"tf":1.4142135623730951}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"g":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":4,"docs":{"30":{"tf":1.4142135623730951},"32":{"tf":1.0},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}}},"i":{"df":0,"docs":{},"m":{"df":3,"docs":{"36":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"m":{"=":{"df":0,"docs":{},"h":{"df":0,"docs":{},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"s":{":":{"/":{"/":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"f":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"j":{"df":1,"docs":{"24":{"tf":1.0}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":8,"docs":{"16":{"tf":1.0},"19":{"tf":1.0},"20":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":1.7320508075688772}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"19":{"tf":1.0}}},"df":0,"docs":{}}}}}},"p":{"df":0,"docs":{},"h":{"a":{".":{"1":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"d":{"df":0,"docs":{},"i":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":3,"docs":{"13":{"tf":1.0},"18":{"tf":1.0},"7":{"tf":1.0}}}}}}},"m":{"d":{"6":{"4":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"1":{".":{"2":{"0":{".":{"5":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"n":{"d":{"/":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"3":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"o":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"i":{"_":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"a":{"c":{"df":0,"docs":{},"h":{"df":2,"docs":{"4":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"2":{"tf":1.0}}}},"r":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.0},"29":{"tf":1.0},"34":{"tf":1.0}}}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"33":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}}}}},"v":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"d":{"df":3,"docs":{"16":{"tf":1.0},"21":{"tf":1.0},"3":{"tf":1.0}}},"df":0,"docs":{}}}},"w":{"df":1,"docs":{"21":{"tf":1.0}}}},"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":5,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}},"df":1,"docs":{"23":{"tf":1.0}},"r":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"i":{"c":{"df":3,"docs":{"12":{"tf":1.0},"37":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"12":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"23":{"tf":1.7320508075688772}}}}},"h":{"a":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":3,"docs":{"25":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"0":{"tf":1.0}}},"df":0,"docs":{}}}},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":3,"docs":{"2":{"tf":1.0},"27":{"tf":1.0},"39":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":4,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}}}}},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":4,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.4142135623730951}}}},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"u":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"d":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"c":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"25":{"tf":1.0}}}},"r":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{".":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"l":{"df":1,"docs":{"56":{"tf":1.0}}}}}}},"df":4,"docs":{"2":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.4142135623730951},"56":{"tf":1.4142135623730951}}}}},"s":{"df":0,"docs":{},"e":{"df":4,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"35":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"d":{"df":3,"docs":{"33":{"tf":1.0},"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":4,"docs":{"2":{"tf":1.0},"43":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":7,"docs":{"21":{"tf":1.0},"29":{"tf":1.4142135623730951},"31":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"i":{"d":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"k":{"df":5,"docs":{"30":{"tf":1.0},"32":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"31":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":2,"docs":{"19":{"tf":1.0},"29":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"53":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"i":{"df":11,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.7320508075688772},"40":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.0},"26":{"tf":1.0},"9":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":3,"docs":{"41":{"tf":1.0},"51":{"tf":1.0},"57":{"tf":2.0}}}},"u":{"d":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"e":{"df":2,"docs":{"28":{"tf":1.0},"31":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"9":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":5,"docs":{"12":{"tf":1.0},"23":{"tf":1.7320508075688772},"33":{"tf":1.4142135623730951},"43":{"tf":1.7320508075688772},"54":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"36":{"tf":1.0},"7":{"tf":1.0}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":4,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}},"i":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"6":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"i":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{},"t":{"df":2,"docs":{"31":{"tf":1.0},"32":{"tf":1.0}}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}}},"n":{"c":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"2":{"tf":1.7320508075688772},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"34":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":2.23606797749979}},"u":{"df":0,"docs":{},"r":{"df":20,"docs":{"13":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"19":{"tf":1.0},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"29":{"tf":1.0},"3":{"tf":1.0},"30":{"tf":1.7320508075688772},"35":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.4142135623730951},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"i":{"d":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":4,"docs":{"13":{"tf":1.4142135623730951},"35":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"13":{"tf":1.0},"20":{"tf":1.0},"38":{"tf":1.0},"55":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":1,"docs":{"13":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.7320508075688772}}}}}}},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"19":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}},"r":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"34":{"tf":1.0}}}},"t":{"df":0,"docs":{},"e":{"df":2,"docs":{"37":{"tf":1.0},"54":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"40":{"tf":1.0}}}}},"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"54":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"54":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":13,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"21":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"36":{"tf":1.0},"37":{"tf":1.4142135623730951},"4":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"a":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"36":{"tf":1.0}}}}}},"df":1,"docs":{"7":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"41":{"tf":1.0},"42":{"tf":2.449489742783178}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"9":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":4,"docs":{"16":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"34":{"tf":1.0}}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"t":{"a":{"df":8,"docs":{"19":{"tf":1.0},"25":{"tf":1.4142135623730951},"30":{"tf":1.0},"42":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"57":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":3,"docs":{"21":{"tf":1.0},"33":{"tf":1.4142135623730951},"57":{"tf":2.0}}}}},"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}},"df":12,"docs":{"16":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"25":{"tf":1.4142135623730951},"28":{"tf":2.0},"29":{"tf":1.4142135623730951},"33":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":2.23606797749979},"5":{"tf":1.0},"52":{"tf":2.0},"57":{"tf":2.0},"7":{"tf":1.0}}}}}},"df":2,"docs":{"28":{"tf":1.4142135623730951},"29":{"tf":1.0}},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"47":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":1,"docs":{"20":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"14":{"tf":1.0},"48":{"tf":1.0}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":0,"docs":{},"e":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}}}},"df":0,"docs":{}}}}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":1,"docs":{"12":{"tf":1.4142135623730951}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951}}}},"r":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":4,"docs":{"15":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.0}}}}},"df":0,"docs":{}},"v":{"df":1,"docs":{"2":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":3,"docs":{"26":{"tf":1.4142135623730951},"8":{"tf":2.0},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"10":{"tf":1.4142135623730951}}}},"i":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":2,"docs":{"14":{"tf":1.7320508075688772},"16":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}}},"df":0,"docs":{}}}}}},"o":{"c":{"df":2,"docs":{"26":{"tf":1.0},"46":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"g":{"df":3,"docs":{"13":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}}},"a":{"c":{"df":0,"docs":{},"h":{"df":13,"docs":{"16":{"tf":1.7320508075688772},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"25":{"tf":1.7320508075688772},"27":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0},"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":3,"docs":{"22":{"tf":1.0},"27":{"tf":1.0},"5":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"18":{"tf":1.0}}}}}},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"30":{"tf":1.0},"36":{"tf":1.0}}}}}}}}}},"d":{"df":0,"docs":{},"g":{"df":1,"docs":{"8":{"tf":1.0}}},"i":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.0},"3":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"n":{"a":{"b":{"df":0,"docs":{},"l":{"df":9,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"6":{"tf":1.0}}}},"df":0,"docs":{}},"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"[":{"'":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":5,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"24":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}},"e":{">":{"[":{":":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"]":{"=":{"]":{"<":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":18,"docs":{"16":{"tf":1.4142135623730951},"2":{"tf":1.0},"21":{"tf":2.0},"23":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":3.1622776601683795},"28":{"tf":2.449489742783178},"29":{"tf":2.8284271247461903},"37":{"tf":1.7320508075688772},"4":{"tf":1.4142135623730951},"42":{"tf":2.6457513110645907},"43":{"tf":3.0},"5":{"tf":1.4142135623730951},"52":{"tf":4.69041575982343},"53":{"tf":1.4142135623730951},"57":{"tf":4.242640687119285},"7":{"tf":1.7320508075688772},"8":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"47":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"40":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"v":{"df":2,"docs":{"13":{"tf":1.0},"43":{"tf":1.0}},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"6":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}}}}}}}}},"p":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"q":{"df":1,"docs":{"57":{"tf":1.0}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"/":{"2":{".":{"4":{"8":{".":{"1":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"x":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":2,"docs":{"21":{"tf":1.0},"31":{"tf":1.0}}}}},"s":{"c":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"x":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":12,"docs":{"21":{"tf":1.7320508075688772},"23":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"38":{"tf":1.0},"42":{"tf":1.0},"46":{"tf":1.0},"48":{"tf":1.0},"52":{"tf":1.0},"55":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"45":{"tf":1.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":9,"docs":{"0":{"tf":1.4142135623730951},"17":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.4142135623730951},"36":{"tf":1.0},"6":{"tf":1.4142135623730951}}}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":2,"docs":{"23":{"tf":1.0},"3":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"48":{"tf":1.0}}}}},"r":{"a":{"df":1,"docs":{"29":{"tf":1.0}}},"df":0,"docs":{}}}}},"f":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.7320508075688772}},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"l":{"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"17":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}}},"s":{"df":1,"docs":{"14":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":4,"docs":{"17":{"tf":1.0},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"9":{"tf":1.0}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}},"w":{"df":1,"docs":{"28":{"tf":1.0}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"d":{"df":2,"docs":{"19":{"tf":1.4142135623730951},"20":{"tf":1.0}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"e":{"df":12,"docs":{"1":{"tf":1.4142135623730951},"10":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.0},"22":{"tf":1.0},"3":{"tf":2.0},"31":{"tf":1.0},"35":{"tf":1.4142135623730951},"43":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"25":{"tf":1.0}},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":4,"docs":{"25":{"tf":1.0},"30":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":5,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"45":{"tf":1.0}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"9":{"tf":1.0}}}},"g":{"df":1,"docs":{"7":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}},"t":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":1,"docs":{"35":{"tf":1.0}}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"30":{"tf":1.0}},"r":{"df":0,"docs":{},"y":{".":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{".":{"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"n":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":7,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":2.0},"28":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"47":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}}}},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"_":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"35":{"tf":1.0}}}}},"o":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"25":{"tf":1.0}},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"28":{"tf":1.4142135623730951}}}},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}},"n":{"df":3,"docs":{"20":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":5,"docs":{"16":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"21":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"21":{"tf":1.0}}}},"o":{"a":{"df":0,"docs":{},"l":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772}}}},"df":7,"docs":{"0":{"tf":1.0},"33":{"tf":1.0},"36":{"tf":1.0},"44":{"tf":1.4142135623730951},"45":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"29":{"tf":1.4142135623730951},"42":{"tf":2.449489742783178}}}}}},"l":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"u":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"12":{"tf":1.0}}},"df":0,"docs":{}}}},"h":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"22":{"tf":1.0},"30":{"tf":1.0}},"l":{"df":2,"docs":{"20":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"57":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"p":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":2.449489742783178}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":2,"docs":{"39":{"tf":1.0},"43":{"tf":1.0}},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"d":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"p":{"df":4,"docs":{"30":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.4142135623730951},"43":{"tf":2.6457513110645907}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"26":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"37":{"tf":1.0}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{":":{"/":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"2":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"41":{"tf":1.0}},"s":{":":{"/":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"c":{"a":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"s":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"r":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{".":{"df":0,"docs":{},"r":{"df":1,"docs":{"41":{"tf":1.0}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"i":{"d":{"'":{"df":1,"docs":{"31":{"tf":1.0}}},"df":3,"docs":{"29":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"n":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"19":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"19":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"'":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}}}}},"df":16,"docs":{"0":{"tf":1.7320508075688772},"25":{"tf":1.0},"26":{"tf":1.7320508075688772},"30":{"tf":3.0},"31":{"tf":2.0},"32":{"tf":1.0},"33":{"tf":1.4142135623730951},"34":{"tf":1.0},"35":{"tf":1.0},"36":{"tf":2.0},"37":{"tf":1.0},"44":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"54":{"tf":1.4142135623730951},"58":{"tf":1.0},"9":{"tf":1.4142135623730951}}}}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"53":{"tf":1.0}}}}}}},"n":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"d":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":5,"docs":{"0":{"tf":1.0},"17":{"tf":1.0},"24":{"tf":1.0},"26":{"tf":2.0},"7":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"23":{"tf":1.0}}}}},"i":{"d":{"df":4,"docs":{"13":{"tf":1.0},"18":{"tf":1.0},"29":{"tf":1.0},"56":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"t":{"a":{"df":0,"docs":{},"l":{"df":14,"docs":{"2":{"tf":2.23606797749979},"33":{"tf":2.0},"38":{"tf":1.0},"39":{"tf":1.4142135623730951},"40":{"tf":1.7320508075688772},"41":{"tf":2.0},"45":{"tf":1.0},"48":{"tf":1.0},"49":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0},"55":{"tf":1.0},"56":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"a":{"d":{"df":3,"docs":{"13":{"tf":1.0},"28":{"tf":1.0},"7":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"21":{"tf":2.23606797749979}},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"df":7,"docs":{"0":{"tf":1.4142135623730951},"26":{"tf":1.4142135623730951},"27":{"tf":1.7320508075688772},"28":{"tf":1.0},"6":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"20":{"tf":1.0}}}},"r":{"a":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"f":{"a":{"c":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"43":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}}}}}}}}},"o":{"df":1,"docs":{"8":{"tf":1.0}}},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"25":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"13":{"tf":1.0},"24":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951},"34":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951}}}}},"w":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":3,"docs":{"18":{"tf":1.0},"21":{"tf":2.0},"22":{"tf":1.0}}}}},"l":{"1":{"'":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}},"a":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"a":{"df":0,"docs":{},"g":{"df":12,"docs":{"0":{"tf":1.0},"14":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":2.23606797749979},"31":{"tf":1.0},"32":{"tf":1.0},"36":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772},"7":{"tf":1.4142135623730951},"8":{"tf":1.0},"9":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"g":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"d":{"_":{"b":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"0":{"tf":1.4142135623730951},"30":{"tf":1.0}}}},"v":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"8":{"tf":1.0}}}},"t":{"'":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}},"df":1,"docs":{"29":{"tf":1.4142135623730951}}}},"f":{"df":1,"docs":{"33":{"tf":1.0}}},"i":{"b":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":4,"docs":{"2":{"tf":1.0},"36":{"tf":1.0},"54":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"s":{"df":0,"docs":{},"l":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":4,"docs":{"28":{"tf":1.0},"3":{"tf":1.0},"43":{"tf":1.0},"54":{"tf":1.0}}},"u":{"df":0,"docs":{},"x":{"df":2,"docs":{"2":{"tf":1.0},"21":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"t":{"df":5,"docs":{"21":{"tf":1.0},"24":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"47":{"tf":1.0}},"s":{"/":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"o":{"a":{"d":{"_":{"b":{"a":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":3,"docs":{"28":{"tf":1.0},"34":{"tf":1.0},"43":{"tf":1.0}}},"df":0,"docs":{}},"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"2":{"tf":2.449489742783178}}}}}}}}}},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{":":{"5":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"42":{"tf":1.0},"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"9":{"9":{"9":{"9":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"t":{"df":2,"docs":{"21":{"tf":1.0},"34":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"k":{"df":1,"docs":{"30":{"tf":1.0}}},"s":{"df":1,"docs":{"20":{"tf":1.0}}}},"t":{"df":1,"docs":{"13":{"tf":1.0}}},"w":{"df":1,"docs":{"13":{"tf":1.0}}}},"s":{"df":3,"docs":{"37":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0}}}},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"j":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":3,"docs":{"30":{"tf":1.0},"34":{"tf":1.0},"5":{"tf":1.4142135623730951}}}},"n":{"a":{"df":0,"docs":{},"g":{"df":4,"docs":{"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":4,"docs":{"21":{"tf":1.0},"24":{"tf":1.0},"31":{"tf":1.0},"52":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":3,"docs":{"21":{"tf":1.7320508075688772},"25":{"tf":1.0},"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"x":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"6":{"tf":1.0},"9":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"8":{"tf":1.4142135623730951}}}},"df":0,"docs":{},"s":{"c":{"'":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},".":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"52":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":1,"docs":{"28":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"52":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":3,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"52":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0}}}}}}},":":{":":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"\"":{"5":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{":":{":":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"(":{")":{".":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"(":{"\"":{"5":{"\"":{")":{".":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"w":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}}}}},"df":0,"docs":{}}}}}}}},"{":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"_":{"_":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"2":{"tf":1.0},"40":{"tf":1.0}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"23":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":2,"docs":{"23":{"tf":1.0},"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"14":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{},"v":{"df":1,"docs":{"13":{"tf":2.0}}}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"13":{"tf":1.4142135623730951}},"e":{"=":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"=":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"3":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":3,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}}}}}},"df":50,"docs":{"0":{"tf":3.1622776601683795},"1":{"tf":1.0},"10":{"tf":2.449489742783178},"11":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.4142135623730951},"14":{"tf":2.0},"15":{"tf":1.0},"16":{"tf":1.7320508075688772},"17":{"tf":1.7320508075688772},"18":{"tf":1.4142135623730951},"19":{"tf":1.4142135623730951},"2":{"tf":2.23606797749979},"20":{"tf":1.4142135623730951},"22":{"tf":1.4142135623730951},"23":{"tf":2.23606797749979},"24":{"tf":1.0},"25":{"tf":2.23606797749979},"26":{"tf":2.6457513110645907},"27":{"tf":2.0},"28":{"tf":2.449489742783178},"29":{"tf":1.0},"3":{"tf":1.7320508075688772},"30":{"tf":3.7416573867739413},"31":{"tf":1.7320508075688772},"32":{"tf":1.7320508075688772},"33":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.7320508075688772},"36":{"tf":2.0},"37":{"tf":2.8284271247461903},"39":{"tf":1.4142135623730951},"4":{"tf":1.7320508075688772},"41":{"tf":1.4142135623730951},"42":{"tf":2.6457513110645907},"43":{"tf":2.23606797749979},"44":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"50":{"tf":1.0},"51":{"tf":1.0},"52":{"tf":1.4142135623730951},"54":{"tf":2.0},"56":{"tf":1.4142135623730951},"57":{"tf":1.0},"58":{"tf":1.0},"6":{"tf":2.449489742783178},"7":{"tf":1.4142135623730951},"8":{"tf":2.8284271247461903},"9":{"tf":2.449489742783178}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.7320508075688772}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"34":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":13,"docs":{"10":{"tf":1.4142135623730951},"16":{"tf":1.4142135623730951},"19":{"tf":1.4142135623730951},"20":{"tf":1.4142135623730951},"21":{"tf":1.7320508075688772},"24":{"tf":1.0},"25":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.7320508075688772},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"7":{"tf":1.0},"8":{"tf":1.0}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":2,"docs":{"21":{"tf":1.0},"6":{"tf":1.0}}},"df":0,"docs":{}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"10":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"o":{"d":{"df":0,"docs":{},"e":{"df":1,"docs":{"33":{"tf":1.4142135623730951}},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"f":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":5,"docs":{"2":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":2.0}}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"12":{"tf":1.0},"30":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"0":{"tf":1.0}}}}}},"u":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"33":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":4,"docs":{"4":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":2.0},"8":{"tf":1.7320508075688772}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"53":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":2.6457513110645907}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":14,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"21":{"tf":2.0},"24":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":2.23606797749979},"30":{"tf":1.0},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":2.23606797749979}},"s":{"df":0,"docs":{},"p":{"a":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"31":{"tf":1.0}}}}}},"df":1,"docs":{"33":{"tf":1.0}},"e":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"d":{"df":3,"docs":{"22":{"tf":1.0},"33":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}},"e":{">":{"=":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":10,"docs":{"16":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":1.0},"29":{"tf":1.7320508075688772},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.7320508075688772},"57":{"tf":2.0},"8":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}},"w":{"df":6,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"26":{"tf":1.0},"28":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0}}}},"o":{"d":{"df":0,"docs":{},"e":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"n":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":6,"docs":{"25":{"tf":2.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.0},"52":{"tf":2.449489742783178},"53":{"tf":1.7320508075688772},"57":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"m":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"o":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"30":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}},"n":{"b":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"c":{"df":1,"docs":{"9":{"tf":1.0}}},"df":7,"docs":{"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"33":{"tf":1.0},"39":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"27":{"tf":1.0},"28":{"tf":1.0},"6":{"tf":1.7320508075688772}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}},"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.6457513110645907}}}}}}}}}},"df":7,"docs":{"17":{"tf":1.0},"19":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"39":{"tf":1.0},"43":{"tf":1.0}}}}}}},"s":{".":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"(":{"'":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}}},"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"34":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"13":{"tf":1.0}},"r":{"df":0,"docs":{},"i":{"d":{"df":6,"docs":{"10":{"tf":1.4142135623730951},"15":{"tf":1.7320508075688772},"16":{"tf":1.0},"22":{"tf":2.23606797749979},"23":{"tf":1.7320508075688772},"24":{"tf":1.7320508075688772}}},"df":0,"docs":{}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"0":{"tf":1.0}}}}}}}}}},"p":{"a":{"c":{"df":0,"docs":{},"k":{"a":{"df":0,"docs":{},"g":{"df":2,"docs":{"35":{"tf":1.0},"47":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":1.7320508075688772}}}},"r":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"s":{"df":3,"docs":{"29":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.0}},"i":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"q":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":3,"docs":{"43":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"s":{"df":2,"docs":{"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"h":{"df":6,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.0}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}}}}},"d":{"b":{"df":1,"docs":{"33":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"46":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":1,"docs":{"21":{"tf":1.0}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":3,"docs":{"37":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951}}}},"p":{"df":3,"docs":{"33":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0}}}},"k":{"df":0,"docs":{},"g":{"df":1,"docs":{"2":{"tf":1.0}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"y":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"e":{"d":{"df":1,"docs":{"13":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"23":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":2,"docs":{"5":{"tf":1.0},"7":{"tf":1.0}},"s":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"34":{"tf":2.0},"37":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":3.1622776601683795}}}},"v":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"o":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":11,"docs":{"10":{"tf":1.0},"16":{"tf":1.7320508075688772},"17":{"tf":2.0},"18":{"tf":2.23606797749979},"2":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.4142135623730951},"3":{"tf":1.0},"43":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":1.7320508075688772}},"e":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}}}}}},"df":2,"docs":{"25":{"tf":1.4142135623730951},"28":{"tf":1.0}}}}}},"df":0,"docs":{}},">":{".":{"<":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{">":{"[":{".":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"b":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"]":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"m":{"df":4,"docs":{"0":{"tf":1.0},"23":{"tf":1.0},"30":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":2,"docs":{"45":{"tf":1.7320508075688772},"56":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"f":{"df":1,"docs":{"20":{"tf":1.0}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"39":{"tf":1.0}}}}}}},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"41":{"tf":1.0}}}},"v":{"df":0,"docs":{},"i":{"d":{"df":8,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}}},"df":0,"docs":{}}}}},"u":{"b":{"df":1,"docs":{"57":{"tf":4.47213595499958}}},"df":0,"docs":{}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":2,"docs":{"35":{"tf":1.0},"50":{"tf":1.0}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"33":{"tf":3.0},"35":{"tf":1.0}}}}},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":7,"docs":{"0":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"43":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":5,"docs":{"14":{"tf":1.0},"17":{"tf":1.4142135623730951},"25":{"tf":1.7320508075688772},"34":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}},"i":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"22":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}},"l":{"df":0,"docs":{},"i":{"df":4,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"22":{"tf":1.0},"42":{"tf":1.0}}}},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":3,"docs":{"0":{"tf":1.0},"1":{"tf":1.0},"12":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"_":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}}}}}},"df":1,"docs":{"29":{"tf":2.6457513110645907}},"e":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}},"d":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}},"df":4,"docs":{"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"57":{"tf":1.0},"9":{"tf":1.0}},"m":{"df":1,"docs":{"26":{"tf":1.0}}}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":9,"docs":{"26":{"tf":1.0},"38":{"tf":1.0},"43":{"tf":1.0},"44":{"tf":1.0},"47":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"53":{"tf":1.0},"54":{"tf":1.0},"55":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"l":{"a":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.4142135623730951},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"17":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"26":{"tf":1.0},"31":{"tf":1.0}}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"23":{"tf":1.0}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"<":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"v":{"df":0,"docs":{},"e":{"c":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"34":{"tf":1.4142135623730951}}}}}},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"v":{"0":{".":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":4,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.4142135623730951}}}}}},"v":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"o":{"a":{"d":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"9":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"7":{"tf":1.0}}}}}}},"p":{"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":11,"docs":{"19":{"tf":1.0},"21":{"tf":1.7320508075688772},"23":{"tf":1.0},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"37":{"tf":1.0},"4":{"tf":1.7320508075688772},"42":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.0}}},"df":1,"docs":{"21":{"tf":1.0}}},"u":{"df":0,"docs":{},"n":{"df":7,"docs":{"2":{"tf":1.0},"26":{"tf":1.0},"3":{"tf":1.0},"31":{"tf":1.0},"33":{"tf":2.6457513110645907},"34":{"tf":1.0},"39":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"/":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"41":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":8,"docs":{"0":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.0},"41":{"tf":1.0},"43":{"tf":1.4142135623730951},"54":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}},"s":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}},"t":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"e":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"8":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"23":{"tf":2.0},"31":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"15":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":7,"docs":{"0":{"tf":2.449489742783178},"10":{"tf":2.0},"15":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":2.0},"36":{"tf":1.0},"54":{"tf":1.0}}},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"13":{"tf":1.0},"29":{"tf":1.4142135623730951},"33":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":2.0}}}},"df":0,"docs":{}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"c":{"df":2,"docs":{"52":{"tf":1.0},"53":{"tf":1.0}},"e":{"[":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"r":{"d":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{":":{":":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"57":{"tf":2.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":16,"docs":{"1":{"tf":1.0},"10":{"tf":1.7320508075688772},"11":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":2.0},"14":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.0},"23":{"tf":1.0},"25":{"tf":1.4142135623730951},"28":{"tf":2.0},"3":{"tf":1.4142135623730951},"30":{"tf":1.0},"32":{"tf":1.0},"43":{"tf":1.7320508075688772},"6":{"tf":1.0}},"u":{"df":0,"docs":{},"p":{"df":9,"docs":{"10":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"3":{"tf":1.4142135623730951},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.0}}}}}},"h":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":4,"docs":{"4":{"tf":1.4142135623730951},"5":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}}},"df":1,"docs":{"41":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":3,"docs":{"12":{"tf":1.0},"23":{"tf":1.0},"3":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"w":{"df":1,"docs":{"43":{"tf":1.0}},"n":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"47":{"tf":1.0}}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"29":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"12":{"tf":1.0}}}}},"i":{"df":3,"docs":{"13":{"tf":1.0},"34":{"tf":1.0},"6":{"tf":1.0}}}}}},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"l":{"df":5,"docs":{"34":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"13":{"tf":1.0},"23":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"n":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}},"u":{"df":0,"docs":{},"r":{"c":{"df":6,"docs":{"41":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.0},"51":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}}},"p":{"a":{"c":{"df":0,"docs":{},"e":{"df":2,"docs":{"21":{"tf":1.0},"24":{"tf":2.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":13,"docs":{"2":{"tf":1.0},"20":{"tf":1.0},"22":{"tf":1.0},"26":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":1.4142135623730951},"9":{"tf":1.4142135623730951}},"i":{"df":5,"docs":{"17":{"tf":1.7320508075688772},"20":{"tf":1.0},"3":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"f":{"df":1,"docs":{"41":{"tf":1.0}}},"l":{"df":1,"docs":{"2":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"d":{"df":7,"docs":{"31":{"tf":1.0},"4":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"0":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"12":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}}}},"d":{":":{":":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{":":{":":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":2,"docs":{"29":{"tf":1.0},"8":{"tf":1.0}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"19":{"tf":1.0},"8":{"tf":1.0}}}}},"r":{"df":4,"docs":{"21":{"tf":3.1622776601683795},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"53":{"tf":3.1622776601683795}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":2.6457513110645907}}}}},"u":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.0}},"u":{"df":0,"docs":{},"r":{"df":2,"docs":{"2":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"u":{"b":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"18":{"tf":1.0},"37":{"tf":1.7320508075688772}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}},"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"2":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"30":{"tf":1.7320508075688772},"31":{"tf":1.0}}}}},"y":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"x":{"df":3,"docs":{"22":{"tf":1.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":4,"docs":{"13":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":0,"docs":{},"e":{"df":2,"docs":{"13":{"tf":1.0},"34":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"t":{"df":3,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"12":{"tf":1.0},"43":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":9,"docs":{"13":{"tf":1.0},"26":{"tf":1.4142135623730951},"30":{"tf":1.7320508075688772},"31":{"tf":1.4142135623730951},"32":{"tf":1.4142135623730951},"33":{"tf":2.8284271247461903},"34":{"tf":1.0},"35":{"tf":1.7320508075688772},"8":{"tf":1.4142135623730951}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}}}}},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.0},"8":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"8":{"tf":1.0}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}}}}}},"l":{"df":0,"docs":{},"s":{"df":0,"docs":{},"v":{"1":{".":{"2":{"df":1,"docs":{"41":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"46":{"tf":1.0}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"'":{"df":1,"docs":{"8":{"tf":1.0}}},"df":24,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"3":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"54":{"tf":1.0},"57":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":2.0},"8":{"tf":3.1622776601683795}}}},"p":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"c":{"df":0,"docs":{},"e":{"_":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":1,"docs":{"10":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}},"u":{"df":0,"docs":{},"e":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}}}},"w":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"k":{"df":1,"docs":{"23":{"tf":1.0}}}},"df":0,"docs":{}},"o":{"df":2,"docs":{"2":{"tf":1.0},"5":{"tf":1.0}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":9,"docs":{"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.7320508075688772}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"0":{"tf":1.0},"36":{"tf":1.0},"58":{"tf":1.0},"9":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"i":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}}}},"u":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"2":{"tf":1.0}}}}}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"20":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"37":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}},"k":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"p":{"df":4,"docs":{"10":{"tf":1.4142135623730951},"11":{"tf":1.0},"18":{"tf":1.0},"43":{"tf":1.0}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"34":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"l":{"'":{"df":2,"docs":{"21":{"tf":1.0},"42":{"tf":1.0}}},"df":11,"docs":{"2":{"tf":1.0},"21":{"tf":1.0},"23":{"tf":2.0},"24":{"tf":1.0},"29":{"tf":1.4142135623730951},"37":{"tf":1.4142135623730951},"42":{"tf":2.23606797749979},"43":{"tf":1.4142135623730951},"53":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.0}}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"35":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":10,"docs":{"23":{"tf":1.0},"33":{"tf":1.0},"38":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"46":{"tf":1.0},"48":{"tf":1.0},"52":{"tf":1.0},"55":{"tf":1.0},"57":{"tf":1.0}}}},"df":30,"docs":{"1":{"tf":1.0},"10":{"tf":1.7320508075688772},"12":{"tf":1.0},"13":{"tf":1.0},"15":{"tf":1.0},"16":{"tf":1.0},"17":{"tf":1.4142135623730951},"18":{"tf":1.4142135623730951},"19":{"tf":1.0},"2":{"tf":1.4142135623730951},"20":{"tf":1.0},"21":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0},"28":{"tf":2.0},"29":{"tf":2.6457513110645907},"30":{"tf":2.449489742783178},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.0},"39":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"45":{"tf":1.0},"5":{"tf":1.7320508075688772},"57":{"tf":1.4142135623730951},"7":{"tf":2.23606797749979},"8":{"tf":1.7320508075688772}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":10,"docs":{"25":{"tf":1.4142135623730951},"27":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.449489742783178},"30":{"tf":1.4142135623730951},"4":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"6":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}},"r":{"/":{"b":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"12":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"37":{"tf":1.0}}}}}},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"d":{"df":2,"docs":{"21":{"tf":1.0},"54":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"u":{"df":4,"docs":{"17":{"tf":1.4142135623730951},"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"43":{"tf":1.0}}}},"r":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"=":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"23":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"a":{"b":{"df":0,"docs":{},"l":{"df":14,"docs":{"1":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":1.4142135623730951},"14":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.4142135623730951},"43":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"43":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"37":{"tf":1.0}}}}},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"w":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"36":{"tf":1.0},"6":{"tf":1.0}}}},"y":{"df":6,"docs":{"1":{"tf":1.0},"16":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"22":{"tf":1.0},"3":{"tf":1.0}}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":5,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"32":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"58":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"24":{"tf":1.0},"45":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.4142135623730951},"16":{"tf":1.0},"22":{"tf":1.0}}}}}}}},"o":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"34":{"tf":1.4142135623730951}}},"df":0,"docs":{},"k":{"df":2,"docs":{"23":{"tf":1.0},"27":{"tf":1.0}},"f":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":4,"docs":{"22":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}},"x":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":3,"docs":{"2":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.6457513110645907}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"f":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}}},"z":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"a":{"=":{"7":{"7":{"7":{"7":{"7":{"7":{"7":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"breadcrumbs":{"root":{"0":{".":{"2":{".":{"1":{"df":1,"docs":{"56":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"1":{".":{"0":{"df":2,"docs":{"2":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}},"0":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"7":{"0":{"0":{"2":{"0":{"0":{"4":{"6":{"2":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"a":{"df":1,"docs":{"21":{"tf":1.0}}},"df":6,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"2":{"tf":1.7320508075688772},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"2":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"5":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":5,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"3":{"df":4,"docs":{"30":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":1,"docs":{"29":{"tf":1.4142135623730951}}},"7":{"b":{"7":{"8":{"1":{"df":0,"docs":{},"e":{"b":{"6":{"0":{"/":{"df":0,"docs":{},"x":{"8":{"6":{"_":{"6":{"4":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}},"a":{"2":{"7":{"9":{"8":{"df":0,"docs":{},"f":{"2":{"3":{"7":{"a":{"2":{"3":{"9":{"8":{"df":0,"docs":{},"r":{"df":0,"docs":{},"f":{"7":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"b":{"c":{"1":{"2":{"3":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"30":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"v":{"df":1,"docs":{"3":{"tf":1.0}}}}},"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"31":{"tf":1.0},"33":{"tf":1.7320508075688772},"34":{"tf":3.0},"35":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"33":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"y":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}}}}}},"d":{"df":4,"docs":{"18":{"tf":1.0},"29":{"tf":1.0},"31":{"tf":1.0},"56":{"tf":1.0}},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"df":1,"docs":{"23":{"tf":1.4142135623730951}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"g":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":4,"docs":{"30":{"tf":1.4142135623730951},"32":{"tf":1.0},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}}},"i":{"df":0,"docs":{},"m":{"df":3,"docs":{"36":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"m":{"=":{"df":0,"docs":{},"h":{"df":0,"docs":{},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"s":{":":{"/":{"/":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"f":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"j":{"df":1,"docs":{"24":{"tf":1.0}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":8,"docs":{"16":{"tf":1.0},"19":{"tf":1.0},"20":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":1.7320508075688772}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"19":{"tf":1.0}}},"df":0,"docs":{}}}}}},"p":{"df":0,"docs":{},"h":{"a":{".":{"1":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"d":{"df":0,"docs":{},"i":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":3,"docs":{"13":{"tf":1.4142135623730951},"18":{"tf":1.0},"7":{"tf":1.0}}}}}}},"m":{"d":{"6":{"4":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"1":{".":{"2":{"0":{".":{"5":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"n":{"d":{"/":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"3":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"o":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"i":{"_":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"a":{"c":{"df":0,"docs":{},"h":{"df":2,"docs":{"4":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"2":{"tf":1.0}}}},"r":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.0},"29":{"tf":1.0},"34":{"tf":1.0}}}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"33":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}}}}},"v":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"d":{"df":3,"docs":{"16":{"tf":1.0},"21":{"tf":1.0},"3":{"tf":1.0}}},"df":0,"docs":{}}}},"w":{"df":1,"docs":{"21":{"tf":1.0}}}},"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":5,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}},"df":1,"docs":{"23":{"tf":1.0}},"r":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"i":{"c":{"df":3,"docs":{"12":{"tf":1.4142135623730951},"37":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"12":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"23":{"tf":1.7320508075688772}}}}},"h":{"a":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":3,"docs":{"25":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"0":{"tf":1.0}}},"df":0,"docs":{}}}},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":3,"docs":{"2":{"tf":1.0},"27":{"tf":1.0},"39":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":4,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}}}}},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":4,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.4142135623730951}}}},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"u":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"d":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"c":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"25":{"tf":1.0}}}},"r":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{".":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"l":{"df":1,"docs":{"56":{"tf":1.0}}}}}}},"df":4,"docs":{"2":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.4142135623730951},"56":{"tf":1.4142135623730951}}}}},"s":{"df":0,"docs":{},"e":{"df":4,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"35":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"d":{"df":3,"docs":{"33":{"tf":1.0},"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":4,"docs":{"2":{"tf":1.0},"43":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":7,"docs":{"21":{"tf":1.0},"29":{"tf":1.4142135623730951},"31":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"i":{"d":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"k":{"df":5,"docs":{"30":{"tf":1.0},"32":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"31":{"tf":1.4142135623730951}}}}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":2,"docs":{"19":{"tf":1.0},"29":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"53":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"i":{"df":16,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":2.23606797749979},"38":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.0},"26":{"tf":1.0},"9":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":3,"docs":{"41":{"tf":1.0},"51":{"tf":1.0},"57":{"tf":2.0}}}},"u":{"d":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"e":{"df":2,"docs":{"28":{"tf":1.0},"31":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"9":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":5,"docs":{"12":{"tf":1.0},"23":{"tf":1.7320508075688772},"33":{"tf":1.4142135623730951},"43":{"tf":1.7320508075688772},"54":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"36":{"tf":1.0},"7":{"tf":1.0}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":4,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}},"i":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"6":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"i":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{},"t":{"df":2,"docs":{"31":{"tf":1.0},"32":{"tf":1.0}}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}}},"n":{"c":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"2":{"tf":2.0},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"34":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":2.23606797749979}},"u":{"df":0,"docs":{},"r":{"df":20,"docs":{"13":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"19":{"tf":1.0},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"29":{"tf":1.0},"3":{"tf":1.0},"30":{"tf":1.7320508075688772},"35":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.4142135623730951},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"i":{"d":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":4,"docs":{"13":{"tf":1.4142135623730951},"35":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"13":{"tf":1.0},"20":{"tf":1.0},"38":{"tf":1.4142135623730951},"55":{"tf":1.4142135623730951}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":1,"docs":{"13":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.7320508075688772}}}}}}},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"19":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}},"r":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"34":{"tf":1.0}}}},"t":{"df":0,"docs":{},"e":{"df":2,"docs":{"37":{"tf":1.0},"54":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"40":{"tf":1.4142135623730951}}}}},"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"54":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"54":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":13,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.7320508075688772},"21":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"36":{"tf":1.0},"37":{"tf":1.4142135623730951},"4":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"a":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"36":{"tf":1.0}}}}}},"df":1,"docs":{"7":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"41":{"tf":1.0},"42":{"tf":2.449489742783178}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"9":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":4,"docs":{"16":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"34":{"tf":1.0}}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"t":{"a":{"df":8,"docs":{"19":{"tf":1.0},"25":{"tf":1.7320508075688772},"30":{"tf":1.0},"42":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"57":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":3,"docs":{"21":{"tf":1.0},"33":{"tf":1.4142135623730951},"57":{"tf":2.0}}}}},"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}},"df":12,"docs":{"16":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"25":{"tf":1.4142135623730951},"28":{"tf":2.23606797749979},"29":{"tf":1.4142135623730951},"33":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":2.23606797749979},"5":{"tf":1.0},"52":{"tf":2.0},"57":{"tf":2.0},"7":{"tf":1.0}}}}}},"df":2,"docs":{"28":{"tf":1.4142135623730951},"29":{"tf":1.0}},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"47":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":1,"docs":{"20":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"14":{"tf":1.0},"48":{"tf":1.0}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":0,"docs":{},"e":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}}}},"df":0,"docs":{}}}}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":1,"docs":{"12":{"tf":1.4142135623730951}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772}}}},"r":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":4,"docs":{"15":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.0}}}}},"df":0,"docs":{}},"v":{"df":1,"docs":{"2":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":12,"docs":{"26":{"tf":2.0},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0},"8":{"tf":2.23606797749979},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"10":{"tf":1.4142135623730951}}}},"i":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":2,"docs":{"14":{"tf":2.0},"16":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}}},"df":0,"docs":{}}}}}},"o":{"c":{"df":2,"docs":{"26":{"tf":1.0},"46":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"g":{"df":3,"docs":{"13":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}}},"a":{"c":{"df":0,"docs":{},"h":{"df":13,"docs":{"16":{"tf":1.7320508075688772},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"25":{"tf":1.7320508075688772},"27":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0},"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":3,"docs":{"22":{"tf":1.0},"27":{"tf":1.0},"5":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"18":{"tf":1.0}}}}}},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"30":{"tf":1.0},"36":{"tf":1.0}}}}}}}}}},"d":{"df":0,"docs":{},"g":{"df":1,"docs":{"8":{"tf":1.0}}},"i":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.0},"3":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"n":{"a":{"b":{"df":0,"docs":{},"l":{"df":9,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"6":{"tf":1.0}}}},"df":0,"docs":{}},"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"[":{"'":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":5,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"24":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}},"e":{">":{"[":{":":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"]":{"=":{"]":{"<":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":18,"docs":{"16":{"tf":1.4142135623730951},"2":{"tf":1.0},"21":{"tf":2.0},"23":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":3.1622776601683795},"28":{"tf":2.6457513110645907},"29":{"tf":3.0},"37":{"tf":1.7320508075688772},"4":{"tf":1.4142135623730951},"42":{"tf":2.6457513110645907},"43":{"tf":3.0},"5":{"tf":1.4142135623730951},"52":{"tf":4.69041575982343},"53":{"tf":1.4142135623730951},"57":{"tf":4.242640687119285},"7":{"tf":1.7320508075688772},"8":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"47":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"40":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"v":{"df":2,"docs":{"13":{"tf":1.0},"43":{"tf":1.0}},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.7320508075688772},"5":{"tf":1.4142135623730951},"6":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}}}}}}}}},"p":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"q":{"df":1,"docs":{"57":{"tf":1.0}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"/":{"2":{".":{"4":{"8":{".":{"1":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"x":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":2,"docs":{"21":{"tf":1.0},"31":{"tf":1.0}}}}},"s":{"c":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"x":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":12,"docs":{"21":{"tf":2.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"38":{"tf":1.0},"42":{"tf":1.4142135623730951},"46":{"tf":1.4142135623730951},"48":{"tf":1.0},"52":{"tf":1.4142135623730951},"55":{"tf":1.0},"57":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"45":{"tf":1.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":9,"docs":{"0":{"tf":1.4142135623730951},"17":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.4142135623730951},"36":{"tf":1.0},"6":{"tf":1.4142135623730951}}}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":2,"docs":{"23":{"tf":1.0},"3":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"48":{"tf":1.0}}}}},"r":{"a":{"df":1,"docs":{"29":{"tf":1.0}}},"df":0,"docs":{}}}}},"f":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.7320508075688772}},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"l":{"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"17":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}}},"s":{"df":1,"docs":{"14":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":4,"docs":{"17":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"9":{"tf":1.0}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}},"w":{"df":1,"docs":{"28":{"tf":1.0}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"d":{"df":2,"docs":{"19":{"tf":1.4142135623730951},"20":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"e":{"df":12,"docs":{"1":{"tf":1.4142135623730951},"10":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.4142135623730951},"22":{"tf":1.0},"3":{"tf":2.0},"31":{"tf":1.0},"35":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"25":{"tf":1.0}},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":4,"docs":{"25":{"tf":1.0},"30":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":5,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"45":{"tf":1.0}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"9":{"tf":1.0}}}},"g":{"df":1,"docs":{"7":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}},"t":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":1,"docs":{"35":{"tf":1.0}}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"30":{"tf":1.0}},"r":{"df":0,"docs":{},"y":{".":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{".":{"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"n":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":7,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":2.0},"28":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"47":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}}}},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"_":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"35":{"tf":1.0}}}}},"o":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"25":{"tf":1.0}},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"28":{"tf":1.7320508075688772}}}},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}},"n":{"df":3,"docs":{"20":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":5,"docs":{"16":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"21":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"21":{"tf":1.0}}}},"o":{"a":{"df":0,"docs":{},"l":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"5":{"tf":2.0}}}},"df":9,"docs":{"0":{"tf":1.0},"33":{"tf":1.0},"36":{"tf":1.0},"44":{"tf":2.0},"45":{"tf":1.4142135623730951},"46":{"tf":1.0},"47":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"29":{"tf":1.4142135623730951},"42":{"tf":2.449489742783178}}}}}},"l":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"u":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"12":{"tf":1.0}}},"df":0,"docs":{}}}},"h":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"22":{"tf":1.0},"30":{"tf":1.0}},"l":{"df":2,"docs":{"20":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"57":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"p":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":2.449489742783178}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":2,"docs":{"39":{"tf":1.0},"43":{"tf":1.0}},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"d":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"p":{"df":4,"docs":{"30":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.4142135623730951},"43":{"tf":2.6457513110645907}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"26":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"37":{"tf":1.0}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{":":{"/":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"2":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"41":{"tf":1.0}},"s":{":":{"/":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"c":{"a":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"s":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"r":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{".":{"df":0,"docs":{},"r":{"df":1,"docs":{"41":{"tf":1.0}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"i":{"d":{"'":{"df":1,"docs":{"31":{"tf":1.0}}},"df":3,"docs":{"29":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"n":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"19":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"19":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"'":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}}}}},"df":16,"docs":{"0":{"tf":1.7320508075688772},"25":{"tf":1.0},"26":{"tf":1.7320508075688772},"30":{"tf":3.3166247903554},"31":{"tf":2.449489742783178},"32":{"tf":1.0},"33":{"tf":1.4142135623730951},"34":{"tf":1.0},"35":{"tf":1.0},"36":{"tf":2.0},"37":{"tf":1.0},"44":{"tf":1.7320508075688772},"48":{"tf":1.7320508075688772},"54":{"tf":1.7320508075688772},"58":{"tf":1.4142135623730951},"9":{"tf":1.4142135623730951}}}}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"53":{"tf":1.0}}}}}}},"n":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"d":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":5,"docs":{"0":{"tf":1.0},"17":{"tf":1.0},"24":{"tf":1.0},"26":{"tf":2.0},"7":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"23":{"tf":1.0}}}}},"i":{"d":{"df":4,"docs":{"13":{"tf":1.0},"18":{"tf":1.0},"29":{"tf":1.0},"56":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"t":{"a":{"df":0,"docs":{},"l":{"df":14,"docs":{"2":{"tf":2.23606797749979},"33":{"tf":2.0},"38":{"tf":1.0},"39":{"tf":1.7320508075688772},"40":{"tf":2.0},"41":{"tf":2.23606797749979},"45":{"tf":1.4142135623730951},"48":{"tf":1.0},"49":{"tf":1.4142135623730951},"50":{"tf":1.0},"51":{"tf":1.0},"55":{"tf":1.0},"56":{"tf":1.4142135623730951},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"a":{"d":{"df":3,"docs":{"13":{"tf":1.0},"28":{"tf":1.0},"7":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"21":{"tf":2.23606797749979}},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"df":8,"docs":{"0":{"tf":1.4142135623730951},"26":{"tf":1.4142135623730951},"27":{"tf":2.23606797749979},"28":{"tf":1.4142135623730951},"29":{"tf":1.0},"6":{"tf":1.0},"8":{"tf":1.4142135623730951},"9":{"tf":1.0}}}},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"20":{"tf":1.0}}}},"r":{"a":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"f":{"a":{"c":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"43":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}}}}}}}}},"o":{"df":1,"docs":{"8":{"tf":1.0}}},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"25":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"13":{"tf":1.0},"24":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951},"34":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951}}}}},"w":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":3,"docs":{"18":{"tf":1.0},"21":{"tf":2.0},"22":{"tf":1.0}}}}},"l":{"1":{"'":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}},"a":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"a":{"df":0,"docs":{},"g":{"df":12,"docs":{"0":{"tf":1.0},"14":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":2.23606797749979},"31":{"tf":1.0},"32":{"tf":1.0},"36":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772},"7":{"tf":1.4142135623730951},"8":{"tf":1.0},"9":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"g":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"d":{"_":{"b":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"0":{"tf":1.4142135623730951},"30":{"tf":1.0}}}},"v":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"8":{"tf":1.0}}}},"t":{"'":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}},"df":1,"docs":{"29":{"tf":1.7320508075688772}}}},"f":{"df":1,"docs":{"33":{"tf":1.0}}},"i":{"b":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":25,"docs":{"2":{"tf":1.0},"36":{"tf":1.7320508075688772},"37":{"tf":1.0},"38":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.0},"41":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"44":{"tf":1.0},"45":{"tf":1.0},"46":{"tf":1.0},"47":{"tf":1.0},"48":{"tf":1.0},"49":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"54":{"tf":1.4142135623730951},"55":{"tf":1.0},"56":{"tf":1.0},"57":{"tf":1.0},"58":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"s":{"df":0,"docs":{},"l":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":4,"docs":{"28":{"tf":1.0},"3":{"tf":1.0},"43":{"tf":1.0},"54":{"tf":1.0}}},"u":{"df":0,"docs":{},"x":{"df":2,"docs":{"2":{"tf":1.0},"21":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"t":{"df":5,"docs":{"21":{"tf":1.0},"24":{"tf":1.4142135623730951},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"47":{"tf":1.0}},"s":{"/":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"o":{"a":{"d":{"_":{"b":{"a":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":3,"docs":{"28":{"tf":1.0},"34":{"tf":1.0},"43":{"tf":1.0}}},"df":0,"docs":{}},"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"2":{"tf":2.449489742783178}}}}}}}}}},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{":":{"5":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"42":{"tf":1.0},"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"9":{"9":{"9":{"9":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"t":{"df":2,"docs":{"21":{"tf":1.0},"34":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"k":{"df":1,"docs":{"30":{"tf":1.0}}},"s":{"df":1,"docs":{"20":{"tf":1.0}}}},"t":{"df":1,"docs":{"13":{"tf":1.0}}},"w":{"df":1,"docs":{"13":{"tf":1.0}}}},"s":{"df":3,"docs":{"37":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0}}}},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"j":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":3,"docs":{"30":{"tf":1.0},"34":{"tf":1.0},"5":{"tf":1.4142135623730951}}}},"n":{"a":{"df":0,"docs":{},"g":{"df":4,"docs":{"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":4,"docs":{"21":{"tf":1.0},"24":{"tf":1.0},"31":{"tf":1.0},"52":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":3,"docs":{"21":{"tf":1.7320508075688772},"25":{"tf":1.0},"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"x":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"6":{"tf":1.0},"9":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"8":{"tf":1.4142135623730951}}}},"df":0,"docs":{},"s":{"c":{"'":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},".":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"52":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":1,"docs":{"28":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"52":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":3,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"52":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.4142135623730951},"18":{"tf":1.0},"2":{"tf":1.0}}}}}}},":":{":":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"\"":{"5":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{":":{":":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"(":{")":{".":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"(":{"\"":{"5":{"\"":{")":{".":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"w":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}}}}},"df":0,"docs":{}}}}}}}},"{":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"_":{"_":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"2":{"tf":1.0},"40":{"tf":1.0}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"23":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":2,"docs":{"23":{"tf":1.0},"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"14":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{},"v":{"df":1,"docs":{"13":{"tf":2.0}}}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"13":{"tf":1.4142135623730951}},"e":{"=":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"=":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"3":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":3,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}}}}}},"df":59,"docs":{"0":{"tf":3.4641016151377544},"1":{"tf":1.4142135623730951},"10":{"tf":2.8284271247461903},"11":{"tf":2.0},"12":{"tf":2.0},"13":{"tf":2.0},"14":{"tf":2.6457513110645907},"15":{"tf":1.7320508075688772},"16":{"tf":2.0},"17":{"tf":2.0},"18":{"tf":1.7320508075688772},"19":{"tf":1.7320508075688772},"2":{"tf":2.449489742783178},"20":{"tf":1.7320508075688772},"21":{"tf":1.0},"22":{"tf":1.7320508075688772},"23":{"tf":2.449489742783178},"24":{"tf":1.4142135623730951},"25":{"tf":2.6457513110645907},"26":{"tf":2.6457513110645907},"27":{"tf":2.449489742783178},"28":{"tf":2.6457513110645907},"29":{"tf":1.4142135623730951},"3":{"tf":2.0},"30":{"tf":4.0},"31":{"tf":2.0},"32":{"tf":2.23606797749979},"33":{"tf":1.4142135623730951},"34":{"tf":1.4142135623730951},"35":{"tf":2.0},"36":{"tf":2.449489742783178},"37":{"tf":3.1622776601683795},"38":{"tf":1.0},"39":{"tf":1.7320508075688772},"4":{"tf":2.449489742783178},"40":{"tf":1.0},"41":{"tf":1.7320508075688772},"42":{"tf":2.8284271247461903},"43":{"tf":2.449489742783178},"44":{"tf":2.0},"45":{"tf":1.0},"46":{"tf":1.0},"47":{"tf":1.0},"48":{"tf":2.0},"49":{"tf":1.0},"5":{"tf":2.0},"50":{"tf":1.4142135623730951},"51":{"tf":1.4142135623730951},"52":{"tf":1.7320508075688772},"53":{"tf":1.0},"54":{"tf":2.449489742783178},"55":{"tf":1.0},"56":{"tf":1.7320508075688772},"57":{"tf":1.4142135623730951},"58":{"tf":1.7320508075688772},"6":{"tf":3.0},"7":{"tf":2.23606797749979},"8":{"tf":3.3166247903554},"9":{"tf":2.6457513110645907}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.7320508075688772}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"34":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":13,"docs":{"10":{"tf":1.4142135623730951},"16":{"tf":1.4142135623730951},"19":{"tf":2.0},"20":{"tf":2.0},"21":{"tf":2.0},"24":{"tf":1.0},"25":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.7320508075688772},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"7":{"tf":1.0},"8":{"tf":1.0}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":2,"docs":{"21":{"tf":1.0},"6":{"tf":1.0}}},"df":0,"docs":{}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"10":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"o":{"d":{"df":0,"docs":{},"e":{"df":1,"docs":{"33":{"tf":1.4142135623730951}},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"f":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":5,"docs":{"2":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":2.0}}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"12":{"tf":1.0},"30":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"0":{"tf":1.0}}}}}},"u":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"33":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":4,"docs":{"4":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":2.0},"8":{"tf":1.7320508075688772}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"53":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":2.6457513110645907}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":14,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"21":{"tf":2.0},"24":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":2.23606797749979},"30":{"tf":1.0},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":2.23606797749979}},"s":{"df":0,"docs":{},"p":{"a":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"31":{"tf":1.0}}}}}},"df":1,"docs":{"33":{"tf":1.0}},"e":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"d":{"df":3,"docs":{"22":{"tf":1.0},"33":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}},"e":{">":{"=":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":10,"docs":{"16":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":1.0},"29":{"tf":1.7320508075688772},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.7320508075688772},"57":{"tf":2.0},"8":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}},"w":{"df":6,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"26":{"tf":1.0},"28":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0}}}},"o":{"d":{"df":0,"docs":{},"e":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"n":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":6,"docs":{"25":{"tf":2.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.0},"52":{"tf":2.449489742783178},"53":{"tf":1.7320508075688772},"57":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"m":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"o":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"30":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}},"n":{"b":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"c":{"df":1,"docs":{"9":{"tf":1.0}}},"df":7,"docs":{"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"33":{"tf":1.0},"39":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"27":{"tf":1.0},"28":{"tf":1.0},"6":{"tf":2.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}},"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.6457513110645907}}}}}}}}}},"df":7,"docs":{"17":{"tf":1.4142135623730951},"19":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"39":{"tf":1.0},"43":{"tf":1.0}}}}}}},"s":{".":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"(":{"'":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}}},"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"34":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"13":{"tf":1.0}},"r":{"df":0,"docs":{},"i":{"d":{"df":6,"docs":{"10":{"tf":1.4142135623730951},"15":{"tf":2.0},"16":{"tf":1.0},"22":{"tf":2.6457513110645907},"23":{"tf":2.0},"24":{"tf":2.23606797749979}}},"df":0,"docs":{}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":10,"docs":{"0":{"tf":1.7320508075688772},"1":{"tf":1.0},"2":{"tf":1.0},"3":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}}}}}}}},"p":{"a":{"c":{"df":0,"docs":{},"k":{"a":{"df":0,"docs":{},"g":{"df":2,"docs":{"35":{"tf":1.0},"47":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":1.7320508075688772}}}},"r":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"s":{"df":3,"docs":{"29":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.0}},"i":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"q":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":3,"docs":{"43":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"s":{"df":2,"docs":{"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"h":{"df":6,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.0}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}}}}},"d":{"b":{"df":1,"docs":{"33":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"46":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":1,"docs":{"21":{"tf":1.0}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":3,"docs":{"37":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951}}}},"p":{"df":3,"docs":{"33":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0}}}},"k":{"df":0,"docs":{},"g":{"df":1,"docs":{"2":{"tf":1.0}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"y":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"e":{"d":{"df":1,"docs":{"13":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"23":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":2,"docs":{"5":{"tf":1.0},"7":{"tf":1.0}},"s":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"34":{"tf":2.0},"37":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":3.1622776601683795}}}},"v":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"o":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":11,"docs":{"10":{"tf":1.0},"16":{"tf":2.23606797749979},"17":{"tf":2.449489742783178},"18":{"tf":2.6457513110645907},"2":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.4142135623730951},"3":{"tf":1.0},"43":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":1.7320508075688772}},"e":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}}}}}},"df":2,"docs":{"25":{"tf":1.4142135623730951},"28":{"tf":1.0}}}}}},"df":0,"docs":{}},">":{".":{"<":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{">":{"[":{".":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"b":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"]":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"m":{"df":4,"docs":{"0":{"tf":1.0},"23":{"tf":1.0},"30":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":2,"docs":{"45":{"tf":1.7320508075688772},"56":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"f":{"df":1,"docs":{"20":{"tf":1.0}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"39":{"tf":1.0}}}}}}},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"41":{"tf":1.0}}}},"v":{"df":0,"docs":{},"i":{"d":{"df":8,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}}},"df":0,"docs":{}}}}},"u":{"b":{"df":1,"docs":{"57":{"tf":4.47213595499958}}},"df":0,"docs":{}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":2,"docs":{"35":{"tf":1.0},"50":{"tf":1.4142135623730951}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"33":{"tf":3.0},"35":{"tf":1.0}}}}},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":12,"docs":{"0":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"43":{"tf":1.4142135623730951},"48":{"tf":2.0},"49":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"9":{"tf":1.0}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":5,"docs":{"14":{"tf":1.0},"17":{"tf":1.4142135623730951},"25":{"tf":2.23606797749979},"34":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}},"i":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"22":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}},"l":{"df":0,"docs":{},"i":{"df":4,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"22":{"tf":1.0},"42":{"tf":1.0}}}},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":5,"docs":{"0":{"tf":1.0},"1":{"tf":1.7320508075688772},"12":{"tf":1.4142135623730951},"2":{"tf":1.0},"3":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"_":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}}}}}},"df":1,"docs":{"29":{"tf":2.6457513110645907}},"e":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}},"d":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}},"df":4,"docs":{"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"57":{"tf":1.0},"9":{"tf":1.0}},"m":{"df":1,"docs":{"26":{"tf":1.0}}}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":9,"docs":{"26":{"tf":1.0},"38":{"tf":1.0},"43":{"tf":1.4142135623730951},"44":{"tf":1.0},"47":{"tf":1.7320508075688772},"48":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"54":{"tf":1.0},"55":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"l":{"a":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.4142135623730951},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"17":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"26":{"tf":1.0},"31":{"tf":1.0}}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":10,"docs":{"26":{"tf":1.7320508075688772},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"23":{"tf":1.0}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"<":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"v":{"df":0,"docs":{},"e":{"c":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"34":{"tf":1.4142135623730951}}}}}},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"v":{"0":{".":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":4,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.4142135623730951}}}}}},"v":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"o":{"a":{"d":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"9":{"tf":1.7320508075688772}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"7":{"tf":1.0}}}}}}},"p":{"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":11,"docs":{"19":{"tf":1.0},"21":{"tf":1.7320508075688772},"23":{"tf":1.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.7320508075688772},"37":{"tf":1.0},"4":{"tf":1.7320508075688772},"42":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.0}}},"df":1,"docs":{"21":{"tf":1.0}}},"u":{"df":0,"docs":{},"n":{"df":7,"docs":{"2":{"tf":1.0},"26":{"tf":1.0},"3":{"tf":1.0},"31":{"tf":1.0},"33":{"tf":2.6457513110645907},"34":{"tf":1.0},"39":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"/":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"41":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":11,"docs":{"0":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.0},"41":{"tf":1.0},"43":{"tf":1.4142135623730951},"54":{"tf":2.23606797749979},"55":{"tf":1.0},"56":{"tf":1.0},"57":{"tf":1.0},"9":{"tf":1.0}}}}}},"s":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}},"t":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"e":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"8":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"23":{"tf":2.0},"31":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"15":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":7,"docs":{"0":{"tf":2.449489742783178},"10":{"tf":2.0},"15":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":2.0},"36":{"tf":1.0},"54":{"tf":1.0}}},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"13":{"tf":1.0},"29":{"tf":1.7320508075688772},"33":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":2.0}}}},"df":0,"docs":{}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"c":{"df":2,"docs":{"52":{"tf":1.0},"53":{"tf":1.0}},"e":{"[":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"r":{"d":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{":":{":":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"57":{"tf":2.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":17,"docs":{"1":{"tf":1.0},"10":{"tf":1.7320508075688772},"11":{"tf":1.7320508075688772},"12":{"tf":2.0},"13":{"tf":2.23606797749979},"14":{"tf":1.4142135623730951},"15":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.4142135623730951},"23":{"tf":1.0},"25":{"tf":1.4142135623730951},"28":{"tf":2.0},"3":{"tf":1.7320508075688772},"30":{"tf":1.0},"32":{"tf":1.0},"43":{"tf":1.7320508075688772},"6":{"tf":1.0}},"u":{"df":0,"docs":{},"p":{"df":9,"docs":{"10":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":1.4142135623730951},"18":{"tf":1.0},"2":{"tf":1.0},"3":{"tf":1.4142135623730951},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.0}}}}}},"h":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":4,"docs":{"4":{"tf":1.4142135623730951},"5":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}}},"df":1,"docs":{"41":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":3,"docs":{"12":{"tf":1.0},"23":{"tf":1.0},"3":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"w":{"df":1,"docs":{"43":{"tf":1.0}},"n":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"47":{"tf":1.0}}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"29":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"12":{"tf":1.0}}}}},"i":{"df":3,"docs":{"13":{"tf":1.0},"34":{"tf":1.0},"6":{"tf":1.0}}}}}},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"l":{"df":5,"docs":{"34":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"13":{"tf":1.0},"23":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"n":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}},"u":{"df":0,"docs":{},"r":{"c":{"df":6,"docs":{"41":{"tf":1.4142135623730951},"43":{"tf":1.0},"5":{"tf":1.0},"51":{"tf":1.4142135623730951},"7":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}}},"p":{"a":{"c":{"df":0,"docs":{},"e":{"df":2,"docs":{"21":{"tf":1.0},"24":{"tf":2.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":13,"docs":{"2":{"tf":1.0},"20":{"tf":1.0},"22":{"tf":1.0},"26":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":1.4142135623730951},"9":{"tf":1.4142135623730951}},"i":{"df":5,"docs":{"17":{"tf":1.7320508075688772},"20":{"tf":1.0},"3":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"f":{"df":1,"docs":{"41":{"tf":1.0}}},"l":{"df":1,"docs":{"2":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"d":{"df":7,"docs":{"31":{"tf":1.0},"4":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"0":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"12":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}}}},"d":{":":{":":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{":":{":":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":2,"docs":{"29":{"tf":1.0},"8":{"tf":1.0}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"19":{"tf":1.0},"8":{"tf":1.0}}}}},"r":{"df":4,"docs":{"21":{"tf":3.1622776601683795},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"53":{"tf":3.1622776601683795}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":2.6457513110645907}}}}},"u":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.0}},"u":{"df":0,"docs":{},"r":{"df":2,"docs":{"2":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"u":{"b":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"18":{"tf":1.0},"37":{"tf":1.7320508075688772}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}},"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"2":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"30":{"tf":1.7320508075688772},"31":{"tf":1.0}}}}},"y":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"x":{"df":3,"docs":{"22":{"tf":1.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":4,"docs":{"13":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":0,"docs":{},"e":{"df":2,"docs":{"13":{"tf":1.0},"34":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"t":{"df":3,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"12":{"tf":1.0},"43":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":9,"docs":{"13":{"tf":1.0},"26":{"tf":1.4142135623730951},"30":{"tf":1.7320508075688772},"31":{"tf":1.4142135623730951},"32":{"tf":2.0},"33":{"tf":3.0},"34":{"tf":1.4142135623730951},"35":{"tf":2.0},"8":{"tf":1.4142135623730951}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}}}}},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.0},"8":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"8":{"tf":1.0}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}}}}}},"l":{"df":0,"docs":{},"s":{"df":0,"docs":{},"v":{"1":{".":{"2":{"df":1,"docs":{"41":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"46":{"tf":1.0}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"'":{"df":1,"docs":{"8":{"tf":1.0}}},"df":24,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"3":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"54":{"tf":1.0},"57":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":2.0},"8":{"tf":3.3166247903554}}}},"p":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"c":{"df":0,"docs":{},"e":{"_":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":1,"docs":{"10":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}},"u":{"df":0,"docs":{},"e":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}}}},"w":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"k":{"df":1,"docs":{"23":{"tf":1.0}}}},"df":0,"docs":{}},"o":{"df":2,"docs":{"2":{"tf":1.0},"5":{"tf":1.0}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":9,"docs":{"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.7320508075688772}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"0":{"tf":1.0},"36":{"tf":1.0},"58":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"i":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}}}},"u":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"2":{"tf":1.0}}}}}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"20":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"37":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}},"k":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"p":{"df":8,"docs":{"10":{"tf":1.4142135623730951},"11":{"tf":1.7320508075688772},"12":{"tf":1.0},"13":{"tf":1.0},"14":{"tf":1.0},"15":{"tf":1.0},"18":{"tf":1.4142135623730951},"43":{"tf":1.0}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"34":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"l":{"'":{"df":2,"docs":{"21":{"tf":1.0},"42":{"tf":1.0}}},"df":11,"docs":{"2":{"tf":1.0},"21":{"tf":1.0},"23":{"tf":2.0},"24":{"tf":1.0},"29":{"tf":1.4142135623730951},"37":{"tf":1.4142135623730951},"42":{"tf":2.23606797749979},"43":{"tf":1.4142135623730951},"53":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.0}}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"35":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":10,"docs":{"23":{"tf":1.4142135623730951},"33":{"tf":1.4142135623730951},"38":{"tf":1.0},"42":{"tf":1.4142135623730951},"43":{"tf":1.0},"46":{"tf":1.4142135623730951},"48":{"tf":1.0},"52":{"tf":1.4142135623730951},"55":{"tf":1.0},"57":{"tf":1.4142135623730951}}}},"df":33,"docs":{"1":{"tf":1.0},"10":{"tf":2.23606797749979},"11":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.4142135623730951},"14":{"tf":1.0},"15":{"tf":1.4142135623730951},"16":{"tf":1.4142135623730951},"17":{"tf":1.7320508075688772},"18":{"tf":1.7320508075688772},"19":{"tf":1.4142135623730951},"2":{"tf":1.4142135623730951},"20":{"tf":1.4142135623730951},"21":{"tf":1.4142135623730951},"22":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"24":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":2.0},"29":{"tf":2.6457513110645907},"30":{"tf":2.449489742783178},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.0},"39":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"45":{"tf":1.0},"5":{"tf":1.7320508075688772},"57":{"tf":1.4142135623730951},"7":{"tf":2.23606797749979},"8":{"tf":1.7320508075688772}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":10,"docs":{"25":{"tf":1.4142135623730951},"27":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.6457513110645907},"30":{"tf":1.4142135623730951},"4":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"6":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}},"r":{"/":{"b":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"12":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"37":{"tf":1.0}}}}}},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"d":{"df":2,"docs":{"21":{"tf":1.0},"54":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"u":{"df":4,"docs":{"17":{"tf":1.4142135623730951},"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"43":{"tf":1.0}}}},"r":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"=":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"23":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"a":{"b":{"df":0,"docs":{},"l":{"df":14,"docs":{"1":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":1.4142135623730951},"14":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"43":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"37":{"tf":1.0}}}}},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"w":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"36":{"tf":1.0},"6":{"tf":1.0}}}},"y":{"df":6,"docs":{"1":{"tf":1.0},"16":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"22":{"tf":1.0},"3":{"tf":1.0}}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":5,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"32":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"58":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"24":{"tf":1.0},"45":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.7320508075688772},"16":{"tf":1.0},"22":{"tf":1.0}}}}}}}},"o":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"34":{"tf":1.4142135623730951}}},"df":0,"docs":{},"k":{"df":2,"docs":{"23":{"tf":1.0},"27":{"tf":1.0}},"f":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":2,"docs":{"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951}}}}}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":4,"docs":{"22":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}},"x":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":3,"docs":{"2":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.6457513110645907}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"f":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}}},"z":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"a":{"=":{"7":{"7":{"7":{"7":{"7":{"7":{"7":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"title":{"root":{"a":{"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"34":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"b":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"12":{"tf":1.0}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"k":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"31":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"37":{"tf":1.0}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":1,"docs":{"2":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"38":{"tf":1.0},"55":{"tf":1.0}}}}}}}},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"40":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}},"df":0,"docs":{}}}},"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"28":{"tf":1.0}}}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":1,"docs":{"5":{"tf":1.0}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":2,"docs":{"26":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"14":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}}}},"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}},"x":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":6,"docs":{"21":{"tf":1.0},"23":{"tf":1.0},"42":{"tf":1.0},"46":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{}}},"f":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"17":{"tf":1.0}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"d":{"df":1,"docs":{"20":{"tf":1.0}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"e":{"df":2,"docs":{"2":{"tf":1.0},"35":{"tf":1.0}}}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"28":{"tf":1.0}}}},"o":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"5":{"tf":1.0}}}},"df":1,"docs":{"44":{"tf":1.0}}}},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":6,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"58":{"tf":1.0}}}}}}}}}},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"l":{"df":6,"docs":{"39":{"tf":1.0},"40":{"tf":1.0},"41":{"tf":1.0},"45":{"tf":1.0},"49":{"tf":1.0},"56":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"df":2,"docs":{"27":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}},"i":{"b":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"36":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"13":{"tf":1.0}}}}}}},"df":18,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"11":{"tf":1.0},"14":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":1.0},"32":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"58":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":2,"docs":{"19":{"tf":1.0},"20":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"6":{"tf":1.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"17":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"d":{"df":3,"docs":{"15":{"tf":1.0},"22":{"tf":1.0},"24":{"tf":1.0}}},"df":0,"docs":{}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"0":{"tf":1.0}}}}}}}}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":3,"docs":{"16":{"tf":1.0},"17":{"tf":1.0},"18":{"tf":1.0}}}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"50":{"tf":1.0}}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"48":{"tf":1.0}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}}}},"i":{"c":{"df":0,"docs":{},"k":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":3,"docs":{"43":{"tf":1.0},"47":{"tf":1.0},"53":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}}}},"o":{"a":{"d":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"9":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"p":{"c":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}},"df":0,"docs":{}},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"54":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":3,"docs":{"11":{"tf":1.0},"18":{"tf":1.0},"3":{"tf":1.0}},"u":{"df":0,"docs":{},"p":{"df":2,"docs":{"12":{"tf":1.0},"13":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"32":{"tf":1.0}}}}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"8":{"tf":1.0}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"58":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}}},"u":{"df":0,"docs":{},"p":{"df":2,"docs":{"11":{"tf":1.0},"18":{"tf":1.0}}},"s":{"a":{"df":0,"docs":{},"g":{"df":6,"docs":{"23":{"tf":1.0},"33":{"tf":1.0},"42":{"tf":1.0},"46":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}},"df":1,"docs":{"10":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"29":{"tf":1.0}}}}}},"v":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"w":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"df":0,"docs":{},"f":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}}}}}}}}},"lang":"English","pipeline":["trimmer","stopWordFilter","stemmer"],"ref":"id","version":"0.9.5"},"results_options":{"limit_results":30,"teaser_word_count":30},"search_options":{"bool":"OR","expand":true,"fields":{"body":{"boost":1},"breadcrumbs":{"boost":1},"title":{"boost":2}}}}); \ No newline at end of file diff --git a/searchindex.json b/searchindex.json new file mode 100644 index 0000000..4d93e9d --- /dev/null +++ b/searchindex.json @@ -0,0 +1 @@ +{"doc_urls":["mesc_overview.html#mesc-overview","quickstart.html#quickstart","quickstart.html#creating-a-config-file","quickstart.html#setting-environment-variables","what_is_mesc.html#what-is-mesc","what_is_mesc.html#design-goals","what_is_mesc.html#mesc-is-opt-in","why_mesc.html#why-mesc","why_mesc.html#as-a-developer-why-should-i-integrate-mesc-into-my-tools","roadmap.html#roadmap","using_mesc.html#using-mesc","setup.html#setting-up-mesc","setup.html#basic-setup","setup.html#alternative-setup-without-a-mescjson","setup.html#disabling-mesc","setup.html#overrides","profiles.html#profiles","profiles.html#profiles-are-an-optional-feature","profiles.html#setting-up-a-profile","metadata.html#metadata","metadata.html#metadata-fields","metadata.html#examples","overrides.html#overrides","overrides.html#example-usage","overrides.html#list-of-overrides","queries.html#querying-mesc-data","developer_resources.html#developer-resources","integrating_mesc.html#integrating-mesc","integrating_mesc.html#workflow-for-getting-the-default-rpc-endpoint","integrating_mesc.html#workflow-for-letting-users-select-an-rpc-endpoint","implementing_mesc.html#implementing-mesc","implementing_mesc.html#implementation-checklist","mesc_tests.html#mesc-tests","mesc_tests.html#usage","mesc_tests.html#adapters","mesc_tests.html#files","libraries.html#mesc-libraries","cli.html#mesc-cli","cli.html#contents","cli.html#installation","cli.html#install-from-cratesio","cli.html#install-from-source","cli.html#example-usage","cli.html#reference","go.html#go-mesc-implementation","go.html#installation","go.html#example-usage","go.html#reference","python.html#python-mesc-implementation","python.html#installation","python.html#from-pypi","python.html#from-source","python.html#example-usage","python.html#reference","rust.html#rust-mesc-implementation","rust.html#contents","rust.html#installation","rust.html#example-usage","typescript.html#typescript-mesc-implementation"],"index":{"documentStore":{"docInfo":{"0":{"body":39,"breadcrumbs":4,"title":2},"1":{"body":14,"breadcrumbs":4,"title":1},"10":{"body":31,"breadcrumbs":4,"title":2},"11":{"body":0,"breadcrumbs":8,"title":3},"12":{"body":43,"breadcrumbs":7,"title":2},"13":{"body":50,"breadcrumbs":9,"title":4},"14":{"body":22,"breadcrumbs":7,"title":2},"15":{"body":9,"breadcrumbs":6,"title":1},"16":{"body":31,"breadcrumbs":4,"title":1},"17":{"body":23,"breadcrumbs":6,"title":3},"18":{"body":33,"breadcrumbs":6,"title":3},"19":{"body":21,"breadcrumbs":4,"title":1},"2":{"body":75,"breadcrumbs":6,"title":3},"20":{"body":20,"breadcrumbs":5,"title":2},"21":{"body":177,"breadcrumbs":4,"title":1},"22":{"body":27,"breadcrumbs":4,"title":1},"23":{"body":62,"breadcrumbs":5,"title":2},"24":{"body":57,"breadcrumbs":5,"title":2},"25":{"body":86,"breadcrumbs":6,"title":3},"26":{"body":36,"breadcrumbs":4,"title":2},"27":{"body":29,"breadcrumbs":6,"title":2},"28":{"body":73,"breadcrumbs":9,"title":5},"29":{"body":94,"breadcrumbs":10,"title":6},"3":{"body":38,"breadcrumbs":6,"title":3},"30":{"body":133,"breadcrumbs":6,"title":2},"31":{"body":45,"breadcrumbs":6,"title":2},"32":{"body":13,"breadcrumbs":6,"title":2},"33":{"body":67,"breadcrumbs":5,"title":1},"34":{"body":46,"breadcrumbs":5,"title":1},"35":{"body":23,"breadcrumbs":5,"title":1},"36":{"body":24,"breadcrumbs":4,"title":2},"37":{"body":45,"breadcrumbs":5,"title":2},"38":{"body":4,"breadcrumbs":4,"title":1},"39":{"body":13,"breadcrumbs":4,"title":1},"4":{"body":21,"breadcrumbs":4,"title":1},"40":{"body":9,"breadcrumbs":5,"title":2},"41":{"body":21,"breadcrumbs":5,"title":2},"42":{"body":61,"breadcrumbs":5,"title":2},"43":{"body":118,"breadcrumbs":4,"title":1},"44":{"body":5,"breadcrumbs":6,"title":3},"45":{"body":11,"breadcrumbs":4,"title":1},"46":{"body":3,"breadcrumbs":5,"title":2},"47":{"body":12,"breadcrumbs":4,"title":1},"48":{"body":11,"breadcrumbs":6,"title":3},"49":{"body":0,"breadcrumbs":4,"title":1},"5":{"body":67,"breadcrumbs":5,"title":2},"50":{"body":3,"breadcrumbs":4,"title":1},"51":{"body":7,"breadcrumbs":4,"title":1},"52":{"body":86,"breadcrumbs":5,"title":2},"53":{"body":48,"breadcrumbs":4,"title":1},"54":{"body":27,"breadcrumbs":6,"title":3},"55":{"body":4,"breadcrumbs":4,"title":1},"56":{"body":10,"breadcrumbs":4,"title":1},"57":{"body":190,"breadcrumbs":5,"title":2},"58":{"body":1,"breadcrumbs":6,"title":3},"6":{"body":29,"breadcrumbs":5,"title":2},"7":{"body":97,"breadcrumbs":4,"title":1},"8":{"body":110,"breadcrumbs":7,"title":4},"9":{"body":53,"breadcrumbs":4,"title":1}},"docs":{"0":{"body":"To get started quickly , see Quickstart . To learn what MESC is , see What is MESC? . To learn the motivation behind MESC, see Why MESC? . To integrate MESC into an existing tool, see Integrating MESC . To implement MESC in a new programming language, see Implementing MESC . For information about existing MESC implementations, see: CLI Go Python Rust TypeScript","breadcrumbs":"MESC Overview » MESC Overview","id":"0","title":"MESC Overview"},"1":{"body":"The quickest way to use MESC is create a mesc.json config file set the MESC_PATH environment variable to the path of this file","breadcrumbs":"MESC Overview » Quickstart » Quickstart","id":"1","title":"Quickstart"},"10":{"body":"To set MESC up, see Setup up MESC To use different MESC settings for different tools, see Profiles To use MESC for tracking miscellaneous metadata, see Metadata To quickly override MESC settings without editing files, see Overrides","breadcrumbs":"Using MESC » Using MESC","id":"10","title":"Using MESC"},"11":{"body":"","breadcrumbs":"Using MESC » Setting up MESC » Setting up MESC","id":"11","title":"Setting up MESC"},"12":{"body":"MESC becomes enabled by setting one or more environment variables. In the simplest case, only one variable necessary: MESC_PATH is set to the path of a mesc.json config file. As described in the quickstart , the mesc.json file is usually created using either 1) the interactive mesc setup command, or 2) copying from a starter template. The quickstart guide also describes how to set environment variables in your terminal shell.","breadcrumbs":"Using MESC » Setting up MESC » Basic setup","id":"12","title":"Basic setup"},"13":{"body":"Sometimes it is convenient to configure a system without editing any files (e.g. inside a container, or when creating lots of unit tests, or in a low-privilege environment). This can be accomplished with MESC by setting the MESC_ENV variable instead of the MESC_PATH variable. MESC_ENV should simply contain the JSON content of a MESC configuration. If both MESC_PATH and MESC_ENV are set, you can select which one to use by setting MESC_MODE to either PATH or ENV. MESC_PATH takes precedence over MESC_ENV if MESC_MODE is not set.","breadcrumbs":"Using MESC » Setting up MESC » Alternative setup without a mesc.json","id":"13","title":"Alternative setup without a mesc.json"},"14":{"body":"MESC can be disabled by either 1) unsetting all MESC_* variables, or 2) setting MESC_MODE=DISABLED. If MESC is disabled, the is_mesc_disabled() function will return false and all MESC querying functions will return an error (depending on language).","breadcrumbs":"Using MESC » Setting up MESC » Disabling MESC","id":"14","title":"Disabling MESC"},"15":{"body":"MESC also uses environment variables for overrides. See the overrides section for details.","breadcrumbs":"Using MESC » Setting up MESC » Overrides","id":"15","title":"Overrides"},"16":{"body":"Profiles are a way for each tool to customize its own MESC settings. Profiles allow each tool to: set its own default endpoint set its own default endpoints for each network override global metadata with its own metadata avoid using MESC for that tool without disabling MESC globally","breadcrumbs":"Using MESC » Profiles » Profiles","id":"16","title":"Profiles"},"17":{"body":"If a MESC query does not specify a profile, the global configuration values are used. If a MESC query specifies a profile, but that profile does not exist or does not specify the relevant information, MESC will fallback to using global configuration values.","breadcrumbs":"Using MESC » Profiles » Profiles are an optional feature","id":"17","title":"Profiles are an optional feature"},"18":{"body":"The easiest way to create a profile is by using the interactive mesc cli tool, using the mesc setup subcommand. Alternatively, you can manually add a new Profile to the profiles key inside your mesc.json. The following is a template Profile: { \"name\": \"PROFILE_NAME\", \"default_endpoint\": null, \"network_defaults\": {}, \"profile_metadata\": {}, \"use_mesc\": true\n}","breadcrumbs":"Using MESC » Profiles » Setting up a profile","id":"18","title":"Setting up a profile"},"19":{"body":"In a MESC configuration, the global_metadata, profile_metadata, and endpoint_metadata fields allow for optional or idiosyncratic metadata to be stored alongside the core RPC data. Tools using MESC can choose to ignore these fields.","breadcrumbs":"Using MESC » Metadata » Metadata","id":"19","title":"Metadata"},"2":{"body":"You can create a mesc.json by one of two ways: use the interactive MESC cli tool (install using cargo install mesc_cli and run mesc setup) modify the template below: { \"mesc_version\": \"MESC 1.0\", \"default_endpoint\": \"local_ethereum\", \"network_defaults\": { \"1\": \"local_ethereum\" }, \"network_names\": {}, \"endpoints\": { \"local_ethereum\": { \"name\": \"local_ethereum\", \"url\": \"http://localhost:8545\", \"chain_id\": \"1\", \"endpoint_metadata\": {} } }, \"profiles\": { \"xyz\": { \"name\": \"xyz\", \"default_endpoint\": \"local_ethereum\", \"network_defaults\": { \"1\": \"local_ethereum\" }, \"profile_metadata\": {}, \"use_mesc\": true } }, \"global_metadata\": {}\n} The structure of the config must follow the MESC specification . Installing the mesc cli on some linux distributions may require installing ssl libraries (e.g. sudo apt-get install pkg-config libssl-dev on ubunutu)","breadcrumbs":"MESC Overview » Quickstart » Creating a config file","id":"2","title":"Creating a config file"},"20":{"body":"Contents of MESC metadata is only loosely specified. This is intentional to allow for some degree of future-proofing. It enables MESC to handle use-cases that are either unanticipated or highly-specific to a given tool.","breadcrumbs":"Using MESC » Metadata » Metadata fields","id":"20","title":"Metadata fields"},"21":{"body":"Endpoint metadata key value type description examples rate_limit_rps int or float ratelimit in requests per second 250 rate_limit_cups int or float ratelimit in CUPS 1000 rate_limit_per_method Mapping[str, int or float] ratelimit in RPS for each method {\"trace_block\": 200} api_key str api key a2798f237a2398rf7 jwt_secret str jwt secret host str name of provider host \"llamanodes\", \"alchemy\", \"quicknode\", \"localhost\" ecosystem str ecosystem of chain, (e.g. relates mainnets to testnets) \"ethereum\", \"polygon\" node_client str versioned node client erigon/2.48.1/linux-amd64/go1.20.5 reth/v0.1.0-alpha.10-7b781eb60/x86_64-unknown-linux-gnu namespaces Sequence[str] RPC name spaces enabled for endpoint [\"eth\", \"trace, \"debug\"] explorer str block explorer url https://etherscan.io location str geographic region Paris, France cloud_region str cloud provider region aws-us-east-1a labels Sequence[str] tags private_mempool, cache, archive, consensus_layer, execution_layer, validator, ephemeral Global Metadata and Profile Metadata key value type description examples last_modified_by str versioned tool used to create configuration mesc__1.0 last_modified_time int timestamp of config modification 1700200462 creation_time int timestamp of config creation 1700200462 api_keys Mapping[str, str] API keys to RPC-related services {\"etherscan\": \"abc123\"} groups Mapping[str, Sequence[str]] groupings of endpoints, mapping of group name to list of endpoint names {\"load_balancer\": [\"alchemy_optimism\", \"quicknode_optimism\"]} conceal bool whether tool should avoid casually revealing private RPC url's unprompted true","breadcrumbs":"Using MESC » Metadata » Examples","id":"21","title":"Examples"},"22":{"body":"Overrides are a way to quickly modify a MESC configuration without needing to modify any files. Each override is an environment variable that overrides a specific MESC configuration key. Each override uses a syntax that is quick and easy to write by hand.","breadcrumbs":"Using MESC » Overrides » Overrides","id":"22","title":"Overrides"},"23":{"body":"The MESC_DEFAULT_ENDPOINT override changes the default endpoint. Use in a script Sometimes it might be useful tweak a MESC config for a shell script. This can be achieved by inserting the MESC overrides into the script: #!/usr/bin/env bash export MESC_DEFAULT_ENDPOINT=local_goerli # ...rest of script that does RPC things Prepending syntax Adding VAR_NAME=VAR_VALUE before a cli command will set an environment variable for just that command. So if before the default url is this: mesc url\n> https://eth.llamarpc.com Adding the override before the command will change the default url: MESC_DEFAULT_ENDPOINT=local_goerli mesc url\n> localhost:8545 This syntax works for any cli program, not just the mesc cli tool.","breadcrumbs":"Using MESC » Overrides » Example usage","id":"23","title":"Example usage"},"24":{"body":"Every type of information within a MESC configuration can be modified using overrides: override variable value syntax example MESC_DEFAULT_ENDPOINT url, endpoint name, or network name localhost:9999 MESC_NETWORK_DEFAULTS space-separated pairs of = 5=alchemy_optimism 1=local_mainnet MESC_NETWORK_NAMES space-separated pairs of = zora=7777777 MESC_ENDPOINTS space-separated items of [[:]=] alchemy_optimism=https://alchemy.com/fjsj local_goerli:5=localhost:8545 MESC_PROFILES space-separated pairs of .[. foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism MESC_GLOBAL_METADATA JSON formatted global metadata {} MESC_ENDPOINT_METADATA JSON mapping of {\"endpoint_name\": {}} {}","breadcrumbs":"Using MESC » Overrides » List of overrides","id":"24","title":"List of overrides"},"25":{"body":"Each MESC implementation provides the same set of 7 functions for querying MESC data. The behavior of these functions is the same across languages. function output type description example call is_mesc_enabled() bool return whether MESC is enabled is_mesc_enabled() get_default_endpoint() Endpoint or None get default MESC endpoint get_default_endpoint(profile='xyz') get_endpoint_by_network() Endpoint or None get default endpoint for network get_endpoint_by_network(5, profile='xyz') get_endpoint_by_name() Endpoint or None get endpoint by name get_endpoint_by_name('local_goerli') get_endpoint_by_query() Endpoint or None get endpoint for user input query get_endpoint_by_query(user_str, profile='xyz') find_endpoints() Sequence[Endpoint] find endpoint that match input criteria find_endpoints(chain_id=5) get_global_metadata() Mapping[str, Any] get non-endpoint metadata get_global_metadata(profile='xyz') The profile argument is optional for each function (it allows users to customize the settings for each tool, see Profiles for details).","breadcrumbs":"Using MESC » Queries » Querying MESC data","id":"25","title":"Querying MESC data"},"26":{"body":"The MESC specification and its reference implementations are developed in the github repository . For information about integrating MESC into an existing tool, see Integrating MESC . For information about implementing a new MESC client, see Implementing MESC . For information about running MESC tests, see MESC Test README . For information about building these docs, see here .","breadcrumbs":"Developer Resources » Developer Resources","id":"26","title":"Developer Resources"},"27":{"body":"MESC is designed to be easy to integrate into any existing tool in a backward-compatible manner. MESC integration patterns can be designed so that they only affect users that have opted-in to MESC, while leaving other users unaffected. Examples below are shown in python but work nearly identically for each language.","breadcrumbs":"Developer Resources » Integrating MESC » Integrating MESC","id":"27","title":"Integrating MESC"},"28":{"body":"Let's say that an existing tool named xyz currently gets its default RPC endpoint from an environment variable ETH_RPC_URL like so: def get_default_rpc_url() -> str | None: return os.environ.get('ETH_RPC_URL') MESC can be integrated using a few lines of code: import mesc def get_default_rpc_url() -> str | None: if mesc.is_mesc_enabled(): endpoint = mesc.get_default_endpoint(profile='xyz') if endpoint is not None: return endpoint['url'] return os.environ.get('ETH_RPC_URL') This new function loads the MESC default endpoint for users that have opted-in to MESC. But it falls back to using ETH_RPC_URL if MESC is not enabled or MESC does not have a default endpoint set. Using profile='xyz' is optional, but it allows users to set custom settings for the xyz tool instead of using the global settings.","breadcrumbs":"Developer Resources » Integrating MESC » Workflow for getting the default RPC endpoint","id":"28","title":"Workflow for getting the default RPC endpoint"},"29":{"body":"Let's say that an existing tool named xyz currently lets users choose an RPC endpoint using an -r input argument. Users might use the tool in a similar manner to xyz -r https://eth.llamarpc.com or xyz -r localhost:8545. If we add an extra parsing step for the user input, we can allow the user to select from any endpoint inside the MESC configuration by name, by network name, or by chain id. Using a pattern like this: def get_endpoint_url(user_input: str) -> str: if mesc.is_mesc_enabled(): endpoint = mesc.get_endpoint_by_query(user_input) if endpoint is not None: return endpoint['url'] return user_input # ... url = get_endpoint_url(user_input) Then users will be able to do any of the following xyz -r localhost:8545 (use a url) xyz -r llamanodes_goerli (use the endpoint named llamanodes_goerli) xyz -r 5 (use the default endpoint for network with chain id 5) xyz -r goerli (use the default endpoint for the network named goerli)","breadcrumbs":"Developer Resources » Integrating MESC » Workflow for letting users select an RPC endpoint","id":"29","title":"Workflow for letting users select an RPC endpoint"},"3":{"body":"The typical way to set environment variables is in your shell configuration files: ~/.bashrc, ~.profile, and/or ~/.bash_profile. Including this line in those files will enable MESC: export MESC_PATH=/path/to/your/mesc.json You can avoid editing these files yourself by running the MESC setup tool (mesc setup) as specified above. It will give you the option to automatically edit your shell files.","breadcrumbs":"MESC Overview » Quickstart » Setting environment variables","id":"3","title":"Setting environment variables"},"30":{"body":"One of MESC's goals is to have an implementation for every programming language in the cryptocurrency ecosystem. If you are creating a new MESC implementation, you may find the following useful: The main functionality that a MESC implementation provides is the core MESC interface . This is a set of functions for reading whatever MESC data a user has configured on their system. The ability to write MESC configurations is useful, but should be considered a secondary goal. Users already have the ability to create MESC configurations either by 1) editing JSON by hand, 2) editing JSON programmatically, or 3) using the interactive MESC cli tool . A MESC implementation's compliance to the specification can be checked using the language-agnostic MESC test suite. Passing the test suite means that an implementation is complete. More details on the test suite can be found here . It is desirable to use the same names, types, and behaviors across each MESC implementation. This increases interoperability and makes MESC easier to learn and use. However it is also desirable to obey the common conventions of each programming language. Each MESC implementation must find a balance between language-agnostic conventions vs language-specific conventions. If parts of the MESC specification are confusing or difficult to implement, it may be helpful to look at existing implementations. These currently exist for python and rust .","breadcrumbs":"Developer Resources » Implementing MESC » Implementing MESC","id":"30","title":"Implementing MESC"},"31":{"body":"Implement the core MESC interface functions. These functions should have the same behavior in each implementation. Create an adapter to run the MESC test suite . Passing these tests means the implementation is fully compliant with the MESC specification. Add an entry to the generate_network_names.py script. This script creates a native language code file for mapping between network names and chain id's using the standard ethereum-lists/chains repository.","breadcrumbs":"Developer Resources » Implementing MESC » Implementation Checklist","id":"31","title":"Implementation Checklist"},"32":{"body":"A language-agnostic set of tests is used to check whether each MESC implementation is compliant with the MESC specification.","breadcrumbs":"Developer Resources » MESC Tests » MESC Tests","id":"32","title":"MESC Tests"},"33":{"body":"Install pytest with pytest-xdist: pip install pytest pytest-xdist Go to the tests directory: cd $MESC_REPO/mesc/tests Run one of these commands: description command run tests pytest run test in parallel mode (much faster) pytest -n auto run tests in debug mode (helpful for debugging) pytest --pdb run tests only tests that previously failed pytest --lf run tests for specific adapters only pytest --adapters adapters/python adapters/cli By default, tests will run for all MESC implementations. If you do not have all of these implementations installed, you will need to use --adapters to select only the subset that that you have installed.","breadcrumbs":"Developer Resources » MESC Tests » Usage","id":"33","title":"Usage"},"34":{"body":"Each MESC implementation has an adapter that receives a test as input and prints the result as output. Adapters are located in the adapters directory. To make a custom adapter: adapter should be a script that takes a JSON MescQuery as its single argument the adapter should run the query, and then print the result as JSON if the config loading or the query fails, simply print the word FAIL The adapter should never crash upon failure, just print the word FAIL","breadcrumbs":"Developer Resources » MESC Tests » Adapters","id":"34","title":"Adapters"},"35":{"body":"adapters/ contains a test adapter for each MESC implementation conftest.py configuration file for pytest generate.py generates all of the MESC test cases test_mesc.py packages MESC tests into form usable by pypi","breadcrumbs":"Developer Resources » MESC Tests » Files","id":"35","title":"Files"},"36":{"body":"MESC aims to have an implementation for every common language in the cryptocurrency ecosystem. Implementations currently exist for: CLI Go Python Rust TypeScript If you want to create a MESC implementation for a new language, see implementing MESC .","breadcrumbs":"MESC Libraries » MESC Libraries","id":"36","title":"MESC Libraries"},"37":{"body":"This is a utility for creating and managing MESC RPC configurations. Under the hood, this cli is implemented using the rust crate here . The most important cli subcommands: mesc setup: create and modify MESC configs mesc ls: list endpoints mesc ping: ping endpoints mesc url: print endpoint url View help for each subcommand by typing mesc [SUBCOMMAND] --help basics","breadcrumbs":"MESC Libraries » CLI » MESC CLI","id":"37","title":"MESC CLI"},"38":{"body":"Installation Example Usage Reference","breadcrumbs":"MESC Libraries » CLI » Contents","id":"38","title":"Contents"},"39":{"body":"Use one of the 3 options below. Check that mesc is properly installed and on your PATH by running mesc -h.","breadcrumbs":"MESC Libraries » CLI » Installation","id":"39","title":"Installation"},"4":{"body":"MESC (Multiple Endpoint Shared Configuration) is a standardized approach for configuring RPC endpoints. Using MESC, a user creates a single RPC config that is shared by all RPC tools on their system.","breadcrumbs":"MESC Overview » What is MESC? » What is MESC?","id":"4","title":"What is MESC?"},"40":{"body":"cargo install mesc_cli Ensure that your cargo install path is on your cli path","breadcrumbs":"MESC Libraries » CLI » Install from crates.io","id":"40","title":"Install from crates.io"},"41":{"body":"# install rust and cargo\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # install mesc\ngit clone https://github.com/paradigmxyz/mesc\ncd mesc\ncargo install --path rust/crates/cli","breadcrumbs":"MESC Libraries » CLI » Install from source","id":"41","title":"Install from source"},"42":{"body":"Quickly obtain RPC url's: # curl the default network rpc url\ncurl $(mesc url) ... # curl the default goerli url\ncurl $(mesc url goerli) ... # curl an endpoint by name\ncurl $(mesc url local_goerli) ... Print configuration data # print all endpoints in table\nmesc ls # ping endpoints and collect metadata\nmesc ping # print default goerli endpoint data, human readable\nmesc endpoint goerli # print default goerli endpoint data, as json\nmesc endpoint goerli --json","breadcrumbs":"MESC Libraries » CLI » Example Usage","id":"42","title":"Example Usage"},"43":{"body":"Show in terminal by typing mesc --help: command line interface for creating, loading, and modifying MESC configuration data Usage: mesc Commands: setup Create or modify config interactively import Modify config by importing from file or other source set Modify config by setting specific values ping Ping endpoints and fetch metadata defaults Print list of defaults endpoint Print endpoint help Print help ls Print list of endpoints metadata Print metadata status Print status of configuration url Print endpoint URL Options: -h, --help Print help -V, --version Print version Help topics: (print these with mesc help ) env Environmental variables python Python interface rust Rust interface schema Schemas of configs, endpoints, and profiles setup How to set up MESC If an endpoint is omitted, use the default endpoint If a chain_id or network name is provided, use the default endpoint of network Can use --profile PROFILENAME to use defaults of a particular profile","breadcrumbs":"MESC Libraries » CLI » Reference","id":"43","title":"Reference"},"44":{"body":"This is a reference implementation of the Go MESC standard.","breadcrumbs":"MESC Libraries » Go » Go MESC Implementation","id":"44","title":"Go MESC Implementation"},"45":{"body":"To use this project within your Golang project, execute the following within your project: go get github.com/paradigmxyz/mesc/go","breadcrumbs":"MESC Libraries » Go » Installation","id":"45","title":"Installation"},"46":{"body":"// TODO: pending doc","breadcrumbs":"MESC Libraries » Go » Example Usage","id":"46","title":"Example Usage"},"47":{"body":"Refer to the function signatures defined in endpoints.go for the list of available functions. Models are available in the model package.","breadcrumbs":"MESC Libraries » Go » Reference","id":"47","title":"Reference"},"48":{"body":"This is a reference implementation of the Python MESC Standard It has no external dependencies. Installation Example Usage Reference","breadcrumbs":"MESC Libraries » Python » Python MESC Implementation","id":"48","title":"Python MESC Implementation"},"49":{"body":"","breadcrumbs":"MESC Libraries » Python » Installation","id":"49","title":"Installation"},"5":{"body":"MESC has two main design goals: make it easy to share RPC configuration data across tools, languages, and environments make it easy to manage the configuration of a large number of RPC endpoints MESC also has many secondary goals. It aims to be a solution that: allows specifying multiple providers for multiple chains allows selection of a default endpoint for each chain allows using either environment variables or config files is a single source of truth across multiple tools is OS-agnostic, using no OS-specific features is language-agnostic, using no language-specific features is backwards compatible with previous solutions","breadcrumbs":"MESC Overview » What is MESC? » Design Goals","id":"5","title":"Design Goals"},"50":{"body":"pip install mesc","breadcrumbs":"MESC Libraries » Python » From PyPI","id":"50","title":"From PyPI"},"51":{"body":"git clone https://github.com/paradigmxyz/mesc\ncd mesc\npip install ./","breadcrumbs":"MESC Libraries » Python » From Source","id":"51","title":"From Source"},"52":{"body":"from typing import Any, Mapping, Sequence\nimport mesc # check whether mesc is enabled\nenabled: bool = mesc.is_mesc_enabled() # get the default endpoint\nendpoint: Endpoint | None = mesc.get_default_endpoint() # get the default endpoint of a network\nendpoint: Endpoint | None = mesc.get_endpoint_by_network(5) # get the default endpoint for a particular tool\nendpoint: Endpoint | None = mesc.get_default_endpoint(profile='xyz_tool') # get the default endpoint of a network for a particular tool\nendpoint: Endpoint | None = mesc.get_endpoint_by_network(5, profile='xyz_tool') # get an endpoint by name\nendpoint: Endpoint | None = mesc.get_endpoint_by_name('local_goerli') # parse a user-provided string into a matching endpoint\n# (first try 1. endpoint name, then 2. chain id, then 3. network name)\nendpoint: Endpoint | None = mesc.get_endpoint_by_query(user_str, profile='xyz_tool') # find all endpoints matching given criteria\nendpoints: Sequence[Endpoint] = mesc.find_endpoints(chain_id=5) # get non-endpoint metadata\nmetadata: Mapping[str, Any] = mesc.get_global_metadata(profile='xyz_tool')","breadcrumbs":"MESC Libraries » Python » Example Usage","id":"52","title":"Example Usage"},"53":{"body":"from typing import Any, MutableMapping, TypedDict, Literal, Sequence class RpcConfig(TypedDict): mesc_version: str default_endpoint: str | None endpoints: MutableMapping[str, Endpoint] network_defaults: MutableMapping[str, str] network_names: MutableMapping[str, str] profiles: MutableMapping[str, Profile] global_metadata: MutableMapping[str, Any] class Endpoint(TypedDict): name: str url: str chain_id: str | None endpoint_metadata: MutableMapping[str, Any] class Profile(TypedDict): name: str default_endpoint: str | None network_defaults: MutableMapping[str, str]","breadcrumbs":"MESC Libraries » Python » Reference","id":"53","title":"Reference"},"54":{"body":"This is a reference rust implementation of the MESC standard. The crates/mesc crate contains rust libraries for reading, writing, and validating MESC configurations. The crates/mesc_cli crate is a tool for reading, writing, and validating MESC from the command line. See CLI for details.","breadcrumbs":"MESC Libraries » Rust » Rust MESC Implementation","id":"54","title":"Rust MESC Implementation"},"55":{"body":"Installation Example-Usage Reference","breadcrumbs":"MESC Libraries » Rust » Contents","id":"55","title":"Contents"},"56":{"body":"Inside a cargo project: cargo add mesc Inside a Cargo.toml: mesc = \"0.2.1\"","breadcrumbs":"MESC Libraries » Rust » Installation","id":"56","title":"Installation"},"57":{"body":"Basic data structures #[derive(Serialize, Deserialize, Debug, Clone)]\npub struct RpcConfig { pub mesc_version: String, pub default_endpoint: Option, pub endpoints: HashMap, pub network_defaults: HashMap, pub network_names: HashMap, pub profiles: HashMap, pub global_metadata: HashMap,\n} #[derive(Serialize, Deserialize, Debug, Clone)]\npub struct Endpoint { pub name: String, pub url: String, pub chain_id: Option, pub endpoint_metadata: HashMap,\n} #[derive(Serialize, Deserialize, Debug, Clone)]\npub struct Profile { pub name: String, pub default_endpoint: Option, pub network_defaults: HashMap, pub profile_metadata: HashMap, pub use_mesc: bool,\n} #[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq, Hash)]\npub struct ChainId(String); Basic read functions use mesc::{MescError, Endpoint};\nuse std::collections::HashMap; type OptionalResult = Result, MescError>;\ntype MultiResult = Result, MescError>;\ntype MetadataResult = Result, MescError>; // check whether mesc is enabled\nlet enabled: bool = mesc::is_mesc_enabled(); // get the default endpoint\nlet endpoint: OptionalResult = mesc::get_default_endpoint(None); // get the default endpoint of a network\nlet endpoint: OptionalResult = mesc::get_endpoint_by_network(\"5\", None); // get the default network for a particular tool\nlet chain_id: OptionalResult = mesc::get_default_endpoint(Some(\"xyz_tool\")); // get the default endpoint of a network for a particular tool\nlet endpoint: OptionalResult = mesc::get_endpoint_by_network(\"5\", Some(\"xyz_tool\")); // get an endpoint by name\nlet endpoint: OptionalResult = mesc::get_endpoint_by_name(\"local_goerli\"); // parse a user-provided string into a matching endpoint\n// (first try 1. endpoint name, then 2. chain id, then 3. network name)\nlet user_str = \"local_goerli\";\nlet endpoint: OptionalResult = mesc::get_endpoint_by_query(user_str, Some(\"xyz_tool\")); // find all endpoints matching given criteria\nlet query = mesc::MultiEndpointQuery::new().chain_id(\"5\").unwrap();\nlet endpoints: MultiResult = mesc::find_endpoints(query); // get non-endpoint metadata\nlet metadata: MetadataResult = mesc::get_global_metadata(Some(\"xyz_tool\"));","breadcrumbs":"MESC Libraries » Rust » Example Usage","id":"57","title":"Example Usage"},"58":{"body":"[WIP]","breadcrumbs":"MESC Libraries » TypeScript » Typescript MESC Implementation","id":"58","title":"Typescript MESC Implementation"},"6":{"body":"MESC is an opt-in standard: MESC is only enabled if a user has set a MESC-specific environment variable in their environment. This maximizes backward-compatiblity for existing tools that want to integrate MESC: If a user has not opted-in to MESC then simply fall back to the existing configuration method.","breadcrumbs":"MESC Overview » What is MESC? » MESC is opt-in","id":"6","title":"MESC is opt-in"},"7":{"body":"Between mainnet, testnets, chainforks, rollups, and alternative L1's, modern crypto tools must manage the configuration of multiple RPC endpoints. This configuration process is not standardized across tools. The most common approach for configuring RPC endpoint information is the ETH_RPC_URL environment variable (dapptools, forge, heimdall, checkthechain). However, this is not a formal standard and many tools use other approaches. Furthermore, using ETH_RPC_URL can only specify a single provider for a single chain, and it cannot specify any provider metadata beyond the url. Instead it would be desirable to have a solution that: allows specifying multiple providers for multiple chains allows selection of a default endpoint for each chain allows using either environment variables or config files is a single source of truth across multiple tools is OS-agnostic, using no OS-specific features is language-agnostic, using no language-specific features is backwards compatible with previous solutions MESC aims to satisfy all of these constraints.","breadcrumbs":"MESC Overview » Why MESC? » Why MESC?","id":"7","title":"Why MESC?"},"8":{"body":"Easier Onboarding . As soon as a user installs your tool, they will be able to use your tool with all of their configured networks. This eliminates one of the major setup steps for most RPC consuming tools. Interoperability . If you maintain multiple tools, or your tool has components in multiple languages, MESC will create a single, shared source of truth across all of these tool components. Safety and Robustness . MESC is thoroughly tested against a large number of config-related edge cases. In many cases it will be safer to user MESC than to create a configuration system from scratch. Minimize maintenance burden . Leaning on MESC to handle configuration means there is one less thing you need to maintain. You can spend your time on other things. Developer Features . If you need to develop or test your tool with multiple endpoints, the mesc CLI tools contains many useful developer features for managing endpoints. Go config-free . In some cases, adopting MESC means that your tool no longer needs its own config. You can store your tool's config data in MESC's metadata and then just use MESC for all config IO.","breadcrumbs":"MESC Overview » Why MESC? » As a developer, why should I integrate MESC into my tools?","id":"8","title":"As a developer, why should I integrate MESC into my tools?"},"9":{"body":"Once the MESC specification reaches version 1.0, it will become ossified forever. This will maximize forward- and backward-compatibility between MESC integrations. Client libraries for reading or writing MESC configurations might continue development, but the underlying MESC specification will not change. MESC currently has implementations for CLI, python, and rust. Implementations for go and typescript are coming soon. If there is another language you have interest in bringing MESC to an additional programming language or environment, feel free to share on the issue tracker .","breadcrumbs":"MESC Overview » Roadmap » Roadmap","id":"9","title":"Roadmap"}},"length":59,"save":true},"fields":["title","body","breadcrumbs"],"index":{"body":{"root":{"0":{".":{"2":{".":{"1":{"df":1,"docs":{"56":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"1":{".":{"0":{"df":2,"docs":{"2":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}},"0":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"7":{"0":{"0":{"2":{"0":{"0":{"4":{"6":{"2":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"a":{"df":1,"docs":{"21":{"tf":1.0}}},"df":6,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"2":{"tf":1.7320508075688772},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"2":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"5":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":5,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"3":{"df":4,"docs":{"30":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":1,"docs":{"29":{"tf":1.4142135623730951}}},"7":{"b":{"7":{"8":{"1":{"df":0,"docs":{},"e":{"b":{"6":{"0":{"/":{"df":0,"docs":{},"x":{"8":{"6":{"_":{"6":{"4":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}},"a":{"2":{"7":{"9":{"8":{"df":0,"docs":{},"f":{"2":{"3":{"7":{"a":{"2":{"3":{"9":{"8":{"df":0,"docs":{},"r":{"df":0,"docs":{},"f":{"7":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"b":{"c":{"1":{"2":{"3":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"30":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"v":{"df":1,"docs":{"3":{"tf":1.0}}}}},"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"31":{"tf":1.0},"33":{"tf":1.7320508075688772},"34":{"tf":2.8284271247461903},"35":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"33":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"y":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}}}}}},"d":{"df":4,"docs":{"18":{"tf":1.0},"29":{"tf":1.0},"31":{"tf":1.0},"56":{"tf":1.0}},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"df":1,"docs":{"23":{"tf":1.4142135623730951}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"g":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":4,"docs":{"30":{"tf":1.4142135623730951},"32":{"tf":1.0},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}}},"i":{"df":0,"docs":{},"m":{"df":3,"docs":{"36":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"m":{"=":{"df":0,"docs":{},"h":{"df":0,"docs":{},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"s":{":":{"/":{"/":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"f":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"j":{"df":1,"docs":{"24":{"tf":1.0}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":8,"docs":{"16":{"tf":1.0},"19":{"tf":1.0},"20":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":1.7320508075688772}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"19":{"tf":1.0}}},"df":0,"docs":{}}}}}},"p":{"df":0,"docs":{},"h":{"a":{".":{"1":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"d":{"df":0,"docs":{},"i":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":3,"docs":{"13":{"tf":1.0},"18":{"tf":1.0},"7":{"tf":1.0}}}}}}},"m":{"d":{"6":{"4":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"1":{".":{"2":{"0":{".":{"5":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"n":{"d":{"/":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"3":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"o":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"i":{"_":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"a":{"c":{"df":0,"docs":{},"h":{"df":2,"docs":{"4":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"2":{"tf":1.0}}}},"r":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.0},"29":{"tf":1.0},"34":{"tf":1.0}}}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"33":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}}}}},"v":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"d":{"df":3,"docs":{"16":{"tf":1.0},"21":{"tf":1.0},"3":{"tf":1.0}}},"df":0,"docs":{}}}},"w":{"df":1,"docs":{"21":{"tf":1.0}}}},"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":5,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}},"df":1,"docs":{"23":{"tf":1.0}},"r":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"i":{"c":{"df":3,"docs":{"12":{"tf":1.0},"37":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"12":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"23":{"tf":1.7320508075688772}}}}},"h":{"a":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":3,"docs":{"25":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"0":{"tf":1.0}}},"df":0,"docs":{}}}},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":3,"docs":{"2":{"tf":1.0},"27":{"tf":1.0},"39":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":4,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}}}}},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":4,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.4142135623730951}}}},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"u":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"d":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"c":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"25":{"tf":1.0}}}},"r":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{".":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"l":{"df":1,"docs":{"56":{"tf":1.0}}}}}}},"df":4,"docs":{"2":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.4142135623730951},"56":{"tf":1.4142135623730951}}}}},"s":{"df":0,"docs":{},"e":{"df":4,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"35":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"d":{"df":3,"docs":{"33":{"tf":1.0},"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":4,"docs":{"2":{"tf":1.0},"43":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":7,"docs":{"21":{"tf":1.0},"29":{"tf":1.4142135623730951},"31":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"i":{"d":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"k":{"df":5,"docs":{"30":{"tf":1.0},"32":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"31":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":2,"docs":{"19":{"tf":1.0},"29":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"53":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"i":{"df":11,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.7320508075688772},"40":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.0},"26":{"tf":1.0},"9":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":3,"docs":{"41":{"tf":1.0},"51":{"tf":1.0},"57":{"tf":2.0}}}},"u":{"d":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"e":{"df":2,"docs":{"28":{"tf":1.0},"31":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"9":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":5,"docs":{"12":{"tf":1.0},"23":{"tf":1.7320508075688772},"33":{"tf":1.4142135623730951},"43":{"tf":1.7320508075688772},"54":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"36":{"tf":1.0},"7":{"tf":1.0}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":4,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}},"i":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"6":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"i":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{},"t":{"df":2,"docs":{"31":{"tf":1.0},"32":{"tf":1.0}}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}}},"n":{"c":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"2":{"tf":1.7320508075688772},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"34":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":2.23606797749979}},"u":{"df":0,"docs":{},"r":{"df":20,"docs":{"13":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"19":{"tf":1.0},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"29":{"tf":1.0},"3":{"tf":1.0},"30":{"tf":1.7320508075688772},"35":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.4142135623730951},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"i":{"d":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":4,"docs":{"13":{"tf":1.4142135623730951},"35":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"13":{"tf":1.0},"20":{"tf":1.0},"38":{"tf":1.0},"55":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":1,"docs":{"13":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.7320508075688772}}}}}}},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"19":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}},"r":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"34":{"tf":1.0}}}},"t":{"df":0,"docs":{},"e":{"df":2,"docs":{"37":{"tf":1.0},"54":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"40":{"tf":1.0}}}}},"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"54":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"54":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":13,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"21":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"36":{"tf":1.0},"37":{"tf":1.4142135623730951},"4":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"a":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"36":{"tf":1.0}}}}}},"df":1,"docs":{"7":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"41":{"tf":1.0},"42":{"tf":2.449489742783178}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"9":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":4,"docs":{"16":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"34":{"tf":1.0}}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"t":{"a":{"df":8,"docs":{"19":{"tf":1.0},"25":{"tf":1.4142135623730951},"30":{"tf":1.0},"42":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"57":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":3,"docs":{"21":{"tf":1.0},"33":{"tf":1.4142135623730951},"57":{"tf":2.0}}}}},"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}},"df":12,"docs":{"16":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"25":{"tf":1.4142135623730951},"28":{"tf":2.0},"29":{"tf":1.4142135623730951},"33":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":2.23606797749979},"5":{"tf":1.0},"52":{"tf":2.0},"57":{"tf":2.0},"7":{"tf":1.0}}}}}},"df":2,"docs":{"28":{"tf":1.4142135623730951},"29":{"tf":1.0}},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"47":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":1,"docs":{"20":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"14":{"tf":1.0},"48":{"tf":1.0}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":0,"docs":{},"e":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}}}},"df":0,"docs":{}}}}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":1,"docs":{"12":{"tf":1.4142135623730951}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951}}}},"r":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":4,"docs":{"15":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.0}}}}},"df":0,"docs":{}},"v":{"df":1,"docs":{"2":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":3,"docs":{"26":{"tf":1.4142135623730951},"8":{"tf":2.0},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"10":{"tf":1.4142135623730951}}}},"i":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":2,"docs":{"14":{"tf":1.7320508075688772},"16":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}}},"df":0,"docs":{}}}}}},"o":{"c":{"df":2,"docs":{"26":{"tf":1.0},"46":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"g":{"df":3,"docs":{"13":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}}},"a":{"c":{"df":0,"docs":{},"h":{"df":13,"docs":{"16":{"tf":1.7320508075688772},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"25":{"tf":1.7320508075688772},"27":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0},"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":3,"docs":{"22":{"tf":1.0},"27":{"tf":1.0},"5":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"18":{"tf":1.0}}}}}},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"30":{"tf":1.0},"36":{"tf":1.0}}}}}}}}}},"d":{"df":0,"docs":{},"g":{"df":1,"docs":{"8":{"tf":1.0}}},"i":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.0},"3":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"n":{"a":{"b":{"df":0,"docs":{},"l":{"df":9,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"6":{"tf":1.0}}}},"df":0,"docs":{}},"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"[":{"'":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":5,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"24":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}},"e":{">":{"[":{":":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"]":{"=":{"]":{"<":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":18,"docs":{"16":{"tf":1.4142135623730951},"2":{"tf":1.0},"21":{"tf":2.0},"23":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":3.1622776601683795},"28":{"tf":2.449489742783178},"29":{"tf":2.8284271247461903},"37":{"tf":1.7320508075688772},"4":{"tf":1.4142135623730951},"42":{"tf":2.6457513110645907},"43":{"tf":3.0},"5":{"tf":1.4142135623730951},"52":{"tf":4.69041575982343},"53":{"tf":1.4142135623730951},"57":{"tf":4.242640687119285},"7":{"tf":1.7320508075688772},"8":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"47":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"40":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"v":{"df":2,"docs":{"13":{"tf":1.0},"43":{"tf":1.0}},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"6":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}}}}}}}}},"p":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"q":{"df":1,"docs":{"57":{"tf":1.0}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"/":{"2":{".":{"4":{"8":{".":{"1":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"x":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":2,"docs":{"21":{"tf":1.0},"31":{"tf":1.0}}}}},"s":{"c":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"x":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":12,"docs":{"21":{"tf":1.7320508075688772},"23":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"38":{"tf":1.0},"42":{"tf":1.0},"46":{"tf":1.0},"48":{"tf":1.0},"52":{"tf":1.0},"55":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"45":{"tf":1.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":9,"docs":{"0":{"tf":1.4142135623730951},"17":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.4142135623730951},"36":{"tf":1.0},"6":{"tf":1.4142135623730951}}}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":2,"docs":{"23":{"tf":1.0},"3":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"48":{"tf":1.0}}}}},"r":{"a":{"df":1,"docs":{"29":{"tf":1.0}}},"df":0,"docs":{}}}}},"f":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.7320508075688772}},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"l":{"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"17":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}}},"s":{"df":1,"docs":{"14":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":4,"docs":{"17":{"tf":1.0},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"9":{"tf":1.0}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}},"w":{"df":1,"docs":{"28":{"tf":1.0}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"d":{"df":2,"docs":{"19":{"tf":1.4142135623730951},"20":{"tf":1.0}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"e":{"df":12,"docs":{"1":{"tf":1.4142135623730951},"10":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.0},"22":{"tf":1.0},"3":{"tf":2.0},"31":{"tf":1.0},"35":{"tf":1.4142135623730951},"43":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"25":{"tf":1.0}},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":4,"docs":{"25":{"tf":1.0},"30":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":5,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"45":{"tf":1.0}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"9":{"tf":1.0}}}},"g":{"df":1,"docs":{"7":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}},"t":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":1,"docs":{"35":{"tf":1.0}}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"30":{"tf":1.0}},"r":{"df":0,"docs":{},"y":{".":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{".":{"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"n":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":7,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":2.0},"28":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"47":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}}}},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"_":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"35":{"tf":1.0}}}}},"o":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"25":{"tf":1.0}},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"28":{"tf":1.4142135623730951}}}},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}},"n":{"df":3,"docs":{"20":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":5,"docs":{"16":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"21":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"21":{"tf":1.0}}}},"o":{"a":{"df":0,"docs":{},"l":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772}}}},"df":7,"docs":{"0":{"tf":1.0},"33":{"tf":1.0},"36":{"tf":1.0},"44":{"tf":1.4142135623730951},"45":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"29":{"tf":1.4142135623730951},"42":{"tf":2.449489742783178}}}}}},"l":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"u":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"12":{"tf":1.0}}},"df":0,"docs":{}}}},"h":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"22":{"tf":1.0},"30":{"tf":1.0}},"l":{"df":2,"docs":{"20":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"57":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"p":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":2.449489742783178}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":2,"docs":{"39":{"tf":1.0},"43":{"tf":1.0}},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"d":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"p":{"df":4,"docs":{"30":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.4142135623730951},"43":{"tf":2.6457513110645907}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"26":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"37":{"tf":1.0}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{":":{"/":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"2":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"41":{"tf":1.0}},"s":{":":{"/":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"c":{"a":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"s":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"r":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{".":{"df":0,"docs":{},"r":{"df":1,"docs":{"41":{"tf":1.0}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"i":{"d":{"'":{"df":1,"docs":{"31":{"tf":1.0}}},"df":3,"docs":{"29":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"n":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"19":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"19":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"'":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}}}}},"df":16,"docs":{"0":{"tf":1.7320508075688772},"25":{"tf":1.0},"26":{"tf":1.7320508075688772},"30":{"tf":3.0},"31":{"tf":2.0},"32":{"tf":1.0},"33":{"tf":1.4142135623730951},"34":{"tf":1.0},"35":{"tf":1.0},"36":{"tf":2.0},"37":{"tf":1.0},"44":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"54":{"tf":1.4142135623730951},"58":{"tf":1.0},"9":{"tf":1.4142135623730951}}}}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"53":{"tf":1.0}}}}}}},"n":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"d":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":5,"docs":{"0":{"tf":1.0},"17":{"tf":1.0},"24":{"tf":1.0},"26":{"tf":2.0},"7":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"23":{"tf":1.0}}}}},"i":{"d":{"df":4,"docs":{"13":{"tf":1.0},"18":{"tf":1.0},"29":{"tf":1.0},"56":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"t":{"a":{"df":0,"docs":{},"l":{"df":14,"docs":{"2":{"tf":2.23606797749979},"33":{"tf":2.0},"38":{"tf":1.0},"39":{"tf":1.4142135623730951},"40":{"tf":1.7320508075688772},"41":{"tf":2.0},"45":{"tf":1.0},"48":{"tf":1.0},"49":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0},"55":{"tf":1.0},"56":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"a":{"d":{"df":3,"docs":{"13":{"tf":1.0},"28":{"tf":1.0},"7":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"21":{"tf":2.23606797749979}},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"df":7,"docs":{"0":{"tf":1.4142135623730951},"26":{"tf":1.4142135623730951},"27":{"tf":1.7320508075688772},"28":{"tf":1.0},"6":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"20":{"tf":1.0}}}},"r":{"a":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"f":{"a":{"c":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"43":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}}}}}}}}},"o":{"df":1,"docs":{"8":{"tf":1.0}}},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"25":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"13":{"tf":1.0},"24":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951},"34":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951}}}}},"w":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":3,"docs":{"18":{"tf":1.0},"21":{"tf":2.0},"22":{"tf":1.0}}}}},"l":{"1":{"'":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}},"a":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"a":{"df":0,"docs":{},"g":{"df":12,"docs":{"0":{"tf":1.0},"14":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":2.23606797749979},"31":{"tf":1.0},"32":{"tf":1.0},"36":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772},"7":{"tf":1.4142135623730951},"8":{"tf":1.0},"9":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"g":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"d":{"_":{"b":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"0":{"tf":1.4142135623730951},"30":{"tf":1.0}}}},"v":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"8":{"tf":1.0}}}},"t":{"'":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}},"df":1,"docs":{"29":{"tf":1.4142135623730951}}}},"f":{"df":1,"docs":{"33":{"tf":1.0}}},"i":{"b":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":4,"docs":{"2":{"tf":1.0},"36":{"tf":1.0},"54":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"s":{"df":0,"docs":{},"l":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":4,"docs":{"28":{"tf":1.0},"3":{"tf":1.0},"43":{"tf":1.0},"54":{"tf":1.0}}},"u":{"df":0,"docs":{},"x":{"df":2,"docs":{"2":{"tf":1.0},"21":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"t":{"df":5,"docs":{"21":{"tf":1.0},"24":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"47":{"tf":1.0}},"s":{"/":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"o":{"a":{"d":{"_":{"b":{"a":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":3,"docs":{"28":{"tf":1.0},"34":{"tf":1.0},"43":{"tf":1.0}}},"df":0,"docs":{}},"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"2":{"tf":2.449489742783178}}}}}}}}}},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{":":{"5":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"42":{"tf":1.0},"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"9":{"9":{"9":{"9":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"t":{"df":2,"docs":{"21":{"tf":1.0},"34":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"k":{"df":1,"docs":{"30":{"tf":1.0}}},"s":{"df":1,"docs":{"20":{"tf":1.0}}}},"t":{"df":1,"docs":{"13":{"tf":1.0}}},"w":{"df":1,"docs":{"13":{"tf":1.0}}}},"s":{"df":3,"docs":{"37":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0}}}},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"j":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":3,"docs":{"30":{"tf":1.0},"34":{"tf":1.0},"5":{"tf":1.4142135623730951}}}},"n":{"a":{"df":0,"docs":{},"g":{"df":4,"docs":{"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":4,"docs":{"21":{"tf":1.0},"24":{"tf":1.0},"31":{"tf":1.0},"52":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":3,"docs":{"21":{"tf":1.7320508075688772},"25":{"tf":1.0},"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"x":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"6":{"tf":1.0},"9":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"8":{"tf":1.4142135623730951}}}},"df":0,"docs":{},"s":{"c":{"'":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},".":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"52":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":1,"docs":{"28":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"52":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":3,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"52":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0}}}}}}},":":{":":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"\"":{"5":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{":":{":":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"(":{")":{".":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"(":{"\"":{"5":{"\"":{")":{".":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"w":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}}}}},"df":0,"docs":{}}}}}}}},"{":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"_":{"_":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"2":{"tf":1.0},"40":{"tf":1.0}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"23":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":2,"docs":{"23":{"tf":1.0},"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"14":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{},"v":{"df":1,"docs":{"13":{"tf":2.0}}}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"13":{"tf":1.4142135623730951}},"e":{"=":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"=":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"3":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":3,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}}}}}},"df":50,"docs":{"0":{"tf":3.1622776601683795},"1":{"tf":1.0},"10":{"tf":2.449489742783178},"11":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.4142135623730951},"14":{"tf":2.0},"15":{"tf":1.0},"16":{"tf":1.7320508075688772},"17":{"tf":1.7320508075688772},"18":{"tf":1.4142135623730951},"19":{"tf":1.4142135623730951},"2":{"tf":2.23606797749979},"20":{"tf":1.4142135623730951},"22":{"tf":1.4142135623730951},"23":{"tf":2.23606797749979},"24":{"tf":1.0},"25":{"tf":2.23606797749979},"26":{"tf":2.6457513110645907},"27":{"tf":2.0},"28":{"tf":2.449489742783178},"29":{"tf":1.0},"3":{"tf":1.7320508075688772},"30":{"tf":3.7416573867739413},"31":{"tf":1.7320508075688772},"32":{"tf":1.7320508075688772},"33":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.7320508075688772},"36":{"tf":2.0},"37":{"tf":2.8284271247461903},"39":{"tf":1.4142135623730951},"4":{"tf":1.7320508075688772},"41":{"tf":1.4142135623730951},"42":{"tf":2.6457513110645907},"43":{"tf":2.23606797749979},"44":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"50":{"tf":1.0},"51":{"tf":1.0},"52":{"tf":1.4142135623730951},"54":{"tf":2.0},"56":{"tf":1.4142135623730951},"57":{"tf":1.0},"58":{"tf":1.0},"6":{"tf":2.449489742783178},"7":{"tf":1.4142135623730951},"8":{"tf":2.8284271247461903},"9":{"tf":2.449489742783178}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.7320508075688772}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"34":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":13,"docs":{"10":{"tf":1.4142135623730951},"16":{"tf":1.4142135623730951},"19":{"tf":1.4142135623730951},"20":{"tf":1.4142135623730951},"21":{"tf":1.7320508075688772},"24":{"tf":1.0},"25":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.7320508075688772},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"7":{"tf":1.0},"8":{"tf":1.0}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":2,"docs":{"21":{"tf":1.0},"6":{"tf":1.0}}},"df":0,"docs":{}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"10":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"o":{"d":{"df":0,"docs":{},"e":{"df":1,"docs":{"33":{"tf":1.4142135623730951}},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"f":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":5,"docs":{"2":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":2.0}}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"12":{"tf":1.0},"30":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"0":{"tf":1.0}}}}}},"u":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"33":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":4,"docs":{"4":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":2.0},"8":{"tf":1.7320508075688772}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"53":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":2.6457513110645907}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":14,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"21":{"tf":2.0},"24":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":2.23606797749979},"30":{"tf":1.0},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":2.23606797749979}},"s":{"df":0,"docs":{},"p":{"a":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"31":{"tf":1.0}}}}}},"df":1,"docs":{"33":{"tf":1.0}},"e":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"d":{"df":3,"docs":{"22":{"tf":1.0},"33":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}},"e":{">":{"=":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":10,"docs":{"16":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":1.0},"29":{"tf":1.7320508075688772},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.7320508075688772},"57":{"tf":2.0},"8":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}},"w":{"df":6,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"26":{"tf":1.0},"28":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0}}}},"o":{"d":{"df":0,"docs":{},"e":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"n":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":6,"docs":{"25":{"tf":2.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.0},"52":{"tf":2.449489742783178},"53":{"tf":1.7320508075688772},"57":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"m":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"o":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"30":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}},"n":{"b":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"c":{"df":1,"docs":{"9":{"tf":1.0}}},"df":7,"docs":{"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"33":{"tf":1.0},"39":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"27":{"tf":1.0},"28":{"tf":1.0},"6":{"tf":1.7320508075688772}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}},"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.6457513110645907}}}}}}}}}},"df":7,"docs":{"17":{"tf":1.0},"19":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"39":{"tf":1.0},"43":{"tf":1.0}}}}}}},"s":{".":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"(":{"'":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}}},"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"34":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"13":{"tf":1.0}},"r":{"df":0,"docs":{},"i":{"d":{"df":6,"docs":{"10":{"tf":1.4142135623730951},"15":{"tf":1.7320508075688772},"16":{"tf":1.0},"22":{"tf":2.23606797749979},"23":{"tf":1.7320508075688772},"24":{"tf":1.7320508075688772}}},"df":0,"docs":{}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"0":{"tf":1.0}}}}}}}}}},"p":{"a":{"c":{"df":0,"docs":{},"k":{"a":{"df":0,"docs":{},"g":{"df":2,"docs":{"35":{"tf":1.0},"47":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":1.7320508075688772}}}},"r":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"s":{"df":3,"docs":{"29":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.0}},"i":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"q":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":3,"docs":{"43":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"s":{"df":2,"docs":{"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"h":{"df":6,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.0}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}}}}},"d":{"b":{"df":1,"docs":{"33":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"46":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":1,"docs":{"21":{"tf":1.0}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":3,"docs":{"37":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951}}}},"p":{"df":3,"docs":{"33":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0}}}},"k":{"df":0,"docs":{},"g":{"df":1,"docs":{"2":{"tf":1.0}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"y":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"e":{"d":{"df":1,"docs":{"13":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"23":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":2,"docs":{"5":{"tf":1.0},"7":{"tf":1.0}},"s":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"34":{"tf":2.0},"37":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":3.1622776601683795}}}},"v":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"o":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":11,"docs":{"10":{"tf":1.0},"16":{"tf":1.7320508075688772},"17":{"tf":2.0},"18":{"tf":2.23606797749979},"2":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.4142135623730951},"3":{"tf":1.0},"43":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":1.7320508075688772}},"e":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}}}}}},"df":2,"docs":{"25":{"tf":1.4142135623730951},"28":{"tf":1.0}}}}}},"df":0,"docs":{}},">":{".":{"<":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{">":{"[":{".":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"b":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"]":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"m":{"df":4,"docs":{"0":{"tf":1.0},"23":{"tf":1.0},"30":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":2,"docs":{"45":{"tf":1.7320508075688772},"56":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"f":{"df":1,"docs":{"20":{"tf":1.0}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"39":{"tf":1.0}}}}}}},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"41":{"tf":1.0}}}},"v":{"df":0,"docs":{},"i":{"d":{"df":8,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}}},"df":0,"docs":{}}}}},"u":{"b":{"df":1,"docs":{"57":{"tf":4.47213595499958}}},"df":0,"docs":{}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":2,"docs":{"35":{"tf":1.0},"50":{"tf":1.0}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"33":{"tf":3.0},"35":{"tf":1.0}}}}},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":7,"docs":{"0":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"43":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":5,"docs":{"14":{"tf":1.0},"17":{"tf":1.4142135623730951},"25":{"tf":1.7320508075688772},"34":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}},"i":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"22":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}},"l":{"df":0,"docs":{},"i":{"df":4,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"22":{"tf":1.0},"42":{"tf":1.0}}}},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":3,"docs":{"0":{"tf":1.0},"1":{"tf":1.0},"12":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"_":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}}}}}},"df":1,"docs":{"29":{"tf":2.6457513110645907}},"e":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}},"d":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}},"df":4,"docs":{"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"57":{"tf":1.0},"9":{"tf":1.0}},"m":{"df":1,"docs":{"26":{"tf":1.0}}}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":9,"docs":{"26":{"tf":1.0},"38":{"tf":1.0},"43":{"tf":1.0},"44":{"tf":1.0},"47":{"tf":1.4142135623730951},"48":{"tf":1.4142135623730951},"53":{"tf":1.0},"54":{"tf":1.0},"55":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"l":{"a":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.4142135623730951},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"17":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"26":{"tf":1.0},"31":{"tf":1.0}}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"23":{"tf":1.0}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"<":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"v":{"df":0,"docs":{},"e":{"c":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"34":{"tf":1.4142135623730951}}}}}},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"v":{"0":{".":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":4,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.4142135623730951}}}}}},"v":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"o":{"a":{"d":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"9":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"7":{"tf":1.0}}}}}}},"p":{"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":11,"docs":{"19":{"tf":1.0},"21":{"tf":1.7320508075688772},"23":{"tf":1.0},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"37":{"tf":1.0},"4":{"tf":1.7320508075688772},"42":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.0}}},"df":1,"docs":{"21":{"tf":1.0}}},"u":{"df":0,"docs":{},"n":{"df":7,"docs":{"2":{"tf":1.0},"26":{"tf":1.0},"3":{"tf":1.0},"31":{"tf":1.0},"33":{"tf":2.6457513110645907},"34":{"tf":1.0},"39":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"/":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"41":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":8,"docs":{"0":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.0},"41":{"tf":1.0},"43":{"tf":1.4142135623730951},"54":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}},"s":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}},"t":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"e":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"8":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"23":{"tf":2.0},"31":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"15":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":7,"docs":{"0":{"tf":2.449489742783178},"10":{"tf":2.0},"15":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":2.0},"36":{"tf":1.0},"54":{"tf":1.0}}},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"13":{"tf":1.0},"29":{"tf":1.4142135623730951},"33":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":2.0}}}},"df":0,"docs":{}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"c":{"df":2,"docs":{"52":{"tf":1.0},"53":{"tf":1.0}},"e":{"[":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"r":{"d":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{":":{":":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"57":{"tf":2.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":16,"docs":{"1":{"tf":1.0},"10":{"tf":1.7320508075688772},"11":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":2.0},"14":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.0},"23":{"tf":1.0},"25":{"tf":1.4142135623730951},"28":{"tf":2.0},"3":{"tf":1.4142135623730951},"30":{"tf":1.0},"32":{"tf":1.0},"43":{"tf":1.7320508075688772},"6":{"tf":1.0}},"u":{"df":0,"docs":{},"p":{"df":9,"docs":{"10":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"3":{"tf":1.4142135623730951},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.0}}}}}},"h":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":4,"docs":{"4":{"tf":1.4142135623730951},"5":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}}},"df":1,"docs":{"41":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":3,"docs":{"12":{"tf":1.0},"23":{"tf":1.0},"3":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"w":{"df":1,"docs":{"43":{"tf":1.0}},"n":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"47":{"tf":1.0}}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"29":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"12":{"tf":1.0}}}}},"i":{"df":3,"docs":{"13":{"tf":1.0},"34":{"tf":1.0},"6":{"tf":1.0}}}}}},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"l":{"df":5,"docs":{"34":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"13":{"tf":1.0},"23":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"n":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}},"u":{"df":0,"docs":{},"r":{"c":{"df":6,"docs":{"41":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.0},"51":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}}},"p":{"a":{"c":{"df":0,"docs":{},"e":{"df":2,"docs":{"21":{"tf":1.0},"24":{"tf":2.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":13,"docs":{"2":{"tf":1.0},"20":{"tf":1.0},"22":{"tf":1.0},"26":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":1.4142135623730951},"9":{"tf":1.4142135623730951}},"i":{"df":5,"docs":{"17":{"tf":1.7320508075688772},"20":{"tf":1.0},"3":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"f":{"df":1,"docs":{"41":{"tf":1.0}}},"l":{"df":1,"docs":{"2":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"d":{"df":7,"docs":{"31":{"tf":1.0},"4":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"0":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"12":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}}}},"d":{":":{":":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{":":{":":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":2,"docs":{"29":{"tf":1.0},"8":{"tf":1.0}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"19":{"tf":1.0},"8":{"tf":1.0}}}}},"r":{"df":4,"docs":{"21":{"tf":3.1622776601683795},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"53":{"tf":3.1622776601683795}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":2.6457513110645907}}}}},"u":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.0}},"u":{"df":0,"docs":{},"r":{"df":2,"docs":{"2":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"u":{"b":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"18":{"tf":1.0},"37":{"tf":1.7320508075688772}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}},"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"2":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"30":{"tf":1.7320508075688772},"31":{"tf":1.0}}}}},"y":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"x":{"df":3,"docs":{"22":{"tf":1.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":4,"docs":{"13":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":0,"docs":{},"e":{"df":2,"docs":{"13":{"tf":1.0},"34":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"t":{"df":3,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"12":{"tf":1.0},"43":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":9,"docs":{"13":{"tf":1.0},"26":{"tf":1.4142135623730951},"30":{"tf":1.7320508075688772},"31":{"tf":1.4142135623730951},"32":{"tf":1.4142135623730951},"33":{"tf":2.8284271247461903},"34":{"tf":1.0},"35":{"tf":1.7320508075688772},"8":{"tf":1.4142135623730951}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}}}}},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.0},"8":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"8":{"tf":1.0}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}}}}}},"l":{"df":0,"docs":{},"s":{"df":0,"docs":{},"v":{"1":{".":{"2":{"df":1,"docs":{"41":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"46":{"tf":1.0}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"'":{"df":1,"docs":{"8":{"tf":1.0}}},"df":24,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"3":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"54":{"tf":1.0},"57":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":2.0},"8":{"tf":3.1622776601683795}}}},"p":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"c":{"df":0,"docs":{},"e":{"_":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":1,"docs":{"10":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}},"u":{"df":0,"docs":{},"e":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}}}},"w":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"k":{"df":1,"docs":{"23":{"tf":1.0}}}},"df":0,"docs":{}},"o":{"df":2,"docs":{"2":{"tf":1.0},"5":{"tf":1.0}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":9,"docs":{"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.7320508075688772}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"0":{"tf":1.0},"36":{"tf":1.0},"58":{"tf":1.0},"9":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"i":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}}}},"u":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"2":{"tf":1.0}}}}}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"20":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"37":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}},"k":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"p":{"df":4,"docs":{"10":{"tf":1.4142135623730951},"11":{"tf":1.0},"18":{"tf":1.0},"43":{"tf":1.0}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"34":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"l":{"'":{"df":2,"docs":{"21":{"tf":1.0},"42":{"tf":1.0}}},"df":11,"docs":{"2":{"tf":1.0},"21":{"tf":1.0},"23":{"tf":2.0},"24":{"tf":1.0},"29":{"tf":1.4142135623730951},"37":{"tf":1.4142135623730951},"42":{"tf":2.23606797749979},"43":{"tf":1.4142135623730951},"53":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.0}}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"35":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":10,"docs":{"23":{"tf":1.0},"33":{"tf":1.0},"38":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"46":{"tf":1.0},"48":{"tf":1.0},"52":{"tf":1.0},"55":{"tf":1.0},"57":{"tf":1.0}}}},"df":30,"docs":{"1":{"tf":1.0},"10":{"tf":1.7320508075688772},"12":{"tf":1.0},"13":{"tf":1.0},"15":{"tf":1.0},"16":{"tf":1.0},"17":{"tf":1.4142135623730951},"18":{"tf":1.4142135623730951},"19":{"tf":1.0},"2":{"tf":1.4142135623730951},"20":{"tf":1.0},"21":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0},"28":{"tf":2.0},"29":{"tf":2.6457513110645907},"30":{"tf":2.449489742783178},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.0},"39":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"45":{"tf":1.0},"5":{"tf":1.7320508075688772},"57":{"tf":1.4142135623730951},"7":{"tf":2.23606797749979},"8":{"tf":1.7320508075688772}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":10,"docs":{"25":{"tf":1.4142135623730951},"27":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.449489742783178},"30":{"tf":1.4142135623730951},"4":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"6":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}},"r":{"/":{"b":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"12":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"37":{"tf":1.0}}}}}},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"d":{"df":2,"docs":{"21":{"tf":1.0},"54":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"u":{"df":4,"docs":{"17":{"tf":1.4142135623730951},"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"43":{"tf":1.0}}}},"r":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"=":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"23":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"a":{"b":{"df":0,"docs":{},"l":{"df":14,"docs":{"1":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":1.4142135623730951},"14":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.4142135623730951},"43":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"43":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"37":{"tf":1.0}}}}},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"w":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"36":{"tf":1.0},"6":{"tf":1.0}}}},"y":{"df":6,"docs":{"1":{"tf":1.0},"16":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"22":{"tf":1.0},"3":{"tf":1.0}}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":5,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"32":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"58":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"24":{"tf":1.0},"45":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.4142135623730951},"16":{"tf":1.0},"22":{"tf":1.0}}}}}}}},"o":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"34":{"tf":1.4142135623730951}}},"df":0,"docs":{},"k":{"df":2,"docs":{"23":{"tf":1.0},"27":{"tf":1.0}},"f":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":4,"docs":{"22":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}},"x":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":3,"docs":{"2":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.6457513110645907}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"f":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}}},"z":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"a":{"=":{"7":{"7":{"7":{"7":{"7":{"7":{"7":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"breadcrumbs":{"root":{"0":{".":{"2":{".":{"1":{"df":1,"docs":{"56":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"1":{".":{"0":{"df":2,"docs":{"2":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}},"0":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"7":{"0":{"0":{"2":{"0":{"0":{"4":{"6":{"2":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"a":{"df":1,"docs":{"21":{"tf":1.0}}},"df":6,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"2":{"tf":1.7320508075688772},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"2":{"0":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"5":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":5,"docs":{"12":{"tf":1.0},"14":{"tf":1.0},"30":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"3":{"df":4,"docs":{"30":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":1,"docs":{"29":{"tf":1.4142135623730951}}},"7":{"b":{"7":{"8":{"1":{"df":0,"docs":{},"e":{"b":{"6":{"0":{"/":{"df":0,"docs":{},"x":{"8":{"6":{"_":{"6":{"4":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}},"a":{"2":{"7":{"9":{"8":{"df":0,"docs":{},"f":{"2":{"3":{"7":{"a":{"2":{"3":{"9":{"8":{"df":0,"docs":{},"r":{"df":0,"docs":{},"f":{"7":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"b":{"c":{"1":{"2":{"3":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"30":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"v":{"df":1,"docs":{"3":{"tf":1.0}}}}},"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"31":{"tf":1.0},"33":{"tf":1.7320508075688772},"34":{"tf":3.0},"35":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"33":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"y":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}}}}}},"d":{"df":4,"docs":{"18":{"tf":1.0},"29":{"tf":1.0},"31":{"tf":1.0},"56":{"tf":1.0}},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"df":1,"docs":{"23":{"tf":1.4142135623730951}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"g":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":4,"docs":{"30":{"tf":1.4142135623730951},"32":{"tf":1.0},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}}},"i":{"df":0,"docs":{},"m":{"df":3,"docs":{"36":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"m":{"=":{"df":0,"docs":{},"h":{"df":0,"docs":{},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"s":{":":{"/":{"/":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"f":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"j":{"df":1,"docs":{"24":{"tf":1.0}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":8,"docs":{"16":{"tf":1.0},"19":{"tf":1.0},"20":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":1.7320508075688772}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"19":{"tf":1.0}}},"df":0,"docs":{}}}}}},"p":{"df":0,"docs":{},"h":{"a":{".":{"1":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"d":{"df":0,"docs":{},"i":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":3,"docs":{"13":{"tf":1.4142135623730951},"18":{"tf":1.0},"7":{"tf":1.0}}}}}}},"m":{"d":{"6":{"4":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"1":{".":{"2":{"0":{".":{"5":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"n":{"d":{"/":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"3":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"o":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"i":{"_":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"df":1,"docs":{"21":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"a":{"c":{"df":0,"docs":{},"h":{"df":2,"docs":{"4":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"2":{"tf":1.0}}}},"r":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.0},"29":{"tf":1.0},"34":{"tf":1.0}}}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"33":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}}}}},"v":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"d":{"df":3,"docs":{"16":{"tf":1.0},"21":{"tf":1.0},"3":{"tf":1.0}}},"df":0,"docs":{}}}},"w":{"df":1,"docs":{"21":{"tf":1.0}}}},"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":5,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}},"df":1,"docs":{"23":{"tf":1.0}},"r":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"i":{"c":{"df":3,"docs":{"12":{"tf":1.4142135623730951},"37":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"12":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"23":{"tf":1.7320508075688772}}}}},"h":{"a":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":3,"docs":{"25":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"0":{"tf":1.0}}},"df":0,"docs":{}}}},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":3,"docs":{"2":{"tf":1.0},"27":{"tf":1.0},"39":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":4,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}}}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}}}}},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":4,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.4142135623730951}}}},"t":{"df":0,"docs":{},"h":{"df":1,"docs":{"13":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"u":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"d":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"c":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"25":{"tf":1.0}}}},"r":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{".":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"l":{"df":1,"docs":{"56":{"tf":1.0}}}}}}},"df":4,"docs":{"2":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.4142135623730951},"56":{"tf":1.4142135623730951}}}}},"s":{"df":0,"docs":{},"e":{"df":4,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"35":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"d":{"df":3,"docs":{"33":{"tf":1.0},"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":4,"docs":{"2":{"tf":1.0},"43":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":7,"docs":{"21":{"tf":1.0},"29":{"tf":1.4142135623730951},"31":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"i":{"d":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"k":{"df":5,"docs":{"30":{"tf":1.0},"32":{"tf":1.0},"39":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"31":{"tf":1.4142135623730951}}}}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":2,"docs":{"19":{"tf":1.0},"29":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"53":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"i":{"df":16,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":2.23606797749979},"38":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.0},"26":{"tf":1.0},"9":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":3,"docs":{"41":{"tf":1.0},"51":{"tf":1.0},"57":{"tf":2.0}}}},"u":{"d":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"e":{"df":2,"docs":{"28":{"tf":1.0},"31":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"9":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":5,"docs":{"12":{"tf":1.0},"23":{"tf":1.7320508075688772},"33":{"tf":1.4142135623730951},"43":{"tf":1.7320508075688772},"54":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"36":{"tf":1.0},"7":{"tf":1.0}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":4,"docs":{"27":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"9":{"tf":1.0}},"i":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"6":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"i":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{},"t":{"df":2,"docs":{"31":{"tf":1.0},"32":{"tf":1.0}}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}}},"n":{"c":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"2":{"tf":2.0},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"34":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":2.23606797749979}},"u":{"df":0,"docs":{},"r":{"df":20,"docs":{"13":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"19":{"tf":1.0},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"29":{"tf":1.0},"3":{"tf":1.0},"30":{"tf":1.7320508075688772},"35":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.4142135623730951},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}},"i":{"d":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":4,"docs":{"13":{"tf":1.4142135623730951},"35":{"tf":1.0},"54":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"13":{"tf":1.0},"20":{"tf":1.0},"38":{"tf":1.4142135623730951},"55":{"tf":1.4142135623730951}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":1,"docs":{"13":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.7320508075688772}}}}}}},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"19":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0}}}}},"r":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"34":{"tf":1.0}}}},"t":{"df":0,"docs":{},"e":{"df":2,"docs":{"37":{"tf":1.0},"54":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"40":{"tf":1.4142135623730951}}}}},"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"54":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"54":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":13,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.7320508075688772},"21":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"36":{"tf":1.0},"37":{"tf":1.4142135623730951},"4":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"a":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"36":{"tf":1.0}}}}}},"df":1,"docs":{"7":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"41":{"tf":1.0},"42":{"tf":2.449489742783178}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"9":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":4,"docs":{"16":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"34":{"tf":1.0}}}}}}}},"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"t":{"a":{"df":8,"docs":{"19":{"tf":1.0},"25":{"tf":1.7320508075688772},"30":{"tf":1.0},"42":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"57":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":3,"docs":{"21":{"tf":1.0},"33":{"tf":1.4142135623730951},"57":{"tf":2.0}}}}},"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}},"df":12,"docs":{"16":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"25":{"tf":1.4142135623730951},"28":{"tf":2.23606797749979},"29":{"tf":1.4142135623730951},"33":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":2.23606797749979},"5":{"tf":1.0},"52":{"tf":2.0},"57":{"tf":2.0},"7":{"tf":1.0}}}}}},"df":2,"docs":{"28":{"tf":1.4142135623730951},"29":{"tf":1.0}},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"47":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":1,"docs":{"20":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"14":{"tf":1.0},"48":{"tf":1.0}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":0,"docs":{},"e":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}}}},"df":0,"docs":{}}}}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":1,"docs":{"12":{"tf":1.4142135623730951}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":2.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772}}}},"r":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":4,"docs":{"15":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.0}}}}},"df":0,"docs":{}},"v":{"df":1,"docs":{"2":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":12,"docs":{"26":{"tf":2.0},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0},"8":{"tf":2.23606797749979},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"10":{"tf":1.4142135623730951}}}},"i":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":2,"docs":{"14":{"tf":2.0},"16":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}}},"df":0,"docs":{}}}}}},"o":{"c":{"df":2,"docs":{"26":{"tf":1.0},"46":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"g":{"df":3,"docs":{"13":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}}},"a":{"c":{"df":0,"docs":{},"h":{"df":13,"docs":{"16":{"tf":1.7320508075688772},"21":{"tf":1.0},"22":{"tf":1.4142135623730951},"25":{"tf":1.7320508075688772},"27":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0},"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":3,"docs":{"22":{"tf":1.0},"27":{"tf":1.0},"5":{"tf":1.4142135623730951}},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"18":{"tf":1.0}}}}}},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"30":{"tf":1.0},"36":{"tf":1.0}}}}}}}}}},"d":{"df":0,"docs":{},"g":{"df":1,"docs":{"8":{"tf":1.0}}},"i":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.0},"3":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"n":{"a":{"b":{"df":0,"docs":{},"l":{"df":9,"docs":{"12":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"6":{"tf":1.0}}}},"df":0,"docs":{}},"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"[":{"'":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":5,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"24":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}},"e":{">":{"[":{":":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{">":{"]":{"=":{"]":{"<":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":18,"docs":{"16":{"tf":1.4142135623730951},"2":{"tf":1.0},"21":{"tf":2.0},"23":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":3.1622776601683795},"28":{"tf":2.6457513110645907},"29":{"tf":3.0},"37":{"tf":1.7320508075688772},"4":{"tf":1.4142135623730951},"42":{"tf":2.6457513110645907},"43":{"tf":3.0},"5":{"tf":1.4142135623730951},"52":{"tf":4.69041575982343},"53":{"tf":1.4142135623730951},"57":{"tf":4.242640687119285},"7":{"tf":1.7320508075688772},"8":{"tf":1.4142135623730951}},"s":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"47":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"40":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"v":{"df":2,"docs":{"13":{"tf":1.0},"43":{"tf":1.0}},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":12,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.7320508075688772},"5":{"tf":1.4142135623730951},"6":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}}}}}}}}},"p":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"q":{"df":1,"docs":{"57":{"tf":1.0}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"/":{"2":{".":{"4":{"8":{".":{"1":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"x":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":2,"docs":{"28":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":2,"docs":{"21":{"tf":1.0},"31":{"tf":1.0}}}}},"s":{"c":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"x":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":12,"docs":{"21":{"tf":2.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"38":{"tf":1.0},"42":{"tf":1.4142135623730951},"46":{"tf":1.4142135623730951},"48":{"tf":1.0},"52":{"tf":1.4142135623730951},"55":{"tf":1.0},"57":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"45":{"tf":1.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"y":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":9,"docs":{"0":{"tf":1.4142135623730951},"17":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.4142135623730951},"36":{"tf":1.0},"6":{"tf":1.4142135623730951}}}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":2,"docs":{"23":{"tf":1.0},"3":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"48":{"tf":1.0}}}}},"r":{"a":{"df":1,"docs":{"29":{"tf":1.0}}},"df":0,"docs":{}}}}},"f":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":2,"docs":{"33":{"tf":1.0},"34":{"tf":1.7320508075688772}},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"l":{"b":{"a":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"17":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"28":{"tf":1.0},"6":{"tf":1.0}}},"s":{"df":1,"docs":{"14":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":4,"docs":{"17":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"9":{"tf":1.0}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}},"w":{"df":1,"docs":{"28":{"tf":1.0}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"d":{"df":2,"docs":{"19":{"tf":1.4142135623730951},"20":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"e":{"df":12,"docs":{"1":{"tf":1.4142135623730951},"10":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.4142135623730951},"22":{"tf":1.0},"3":{"tf":2.0},"31":{"tf":1.0},"35":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"25":{"tf":1.0}},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":4,"docs":{"25":{"tf":1.0},"30":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":5,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"45":{"tf":1.0}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"9":{"tf":1.0}}}},"g":{"df":1,"docs":{"7":{"tf":1.0}}},"m":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}},"t":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":1,"docs":{"35":{"tf":1.0}}},"w":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"9":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"u":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"30":{"tf":1.0}},"r":{"df":0,"docs":{},"y":{".":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{".":{"5":{"=":{"a":{"df":0,"docs":{},"l":{"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"e":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"n":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":7,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":2.0},"28":{"tf":1.0},"30":{"tf":1.4142135623730951},"31":{"tf":1.4142135623730951},"47":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}}}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}}}},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"_":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"35":{"tf":1.0}}}}},"o":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"h":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"25":{"tf":1.0}},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}},"df":1,"docs":{"25":{"tf":1.0}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":1,"docs":{"25":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"28":{"tf":1.7320508075688772}}}},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}},"n":{"df":3,"docs":{"20":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"19":{"tf":1.0},"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":5,"docs":{"16":{"tf":1.4142135623730951},"17":{"tf":1.4142135623730951},"21":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"u":{"df":1,"docs":{"21":{"tf":1.0}}}},"o":{"a":{"df":0,"docs":{},"l":{"df":2,"docs":{"30":{"tf":1.4142135623730951},"5":{"tf":2.0}}}},"df":9,"docs":{"0":{"tf":1.0},"33":{"tf":1.0},"36":{"tf":1.0},"44":{"tf":2.0},"45":{"tf":1.4142135623730951},"46":{"tf":1.0},"47":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"29":{"tf":1.4142135623730951},"42":{"tf":2.449489742783178}}}}}},"l":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":1,"docs":{"45":{"tf":1.0}}}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"u":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"12":{"tf":1.0}}},"df":0,"docs":{}}}},"h":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"22":{"tf":1.0},"30":{"tf":1.0}},"l":{"df":2,"docs":{"20":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"h":{"df":1,"docs":{"57":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"p":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":2.449489742783178}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":2,"docs":{"39":{"tf":1.0},"43":{"tf":1.0}},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"d":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"7":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"p":{"df":4,"docs":{"30":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.4142135623730951},"43":{"tf":2.6457513110645907}}}},"r":{"df":0,"docs":{},"e":{"df":3,"docs":{"26":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"20":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"37":{"tf":1.0}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"t":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{":":{"/":{"/":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"2":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"41":{"tf":1.0}},"s":{":":{"/":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"c":{"a":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"u":{"b":{".":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"r":{"a":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"m":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"s":{"df":0,"docs":{},"h":{".":{"df":0,"docs":{},"r":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{".":{"df":0,"docs":{},"r":{"df":1,"docs":{"41":{"tf":1.0}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"u":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}}}},"i":{"d":{"'":{"df":1,"docs":{"31":{"tf":1.0}}},"df":3,"docs":{"29":{"tf":1.4142135623730951},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"y":{"df":0,"docs":{},"n":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"19":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"19":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"'":{"df":1,"docs":{"30":{"tf":1.0}}},"df":0,"docs":{}}}}}},"df":16,"docs":{"0":{"tf":1.7320508075688772},"25":{"tf":1.0},"26":{"tf":1.7320508075688772},"30":{"tf":3.3166247903554},"31":{"tf":2.449489742783178},"32":{"tf":1.0},"33":{"tf":1.4142135623730951},"34":{"tf":1.0},"35":{"tf":1.0},"36":{"tf":2.0},"37":{"tf":1.0},"44":{"tf":1.7320508075688772},"48":{"tf":1.7320508075688772},"54":{"tf":1.7320508075688772},"58":{"tf":1.4142135623730951},"9":{"tf":1.4142135623730951}}}}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":5,"docs":{"28":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"53":{"tf":1.0}}}}}}},"n":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"d":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"m":{"df":5,"docs":{"0":{"tf":1.0},"17":{"tf":1.0},"24":{"tf":1.0},"26":{"tf":2.0},"7":{"tf":1.0}}}}}},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"23":{"tf":1.0}}}}},"i":{"d":{"df":4,"docs":{"13":{"tf":1.0},"18":{"tf":1.0},"29":{"tf":1.0},"56":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"t":{"a":{"df":0,"docs":{},"l":{"df":14,"docs":{"2":{"tf":2.23606797749979},"33":{"tf":2.0},"38":{"tf":1.0},"39":{"tf":1.7320508075688772},"40":{"tf":2.0},"41":{"tf":2.23606797749979},"45":{"tf":1.4142135623730951},"48":{"tf":1.0},"49":{"tf":1.4142135623730951},"50":{"tf":1.0},"51":{"tf":1.0},"55":{"tf":1.0},"56":{"tf":1.4142135623730951},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"a":{"d":{"df":3,"docs":{"13":{"tf":1.0},"28":{"tf":1.0},"7":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"21":{"tf":2.23606797749979}},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"df":8,"docs":{"0":{"tf":1.4142135623730951},"26":{"tf":1.4142135623730951},"27":{"tf":2.23606797749979},"28":{"tf":1.4142135623730951},"29":{"tf":1.0},"6":{"tf":1.0},"8":{"tf":1.4142135623730951},"9":{"tf":1.0}}}},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"20":{"tf":1.0}}}},"r":{"a":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"9":{"tf":1.0}}}}},"f":{"a":{"c":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"43":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}}}}}}}}},"o":{"df":1,"docs":{"8":{"tf":1.0}}},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"25":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":1,"docs":{"9":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"13":{"tf":1.0},"24":{"tf":1.4142135623730951},"30":{"tf":1.4142135623730951},"34":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951}}}}},"w":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"21":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":3,"docs":{"18":{"tf":1.0},"21":{"tf":2.0},"22":{"tf":1.0}}}}},"l":{"1":{"'":{"df":1,"docs":{"7":{"tf":1.0}}},"df":0,"docs":{}},"a":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"a":{"df":0,"docs":{},"g":{"df":12,"docs":{"0":{"tf":1.0},"14":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":2.23606797749979},"31":{"tf":1.0},"32":{"tf":1.0},"36":{"tf":1.4142135623730951},"5":{"tf":1.7320508075688772},"7":{"tf":1.4142135623730951},"8":{"tf":1.0},"9":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"g":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"o":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"d":{"_":{"b":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"0":{"tf":1.4142135623730951},"30":{"tf":1.0}}}},"v":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"8":{"tf":1.0}}}},"t":{"'":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}},"df":1,"docs":{"29":{"tf":1.7320508075688772}}}},"f":{"df":1,"docs":{"33":{"tf":1.0}}},"i":{"b":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":25,"docs":{"2":{"tf":1.0},"36":{"tf":1.7320508075688772},"37":{"tf":1.0},"38":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.0},"41":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"44":{"tf":1.0},"45":{"tf":1.0},"46":{"tf":1.0},"47":{"tf":1.0},"48":{"tf":1.0},"49":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"54":{"tf":1.4142135623730951},"55":{"tf":1.0},"56":{"tf":1.0},"57":{"tf":1.0},"58":{"tf":1.0},"9":{"tf":1.0}}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"s":{"df":0,"docs":{},"l":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":4,"docs":{"28":{"tf":1.0},"3":{"tf":1.0},"43":{"tf":1.0},"54":{"tf":1.0}}},"u":{"df":0,"docs":{},"x":{"df":2,"docs":{"2":{"tf":1.0},"21":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"t":{"df":5,"docs":{"21":{"tf":1.0},"24":{"tf":1.4142135623730951},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"47":{"tf":1.0}},"s":{"/":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"31":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":1.0}}}}}},"l":{"a":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"29":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"o":{"a":{"d":{"_":{"b":{"a":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":3,"docs":{"28":{"tf":1.0},"34":{"tf":1.0},"43":{"tf":1.0}}},"df":0,"docs":{}},"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"2":{"tf":2.449489742783178}}}}}}}}}},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{":":{"5":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":2,"docs":{"42":{"tf":1.0},"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{":":{"8":{"5":{"4":{"5":{"df":2,"docs":{"23":{"tf":1.0},"29":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"9":{"9":{"9":{"9":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}}}}},"t":{"df":2,"docs":{"21":{"tf":1.0},"34":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"k":{"df":1,"docs":{"30":{"tf":1.0}}},"s":{"df":1,"docs":{"20":{"tf":1.0}}}},"t":{"df":1,"docs":{"13":{"tf":1.0}}},"w":{"df":1,"docs":{"13":{"tf":1.0}}}},"s":{"df":3,"docs":{"37":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0}}}},"m":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.4142135623730951}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"8":{"tf":1.0}}}}}}},"j":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}}}},"k":{"df":0,"docs":{},"e":{"df":3,"docs":{"30":{"tf":1.0},"34":{"tf":1.0},"5":{"tf":1.4142135623730951}}}},"n":{"a":{"df":0,"docs":{},"g":{"df":4,"docs":{"37":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":4,"docs":{"21":{"tf":1.0},"24":{"tf":1.0},"31":{"tf":1.0},"52":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":3,"docs":{"21":{"tf":1.7320508075688772},"25":{"tf":1.0},"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"t":{"c":{"df":0,"docs":{},"h":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"x":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"6":{"tf":1.0},"9":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"n":{"df":3,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"8":{"tf":1.4142135623730951}}}},"df":0,"docs":{},"s":{"c":{"'":{"df":2,"docs":{"30":{"tf":1.0},"8":{"tf":1.0}}},".":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"=":{"5":{"df":1,"docs":{"52":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":1,"docs":{"28":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":1,"docs":{"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"'":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"52":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"5":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"52":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":3,"docs":{"28":{"tf":1.0},"29":{"tf":1.0},"52":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":5,"docs":{"1":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.4142135623730951},"18":{"tf":1.0},"2":{"tf":1.0}}}}}}},":":{":":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"d":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"s":{"(":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"(":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"b":{"df":0,"docs":{},"y":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"(":{"\"":{"5":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{"(":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"(":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"i":{"df":0,"docs":{},"s":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":1,"docs":{"57":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"y":{":":{":":{"df":0,"docs":{},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"(":{")":{".":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"(":{"\"":{"5":{"\"":{")":{".":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"w":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}}}}}}},"df":0,"docs":{}}}}}}}},"{":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"_":{"_":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":2,"docs":{"2":{"tf":1.0},"40":{"tf":1.0}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"=":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"23":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":2,"docs":{"23":{"tf":1.0},"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":1,"docs":{"14":{"tf":1.0}},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{},"v":{"df":1,"docs":{"13":{"tf":2.0}}}}},"g":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"b":{"a":{"df":0,"docs":{},"l":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"m":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"13":{"tf":1.4142135623730951}},"e":{"=":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":1,"docs":{"14":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"24":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}}},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"=":{"/":{"df":0,"docs":{},"p":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"3":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":3,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.7320508075688772}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"/":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"/":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}}}}}}},"df":59,"docs":{"0":{"tf":3.4641016151377544},"1":{"tf":1.4142135623730951},"10":{"tf":2.8284271247461903},"11":{"tf":2.0},"12":{"tf":2.0},"13":{"tf":2.0},"14":{"tf":2.6457513110645907},"15":{"tf":1.7320508075688772},"16":{"tf":2.0},"17":{"tf":2.0},"18":{"tf":1.7320508075688772},"19":{"tf":1.7320508075688772},"2":{"tf":2.449489742783178},"20":{"tf":1.7320508075688772},"21":{"tf":1.0},"22":{"tf":1.7320508075688772},"23":{"tf":2.449489742783178},"24":{"tf":1.4142135623730951},"25":{"tf":2.6457513110645907},"26":{"tf":2.6457513110645907},"27":{"tf":2.449489742783178},"28":{"tf":2.6457513110645907},"29":{"tf":1.4142135623730951},"3":{"tf":2.0},"30":{"tf":4.0},"31":{"tf":2.0},"32":{"tf":2.23606797749979},"33":{"tf":1.4142135623730951},"34":{"tf":1.4142135623730951},"35":{"tf":2.0},"36":{"tf":2.449489742783178},"37":{"tf":3.1622776601683795},"38":{"tf":1.0},"39":{"tf":1.7320508075688772},"4":{"tf":2.449489742783178},"40":{"tf":1.0},"41":{"tf":1.7320508075688772},"42":{"tf":2.8284271247461903},"43":{"tf":2.449489742783178},"44":{"tf":2.0},"45":{"tf":1.0},"46":{"tf":1.0},"47":{"tf":1.0},"48":{"tf":2.0},"49":{"tf":1.0},"5":{"tf":2.0},"50":{"tf":1.4142135623730951},"51":{"tf":1.4142135623730951},"52":{"tf":1.7320508075688772},"53":{"tf":1.0},"54":{"tf":2.449489742783178},"55":{"tf":1.0},"56":{"tf":1.7320508075688772},"57":{"tf":1.4142135623730951},"58":{"tf":1.7320508075688772},"6":{"tf":3.0},"7":{"tf":2.23606797749979},"8":{"tf":3.3166247903554},"9":{"tf":2.6457513110645907}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.7320508075688772}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"34":{"tf":1.0}}}}}}}},"df":0,"docs":{}},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":13,"docs":{"10":{"tf":1.4142135623730951},"16":{"tf":1.4142135623730951},"19":{"tf":2.0},"20":{"tf":2.0},"21":{"tf":2.0},"24":{"tf":1.0},"25":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.7320508075688772},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951},"7":{"tf":1.0},"8":{"tf":1.0}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":2,"docs":{"21":{"tf":1.0},"6":{"tf":1.0}}},"df":0,"docs":{}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"8":{"tf":1.0}}}}},"s":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"n":{"df":1,"docs":{"10":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"o":{"d":{"df":0,"docs":{},"e":{"df":1,"docs":{"33":{"tf":1.4142135623730951}},"l":{"df":1,"docs":{"47":{"tf":1.4142135623730951}}},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"7":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"f":{"df":1,"docs":{"21":{"tf":1.0}},"i":{"df":5,"docs":{"2":{"tf":1.0},"22":{"tf":1.4142135623730951},"24":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":2.0}}}}}},"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"12":{"tf":1.0},"30":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"0":{"tf":1.0}}}}}},"u":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"33":{"tf":1.0}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":4,"docs":{"4":{"tf":1.0},"5":{"tf":1.7320508075688772},"7":{"tf":2.0},"8":{"tf":1.7320508075688772}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"53":{"tf":1.0}},"p":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"[":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"53":{"tf":2.6457513110645907}}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":14,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"21":{"tf":2.0},"24":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":2.23606797749979},"30":{"tf":1.0},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":2.23606797749979}},"s":{"df":0,"docs":{},"p":{"a":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"31":{"tf":1.0}}}}}},"df":1,"docs":{"33":{"tf":1.0}},"e":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"12":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"d":{"df":3,"docs":{"22":{"tf":1.0},"33":{"tf":1.0},"8":{"tf":1.7320508075688772}}},"df":0,"docs":{}},"t":{"df":0,"docs":{},"w":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"_":{"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":4,"docs":{"18":{"tf":1.0},"2":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":3,"docs":{"2":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.0}},"e":{">":{"=":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"_":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":10,"docs":{"16":{"tf":1.0},"24":{"tf":1.0},"25":{"tf":1.0},"29":{"tf":1.7320508075688772},"31":{"tf":1.0},"42":{"tf":1.0},"43":{"tf":1.4142135623730951},"52":{"tf":1.7320508075688772},"57":{"tf":2.0},"8":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"34":{"tf":1.0}}}}},"w":{"df":6,"docs":{"0":{"tf":1.0},"18":{"tf":1.0},"26":{"tf":1.0},"28":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0}}}},"o":{"d":{"df":0,"docs":{},"e":{"_":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{},"n":{"df":3,"docs":{"25":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}},"e":{"df":6,"docs":{"25":{"tf":2.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.0},"52":{"tf":2.449489742783178},"53":{"tf":1.7320508075688772},"57":{"tf":1.0}}}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":1,"docs":{"18":{"tf":1.0}}}},"m":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":2,"docs":{"5":{"tf":1.0},"8":{"tf":1.0}}}}},"df":0,"docs":{}}}},"o":{"b":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"df":1,"docs":{"30":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":1,"docs":{"42":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"43":{"tf":1.0}}}}},"n":{"b":{"df":0,"docs":{},"o":{"a":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"c":{"df":1,"docs":{"9":{"tf":1.0}}},"df":7,"docs":{"12":{"tf":1.4142135623730951},"13":{"tf":1.0},"2":{"tf":1.0},"30":{"tf":1.0},"33":{"tf":1.0},"39":{"tf":1.0},"8":{"tf":1.4142135623730951}}},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"27":{"tf":1.0},"28":{"tf":1.0},"6":{"tf":2.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"c":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"i":{"d":{"df":1,"docs":{"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}},"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.6457513110645907}}}}}}}}}},"df":7,"docs":{"17":{"tf":1.4142135623730951},"19":{"tf":1.0},"25":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.0},"39":{"tf":1.0},"43":{"tf":1.0}}}}}}},"s":{".":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{".":{"df":0,"docs":{},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"(":{"'":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"_":{"df":0,"docs":{},"r":{"df":0,"docs":{},"p":{"c":{"_":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":1,"docs":{"28":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}}}}}}},"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"34":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"13":{"tf":1.0}},"r":{"df":0,"docs":{},"i":{"d":{"df":6,"docs":{"10":{"tf":1.4142135623730951},"15":{"tf":2.0},"16":{"tf":1.0},"22":{"tf":2.6457513110645907},"23":{"tf":2.0},"24":{"tf":2.23606797749979}}},"df":0,"docs":{}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":10,"docs":{"0":{"tf":1.7320508075688772},"1":{"tf":1.0},"2":{"tf":1.0},"3":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}}}}}}}},"p":{"a":{"c":{"df":0,"docs":{},"k":{"a":{"df":0,"docs":{},"g":{"df":2,"docs":{"35":{"tf":1.0},"47":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":1.7320508075688772}}}},"r":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":1,"docs":{"33":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":1,"docs":{"21":{"tf":1.0}}},"s":{"df":3,"docs":{"29":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}},"t":{"df":1,"docs":{"30":{"tf":1.0}},"i":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"q":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":3,"docs":{"43":{"tf":1.0},"52":{"tf":1.4142135623730951},"57":{"tf":1.4142135623730951}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"s":{"df":2,"docs":{"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"h":{"df":6,"docs":{"1":{"tf":1.0},"12":{"tf":1.0},"13":{"tf":1.0},"39":{"tf":1.0},"40":{"tf":1.4142135623730951},"41":{"tf":1.0}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":2,"docs":{"27":{"tf":1.0},"29":{"tf":1.0}}}}}}}},"d":{"b":{"df":1,"docs":{"33":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"46":{"tf":1.0}}},"df":0,"docs":{}},"r":{"df":1,"docs":{"21":{"tf":1.0}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":3,"docs":{"37":{"tf":1.4142135623730951},"42":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951}}}},"p":{"df":3,"docs":{"33":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0}}}},"k":{"df":0,"docs":{},"g":{"df":1,"docs":{"2":{"tf":1.0}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"y":{"df":0,"docs":{},"g":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"r":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"e":{"d":{"df":1,"docs":{"13":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"23":{"tf":1.0}}},"df":0,"docs":{}}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":2,"docs":{"5":{"tf":1.0},"7":{"tf":1.0}},"s":{"df":1,"docs":{"33":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":4,"docs":{"34":{"tf":2.0},"37":{"tf":1.0},"42":{"tf":2.0},"43":{"tf":3.1622776601683795}}}},"v":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"o":{"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"s":{"df":1,"docs":{"7":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":11,"docs":{"10":{"tf":1.0},"16":{"tf":2.23606797749979},"17":{"tf":2.449489742783178},"18":{"tf":2.6457513110645907},"2":{"tf":1.0},"21":{"tf":1.0},"25":{"tf":1.4142135623730951},"3":{"tf":1.0},"43":{"tf":1.7320508075688772},"53":{"tf":1.4142135623730951},"57":{"tf":1.7320508075688772}},"e":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"=":{"'":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"52":{"tf":1.4142135623730951}}}}}}},"df":2,"docs":{"25":{"tf":1.4142135623730951},"28":{"tf":1.0}}}}}},"df":0,"docs":{}},">":{".":{"<":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{">":{"[":{".":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"u":{"b":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":0,"docs":{},"y":{"]":{"=":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":4,"docs":{"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"18":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":1,"docs":{"43":{"tf":1.0}}}},"df":0,"docs":{}}}}}},"g":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"m":{"df":4,"docs":{"0":{"tf":1.0},"23":{"tf":1.0},"30":{"tf":1.4142135623730951},"9":{"tf":1.0}},"m":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"30":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"j":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":2,"docs":{"45":{"tf":1.7320508075688772},"56":{"tf":1.0}}}},"df":0,"docs":{}}},"o":{"df":0,"docs":{},"f":{"df":1,"docs":{"20":{"tf":1.0}}}},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"39":{"tf":1.0}}}}}}},"t":{"df":0,"docs":{},"o":{"df":1,"docs":{"41":{"tf":1.0}}}},"v":{"df":0,"docs":{},"i":{"d":{"df":8,"docs":{"21":{"tf":1.4142135623730951},"25":{"tf":1.0},"30":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.7320508075688772}}},"df":0,"docs":{}}}}},"u":{"b":{"df":1,"docs":{"57":{"tf":4.47213595499958}}},"df":0,"docs":{}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":2,"docs":{"35":{"tf":1.0},"50":{"tf":1.4142135623730951}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":2,"docs":{"33":{"tf":3.0},"35":{"tf":1.0}}}}},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":12,"docs":{"0":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"43":{"tf":1.4142135623730951},"48":{"tf":2.0},"49":{"tf":1.0},"50":{"tf":1.0},"51":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"9":{"tf":1.0}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":5,"docs":{"14":{"tf":1.0},"17":{"tf":1.4142135623730951},"25":{"tf":2.23606797749979},"34":{"tf":1.4142135623730951},"57":{"tf":1.0}}}}},"i":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"22":{"tf":1.0}},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}},"l":{"df":0,"docs":{},"i":{"df":4,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"22":{"tf":1.0},"42":{"tf":1.0}}}},"n":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":5,"docs":{"0":{"tf":1.0},"1":{"tf":1.7320508075688772},"12":{"tf":1.4142135623730951},"2":{"tf":1.0},"3":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"_":{"c":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"d":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.0}}}}},"df":0,"docs":{}}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}}}}}},"df":1,"docs":{"29":{"tf":2.6457513110645907}},"e":{"a":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"9":{"tf":1.0}}}},"d":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{}},"df":4,"docs":{"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"57":{"tf":1.0},"9":{"tf":1.0}},"m":{"df":1,"docs":{"26":{"tf":1.0}}}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"e":{"df":0,"docs":{},"i":{"df":0,"docs":{},"v":{"df":1,"docs":{"34":{"tf":1.0}}}}}},"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":9,"docs":{"26":{"tf":1.0},"38":{"tf":1.0},"43":{"tf":1.4142135623730951},"44":{"tf":1.0},"47":{"tf":1.7320508075688772},"48":{"tf":1.4142135623730951},"53":{"tf":1.4142135623730951},"54":{"tf":1.0},"55":{"tf":1.0}}}}},"g":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}}},"l":{"a":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.4142135623730951},"8":{"tf":1.0}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"17":{"tf":1.0}}}}},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"26":{"tf":1.0},"31":{"tf":1.0}}}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"i":{"df":0,"docs":{},"r":{"df":1,"docs":{"2":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":10,"docs":{"26":{"tf":1.7320508075688772},"27":{"tf":1.0},"28":{"tf":1.0},"29":{"tf":1.0},"30":{"tf":1.0},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"34":{"tf":1.0},"35":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":1,"docs":{"23":{"tf":1.0}}},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"<":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"<":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}}}}}}},"v":{"df":0,"docs":{},"e":{"c":{"<":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"34":{"tf":1.4142135623730951}}}}}},"t":{"df":0,"docs":{},"h":{"/":{"df":0,"docs":{},"v":{"0":{".":{"1":{".":{"0":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}},"df":0,"docs":{}},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":4,"docs":{"14":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.4142135623730951}}}}}},"v":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"o":{"a":{"d":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"9":{"tf":1.7320508075688772}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"p":{"df":1,"docs":{"7":{"tf":1.0}}}}}}},"p":{"c":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"(":{"df":0,"docs":{},"t":{"df":0,"docs":{},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":1,"docs":{"57":{"tf":1.0}}}}}}}},"df":11,"docs":{"19":{"tf":1.0},"21":{"tf":1.7320508075688772},"23":{"tf":1.0},"28":{"tf":1.7320508075688772},"29":{"tf":1.7320508075688772},"37":{"tf":1.0},"4":{"tf":1.7320508075688772},"42":{"tf":1.4142135623730951},"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951},"8":{"tf":1.0}}},"df":1,"docs":{"21":{"tf":1.0}}},"u":{"df":0,"docs":{},"n":{"df":7,"docs":{"2":{"tf":1.0},"26":{"tf":1.0},"3":{"tf":1.0},"31":{"tf":1.0},"33":{"tf":2.6457513110645907},"34":{"tf":1.0},"39":{"tf":1.0}}},"s":{"df":0,"docs":{},"t":{"/":{"c":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"/":{"c":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"41":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":11,"docs":{"0":{"tf":1.0},"30":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.0},"41":{"tf":1.0},"43":{"tf":1.4142135623730951},"54":{"tf":2.23606797749979},"55":{"tf":1.0},"56":{"tf":1.0},"57":{"tf":1.0},"9":{"tf":1.0}}}}}},"s":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"8":{"tf":1.0}}},"t":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"e":{"df":3,"docs":{"25":{"tf":1.4142135623730951},"30":{"tf":1.0},"31":{"tf":1.0}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":1,"docs":{"7":{"tf":1.0}}}}}}}},"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"a":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"df":0,"docs":{},"t":{"c":{"df":0,"docs":{},"h":{"df":1,"docs":{"8":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":3,"docs":{"23":{"tf":2.0},"31":{"tf":1.4142135623730951},"34":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":2,"docs":{"30":{"tf":1.0},"5":{"tf":1.0}}}}},"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"15":{"tf":1.0}}}}}}},"df":0,"docs":{},"e":{"df":7,"docs":{"0":{"tf":2.449489742783178},"10":{"tf":2.0},"15":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":2.0},"36":{"tf":1.0},"54":{"tf":1.0}}},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":5,"docs":{"13":{"tf":1.0},"29":{"tf":1.7320508075688772},"33":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"24":{"tf":2.0}}}},"df":0,"docs":{}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"c":{"df":2,"docs":{"52":{"tf":1.0},"53":{"tf":1.0}},"e":{"[":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"25":{"tf":1.0},"52":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"21":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"r":{"d":{"df":0,"docs":{},"e":{"_":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{":":{":":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"57":{"tf":2.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"21":{"tf":1.0}}},"df":0,"docs":{}}}},"t":{"df":17,"docs":{"1":{"tf":1.0},"10":{"tf":1.7320508075688772},"11":{"tf":1.7320508075688772},"12":{"tf":2.0},"13":{"tf":2.23606797749979},"14":{"tf":1.4142135623730951},"15":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.4142135623730951},"23":{"tf":1.0},"25":{"tf":1.4142135623730951},"28":{"tf":2.0},"3":{"tf":1.7320508075688772},"30":{"tf":1.0},"32":{"tf":1.0},"43":{"tf":1.7320508075688772},"6":{"tf":1.0}},"u":{"df":0,"docs":{},"p":{"df":9,"docs":{"10":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":1.4142135623730951},"18":{"tf":1.0},"2":{"tf":1.0},"3":{"tf":1.4142135623730951},"37":{"tf":1.0},"43":{"tf":1.4142135623730951},"8":{"tf":1.0}}}}}},"h":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":4,"docs":{"4":{"tf":1.4142135623730951},"5":{"tf":1.0},"8":{"tf":1.0},"9":{"tf":1.0}}}}},"df":1,"docs":{"41":{"tf":1.0}},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":3,"docs":{"12":{"tf":1.0},"23":{"tf":1.0},"3":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"w":{"df":1,"docs":{"43":{"tf":1.0}},"n":{"df":1,"docs":{"27":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"47":{"tf":1.0}}}}}},"df":0,"docs":{}}},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"r":{"df":1,"docs":{"29":{"tf":1.0}}}},"df":0,"docs":{}}},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"12":{"tf":1.0}}}}},"i":{"df":3,"docs":{"13":{"tf":1.0},"34":{"tf":1.0},"6":{"tf":1.0}}}}}},"n":{"df":0,"docs":{},"g":{"df":0,"docs":{},"l":{"df":5,"docs":{"34":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772},"8":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":2,"docs":{"5":{"tf":1.4142135623730951},"7":{"tf":1.4142135623730951}}}}},"m":{"df":0,"docs":{},"e":{"(":{"\"":{"df":0,"docs":{},"x":{"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"_":{"df":0,"docs":{},"t":{"df":0,"docs":{},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"57":{"tf":1.4142135623730951}}}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}},"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"m":{"df":2,"docs":{"13":{"tf":1.0},"23":{"tf":1.0}}}}}}},"o":{"df":0,"docs":{},"n":{"df":2,"docs":{"8":{"tf":1.0},"9":{"tf":1.0}}}},"u":{"df":0,"docs":{},"r":{"c":{"df":6,"docs":{"41":{"tf":1.4142135623730951},"43":{"tf":1.0},"5":{"tf":1.0},"51":{"tf":1.4142135623730951},"7":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}}}},"p":{"a":{"c":{"df":0,"docs":{},"e":{"df":2,"docs":{"21":{"tf":1.0},"24":{"tf":2.0}}}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"f":{"df":13,"docs":{"2":{"tf":1.0},"20":{"tf":1.0},"22":{"tf":1.0},"26":{"tf":1.0},"30":{"tf":1.7320508075688772},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"43":{"tf":1.0},"5":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":1.4142135623730951},"9":{"tf":1.4142135623730951}},"i":{"df":5,"docs":{"17":{"tf":1.7320508075688772},"20":{"tf":1.0},"3":{"tf":1.0},"5":{"tf":1.0},"7":{"tf":1.7320508075688772}}}}}},"df":0,"docs":{},"n":{"d":{"df":1,"docs":{"8":{"tf":1.0}}},"df":0,"docs":{}}}},"s":{"df":0,"docs":{},"f":{"df":1,"docs":{"41":{"tf":1.0}}},"l":{"df":1,"docs":{"2":{"tf":1.0}}}},"t":{"a":{"df":0,"docs":{},"n":{"d":{"a":{"df":0,"docs":{},"r":{"d":{"df":7,"docs":{"31":{"tf":1.0},"4":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"0":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"12":{"tf":1.0}}}}}},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}}}},"d":{":":{":":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"s":{":":{":":{"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"h":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"57":{"tf":1.0}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}}}}}}},"df":0,"docs":{}}}}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{},"e":{"df":0,"docs":{},"p":{"df":2,"docs":{"29":{"tf":1.0},"8":{"tf":1.0}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"e":{"df":2,"docs":{"19":{"tf":1.0},"8":{"tf":1.0}}}}},"r":{"df":4,"docs":{"21":{"tf":3.1622776601683795},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"53":{"tf":3.1622776601683795}},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":2.6457513110645907}}}}},"u":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"57":{"tf":2.0}},"u":{"df":0,"docs":{},"r":{"df":2,"docs":{"2":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"u":{"b":{"c":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"n":{"d":{"df":2,"docs":{"18":{"tf":1.0},"37":{"tf":1.7320508075688772}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.0}}}}}},"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"2":{"tf":1.0}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":2,"docs":{"30":{"tf":1.7320508075688772},"31":{"tf":1.0}}}}},"y":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"x":{"df":3,"docs":{"22":{"tf":1.0},"23":{"tf":1.4142135623730951},"24":{"tf":1.0}}}},"df":0,"docs":{}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":4,"docs":{"13":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"t":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"42":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":0,"docs":{},"e":{"df":2,"docs":{"13":{"tf":1.0},"34":{"tf":1.0}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"a":{"df":0,"docs":{},"t":{"df":3,"docs":{"12":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"m":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"12":{"tf":1.0},"43":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"t":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"35":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{}}}}},"df":9,"docs":{"13":{"tf":1.0},"26":{"tf":1.4142135623730951},"30":{"tf":1.7320508075688772},"31":{"tf":1.4142135623730951},"32":{"tf":2.0},"33":{"tf":3.0},"34":{"tf":1.4142135623730951},"35":{"tf":2.0},"8":{"tf":1.4142135623730951}},"n":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":2,"docs":{"21":{"tf":1.0},"7":{"tf":1.0}}}}}}}},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"g":{"df":2,"docs":{"23":{"tf":1.0},"8":{"tf":1.4142135623730951}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"g":{"df":0,"docs":{},"h":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"8":{"tf":1.0}}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}}}}}},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":1,"docs":{"8":{"tf":1.0}},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":1,"docs":{"21":{"tf":1.4142135623730951}}}}},"df":0,"docs":{}}}}}},"l":{"df":0,"docs":{},"s":{"df":0,"docs":{},"v":{"1":{".":{"2":{"df":1,"docs":{"41":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"o":{"d":{"df":0,"docs":{},"o":{"df":1,"docs":{"46":{"tf":1.0}}}},"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"'":{"df":1,"docs":{"8":{"tf":1.0}}},"df":24,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"16":{"tf":1.7320508075688772},"18":{"tf":1.0},"19":{"tf":1.0},"2":{"tf":1.0},"20":{"tf":1.0},"21":{"tf":1.4142135623730951},"23":{"tf":1.0},"25":{"tf":1.0},"26":{"tf":1.0},"27":{"tf":1.0},"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951},"3":{"tf":1.0},"30":{"tf":1.0},"4":{"tf":1.0},"5":{"tf":1.4142135623730951},"52":{"tf":1.4142135623730951},"54":{"tf":1.0},"57":{"tf":1.4142135623730951},"6":{"tf":1.0},"7":{"tf":2.0},"8":{"tf":3.3166247903554}}}},"p":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"43":{"tf":1.4142135623730951}}},"df":0,"docs":{}}}},"r":{"a":{"c":{"df":0,"docs":{},"e":{"_":{"b":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"c":{"df":0,"docs":{},"k":{"df":1,"docs":{"21":{"tf":1.0}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":1,"docs":{"21":{"tf":1.0}}},"k":{"df":1,"docs":{"10":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"9":{"tf":1.0}}}}}},"df":0,"docs":{}},"df":0,"docs":{},"i":{"df":2,"docs":{"52":{"tf":1.0},"57":{"tf":1.0}}},"u":{"df":0,"docs":{},"e":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"21":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":3,"docs":{"5":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}}}}},"w":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"k":{"df":1,"docs":{"23":{"tf":1.0}}}},"df":0,"docs":{}},"o":{"df":2,"docs":{"2":{"tf":1.0},"5":{"tf":1.0}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"d":{"d":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"53":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":9,"docs":{"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"25":{"tf":1.0},"30":{"tf":1.0},"37":{"tf":1.0},"43":{"tf":1.0},"52":{"tf":1.0},"53":{"tf":1.0},"57":{"tf":1.7320508075688772}},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":4,"docs":{"0":{"tf":1.0},"36":{"tf":1.0},"58":{"tf":1.7320508075688772},"9":{"tf":1.0}}}}}}},"df":0,"docs":{}}},"i":{"c":{"df":1,"docs":{"3":{"tf":1.0}}},"df":0,"docs":{}}}}},"u":{"b":{"df":0,"docs":{},"u":{"df":0,"docs":{},"n":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":1,"docs":{"2":{"tf":1.0}}}}}}}},"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"27":{"tf":1.0}}}},"df":0,"docs":{}}}},"n":{"df":0,"docs":{},"t":{"df":0,"docs":{},"i":{"c":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"20":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"37":{"tf":1.0}},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"9":{"tf":1.0}}}}}}},"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}},"k":{"df":0,"docs":{},"n":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":0,"docs":{},"n":{"df":1,"docs":{"21":{"tf":1.0}}}}}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"21":{"tf":1.0}}}}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"14":{"tf":1.0}}}}}},"p":{"df":8,"docs":{"10":{"tf":1.4142135623730951},"11":{"tf":1.7320508075688772},"12":{"tf":1.0},"13":{"tf":1.0},"14":{"tf":1.0},"15":{"tf":1.0},"18":{"tf":1.4142135623730951},"43":{"tf":1.0}},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"34":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"l":{"'":{"df":2,"docs":{"21":{"tf":1.0},"42":{"tf":1.0}}},"df":11,"docs":{"2":{"tf":1.0},"21":{"tf":1.0},"23":{"tf":2.0},"24":{"tf":1.0},"29":{"tf":1.4142135623730951},"37":{"tf":1.4142135623730951},"42":{"tf":2.23606797749979},"43":{"tf":1.4142135623730951},"53":{"tf":1.0},"57":{"tf":1.0},"7":{"tf":1.0}}}},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"35":{"tf":1.0}}}},"df":0,"docs":{},"g":{"df":10,"docs":{"23":{"tf":1.4142135623730951},"33":{"tf":1.4142135623730951},"38":{"tf":1.0},"42":{"tf":1.4142135623730951},"43":{"tf":1.0},"46":{"tf":1.4142135623730951},"48":{"tf":1.0},"52":{"tf":1.4142135623730951},"55":{"tf":1.0},"57":{"tf":1.4142135623730951}}}},"df":33,"docs":{"1":{"tf":1.0},"10":{"tf":2.23606797749979},"11":{"tf":1.0},"12":{"tf":1.4142135623730951},"13":{"tf":1.4142135623730951},"14":{"tf":1.0},"15":{"tf":1.4142135623730951},"16":{"tf":1.4142135623730951},"17":{"tf":1.7320508075688772},"18":{"tf":1.7320508075688772},"19":{"tf":1.4142135623730951},"2":{"tf":1.4142135623730951},"20":{"tf":1.4142135623730951},"21":{"tf":1.4142135623730951},"22":{"tf":1.4142135623730951},"23":{"tf":1.7320508075688772},"24":{"tf":1.4142135623730951},"25":{"tf":1.0},"28":{"tf":2.0},"29":{"tf":2.6457513110645907},"30":{"tf":2.449489742783178},"31":{"tf":1.0},"32":{"tf":1.0},"33":{"tf":1.0},"37":{"tf":1.0},"39":{"tf":1.0},"4":{"tf":1.0},"43":{"tf":2.0},"45":{"tf":1.0},"5":{"tf":1.7320508075688772},"57":{"tf":1.4142135623730951},"7":{"tf":2.23606797749979},"8":{"tf":1.7320508075688772}},"e":{"_":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":3,"docs":{"18":{"tf":1.0},"2":{"tf":1.0},"57":{"tf":1.0}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"p":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}}}}},"s":{"df":0,"docs":{},"t":{"df":0,"docs":{},"r":{"df":1,"docs":{"57":{"tf":1.0}}}}}},"df":10,"docs":{"25":{"tf":1.4142135623730951},"27":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.6457513110645907},"30":{"tf":1.4142135623730951},"4":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0},"6":{"tf":1.4142135623730951},"8":{"tf":1.4142135623730951}}}},"r":{"/":{"b":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"/":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"v":{"df":1,"docs":{"23":{"tf":1.0}}}}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"df":0,"docs":{}},"u":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"12":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"37":{"tf":1.0}}}}}},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"d":{"df":2,"docs":{"21":{"tf":1.0},"54":{"tf":1.4142135623730951}}},"df":0,"docs":{}},"u":{"df":4,"docs":{"17":{"tf":1.4142135623730951},"21":{"tf":1.4142135623730951},"24":{"tf":1.0},"43":{"tf":1.0}}}},"r":{"_":{"df":0,"docs":{},"n":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"=":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"r":{"_":{"df":0,"docs":{},"v":{"a":{"df":0,"docs":{},"l":{"df":0,"docs":{},"u":{"df":1,"docs":{"23":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}},"df":0,"docs":{}}}},"df":0,"docs":{}}},"df":0,"docs":{},"i":{"a":{"b":{"df":0,"docs":{},"l":{"df":14,"docs":{"1":{"tf":1.0},"12":{"tf":1.7320508075688772},"13":{"tf":1.4142135623730951},"14":{"tf":1.0},"15":{"tf":1.0},"22":{"tf":1.0},"23":{"tf":1.0},"24":{"tf":1.0},"28":{"tf":1.0},"3":{"tf":1.7320508075688772},"43":{"tf":1.0},"5":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.4142135623730951}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":1,"docs":{"43":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":3,"docs":{"21":{"tf":1.4142135623730951},"43":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"37":{"tf":1.0}}}}},"s":{"df":1,"docs":{"30":{"tf":1.0}}}},"w":{"a":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"36":{"tf":1.0},"6":{"tf":1.0}}}},"y":{"df":6,"docs":{"1":{"tf":1.0},"16":{"tf":1.0},"18":{"tf":1.0},"2":{"tf":1.0},"22":{"tf":1.0},"3":{"tf":1.0}}}},"df":0,"docs":{},"h":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"v":{"df":1,"docs":{"30":{"tf":1.0}}}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":5,"docs":{"21":{"tf":1.0},"25":{"tf":1.0},"32":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"p":{"df":1,"docs":{"58":{"tf":1.0}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":2,"docs":{"24":{"tf":1.0},"45":{"tf":1.4142135623730951}}}},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":4,"docs":{"10":{"tf":1.0},"13":{"tf":1.7320508075688772},"16":{"tf":1.0},"22":{"tf":1.0}}}}}}}},"o":{"df":0,"docs":{},"r":{"d":{"df":1,"docs":{"34":{"tf":1.4142135623730951}}},"df":0,"docs":{},"k":{"df":2,"docs":{"23":{"tf":1.0},"27":{"tf":1.0}},"f":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":2,"docs":{"28":{"tf":1.4142135623730951},"29":{"tf":1.4142135623730951}}}}}}}}},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":4,"docs":{"22":{"tf":1.0},"30":{"tf":1.0},"54":{"tf":1.4142135623730951},"9":{"tf":1.0}}}}}}},"x":{"d":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"33":{"tf":1.4142135623730951}}}}}},"df":0,"docs":{},"y":{"df":0,"docs":{},"z":{"df":3,"docs":{"2":{"tf":1.4142135623730951},"28":{"tf":1.4142135623730951},"29":{"tf":2.6457513110645907}}}}},"y":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":0,"docs":{},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"f":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}}}},"z":{"df":0,"docs":{},"o":{"df":0,"docs":{},"r":{"a":{"=":{"7":{"7":{"7":{"7":{"7":{"7":{"7":{"df":1,"docs":{"24":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}}}},"title":{"root":{"a":{"d":{"a":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"34":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"n":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"b":{"a":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"c":{"df":1,"docs":{"12":{"tf":1.0}}},"df":0,"docs":{}}}},"df":0,"docs":{}},"c":{"df":0,"docs":{},"h":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"k":{"df":0,"docs":{},"l":{"df":0,"docs":{},"i":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"31":{"tf":1.0}}}}}}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"i":{"df":1,"docs":{"37":{"tf":1.0}}}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":1,"docs":{"2":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"38":{"tf":1.0},"55":{"tf":1.0}}}}}}}},"r":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{".":{"df":0,"docs":{},"i":{"df":0,"docs":{},"o":{"df":1,"docs":{"40":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}},"df":0,"docs":{}}}},"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":1,"docs":{"25":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"a":{"df":0,"docs":{},"u":{"df":0,"docs":{},"l":{"df":0,"docs":{},"t":{"df":1,"docs":{"28":{"tf":1.0}}}}}},"df":0,"docs":{}},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":1,"docs":{"5":{"tf":1.0}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"p":{"df":2,"docs":{"26":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"i":{"df":0,"docs":{},"s":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"14":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"d":{"df":0,"docs":{},"p":{"df":0,"docs":{},"o":{"df":0,"docs":{},"i":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}}}},"df":0,"docs":{},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"3":{"tf":1.0}}}}}}}},"x":{"a":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":6,"docs":{"21":{"tf":1.0},"23":{"tf":1.0},"42":{"tf":1.0},"46":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}}}},"df":0,"docs":{}}},"f":{"df":0,"docs":{},"e":{"a":{"df":0,"docs":{},"t":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"17":{"tf":1.0}}}}}},"df":0,"docs":{}},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"d":{"df":1,"docs":{"20":{"tf":1.0}}},"df":0,"docs":{}}},"l":{"df":0,"docs":{},"e":{"df":2,"docs":{"2":{"tf":1.0},"35":{"tf":1.0}}}}}},"g":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"28":{"tf":1.0}}}},"o":{"a":{"df":0,"docs":{},"l":{"df":1,"docs":{"5":{"tf":1.0}}}},"df":1,"docs":{"44":{"tf":1.0}}}},"i":{"df":0,"docs":{},"m":{"df":0,"docs":{},"p":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":6,"docs":{"30":{"tf":1.0},"31":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"58":{"tf":1.0}}}}}}}}}},"n":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"l":{"df":6,"docs":{"39":{"tf":1.0},"40":{"tf":1.0},"41":{"tf":1.0},"45":{"tf":1.0},"49":{"tf":1.0},"56":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"g":{"df":0,"docs":{},"r":{"df":2,"docs":{"27":{"tf":1.0},"8":{"tf":1.0}}}}}}}},"l":{"df":0,"docs":{},"e":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}},"i":{"b":{"df":0,"docs":{},"r":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"36":{"tf":1.0}}}}},"df":0,"docs":{}}},"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"24":{"tf":1.0}}}}}},"m":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{".":{"df":0,"docs":{},"j":{"df":0,"docs":{},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"13":{"tf":1.0}}}}}}},"df":18,"docs":{"0":{"tf":1.0},"10":{"tf":1.0},"11":{"tf":1.0},"14":{"tf":1.0},"25":{"tf":1.0},"27":{"tf":1.0},"30":{"tf":1.0},"32":{"tf":1.0},"36":{"tf":1.0},"37":{"tf":1.0},"4":{"tf":1.0},"44":{"tf":1.0},"48":{"tf":1.0},"54":{"tf":1.0},"58":{"tf":1.0},"6":{"tf":1.0},"7":{"tf":1.0},"8":{"tf":1.0}}},"df":0,"docs":{}},"t":{"a":{"d":{"a":{"df":0,"docs":{},"t":{"a":{"df":2,"docs":{"19":{"tf":1.0},"20":{"tf":1.0}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}}}},"o":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"6":{"tf":1.0}},"i":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"17":{"tf":1.0}}}}}}},"v":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"d":{"df":3,"docs":{"15":{"tf":1.0},"22":{"tf":1.0},"24":{"tf":1.0}}},"df":0,"docs":{}}},"v":{"df":0,"docs":{},"i":{"df":0,"docs":{},"e":{"df":0,"docs":{},"w":{"df":1,"docs":{"0":{"tf":1.0}}}}}}}}}},"p":{"df":0,"docs":{},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":3,"docs":{"16":{"tf":1.0},"17":{"tf":1.0},"18":{"tf":1.0}}}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"50":{"tf":1.0}}}},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"n":{"df":1,"docs":{"48":{"tf":1.0}}}}}}}},"q":{"df":0,"docs":{},"u":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":1,"docs":{"25":{"tf":1.0}}}}},"i":{"c":{"df":0,"docs":{},"k":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}},"df":0,"docs":{}}}}},"df":0,"docs":{}}}},"r":{"df":0,"docs":{},"e":{"df":0,"docs":{},"f":{"df":0,"docs":{},"e":{"df":0,"docs":{},"r":{"df":3,"docs":{"43":{"tf":1.0},"47":{"tf":1.0},"53":{"tf":1.0}}}}},"s":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":1,"docs":{"26":{"tf":1.0}}},"df":0,"docs":{}}}}}},"o":{"a":{"d":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"p":{"df":1,"docs":{"9":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}},"df":0,"docs":{}},"p":{"c":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}},"df":0,"docs":{}},"u":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"54":{"tf":1.0}}}}}},"s":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"df":0,"docs":{},"e":{"c":{"df":0,"docs":{},"t":{"df":1,"docs":{"29":{"tf":1.0}}}},"df":0,"docs":{}}},"t":{"df":3,"docs":{"11":{"tf":1.0},"18":{"tf":1.0},"3":{"tf":1.0}},"u":{"df":0,"docs":{},"p":{"df":2,"docs":{"12":{"tf":1.0},"13":{"tf":1.0}}}}}},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"c":{"df":2,"docs":{"41":{"tf":1.0},"51":{"tf":1.0}}},"df":0,"docs":{}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"t":{"df":1,"docs":{"32":{"tf":1.0}}}}},"o":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":1,"docs":{"8":{"tf":1.0}}}}},"y":{"df":0,"docs":{},"p":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"c":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"df":0,"docs":{},"p":{"df":0,"docs":{},"t":{"df":1,"docs":{"58":{"tf":1.0}}}}}}},"df":0,"docs":{}}}}}},"u":{"df":0,"docs":{},"p":{"df":2,"docs":{"11":{"tf":1.0},"18":{"tf":1.0}}},"s":{"a":{"df":0,"docs":{},"g":{"df":6,"docs":{"23":{"tf":1.0},"33":{"tf":1.0},"42":{"tf":1.0},"46":{"tf":1.0},"52":{"tf":1.0},"57":{"tf":1.0}}}},"df":1,"docs":{"10":{"tf":1.0}},"e":{"df":0,"docs":{},"r":{"df":1,"docs":{"29":{"tf":1.0}}}}}},"v":{"a":{"df":0,"docs":{},"r":{"df":0,"docs":{},"i":{"a":{"b":{"df":0,"docs":{},"l":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}},"df":0,"docs":{}}}},"df":0,"docs":{}},"w":{"df":0,"docs":{},"i":{"df":0,"docs":{},"t":{"df":0,"docs":{},"h":{"df":0,"docs":{},"o":{"df":0,"docs":{},"u":{"df":0,"docs":{},"t":{"df":1,"docs":{"13":{"tf":1.0}}}}}}}},"o":{"df":0,"docs":{},"r":{"df":0,"docs":{},"k":{"df":0,"docs":{},"f":{"df":0,"docs":{},"l":{"df":0,"docs":{},"o":{"df":0,"docs":{},"w":{"df":2,"docs":{"28":{"tf":1.0},"29":{"tf":1.0}}}}}}}}}}}}},"lang":"English","pipeline":["trimmer","stopWordFilter","stemmer"],"ref":"id","version":"0.9.5"},"results_options":{"limit_results":30,"teaser_word_count":30},"search_options":{"bool":"OR","expand":true,"fields":{"body":{"boost":1},"breadcrumbs":{"boost":1},"title":{"boost":2}}}} \ No newline at end of file diff --git a/setup.html b/setup.html new file mode 100644 index 0000000..7dde3ac --- /dev/null +++ b/setup.html @@ -0,0 +1,247 @@ + + + + + + Setting up MESC - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Setting up MESC

+

Basic setup

+

MESC becomes enabled by setting one or more environment variables.

+

In the simplest case, only one variable necessary: MESC_PATH is set to the path of a mesc.json config file.

+

As described in the quickstart, the mesc.json file is usually created using either 1) the interactive mesc setup command, or 2) copying from a starter template. The quickstart guide also describes how to set environment variables in your terminal shell.

+

Alternative setup without a mesc.json

+

Sometimes it is convenient to configure a system without editing any files (e.g. inside a container, or when creating lots of unit tests, or in a low-privilege environment).

+

This can be accomplished with MESC by setting the MESC_ENV variable instead of the MESC_PATH variable. MESC_ENV should simply contain the JSON content of a MESC configuration.

+

If both MESC_PATH and MESC_ENV are set, you can select which one to use by setting MESC_MODE to either PATH or ENV. MESC_PATH takes precedence over MESC_ENV if MESC_MODE is not set.

+

Disabling MESC

+

MESC can be disabled by either 1) unsetting all MESC_* variables, or 2) setting MESC_MODE=DISABLED.

+

If MESC is disabled, the is_mesc_disabled() function will return false and all MESC querying functions will return an error (depending on language).

+

Overrides

+

MESC also uses environment variables for overrides. See the overrides section for details.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/tests/README.md b/tests/README.md deleted file mode 100644 index 82841a9..0000000 --- a/tests/README.md +++ /dev/null @@ -1,42 +0,0 @@ - -# MESC Tests - -A language-agnostic set of tests is used to check whether each MESC implementation is compliant with the MESC specification. - -## Usage - -1. Install `pytest` with `pytest-xdist`: `pip install pytest pytest-xdist` - -2. Go to the tests directory: `cd $MESC_REPO/mesc/tests` - -3. Run one of these commands: - -|description | command | -| --- | --- | -| run tests | `pytest` | -| run test in parallel mode (much faster) | `pytest -n auto` | -| run tests in debug mode (helpful for debugging) | `pytest --pdb` | -| run tests only tests that previously failed | `pytest --lf` | -| run tests for specific adapters only | `pytest --adapters adapters/python adapters/cli` | - -By default, tests will run for all MESC implementations. If you do not have all of these implementations installed, you will need to use `--adapters` to select only the subset that that you have installed. - - -## Adapters - -Each MESC implementation has an adapter that receives a test as input and prints the result as output. Adapters are located in the [adapters](https://github.com/paradigmxyz/mesc/tree/main/tests/adapters) directory. - -To make a custom adapter: -1. adapter should be a script that takes a JSON [`MescQuery`](https://github.com/paradigmxyz/mesc/blob/5cb1086c237f2b38c3a3095466823f3d64a62052/python/mesc/types.py#L115) as its single argument -2. the adapter should run the query, and then print the result as JSON -3. if the config loading or the query fails, simply print the word `FAIL` - -The adapter should never crash upon failure, just print the word `FAIL` - - -## Files -- `adapters/` contains a test adapter for each MESC implementation -- `conftest.py` configuration file for pytest -- `generate.py` generates all of the MESC test cases -- `test_mesc.py` packages MESC tests into form usable by pypi - diff --git a/tests/adapters/cli b/tests/adapters/cli deleted file mode 100755 index 5875665..0000000 --- a/tests/adapters/cli +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env python3 - -from __future__ import annotations - -import argparse -import json -import os -import subprocess -import typing -from typing import cast - -if typing.TYPE_CHECKING: - from mesc.types import MescQuery - - -def run_query(query: MescQuery) -> str: - if query["query_type"] == "default_endpoint": - cmd: list[str] = ["mesc", "endpoint", "--json"] - elif query["query_type"] == "endpoint_by_name": - name = cast(str, query["fields"]["name"]) # type: ignore - cmd = ["mesc", "endpoint", "--json", "--name", name] - elif query["query_type"] == "endpoint_by_network": - chain_id = query["fields"]["chain_id"] - if isinstance(chain_id, int): - chain_id = str(chain_id) - cmd = ["mesc", "endpoint", "--json", "--network", chain_id] - elif query["query_type"] == "user_input": - user_input = query["fields"]["user_input"] # type: ignore - cmd = ["mesc", "endpoint", user_input, "--json"] - elif query["query_type"] == "multi_endpoint": - cmd = ["mesc", "ls", "--json"] - if query["fields"].get('name_contains') is not None: - cmd.append('--name') - cmd.append(query['fields']['name_contains']) - if query["fields"].get('url_contains') is not None: - cmd.append('--url') - cmd.append(query['fields']['url_contains']) - if query["fields"].get('chain_id') is not None: - cmd.append('--network') - chain_id = query["fields"]["chain_id"] - if isinstance(chain_id, int): - chain_id = str(chain_id) - cmd.append(chain_id) - elif query['query_type'] == 'global_metadata': - cmd = ["mesc", "metadata"] - else: - raise Exception("invalid query query_type: " + str(query["query_type"])) - - if query["fields"].get("profile") is not None: - cmd.append("--profile") - cmd.append(query["fields"]["profile"]) # type: ignore - - raw_output = subprocess.check_output(cmd, env=dict(os.environ), stderr=subprocess.DEVNULL) - output = raw_output.decode("utf-8").strip() - if output == "": - output = "null" - - return output - - -if __name__ == "__main__": - # load test - parser = argparse.ArgumentParser() - parser.add_argument("test") - args = parser.parse_args() - test = json.loads(args.test) - - # run test - try: - raw_output = run_query(test) - try: - result = json.loads(raw_output) - print(json.dumps(result, indent=4, sort_keys=True)) - except Exception as e: - print("FAIL") - print(e) - print('RAW_OUTPUT:', raw_output) - except Exception as e: - print("FAIL") - print(e) - diff --git a/tests/adapters/python b/tests/adapters/python deleted file mode 100755 index 61c82ed..0000000 --- a/tests/adapters/python +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env python3 - -from __future__ import annotations - -import argparse -import json -import typing - -import mesc - -if typing.TYPE_CHECKING: - from typing import Sequence, Union - from mesc.types import Endpoint, EndpointQuery - - -def run_query(query: EndpointQuery) -> Union[Endpoint, Sequence[Endpoint], None]: - if query["query_type"] == "default_endpoint": - default_fields: mesc.types.DefaultEndpointQuery = query["fields"] - return mesc.get_default_endpoint(**default_fields) - elif query["query_type"] == "endpoint_by_name": - name_fields: mesc.types.EndpointNameQuery = query["fields"] - return mesc.get_endpoint_by_name(**name_fields) - elif query["query_type"] == "endpoint_by_network": - network_fields: mesc.types.EndpointNetworkQuery = query["fields"] - return mesc.get_endpoint_by_network(**network_fields) - elif query["query_type"] == "user_input": - user_input_fields: mesc.types.UserInputQuery = query["fields"] - return mesc.get_endpoint_by_query(**user_input_fields) - elif query["query_type"] == "multi_endpoint": - multi_endpoint_fields: mesc.types.MultiEndpointQuery = query["fields"] - return mesc.find_endpoints(**multi_endpoint_fields) - elif query["query_type"] == "global_metadata": - return mesc.get_global_metadata(**query["fields"]) - else: - raise Exception("invalid query type: " + str(query["query_type"])) - - -if __name__ == "__main__": - # load test - parser = argparse.ArgumentParser() - parser.add_argument("test") - args = parser.parse_args() - test = json.loads(args.test) - - # run test - try: - result = run_query(test) - print(json.dumps(result)) - except Exception as e: - print("FAIL") - print(repr(e)) diff --git a/tests/conftest.py b/tests/conftest.py deleted file mode 100644 index a6d3f97..0000000 --- a/tests/conftest.py +++ /dev/null @@ -1,15 +0,0 @@ -from __future__ import annotations -from _pytest.config.argparsing import Parser -from _pytest.python import Metafunc - -default_adapters = ["adapters/python", "adapters/cli"] - - -def pytest_addoption(parser: Parser) -> None: - parser.addoption("--adapters", action="store", nargs="+", default=default_adapters) - - -def pytest_generate_tests(metafunc: Metafunc) -> None: - if "adapter" in metafunc.fixturenames: - adapters = metafunc.config.getoption("adapters") - metafunc.parametrize("adapter", adapters, scope="function") diff --git a/tests/generate.py b/tests/generate.py deleted file mode 100755 index e1f07c6..0000000 --- a/tests/generate.py +++ /dev/null @@ -1,1684 +0,0 @@ -#!/usr/bin/env python3 - -from __future__ import annotations - -import copy -import typing -from typing import Any, Sequence, TypeVar, Union - -if typing.TYPE_CHECKING: - from mesc import Endpoint, Profile, RpcConfig - from mesc.types import MescQuery - -blank_config: RpcConfig = { - "mesc_version": "MESC 1.0", - "default_endpoint": None, - "network_defaults": {}, - "network_names": {}, - "endpoints": {}, - "profiles": {}, - "global_metadata": {}, -} - -blank_endpoint: Endpoint = { - "name": "name", - "url": "", - "chain_id": None, - "endpoint_metadata": {}, -} - -blank_profile: Profile = { - "name": "name", - "default_endpoint": None, - "network_defaults": {}, - "profile_metadata": {}, - "use_mesc": True, -} - -full_config: RpcConfig = { - "mesc_version": "MESC 1.0", - "default_endpoint": "local_ethereum", - "network_defaults": { - "1": "local_ethereum", - "5": "local_goerli", - "10": "local_optimism", - }, - "network_names": { - "testnet": "5", - }, - "endpoints": { - "local_ethereum": { - "name": "local_ethereum", - "url": "localhost:8545", - "chain_id": "1", - "endpoint_metadata": {}, - }, - "local_goerli": { - "name": "local_goerli", - "url": "localhost:8546", - "chain_id": "5", - "endpoint_metadata": {"ecosystem": "ethereum"}, - }, - "local_optimism": { - "name": "local_optimism", - "url": "localhost:8547", - "chain_id": "10", - "endpoint_metadata": {}, - }, - "llamanodes_ethereum": { - "name": "llamanodes_ethereum", - "url": "https://eth.llamarpc.com", - "chain_id": "1", - "endpoint_metadata": {}, - }, - "llamanodes_optimism": { - "name": "llamanodes_optimism", - "url": "https://optimism.llamarpc.com", - "chain_id": "10", - "endpoint_metadata": {}, - }, - "llamanodes_base": { - "name": "llamanodes_base", - "url": "https://base.llamarpc.com", - "chain_id": "8453", - "endpoint_metadata": {}, - }, - }, - "profiles": { - "abc": { - "name": "abc", - "default_endpoint": None, - "network_defaults": {}, - "profile_metadata": {}, - "use_mesc": True, - }, - "xyz": { - "name": "xyz", - "default_endpoint": "llamanodes_ethereum", - "network_defaults": { - "0x00001": "llamanodes_ethereum", - "10": "llamanodes_optimism", - "8453": "llamanodes_base", - }, - "profile_metadata": { - "sample_key": "profile_value", - }, - "use_mesc": True, - }, - "not_using_mesc": { - "name": "not_using_mesc", - "default_endpoint": None, - "network_defaults": {}, - "profile_metadata": {}, - "use_mesc": False, - }, - }, - "global_metadata": { - "api_keys": { - "etherscan": "abc123", - }, - "sample_key": "global_value", - }, -} - -known_networks = { - "1": "ethereum", - "5": "goerli", - "10": "optimism", - "137": "polygon", -} - -# tests are in form [test_name, env, config, query, result, should_succeed] -if typing.TYPE_CHECKING: - Test = tuple[ - str, - dict[str, str], - RpcConfig, - Union[None, MescQuery], - Any, - bool, - ] - - -def generate_tests() -> list[Test]: - # for tests that should fail, the query field is set to None - generators = [ - create_basic_query_tests, - create_override_tests, - create_invalid_query_tests, - create_invalid_config_tests, - ] - - tests = [test for generator in generators for test in generator()] - - # for queries that specify chain_id, also specify hexadecimal chain_id - for test in list(tests): - query = test[3] - if query is not None and "profile" in query.get("fields", {}): - if query["fields"].get("chain_id") is not None: - # version without leading zeros - chain_id = query["fields"]["chain_id"] # type: ignore - as_hex = hex(int(chain_id)) # type: ignore - new_test = copy.deepcopy(test) - new_test[3]["fields"]["chain_id"] = as_hex # type: ignore - new_test = (new_test[0] + ", hex chain_id",) + new_test[1:] - tests.append(new_test) - - # version with 1 extra leading zero - chain_id = query["fields"]["chain_id"] # type: ignore - as_hex = "0x" + "0" + hex(int(chain_id))[2:] # type: ignore - new_test = copy.deepcopy(test) - new_test[3]["fields"]["chain_id"] = as_hex # type: ignore - new_test = (new_test[0] + ", hex chain_id",) + new_test[1:] - tests.append(new_test) - - # version with 4 extra leading zeros - chain_id = query["fields"]["chain_id"] # type: ignore - as_hex = "0x" + "0000" + hex(int(chain_id))[2:] # type: ignore - new_test = copy.deepcopy(test) - new_test[3]["fields"]["chain_id"] = as_hex # type: ignore - new_test = (new_test[0] + ", hex chain_id",) + new_test[1:] - tests.append(new_test) - - if ( - query["fields"].get("user_input") is not None - and isinstance(query["fields"]["user_input"], str) # type: ignore - and query["fields"]["user_input"].isdecimal() # type: ignore - ): - # version without leading zeros - chain_id = query["fields"]["user_input"] # type: ignore - as_hex = hex(int(chain_id)) - new_test = copy.deepcopy(test) - new_test[3]["fields"]["user_input"] = as_hex # type: ignore - new_test = (new_test[0] + ", hex chain_id",) + new_test[1:] - tests.append(new_test) - - # version with 1 extra leading zero - chain_id = query["fields"]["user_input"] # type: ignore - as_hex = "0x" + "0" + hex(int(chain_id))[2:] - new_test = copy.deepcopy(test) - new_test[3]["fields"]["user_input"] = as_hex # type: ignore - new_test = (new_test[0] + ", hex chain_id",) + new_test[1:] - tests.append(new_test) - - # version with 4 extra leading zeros - chain_id = query["fields"]["user_input"] # type: ignore - as_hex = "0x" + "0000" + hex(int(chain_id))[2:] - new_test = copy.deepcopy(test) - new_test[3]["fields"]["user_input"] = as_hex # type: ignore - new_test = (new_test[0] + ", hex chain_id",) + new_test[1:] - tests.append(new_test) - - # for tests that query with null profile, also query with non-existent profile - for test in list(tests): - query = test[3] - if ( - query is not None - and "profile" in query.get("fields", {}) - and query["fields"].get("profile") is None - ): - new_test = copy.deepcopy(test) - new_test[3]["fields"]["profile"] = "unknown_profile" # type: ignore - new_test = (new_test[0] + ", unknown_profile",) + new_test[1:] - tests.append(new_test) - - # every query should return None or empty when a profile has use_mesc=True - for test in list(tests): - query = test[3] - target_output = test[4] - if ( - query is not None - and "profile" in query.get("fields", {}) - and query["fields"].get("profile") is None - and target_output is not None - ): - new_test = copy.deepcopy(test) - new_test[3]["fields"]["profile"] = "not_using_mesc" # type: ignore - if query["query_type"] == "global_metadata": - expected: dict[str, Any] | None = {} - else: - expected = None - new_test = new_test[0:4] + (expected,) + new_test[5:] - new_test = (new_test[0] + ", profile not_using_mesc",) + new_test[1:] - tests.append(new_test) - - return tests - - -T = TypeVar("T") - - -def set_path_value(data: T, path: Sequence[str], value: Any) -> T: - if len(path) == 1: - data[path[0]] = value # type: ignore - else: - set_path_value(data[path[0]], path[1:], value) # type: ignore - return data - - -def set_paths_values(data: T, pairs: Sequence[tuple[Sequence[str], Any]]) -> T: - for path, value in pairs: - set_path_value(data, path, value) - return data - - -def create_basic_query_tests() -> list[Test]: - tests: list[Test] = [] - - # default endpoint queries - tests += [ - ( - "default endpoint", - {}, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": None}}, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "default endpoint null", - {}, - blank_config, - {"query_type": "default_endpoint", "fields": {"profile": None}}, - None, - True, - ), - ( - "default endpoint null profile", - {}, - blank_config, - {"query_type": "default_endpoint", "fields": {"profile": "abc"}}, - None, - True, - ), - ( - "default endpoint profile", - {}, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": "xyz"}}, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ] - - # get endpoint by name - tests += [ - ( - "get endpoint by name", - {}, - full_config, - { - "query_type": "endpoint_by_name", - "fields": {"name": "local_goerli"}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "get endpoint by name", - {}, - full_config, - { - "query_type": "endpoint_by_name", - "fields": {"name": "llamanodes_optimism"}, - }, - full_config["endpoints"]["llamanodes_optimism"], - True, - ), - ] - - # get endpoint by network - tests += [ - ( - "get endpoint by network", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by network", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "5", "profile": None}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "query endpoint chain_id by int", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": 1, "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by network", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "137", "profile": None}, - }, - None, - True, - ), - ( - "get endpoint by network, base", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "8453", "profile": None}, - }, - None, - True, - ), - ( - "get endpoint by network, base, profile", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "8453", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_base"], - True, - ), - ( - "get endpoint by network profile fallback", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": "abc"}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by network profile", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "get endpoint by network dne", - {}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "137", "profile": "abc"}, - }, - None, - True, - ), - ] - - # get endpoint by user query - tests += [ - ( - "get endpoint by user query, endpoint name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "local_ethereum", "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, endpoint name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "llamanodes_ethereum", "profile": None}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "get endpoint by user query, chain id", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "1", "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, chain id", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "10", "profile": None}, - }, - full_config["endpoints"]["local_optimism"], - True, - ), - ( - "get endpoint by user query, network name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "ethereum", "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, custom network name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "testnet", "profile": None}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "get endpoint by user query, dne", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "this_query_has_no_results", "profile": None}, - }, - None, - True, - ), - ] - - # get endpoint by user query, with default profile - tests += [ - ( - "get endpoint by user query, endpoint name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "local_ethereum", "profile": "abc"}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, endpoint name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "llamanodes_ethereum", "profile": "abc"}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "get endpoint by user query, chain id", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "1", "profile": "abc"}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, chain id", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "10", "profile": "abc"}, - }, - full_config["endpoints"]["local_optimism"], - True, - ), - ( - "get endpoint by user query, network name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "ethereum", "profile": "abc"}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, custom network name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "testnet", "profile": "abc"}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "get endpoint by user query, dne", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "this_query_has_no_results", "profile": "abc"}, - }, - None, - True, - ), - ] - - # get endpoint by user query, profile full - tests += [ - ( - "get endpoint by user query, endpoint name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "local_ethereum", "profile": "xyz"}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "get endpoint by user query, endpoint name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "llamanodes_ethereum", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "get endpoint by user query, chain id", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "1", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "get endpoint by user query, chain id", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "10", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_optimism"], - True, - ), - ( - "get endpoint by user query, network name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "ethereum", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "get endpoint by user query, custom network name", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "testnet", "profile": "xyz"}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "get endpoint by user query, dne", - {}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "this_query_has_no_results", "profile": "xyz"}, - }, - None, - True, - ), - ] - - # test querying by known network names - for chain_id, network_name in known_networks.items(): - # with a default endpoint - network_endpoint = copy.deepcopy(blank_endpoint) - network_endpoint["chain_id"] = chain_id - network_config = copy.deepcopy(full_config) - network_config["endpoints"][network_endpoint["name"]] = network_endpoint - network_config["network_defaults"][chain_id] = network_endpoint["name"] - test: Test = ( - "test querying " + network_name + " by name", - {}, - network_config, - { - "query_type": "user_input", - "fields": {"user_input": network_name, "profile": None}, - }, - network_endpoint, - True, - ) - tests.append(test) - - # without a default endpoint - network_config = copy.deepcopy(full_config) - if chain_id in network_config["network_defaults"]: - del network_config["network_defaults"][chain_id] - test_without: Test = ( - "test querying " + network_name + " by name", - {}, - network_config, - { - "query_type": "user_input", - "fields": {"user_input": network_name, "profile": None}, - }, - None, - True, - ) - tests.append(test_without) - - # test multi-endpoint queries - tests += [ - ( - "fuzzy name query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"name_contains": "local"}}, - [ - full_config["endpoints"]["local_ethereum"], - full_config["endpoints"]["local_goerli"], - full_config["endpoints"]["local_optimism"], - ], - True, - ), - ( - "empty fuzzy name query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"name_contains": "yyyyyy"}}, - [], - True, - ), - ( - "fuzzy url query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"url_contains": "llama"}}, - [ - full_config["endpoints"]["llamanodes_ethereum"], - full_config["endpoints"]["llamanodes_optimism"], - full_config["endpoints"]["llamanodes_base"], - ], - True, - ), - ( - "fuzzy url query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"url_contains": "yyyyyy"}}, - [], - True, - ), - ( - "chain_id query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"chain_id": "1"}}, - [ - full_config["endpoints"]["local_ethereum"], - full_config["endpoints"]["llamanodes_ethereum"], - ], - True, - ), - ( - "chain_id int query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"chain_id": 1}}, - [ - full_config["endpoints"]["local_ethereum"], - full_config["endpoints"]["llamanodes_ethereum"], - ], - True, - ), - ( - "empty chain_id query", - {}, - full_config, - {"query_type": "multi_endpoint", "fields": {"chain_id": "1111"}}, - [], - True, - ), - ] - - # test fetching metadata - tests += [ - ( - "get full global metadata, no profile", - {}, - full_config, - {"query_type": "global_metadata", "fields": {"profile": None}}, - full_config["global_metadata"], - True, - ), - ( - "get full global metadata, irrelevant profile", - {}, - full_config, - {"query_type": "global_metadata", "fields": {"profile": "abc"}}, - full_config["global_metadata"], - True, - ), - ( - "get full global metadata, merged with profile", - {}, - full_config, - {"query_type": "global_metadata", "fields": {"profile": "xyz"}}, - dict( - full_config["global_metadata"], - **full_config["profiles"]["xyz"]["profile_metadata"], - ), - True, - ), - ] - - return tests - - -def create_invalid_query_tests() -> list[Test]: - invalid_queries: Sequence[tuple[str, Any]] = [ - ( - "query default endpoint with int profile", - {"query_type": "default_endpoint", "fields": {"profile": 1}}, - ), - ( - "query endpoint name by null", - {"query_type": "endpoint_by_name", "fields": {"name": None}}, - ), - ( - "query endpoint name by int", - {"query_type": "endpoint_by_name", "fields": {"name": 1}}, - ), - ( - "query endpoint chain_id by null", - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": None, "profile": None}, - }, - ), - ( - "query endpoint chain_id by int profile", - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": 1}, - }, - ), - ( - "query user input by null", - { - "query_type": "user_input", - "fields": {"user_input": None, "profile": None}, - }, - ), - ( - "query user input by bool", - { - "query_type": "user_input", - "fields": {"user_input": True, "profile": None}, - }, - ), - ( - "query user input by int profile", - {"query_type": "user_input", "fields": {"user_input": True, "profile": 1}}, - ), - ] - - tests = [] - for test_name, query in invalid_queries: - test: Test = ( - test_name, - {}, - full_config, - query, - None, - False, - ) - tests.append(test) - - return tests - - -def create_invalid_config_tests() -> list[Test]: - tests: list[Test] = [] - - # unknown default endpoint - config = copy.deepcopy(blank_config) - config["default_endpoint"] = "random_unknown" - tests.append( - ( - "unknown default endpoint", - {}, - config, - None, - None, - False, - ) - ) - config = copy.deepcopy(full_config) - config["profiles"]["abc"]["default_endpoint"] = "random_unknown" - tests.append( - ( - "unknown default endpoint", - {}, - config, - None, - None, - False, - ) - ) - - # unknown network defaults - config = copy.deepcopy(full_config) - config["network_defaults"]["10"] = "random_unknown" - tests.append( - ( - "unknown network defaults", - {}, - config, - None, - None, - False, - ), - ) - config = copy.deepcopy(full_config) - config["profiles"]["abc"]["network_defaults"]["10"] = "random_unknown" - tests.append( - ( - "unknown network defaults", - {}, - config, - None, - None, - False, - ), - ) - - # endpoint name doesn't match - config = copy.deepcopy(blank_config) - config["endpoints"] = {"other_name": blank_endpoint} - tests.append( - ( - "unknown network defaults", - {}, - # dict(blank_config, endpoints={'other_name': blank_endpoint}), - config, - None, - None, - False, - ), - ) - - # profile name doesn't match - config = copy.deepcopy(blank_config) - config["profiles"] = {"other_name": blank_profile} - tests.append( - ( - "unknown network defaults", - {}, - config, - None, - None, - False, - ), - ) - - # global default endpoint of network doesn't actually use that network - config = copy.deepcopy(full_config) - config["endpoints"]["local_ethereum"]["chain_id"] = "4" - tests.append( - ( - "global default endpoint of network doesn't actually use that network", - {}, - config, - None, - None, - False, - ), - ) - - # profile default endpoint of network doesn't actually use that network - config = copy.deepcopy(full_config) - config["endpoints"]["llamanodes_ethereum"]["chain_id"] = "4" - tests.append( - ( - "global default endpoint of network doesn't actually use that network", - {}, - config, - None, - None, - False, - ), - ) - - # conflicting chain_ids in global network defaults - config = copy.deepcopy(full_config) - config["network_defaults"]["8453"] = "llamanodes_base" - config["network_defaults"]["0x2105"] = "llamanodes_base" - tests.append( - ( - "conflicting chain_ids in global network defaults", - {}, - config, - None, - None, - False, - ), - ) - - # conflicting chain_ids in profile network defaults - for profile_name, profile_data in full_config["profiles"].items(): - config = copy.deepcopy(full_config) - config["profiles"][profile_name]["network_defaults"]["8453"] = "llamanodes_base" - config["profiles"][profile_name]["network_defaults"]["0x2105"] = ( - "llamanodes_base" - ) - tests.append( - ( - "conflicting chain_ids in profile " - + profile_name - + " network defaults", - {}, - config, - None, - None, - False, - ), - ) - - # incorrect types tests - invalid_type_tests = [ - ( - "mesc version is null", - set_path_value(copy.deepcopy(full_config), ["mesc_version"], None), - ), - ( - "mesc version is int", - set_path_value(copy.deepcopy(full_config), ["mesc_version"], 1), - ), - ( - "default endpoint is int", - set_path_value(copy.deepcopy(full_config), ["default_endpoint"], 1), - ), - ( - "default endpoint is list", - set_path_value(copy.deepcopy(full_config), ["default_endpoint"], [1]), - ), - ( - "endpoint name is null", - set_path_value( - copy.deepcopy(full_config), - ["endpoints", "local_ethereum", "name"], - None, - ), - ), - ( - "endpoint name is int", - set_path_value( - copy.deepcopy(full_config), ["endpoints", "local_ethereum", "name"], 1 - ), - ), - ( - "endpoint url is null", - set_path_value( - copy.deepcopy(full_config), ["endpoints", "local_ethereum", "url"], None - ), - ), - ( - "endpoint url is int", - set_path_value( - copy.deepcopy(full_config), ["endpoints", "local_ethereum", "url"], 1 - ), - ), - ( - "endpoint chain_id is null", - set_path_value( - copy.deepcopy(full_config), - ["endpoints", "local_ethereum", "chain_id"], - None, - ), - ), - ( - "endpoint chain_id is int", - set_path_value( - copy.deepcopy(full_config), - ["endpoints", "local_ethereum", "chain_id"], - 1, - ), - ), - ( - "endpoint metadata is null", - set_path_value( - copy.deepcopy(full_config), - ["endpoints", "local_ethereum", "endpoint_metadata"], - None, - ), - ), - ( - "endpoint metadata is int", - set_path_value( - copy.deepcopy(full_config), - ["endpoints", "local_ethereum", "endpoint_metadata"], - None, - ), - ), - ( - "network_defaults is null", - set_path_value(copy.deepcopy(full_config), ["network_defaults"], None), - ), - ( - "network_defaults is int", - set_path_value(copy.deepcopy(full_config), ["nework_defaults"], 1), - ), - ( - "network_defaults entry is null", - set_path_value(copy.deepcopy(full_config), ["network_defaults", "1"], None), - ), - ( - "network_defaults entry is int", - set_path_value(copy.deepcopy(full_config), ["network_defaults", "1"], 1), - ), - ( - "network_names is null", - set_path_value(copy.deepcopy(full_config), ["network_names"], None), - ), - ( - "network_names is list", - set_path_value(copy.deepcopy(full_config), ["network_names"], []), - ), - ( - "network_names entry is int", - set_path_value( - copy.deepcopy(full_config), ["network_names", "some_name"], 1 - ), - ), - ( - "network_names entry is null", - set_path_value( - copy.deepcopy(full_config), ["network_names", "some_name"], None - ), - ), - ( - "profiles is null", - set_path_value(copy.deepcopy(full_config), ["profiles"], None), - ), - ( - "profiles is list", - set_path_value(copy.deepcopy(full_config), ["profiles"], []), - ), - ( - "profile name is null", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "some_profile"], - set_path_value(copy.deepcopy(blank_profile), ["name"], None), - ), - ), - ( - "profile name is int", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "some_profile"], - set_path_value(copy.deepcopy(blank_profile), ["name"], 1), - ), - ), - ( - "profile default_endpoint is int", - set_path_value( - copy.deepcopy(full_config), ["profiles", "xyz", "default_endpoint"], 1 - ), - ), - ( - "profile network_defaults is null", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "network_defaults"], - None, - ), - ), - ( - "profile network_defaults entry is int", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "network_defaults", "some_profile"], - 1, - ), - ), - ( - "profile network_defaults entry is null", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "network_defaults", "some_profile"], - None, - ), - ), - ( - "profile profile_metadata is null", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "profile_metadata"], - None, - ), - ), - ( - "profile profile_metadata is int", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "profile_metadata"], - 1, - ), - ), - ( - "profile use_mesc is null", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "use_mesc"], - None, - ), - ), - ( - "profile use_mesc is int", - set_path_value( - copy.deepcopy(full_config), - ["profiles", "xyz", "use_mesc"], - 1, - ), - ), - ( - "global metadata is int", - set_path_value(copy.deepcopy(full_config), ["global_metadata"], 1), - ), - ( - "global metadata is null", - set_path_value(copy.deepcopy(full_config), ["global_metadata"], None), - ), - ] - for test_name, config in invalid_type_tests: - test: Test = ( - test_name, - {}, - config, - None, - None, - False, - ) - tests.append(test) - - # missing field tests - for field in blank_config.keys(): - invalid_config = copy.deepcopy(full_config) - del invalid_config[field] # type: ignore - tests.append( - ( - "missing global field: " + field, - {}, - invalid_config, - None, - None, - False, - ) - ) - for field in blank_endpoint.keys(): - invalid_config = copy.deepcopy(full_config) - invalid_config["endpoints"]["name"] = copy.deepcopy(blank_endpoint) - del invalid_config["endpoints"]["name"][field] # type: ignore - tests.append( - ( - "missing endpoint field: " + field, - {}, - invalid_config, - None, - None, - False, - ) - ) - for field in blank_profile.keys(): - invalid_config = copy.deepcopy(full_config) - name = blank_profile["name"] - invalid_config["profiles"][name] = copy.deepcopy(blank_profile) - del invalid_config["profiles"][name][field] # type: ignore - tests.append( - ( - "missing profile field: " + field, - {}, - invalid_config, - None, - None, - False, - ) - ) - - # invalid env setup - tests += [ - ( - "invalid config mode: ALL", - {"MESC_MODE": "ALL"}, - full_config, - None, - None, - False, - ), - ( - "invalid config mode: path", - {"MESC_MODE": "path"}, - full_config, - None, - None, - False, - ), - ( - "invalid MESC_PATH: DNE", - {"MESC_PATH": "/this/path/dne.json"}, - full_config, - None, - None, - False, - ), - ( - "invalid MESC_ENV", - {"MESC_ENV": "{invalid}"}, - full_config, - None, - None, - False, - ), - ] - - return tests - - -def create_override_tests() -> list[Test]: - tests: list[Test] = [] - - # override default endpoint - tests += [ - ( - "override endpoint", - {"MESC_DEFAULT_ENDPOINT": "local_goerli"}, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": None}}, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "override endpoint blank", - {"MESC_DEFAULT_ENDPOINT": ""}, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": None}}, - full_config["endpoints"]["local_ethereum"], - True, - ), - ] - - # override network defaults - tests += [ - ( - "override network defaults, change network default", - {"MESC_NETWORK_DEFAULTS": "1=llamanodes_ethereum"}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": None}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ( - "override network defaults, remove network default", - {"MESC_NETWORK_DEFAULTS": "1=llamanodes_ethereum 5="}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "5", "profile": None}, - }, - None, - True, - ), - ( - "override network defaults blank", - {"MESC_NETWORK_DEFAULTS": ""}, - full_config, - { - "query_type": "default_endpoint", - "fields": {"profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ] - - # override network names - tests += [ - ( - "override network names, new network no endpoint", - {"MESC_NETWORK_NAMES": "xyz=123"}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "override network names, new network with endpoint", - {"MESC_NETWORK_NAMES": "xyz=123"}, - set_paths_values( - copy.deepcopy(full_config), - [ - (["endpoints", "name"], dict(blank_endpoint, chain_id="123")), - (["network_defaults", "123"], "name"), - ], - ), - { - "query_type": "user_input", - "fields": {"user_input": "123", "profile": None}, - }, - dict(blank_endpoint, chain_id="123"), - True, - ), - ( - "override network names, rename existing network", - {"MESC_NETWORK_NAMES": "xyz=1"}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "xyz", "profile": None}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "override network names blank", - {"MESC_NETWORK_NAMES": ""}, - full_config, - { - "query_type": "user_input", - "fields": {"user_input": "testnet", "profile": None}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ] - - # override endpoints - tests += [ - ( - "override endpoints, change existing url", - {"MESC_ENDPOINTS": "local_ethereum=other_url.com"}, - full_config, - {"query_type": "endpoint_by_name", "fields": {"name": "local_ethereum"}}, - set_path_value( - copy.deepcopy(full_config["endpoints"]["local_ethereum"]), - ["url"], - "other_url.com", - ), - True, - ), - # ( - # "override endpoints, change existing chain_id and url", - # {"MESC_ENDPOINTS": "local_ethereum:2=other_url.com"}, - # full_config, - # {"query_type": "endpoint_by_name", "fields": {"name": "local_ethereum"}}, - # set_paths_values( - # copy.deepcopy(full_config["endpoints"]["local_ethereum"]), - # [(["url"], "other_url.com"), (["chain_id"], "2")], - # ), - # True, - # ), - ( - "override endpoints, add new endpoint with url", - {"MESC_ENDPOINTS": "new_endpoint=other_url.com"}, - full_config, - {"query_type": "endpoint_by_name", "fields": {"name": "new_endpoint"}}, - { - "name": "new_endpoint", - "chain_id": None, - "url": "other_url.com", - "endpoint_metadata": {}, - }, - True, - ), - ( - "override endpoints, add new endpoint with url and chain_id", - {"MESC_ENDPOINTS": "new_endpoint:2=other_url.com"}, - full_config, - {"query_type": "endpoint_by_name", "fields": {"name": "new_endpoint"}}, - { - "name": "new_endpoint", - "chain_id": "2", - "url": "other_url.com", - "endpoint_metadata": {}, - }, - True, - ), - ( - "override endpoints, add new nameless endpoint", - {"MESC_ENDPOINTS": "other_url.com"}, - full_config, - {"query_type": "endpoint_by_name", "fields": {"name": "other_url"}}, - { - "name": "other_url", - "chain_id": None, - "url": "other_url.com", - "endpoint_metadata": {}, - }, - True, - ), - ( - "override endpoints blank", - {"MESC_ENDPOINTS": ""}, - full_config, - {"query_type": "multi_endpoint", "fields": {}}, - list(full_config["endpoints"].values()), - True, - ), - ] - - # override profiles - tests += [ - ( - "override profiles, create new profile with default_endpoint", - {"MESC_PROFILES": "jkl.default_endpoint=local_optimism"}, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": "jkl"}}, - full_config["endpoints"]["local_optimism"], - True, - ), - ( - "override profiles, create new profile with network_defaults", - {"MESC_PROFILES": "jkl.network_defaults.10=llamanodes_optimism"}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "10", "profile": "jkl"}, - }, - full_config["endpoints"]["llamanodes_optimism"], - True, - ), - ( - "override profiles, create new profile with default_endpoint and network_defaults", - { - "MESC_PROFILES": "jkl.default_endpoint=local_optimism jkl.network_defaults.10=llamanodes_optimism" - }, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": "jkl"}}, - full_config["endpoints"]["local_optimism"], - True, - ), - ( - "override profiles, create new profile with default_endpoint and network_defaults", - { - "MESC_PROFILES": "jkl.default_endpoint=local_optimism jkl.network_defaults.10=llamanodes_optimism" - }, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "10", "profile": "jkl"}, - }, - full_config["endpoints"]["llamanodes_optimism"], - True, - ), - ( - "override profiles, edit existing default_endpoint", - {"MESC_PROFILES": "xyz.default_endpoint=local_goerli"}, - full_config, - {"query_type": "default_endpoint", "fields": {"profile": "xyz"}}, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "override profiles, edit existing network default", - {"MESC_PROFILES": "xyz.network_defaults.1=local_ethereum"}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": "xyz"}, - }, - full_config["endpoints"]["local_ethereum"], - True, - ), - ( - "override profiles blank", - {"MESC_PROFILES": ""}, - full_config, - { - "query_type": "endpoint_by_network", - "fields": {"chain_id": "1", "profile": "xyz"}, - }, - full_config["endpoints"]["llamanodes_ethereum"], - True, - ), - ] - - # override global metadata - tests += [ - ( - "override global metadata, change existing key", - {"MESC_GLOBAL_METADATA": '{"api_keys": {"etherscan": "new_key"}}'}, - full_config, - {"query_type": "global_metadata", "fields": {}}, - dict(full_config["global_metadata"], api_keys={"etherscan": "new_key"}), - True, - ), - ( - "override global metadata, add new key", - {"MESC_GLOBAL_METADATA": '{"some_new_key": "value"}'}, - full_config, - {"query_type": "global_metadata", "fields": {}}, - dict(full_config["global_metadata"], some_new_key="value"), - True, - ), - ( - "override global metadata blank", - {"MESC_GLOBAL_METADATA": ""}, - full_config, - {"query_type": "global_metadata", "fields": {}}, - full_config["global_metadata"], - True, - ), - ] - - # override endpoint metadata - tests += [ - ( - "override endpoint metadata, add new key", - {"MESC_ENDPOINT_METADATA": '{"local_goerli": {"password": "abc123"}}'}, - full_config, - { - "query_type": "endpoint_by_name", - "fields": {"name": "local_goerli"}, - }, - set_path_value( - copy.deepcopy(full_config["endpoints"]["local_goerli"]), - ["endpoint_metadata", "password"], - "abc123", - ), - True, - ), - ( - "override endpoint metadata, change existing key", - {"MESC_ENDPOINT_METADATA": '{"local_goerli": {"ecosystem": "polygon"}}'}, - full_config, - { - "query_type": "endpoint_by_name", - "fields": {"name": "local_goerli"}, - }, - set_path_value( - copy.deepcopy(full_config["endpoints"]["local_goerli"]), - ["endpoint_metadata", "ecosystem"], - "polygon", - ), - True, - ), - ( - "override endpoint metadata, blank", - {"MESC_ENDPOINT_METADATA": ""}, - full_config, - { - "query_type": "endpoint_by_name", - "fields": {"name": "local_goerli"}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ( - "override endpoint metadata, blank entry", - {"MESC_ENDPOINT_METADATA": '{"local_goerli": {}}'}, - full_config, - { - "query_type": "endpoint_by_name", - "fields": {"name": "local_goerli"}, - }, - full_config["endpoints"]["local_goerli"], - True, - ), - ] - - # invalid overrides tests - pass - - return tests diff --git a/tests/test_mesc.py b/tests/test_mesc.py deleted file mode 100755 index e1d3f02..0000000 --- a/tests/test_mesc.py +++ /dev/null @@ -1,208 +0,0 @@ -from __future__ import annotations - -import contextlib -import os -import json -import shutil -import subprocess -import sys -import tempfile -from typing import ( - Any, - Callable, - ContextManager, - Generator, - Mapping, - cast, - Union, -) -import pytest - -import generate - -import typing - -if typing.TYPE_CHECKING: - from mesc.types import RpcConfig, MescQuery - - # tests are in form [test_name, env, config, query, result, should_succeed] - Test = tuple[ - str, - dict[str, str], - RpcConfig, - Union[None, MescQuery], - Any, - bool, - ] - - -class AdapterFailure(Exception): - pass - - -class OutputDoesNotMatch(Exception): - pass - - -class QueryFailed(Exception): - pass - - -class QueryShouldHaveFailed(Exception): - pass - - -def get_setups() -> ( - list[tuple[str, Callable[[RpcConfig], ContextManager[Mapping[str, str]]]]] -): - return [ - ("path", setup_config_path), - ("env", setup_config_env_var), - ] - - -@contextlib.contextmanager -def setup_config_path(config: RpcConfig) -> Generator[Mapping[str, str], None, None]: - temp_dir = tempfile.mkdtemp() - temp_path = os.path.join(temp_dir, "config.json") - with open(temp_path, "w") as f: - json.dump(config, f) - try: - yield {"MESC_MODE": "PATH", "MESC_PATH": temp_path} - finally: - shutil.rmtree(temp_dir) - - -@contextlib.contextmanager -def setup_config_env_var(config: RpcConfig) -> Generator[Mapping[str, str], None, None]: - config_data = json.dumps(config) - try: - yield {"MESC_MODE": "ENV", "MESC_ENV": config_data} - finally: - pass - - -tests = generate.generate_tests() - - -@pytest.mark.parametrize("setup", get_setups()) -@pytest.mark.parametrize("test", tests, ids=[test[0] for test in tests]) -def test_mesc_output( - setup: tuple[str, Callable[[RpcConfig], ContextManager[Mapping[str, str]]]], - test: Test, - adapter: str, -) -> None: - # load inputs - if adapter in ["", None]: - raise AdapterFailure("must specify adapter") - test_name, test_env, config, query, target_result, should_succeed = test - setup_name, f_setup = setup - - # run query - env = {} - with f_setup(test[2]) as setup_env: - try: - env["PATH"] = os.environ["PATH"] - env.update(setup_env) - env.update(test_env) - cmd = [adapter, json.dumps(query)] - output = subprocess.check_output([sys.executable] + cmd, env=env) - except Exception: - raise AdapterFailure("adapter broken, test failed to complete") - - # package error data for printing - error_data = dict( - config=config, - env=env, - test_name=test_name, - query=query, - output=output, - target_result=target_result, - ) - - # decode output as json - decode_exception: Exception | None = None - try: - actual_result = json.loads(output.decode("utf-8").strip()) - output_decodable = True - except Exception as e: - actual_result = None - output_decodable = False - decode_exception = e - - # assert whether output is correct - if not output_decodable: - if should_succeed: - # failure case: output could not be decoded - print_error_summary(**error_data) - if len(output) == 0: - message = "no output" - elif output.decode("utf-8").startswith("FAIL"): - message = "QueryFailed:" - else: - exception = cast(Exception, decode_exception) - message = str(type(exception).__name__) + ": " + str(exception.args) - raise QueryFailed(message, adapter, setup_name, test_name) - else: - # working properly - pass - else: - if json_equal(actual_result, target_result): - if should_succeed: - # working properly - pass - else: - # failure case: incorrect query output - print_error_summary(**error_data) - raise QueryShouldHaveFailed( - "success when expecting failure", adapter, setup_name, test_name - ) - else: - if should_succeed: - # failure case: query should have failed - print_error_summary(**error_data) - raise OutputDoesNotMatch( - "output does not match", adapter, setup_name, test_name - ) - else: - # working properly - pass - - -def json_equal(lhs: Any, rhs: Any) -> bool: - return cannonical_json(lhs) == cannonical_json(rhs) - - -def cannonical_json(data: Any) -> str: - if isinstance(data, list): - data = sorted(cannonical_json(item) for item in data) - return json.dumps(data, sort_keys=True) - - -def print_error_summary( - config: Any, - env: Mapping[str, str], - test_name: str, - query: Any, - output: Any, - target_result: Any, -) -> None: - print("CONFIG", json.dumps(config, sort_keys=True, indent=4)) - print( - "ENV:", - json.dumps( - {k: v for k, v in env.items() if k != "PATH"}, - sort_keys=True, - indent=4, - ), - ) - print("QUERY:", query) - try: - print( - "OUTPUT:", - json.dumps(json.loads(output.decode("utf-8")), indent=4, sort_keys=True), - ) - except Exception: - print("OUTPUT:", output.decode("utf-8").strip()) - print("EXPECTED:", json.dumps(target_result, indent=4, sort_keys=True)) - print("TEST_NAME:", test_name) diff --git a/tomorrow-night.css b/tomorrow-night.css new file mode 100644 index 0000000..81fe276 --- /dev/null +++ b/tomorrow-night.css @@ -0,0 +1,102 @@ +/* Tomorrow Night Theme */ +/* https://github.com/jmblog/color-themes-for-highlightjs */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* https://github.com/jmblog/color-themes-for-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment { + color: #969896; +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-attribute, +.hljs-tag, +.hljs-regexp, +.ruby .hljs-constant, +.xml .hljs-tag .hljs-title, +.xml .hljs-pi, +.xml .hljs-doctype, +.html .hljs-doctype, +.css .hljs-id, +.css .hljs-class, +.css .hljs-pseudo { + color: #cc6666; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-preprocessor, +.hljs-pragma, +.hljs-built_in, +.hljs-literal, +.hljs-params, +.hljs-constant { + color: #de935f; +} + +/* Tomorrow Yellow */ +.ruby .hljs-class .hljs-title, +.css .hljs-rule .hljs-attribute { + color: #f0c674; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-value, +.hljs-inheritance, +.hljs-header, +.hljs-name, +.ruby .hljs-symbol, +.xml .hljs-cdata { + color: #b5bd68; +} + +/* Tomorrow Aqua */ +.hljs-title, +.css .hljs-hexcolor { + color: #8abeb7; +} + +/* Tomorrow Blue */ +.hljs-function, +.python .hljs-decorator, +.python .hljs-title, +.ruby .hljs-function .hljs-title, +.ruby .hljs-title .hljs-keyword, +.perl .hljs-sub, +.javascript .hljs-title, +.coffeescript .hljs-title { + color: #81a2be; +} + +/* Tomorrow Purple */ +.hljs-keyword, +.javascript .hljs-function { + color: #b294bb; +} + +.hljs { + display: block; + overflow-x: auto; + background: #1d1f21; + color: #c5c8c6; +} + +.coffeescript .javascript, +.javascript .xml, +.tex .hljs-formula, +.xml .javascript, +.xml .vbscript, +.xml .css, +.xml .hljs-cdata { + opacity: 0.5; +} + +.hljs-addition { + color: #718c00; +} + +.hljs-deletion { + color: #c82829; +} diff --git a/typescript.html b/typescript.html new file mode 100644 index 0000000..47a4d9e --- /dev/null +++ b/typescript.html @@ -0,0 +1,229 @@ + + + + + + TypeScript - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Typescript MESC Implementation

+

[WIP]

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/typescript/.env.example b/typescript/.env.example deleted file mode 100644 index e9350b1..0000000 --- a/typescript/.env.example +++ /dev/null @@ -1,11 +0,0 @@ -NODE_ENV="development" -MESC_MODE="" -MESC_PATH="" -MESC_ENV="" -MESC_NETWORK_DEFAULTS="" -MESC_NETWORK_NAMES="" -MESC_ENDPOINTS="" -MESC_PROFILES="" -MESC_GLOBAL_METADATA="" -MESC_ENDPOINT_METADATA="" -MESC_DEFAULT_ENDPOINT="" diff --git a/typescript/.gitignore b/typescript/.gitignore deleted file mode 100644 index 468f82a..0000000 --- a/typescript/.gitignore +++ /dev/null @@ -1,175 +0,0 @@ -# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore - -# Logs - -logs -_.log -npm-debug.log_ -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* - -# Caches - -.cache - -# Diagnostic reports (https://nodejs.org/api/report.html) - -report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json - -# Runtime data - -pids -_.pid -_.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover - -lib-cov - -# Coverage directory used by tools like istanbul - -coverage -*.lcov - -# nyc test coverage - -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) - -.grunt - -# Bower dependency directory (https://bower.io/) - -bower_components - -# node-waf configuration - -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) - -build/Release - -# Dependency directories - -node_modules/ -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) - -web_modules/ - -# TypeScript cache - -*.tsbuildinfo - -# Optional npm cache directory - -.npm - -# Optional eslint cache - -.eslintcache - -# Optional stylelint cache - -.stylelintcache - -# Microbundle cache - -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history - -.node_repl_history - -# Output of 'npm pack' - -*.tgz - -# Yarn Integrity file - -.yarn-integrity - -# dotenv environment variable files - -.env -.env.development.local -.env.test.local -.env.production.local -.env.local - -# parcel-bundler cache (https://parceljs.org/) - -.parcel-cache - -# Next.js build output - -.next -out - -# Nuxt.js build / generate output - -.nuxt -dist - -# Gatsby files - -# Comment in the public line in if your project uses Gatsby and not Next.js - -# https://nextjs.org/blog/next-9-1#public-directory-support - -# public - -# vuepress build output - -.vuepress/dist - -# vuepress v2.x temp and cache directory - -.temp - -# Docusaurus cache and generated files - -.docusaurus - -# Serverless directories - -.serverless/ - -# FuseBox cache - -.fusebox/ - -# DynamoDB Local files - -.dynamodb/ - -# TernJS port file - -.tern-port - -# Stores VSCode versions used for testing VSCode extensions - -.vscode-test - -# yarn v2 - -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* - -# IntelliJ based IDEs -.idea - -# Finder (MacOS) folder config -.DS_Store diff --git a/typescript/.npmrc b/typescript/.npmrc deleted file mode 100644 index 62ddad7..0000000 --- a/typescript/.npmrc +++ /dev/null @@ -1,4 +0,0 @@ -engine-strict=true -auto-install-peers=true -enable-pre-post-scripts=true -strict-peer-dependencies=false diff --git a/typescript/README.md b/typescript/README.md deleted file mode 100644 index ecbc0ab..0000000 --- a/typescript/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Typescript MESC Implementation - -[WIP] diff --git a/typescript/biome.json b/typescript/biome.json deleted file mode 100644 index 904ac51..0000000 --- a/typescript/biome.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", - "organizeImports": { - "enabled": true - }, - "files": { - "ignore": ["dist", "_"] - }, - "linter": { - "enabled": true, - "rules": { - "all": true, - "style": { - "noNamespace": "off" - }, - "complexity": { - "useLiteralKeys": "off" - }, - "correctness": { - "noUnusedVariables": "off" - }, - "nursery": { - "noNodejsModules": "off" - }, - "performance": { - "noAccumulatingSpread": "off" - } - } - }, - "formatter": { - "enabled": true, - "lineWidth": 100, - "indentWidth": 2, - "indentStyle": "space", - "formatWithErrors": true - }, - "javascript": { - "globals": [ - "NodeJS", - "MESC_MODE", - "MESC_PATH", - "MESC_ENV", - "MESC_ENDPOINTS", - "MESC_DEFAULT_ENDPOINT", - "MESC_PROFILES", - "MESC_NETWORK_NAMES", - "MESC_NETWORK_DEFAULTS", - "MESC_GLOBAL_METADATA", - "MESC_ENDPOINT_METADATA" - ], - "formatter": { - "enabled": true, - "lineWidth": 100, - "indentWidth": 2, - "indentStyle": "space", - "quoteStyle": "single", - "trailingComma": "none", - "semicolons": "asNeeded", - "jsxQuoteStyle": "single", - "quoteProperties": "asNeeded", - "arrowParentheses": "asNeeded" - } - } -} diff --git a/typescript/bun.lockb b/typescript/bun.lockb deleted file mode 100755 index 658729a..0000000 Binary files a/typescript/bun.lockb and /dev/null differ diff --git a/typescript/environment.d.ts b/typescript/environment.d.ts deleted file mode 100644 index b34b4ae..0000000 --- a/typescript/environment.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -interface EnvironmentVariables { - readonly NODE_ENV: 'development' | 'production' | 'test' - readonly MESC_MODE: string - readonly MESC_PATH: string - readonly MESC_ENV: string - readonly MESC_ENDPOINT_METADATA: string - readonly MESC_GLOBAL_METADATA: string - readonly MESC_ENDPOINTS: string - readonly MESC_NETWORK_NAMES: string - readonly MESC_DEFAULT_ENDPOINT: string - readonly MESC_NETWORK_DEFAULTS: string - readonly MESC_PROFILES: string -} - -declare namespace NodeJS { - interface ProcessEnv extends EnvironmentVariables {} -} diff --git a/typescript/package.json b/typescript/package.json deleted file mode 100644 index 8607825..0000000 --- a/typescript/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@mesc/core", - "version": "0.0.0", - "description": "MESC is a specification for how crypto tools configure their RPC endpoints.", - "readme": "github:paradigmxyz/mesc#readme", - "type": "module", - "main": "./dist/index.js", - "module": "./dist/index.js", - "types": "./dist/index.d.ts", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.js" - }, - "./package.json": "./package.json" - }, - "files": [ - "dist", - "package.json" - ], - "scripts": { - "build": "tsup --config=tsup.config.ts", - "lint": "bunx @biomejs/biome lint . --apply", - "format": "bunx @biomejs/biome format . --write", - "typecheck": "tsc --project tsconfig.json --noEmit", - "test": "vitest --run" - }, - "dependencies": { - "valibot": "^0.28.1" - }, - "devDependencies": { - "@biomejs/biome": "1.5.3", - "@total-typescript/ts-reset": "^0.5.1", - "@types/bun": "^1.0.5", - "@types/node": "^20.11.17", - "bun": "^1.0.26", - "tsup": "^8.0.2", - "typescript": "^5.3.3", - "vitest": "^1.2.2" - }, - "repository": { - "type": "git", - "url": "https://github.com/paradigmxyz/mesc", - "directory": "typescript" - }, - "license": "MIT", - "sideEffects": false -} diff --git a/typescript/reset.d.ts b/typescript/reset.d.ts deleted file mode 100644 index cede83f..0000000 --- a/typescript/reset.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -/* https://github.com/total-typescript/ts-reset */ -import '@total-typescript/ts-reset' diff --git a/typescript/scripts/.gitkeep b/typescript/scripts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/typescript/src/errors.ts b/typescript/src/errors.ts deleted file mode 100644 index a0cfa62..0000000 --- a/typescript/src/errors.ts +++ /dev/null @@ -1,17 +0,0 @@ -export class MescDisabledError extends Error { - constructor(public message = 'MESCs are disabled') { - super(message) - } -} - -export class MissingEndpointError extends Error { - constructor(public message = 'Missing endpoint') { - super(message) - } -} - -export class InvalidOverrideError extends Error { - constructor(public message = 'Invalid override') { - super(message) - } -} diff --git a/typescript/src/index.ts b/typescript/src/index.ts deleted file mode 100644 index c59eeae..0000000 --- a/typescript/src/index.ts +++ /dev/null @@ -1,42 +0,0 @@ -export * from '#/types.ts' -import { getRpcConfig } from '#/transform.ts' -import type { Endpoint, Maybe } from '#/types.ts' -import type { ChainId } from '#/schemas/rpc-config.ts' - -/** - * @see https://github.com/paradigmxyz/mesc/blob/main/SPECIFICATION.md#reference-implementation - */ - -interface MESC { - getDefaultEndpoint(args?: { profile: string }): Maybe - getEndpointByName({ name }: { name: string }): Endpoint - getEndpointByQuery({ query, profile }: { query: string; profile?: string }): Maybe - getEndpointByNetwork({ - chainId, - profile - }: { chainId: ChainId; profile?: string }): Maybe - findEndpoins(): Endpoint[] -} - -export const mescConfiguration = getRpcConfig(process.env) - -export const mesc = { - getDefaultEndpoint: args => { - throw new Error('Method not implemented.') - }, - - getEndpointByName: args => { - throw new Error('Method not implemented.') - }, - - getEndpointByQuery: args => { - throw new Error('Method not implemented.') - }, - - getEndpointByNetwork: args => { - throw new Error('Method not implemented.') - }, - findEndpoins: () => { - throw new Error('Method not implemented.') - } -} satisfies MESC diff --git a/typescript/src/networks.ts b/typescript/src/networks.ts deleted file mode 100644 index 6d4f164..0000000 --- a/typescript/src/networks.ts +++ /dev/null @@ -1,30 +0,0 @@ -import type { ChainId } from '#/schemas/rpc-config.ts' -import type { NetworkName, RpcConfig } from '#/types.ts' - -export const knownNetworks = { - ethereum: '1', - goerli: '5', - optimism: '10', - polygon: '137', - holesky: '17000', - arbitrum: '42161' -} satisfies Record - -export function networkNameToChainId({ - networkName, - config -}: { - networkName: string - config?: RpcConfig -}) { - networkName = networkName.toLowerCase() - if (!stringIsNetworkName(networkName)) { - throw new Error(`Unknown network name: ${networkName}`) - } - if (!config) return knownNetworks[networkName] - return config['network_names'][networkName] -} - -function stringIsNetworkName(input: string): input is NetworkName { - return input in knownNetworks -} diff --git a/typescript/src/parsers.ts b/typescript/src/parsers.ts deleted file mode 100644 index 2190b3c..0000000 --- a/typescript/src/parsers.ts +++ /dev/null @@ -1,110 +0,0 @@ -import fs from 'node:fs' -import * as v from 'valibot' -import { raise, removeUndefined } from '#/utilities.ts' -import { rpcConfigSchema } from '#/schemas/rpc-config.ts' -import type { RawMESCConfig } from '#/schemas/mesc-config' - -/** @see https://github.com/paradigmxyz/mesc/blob/main/SPECIFICATION.md#environment-setup */ -export function parseMescVariables({ - MESC_MODE, - MESC_PATH, - MESC_ENV -}: Pick) { - if (MESC_MODE.length > 0 && !['PATH', 'ENV'].includes(MESC_MODE)) { - raise('MESC_MODE must be set to PATH or ENV') - } - - if (MESC_MODE === 'PATH') { - const mescFileExists = fs.existsSync(MESC_PATH) - if (!mescFileExists) raise('MESC_MODE is set to PATH but file set in MESC_PATH does not exist') - const rawRpcConfig = fs.readFileSync(MESC_PATH, { encoding: 'utf-8' }) - return v.safeParse(rpcConfigSchema, JSON.parse(rawRpcConfig), { - abortEarly: false, - abortPipeEarly: false - }) - } - if (MESC_MODE === 'ENV') { - const rawRpcConfig = MESC_ENV?.length - ? MESC_ENV - : raise('MESC_MODE is set to ENV but MESC_ENV is not set or empty') - return v.safeParse(rpcConfigSchema, JSON.parse(rawRpcConfig), { - abortEarly: false, - abortPipeEarly: false - }) - } - raise('MESC_MODE is not enabled') -} - -/** - * parse space-separated items of .[.into a mapping - * Example: "foundry.default_endpoint=local_goerli foundry.network_defaults.5=alchemy_optimism" - * returns { - * foundry: { - * default_endpoint: "local_goerli", - * network_defaults: { - * 5: "alchemy_optimism" - * } - * } - * } - */ -export function parseSpaceSeparatedProfiles(input?: string) { - if (!input) return false - const parts = input.split(' ') - const groups = {} as { - [profile: string]: { - default_endpoint?: string - network_defaults?: Record - } - } - for (const part of parts) { - if (part.includes('default_endpoint')) { - const [profile, key] = part.split('.') - if (!profile || !key) raise(`Failed to parse MESC_PROFILES profile: ${part}`) - const [key_, value] = key.split('=') - if (!key_ || !value) raise(`Failed to parse MESC_PROFILES: ${part}`) - groups[profile] = { default_endpoint: value, ...groups[profile] } - } - if (part.includes('network_defaults')) { - const [profile, key, chainIdNetworkName] = part.split('.') - if (!profile || !key || !chainIdNetworkName) raise(`Failed to parse MESC_PROFILES: ${part}`) - const [chainId, networkName] = chainIdNetworkName.split('=') - if (!chainId || !networkName) raise(`Failed to parse MESC_PROFILES: ${part}`) - groups[profile] = { ...groups[profile], network_defaults: { [chainId]: networkName } } - } - } - return groups -} - -/** - * parse space-separated items of [[:]=] into a mapping - * returns {Record} - */ -export function parseSpaceSeparatedEndpoints(input?: string) { - if (!input) return false - return removeUndefined( - input.split(' ').reduce((accumulator, item) => { - const [name, url] = item.split('=') as [string, string] - const [name_, chain_id] = name.split(':') as [string, string | undefined] - return { ...accumulator, [name_]: { url, chain_id } } - }, {}) - ) as Record -} - -/** - * parse space-separated pairs of = into a mapping - */ -export function parseSpaceSeparatedPairs(input?: string) { - if (!input) return false - return input.split(' ').reduce((accumulator, pair) => { - const [key, value] = pair.split('=') as [string, string] - return { ...accumulator, [key]: value } - }, {}) -} - -/** - * parse JSON string into a JSON object - */ -export function parseStringJSON(input?: string) { - if (!input) return false - return JSON.parse(input) as Record -} diff --git a/typescript/src/schemas/mesc-config.ts b/typescript/src/schemas/mesc-config.ts deleted file mode 100644 index 13f5d9f..0000000 --- a/typescript/src/schemas/mesc-config.ts +++ /dev/null @@ -1,23 +0,0 @@ -import * as v from 'valibot' - -export const mescConfigSchema = v.object({ - MESC_MODE: v.union([v.literal('PATH'), v.literal('ENV'), v.literal('DISABLED')]), - MESC_PATH: v.string(), - MESC_ENV: v.optional(v.string()), - /** JSON mapping of {"endpoint_name": {}} */ - MESC_ENDPOINT_METADATA: v.optional(v.string()), - /** JSON formatted global metadata */ - MESC_GLOBAL_METADATA: v.optional(v.string()), - /** space-separated items of [[:]=] */ - MESC_ENDPOINTS: v.optional(v.string([v.regex(/(\w+(\.\w+)?(:\d+)?=[\w\d]+)+/)])), - /** space-separated pairs of = */ - MESC_NETWORK_NAMES: v.optional(v.string([v.regex(/(\w+=[\w\d]+)+/)])), - /** url, endpoint name, or network name */ - MESC_DEFAULT_ENDPOINT: v.optional(v.string()), - /** space-separated pairs of .[. */ - MESC_PROFILES: v.optional(v.string([v.regex(/(\w+\.\w+(\.\d+)?)=[\w\d]+/)])), - /** space-separated pairs of = */ - MESC_NETWORK_DEFAULTS: v.optional(v.string([v.regex(/(\d+=[\w\d]+)+/)])) -}) - -export type RawMESCConfig = v.Input diff --git a/typescript/src/schemas/rpc-config.ts b/typescript/src/schemas/rpc-config.ts deleted file mode 100644 index 41a5288..0000000 --- a/typescript/src/schemas/rpc-config.ts +++ /dev/null @@ -1,34 +0,0 @@ -import * as v from 'valibot' - -/** - * chain_id should be represented using either a decimal string or a hex string. - * Strings are used because chain id's can be 256 bits and most languages do not have native 256 bit integer types. - * For readability, decimal should be used for small chain id values and hex should be used for values that use the entire 256 bits. - */ -export const chainIdSchema = v.union([v.string(), v.number()]) - -export type ChainId = v.Output - -export const rpcConfigSchema = v.object({ - mesc_version: v.literal('MESC 1.0'), - default_endpoint: v.optional(v.string()), - network_defaults: v.record(v.string()), - network_names: v.record(v.string()), - endpoints: v.record( - v.object({ - name: v.string(), - url: v.string(), - chain_id: v.optional(v.string()), - endpoint_metadata: v.any() - }) - ), - profiles: v.record( - v.object({ - default_endpoint: v.optional(v.nullable(v.string())), - network_defaults: v.record(v.string()) - }) - ), - global_metadata: v.any() -}) - -export type RpcConfig = v.Output diff --git a/typescript/src/transform.ts b/typescript/src/transform.ts deleted file mode 100644 index 6abd062..0000000 --- a/typescript/src/transform.ts +++ /dev/null @@ -1,97 +0,0 @@ -import * as v from 'valibot' -import { - parseStringJSON, - parseMescVariables, - parseSpaceSeparatedPairs, - parseSpaceSeparatedProfiles, - parseSpaceSeparatedEndpoints -} from '#/parsers.ts' -import { raise } from '#/utilities.ts' -import { mescConfigSchema } from '#/schemas/mesc-config.ts' - -/** - * TODO: check if MESC_NETWORK_DEFAULTS is supposed to be merged with existing network_defaults or override it - * if the latter, then: - * 'Object.assign(rpcConfig.network_defaults, rpcConfig.network_defaults, mescNetworkDefaults)' - */ - -/** @see https://github.com/paradigmxyz/mesc/blob/main/SPECIFICATION.md */ -export const mescConfigurationTransform = v.transform( - mescConfigSchema, - ({ - MESC_MODE, - MESC_PATH, - MESC_ENV, - MESC_ENDPOINTS, - MESC_DEFAULT_ENDPOINT, - MESC_PROFILES, - MESC_NETWORK_NAMES, - MESC_NETWORK_DEFAULTS, - MESC_GLOBAL_METADATA, - MESC_ENDPOINT_METADATA - }) => { - // MESC is not enabled - if (MESC_MODE === 'DISABLED' || [MESC_MODE, MESC_ENV, MESC_PATH].filter(Boolean).length === 0) - return null - const { - success, - output: rpcConfig, - issues - } = parseMescVariables({ MESC_MODE, MESC_PATH, MESC_ENV }) - if (!success) - raise(`Failed to parse MESC variables: ${JSON.stringify(v.flatten(issues), undefined, 2)}`) - - if (MESC_DEFAULT_ENDPOINT?.length) { - Object.assign(rpcConfig, { default_endpoint: MESC_DEFAULT_ENDPOINT }) - } - - const mescNetworkDefaults = parseSpaceSeparatedPairs(MESC_NETWORK_DEFAULTS) - if (mescNetworkDefaults) { - Object.assign(rpcConfig, { network_defaults: mescNetworkDefaults }) - } - - const mescNetworkNames = parseSpaceSeparatedPairs(MESC_NETWORK_NAMES) - if (mescNetworkNames) { - Object.assign(rpcConfig, { network_names: mescNetworkNames }) - } - - const mescEndpoints = parseSpaceSeparatedEndpoints(MESC_ENDPOINTS) - if (mescEndpoints) { - Object.assign(rpcConfig, { endpoints: mescEndpoints }) - } - - const mescProfiles = parseSpaceSeparatedProfiles(MESC_PROFILES) - if (mescProfiles) { - Object.assign(rpcConfig, { profiles: mescProfiles }) - } - - const mescGlobalMetadata = parseStringJSON(MESC_GLOBAL_METADATA) - if (mescGlobalMetadata) { - Object.assign(rpcConfig.global_metadata, rpcConfig.global_metadata, mescGlobalMetadata) - } - - const mescEndpointMetadata = parseStringJSON(MESC_ENDPOINT_METADATA) - if (mescEndpointMetadata) { - for (const endpoint in mescEndpointMetadata) { - const metadata = mescEndpointMetadata[endpoint] - if (!rpcConfig.endpoints[endpoint]) continue - Object.assign(rpcConfig.endpoints[endpoint]?.endpoint_metadata, metadata) - } - } - - return rpcConfig - } -) - -export type MESCConfiguration = v.Output - -export function getRpcConfig(env: Record = process.env): MESCConfiguration { - const { output, success, issues } = v.safeParse(mescConfigurationTransform, env, { - abortEarly: false, - abortPipeEarly: false - }) - - if (!success) raise(`Failed to parse MESC configuration: ${JSON.stringify(issues, undefined, 2)}`) - - return output -} diff --git a/typescript/src/types.ts b/typescript/src/types.ts deleted file mode 100644 index edbcb69..0000000 --- a/typescript/src/types.ts +++ /dev/null @@ -1,46 +0,0 @@ -import type { ChainId } from '#/schemas/rpc-config.ts' - -export type NetworkName = 'ethereum' | 'goerli' | 'optimism' | 'polygon' | 'holesky' | 'arbitrum' - -export interface RpcConfig { - mesc_version: string - default_endpoint?: string - endpoints: Record - network_defaults: Record - network_names: Record - profiles: Record - global_metadata: Record -} - -export interface Endpoint { - name: string - url: string - chain_id?: ChainId - endpoint_metadata: Record -} - -export interface Profile { - name: string - default_endpoint?: string - network_defaults: Record -} - -export interface Query { - default_endpoint?: string - endpoint_by_name?: string - endpoint_by_network?: string - user_input?: string - multi_endpoint?: string - global_metadata?: string -} - -export type Maybe = T | undefined - -type Json = string | number | boolean | null | Json[] | { [key: string]: Json } - -/** - * This type utility is used to unwrap complex types so you can hover over them in your editor - */ -export type Pretty = { - [K in keyof T]: T[K] -} & {} diff --git a/typescript/src/utilities.ts b/typescript/src/utilities.ts deleted file mode 100644 index 53e3b5c..0000000 --- a/typescript/src/utilities.ts +++ /dev/null @@ -1,11 +0,0 @@ -export function raise(error: unknown): never { - throw typeof error === 'string' ? new Error(error) : error -} - -export const unixTimestamp = () => `${Math.floor(Date.now() / 1_000)}` - -// removed properties with undefined values from object -export function removeUndefined(object?: T): T { - if (!object) return {} as T - return (typeof object === 'string' ? JSON.parse(object) : JSON.parse(JSON.stringify(object))) as T -} diff --git a/typescript/test/index.test.ts b/typescript/test/index.test.ts deleted file mode 100644 index afc291f..0000000 --- a/typescript/test/index.test.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { expect, test } from 'vitest' - -// placeholder test -test(() => { - expect(1).toBe(1) -}) diff --git a/typescript/tsconfig.json b/typescript/tsconfig.json deleted file mode 100644 index 0d876f2..0000000 --- a/typescript/tsconfig.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "noEmit": true, - "paths": { - "#/*": ["./src/*"], - "~test-json": ["../tests/generated/tests.json"] - }, - "types": ["node", "bun"], - "lib": ["ESNext"], - "module": "ESNext", - "target": "ESNext", - "moduleResolution": "Bundler", - "useDefineForClassFields": true, - "resolveJsonModule": true, - "resolvePackageJsonExports": true, - "resolvePackageJsonImports": true, - "allowImportingTsExtensions": true, - "noUncheckedIndexedAccess": true, - "noFallthroughCasesInSwitch": true, - "sourceMap": false, - "declarationMap": false, - "noPropertyAccessFromIndexSignature": true, - "alwaysStrict": true, - "strictNullChecks": true, - "verbatimModuleSyntax": true, - "strict": true, - "skipLibCheck": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "allowJs": true, - "checkJs": true - }, - "include": ["src", "test", "scripts"], - "files": ["environment.d.ts", "reset.d.ts"], - "exclude": ["_"] -} diff --git a/typescript/tsup.config.ts b/typescript/tsup.config.ts deleted file mode 100644 index 73bd18e..0000000 --- a/typescript/tsup.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defineConfig } from 'tsup' - -export default defineConfig({ - dts: true, - shims: true, - clean: true, - bundle: true, - outDir: 'dist', - format: ['esm'], - target: ['node20'], - treeshake: 'recommended', - entry: ['./src/index.ts'] -}) diff --git a/typescript/vitest.config.ts b/typescript/vitest.config.ts deleted file mode 100644 index 29aebba..0000000 --- a/typescript/vitest.config.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { defineConfig } from 'vitest/config' - -export default defineConfig({ - test: {} -}) diff --git a/using_mesc.html b/using_mesc.html new file mode 100644 index 0000000..df32f5a --- /dev/null +++ b/using_mesc.html @@ -0,0 +1,240 @@ + + + + + + Using MESC - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Using MESC

+
    +
  • To set MESC up, see Setup up MESC
  • +
  • To use different MESC settings for different tools, see Profiles
  • +
  • To use MESC for tracking miscellaneous metadata, see Metadata
  • +
  • To quickly override MESC settings without editing files, see Overrides
  • +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/what_is_mesc.html b/what_is_mesc.html new file mode 100644 index 0000000..6adfcd0 --- /dev/null +++ b/what_is_mesc.html @@ -0,0 +1,253 @@ + + + + + + What is MESC? - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

What is MESC?

+

MESC (Multiple Endpoint Shared Configuration) is a standardized approach for configuring RPC endpoints. Using MESC, a user creates a single RPC config that is shared by all RPC tools on their system.

+

Design Goals

+

MESC has two main design goals:

+
    +
  1. make it easy to share RPC configuration data across tools, languages, and environments
  2. +
  3. make it easy to manage the configuration of a large number of RPC endpoints
  4. +
+

MESC also has many secondary goals. It aims to be a solution that:

+
    +
  • allows specifying multiple providers for multiple chains
  • +
  • allows selection of a default endpoint for each chain
  • +
  • allows using either environment variables or config files
  • +
  • is a single source of truth across multiple tools
  • +
  • is OS-agnostic, using no OS-specific features
  • +
  • is language-agnostic, using no language-specific features
  • +
  • is backwards compatible with previous solutions
  • +
+

MESC is opt-in

+

MESC is an opt-in standard: MESC is only enabled if a user has set a MESC-specific environment variable in their environment. This maximizes backward-compatiblity for existing tools that want to integrate MESC: If a user has not opted-in to MESC then simply fall back to the existing configuration method.

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/why_mesc.html b/why_mesc.html new file mode 100644 index 0000000..0186b83 --- /dev/null +++ b/why_mesc.html @@ -0,0 +1,256 @@ + + + + + + Why MESC? - MESC User Guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Why MESC?

+

Between mainnet, testnets, chainforks, rollups, and alternative L1's, modern crypto tools must manage the configuration of multiple RPC endpoints. This configuration process is not standardized across tools.

+

The most common approach for configuring RPC endpoint information is the ETH_RPC_URL environment variable (dapptools, forge, heimdall, checkthechain). However, this is not a formal standard and many tools use other approaches. Furthermore, using ETH_RPC_URL can only specify a single provider for a single chain, and it cannot specify any provider metadata beyond the url.

+

Instead it would be desirable to have a solution that:

+
    +
  • allows specifying multiple providers for multiple chains
  • +
  • allows selection of a default endpoint for each chain
  • +
  • allows using either environment variables or config files
  • +
  • is a single source of truth across multiple tools
  • +
  • is OS-agnostic, using no OS-specific features
  • +
  • is language-agnostic, using no language-specific features
  • +
  • is backwards compatible with previous solutions
  • +
+

MESC aims to satisfy all of these constraints.

+

As a developer, why should I integrate MESC into my tools?

+
    +
  • Easier Onboarding. As soon as a user installs your tool, they will be able to use your tool with all of their configured networks. This eliminates one of the major setup steps for most RPC consuming tools.
  • +
  • Interoperability. If you maintain multiple tools, or your tool has components in multiple languages, MESC will create a single, shared source of truth across all of these tool components.
  • +
  • Safety and Robustness. MESC is thoroughly tested against a large number of config-related edge cases. In many cases it will be safer to user MESC than to create a configuration system from scratch.
  • +
  • Minimize maintenance burden. Leaning on MESC to handle configuration means there is one less thing you need to maintain. You can spend your time on other things.
  • +
  • Developer Features. If you need to develop or test your tool with multiple endpoints, the mesc CLI tools contains many useful developer features for managing endpoints.
  • +
  • Go config-free. In some cases, adopting MESC means that your tool no longer needs its own config. You can store your tool's config data in MESC's metadata and then just use MESC for all config IO.
  • +
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ +